defaultXT theme!
Samples
- BoardIndex (http://www.alnabri.net/smf-stuff/def_index.gif)
- MessageIndex (http://www.alnabri.net/smf-stuff/def_mesg.gif)
- TopicDisplay (http://www.alnabri.net/smf-stuff/def_disp.gif)
- Search (http://www.alnabri.net/smf-stuff/def_srch.gif)
Download
- defaultXT (http://www.alnabri.net/smf-stuff/defaultXT.tar.gz)
Notes
1.This theme is like the original default one with the following enhancements:
- ability to display/hide the stats box.
- collapse Info Center items.
- ability to use a quick topic view from the message index, like print topic.
- ability to preview topic in the message index.
- hide/display author information in topic display.
- collapse boards in search.
2.The theme and its images are free as long as it is used for SMF.
*- If you have installed old version of this theme, please read the changes (http://www.simplemachines.org/community/index.php?topic=31935.0)!
Nice job A.M.A.! Especially love the background images. I wanted to make an super-modded default theme sometime too, with combos from things in Tips & Tricks and theme porting of some YaBB SE Mods :D
Nice extensions to the default theme - especially the print preview/topic hover preview. Saves having to wait for the display window to download. :)
But I am not too sure about the upshrinking of author section in display view. It kind of seem a bit cumbersome to upshrink one and one..and that it doesn't remember the state. To me it would be more logical to have a upshrink that shrunk all authors - and probably globally too..since storing upshrink values for every thread/post would be just crazy.. ;) But thats just me though.
Thanks Kirby ..
cant wait for your super-modded theme.
Thanks Bloc ..
your idea sounds good and logical. I'll see what I can come up with.
Wow! You make the best skins for SMF! This skin is awesome!
The only thing I would have liked to see is the mini-profile contents centered, but I can easily modify that myself.
Hear hear. Indeed great work. As always.
good improvements
Nice Theme.. Yet again ;D
Another nice one...
Thanks all for your comments .. glad you like it.
Excellent! I dig the functionality features, great work!
Updated to 1.0.1
If you need to apply the modifications manfully .. then edit
- BoardIndex.template.php
// Version: 1.0; BoardIndex
replace with:
// Version: 1.0.1; BoardIndex
<div style="float: left; width: 50%;">', $txt[490], ': <b>', $modSettings['totalTopics'], '</b></div>', $txt[94], ' ', $txt[95], ': <b>', $modSettings['totalMessages'], '</b><br />', !empty($context['latest_post']) ? '
replace with:
<div style="float: left; width: 50%;">', $txt[490], ': <b>', $modSettings['totalTopics'], '</b></div>', $txt[489], ': <b>', $modSettings['totalMessages'], '</b><br />', !empty($context['latest_post']) ? '
', $txt[94], ' ', $txt[19], ': <b><a href="', $scripturl, '?action=mlist">', $modSettings['memberCount'], '</a></b><br />
replace with:
', $txt[488], ': <b><a href="', $scripturl, '?action=mlist">', $modSettings['memberCount'], '</a></b><br />
- Profile.template.php
// Version: 1.0; Profile
replace with:
// Version: 1.0.1; Profile
if ($post['can_delete'] && ($post['can_mark_notify'] || $post['can_mark_notify']))
with:
if ($post['can_delete'] && ($post['can_mark_notify'] || $post['can_reply']))
Awesome theme!
however, I would appreciate any help to add an "Advanced Search" link underneath the quick search form.
Wow! Nice buttons, great.
/me is so happy! :)
Elijah Bliss
thanks.
spankee
I removed it to make space and it is already available by clicking on the search button .. but I'll show you how if you still need it.
Midgard
thanks.
Yah, I was wondering how it would affect the layout. But if you could show me how so I could check it out myself I would really apreciate it.
Thanks
in index.template.php look for:
<input type="submit" name="submit" value="', $txt[182], '" style="width: 8ex;" />
add after:
<a href="', $scripturl, '?action=search;advanced">', $txt['smf298'], '</a>
two times.
Thanks that worked great.
Can you also show me how to make the text smaller and positioned to the right?
this worked for making the text smaller, is that ok?
<a class="smalltext" href="', $scripturl, '?action=search;advanced">', $txt['smf298'], '</a>
Patrick
Quote from: Bloc on January 06, 2005, 08:24:07 PM
But I am not too sure about the upshrinking of author section in display view. It kind of seem a bit cumbersome to upshrink one and one..and that it doesn't remember the state. To me it would be more logical to have a upshrink that shrunk all authors - and probably globally too..since storing upshrink values for every thread/post would be just crazy.. ;)
any idea's on how to implement it :)
Well, I dont know if AMA has some ideas...but for it work like I said , one would have to have all the authors in the same "container" somehow. If it should hide at once that is. But If one could take a roundtrip to server like the category upshrink is done, then it could perhaps work.
This will add an option in your profile, when checked all authors info in display will be hidden by default with the ability to show them.
1- in Settings.template.php look for:
array(
'id' => 'keystats_show',
'label' => 'Show the key stats box.',
),
add after:
array(
'id' => 'toggle_all_authors',
'label' => 'Hide all authors in display.',
),
2- in Profile.template.php look for:
<label for="keystats_show"><input type="checkbox" name="default_options[keystats_show]" id="keystats_show" value="1"', !empty($context['member']['options']['keystats_show']) ? ' checked="checked"' : '', ' class="check" /> Show the key stats box.</label>
</td>
add after:
</tr><tr>
<td colspan="2">
<input type="hidden" name="default_options[toggle_all_authors]" value="0" />
<label for="toggle_all_authors"><input type="checkbox" name="default_options[toggle_all_authors]" id="toggle_all_authors" value="1"', !empty($context['member']['options']['toggle_all_authors']) ? ' checked="checked"' : '', ' class="check" /> Hide all authors in display.</label>
</td>
3- in Display.template.php look for:
<td align="left" valign="middle">[<a id="', $message['href'], '_link" href="javascript: void(0);" onclick="toggle(this, \'', $message['href'], '\');" style="text-decoration: none;">-</a>]<a href="', $message['href'], '"><img src="', $settings['images_url'], '/post/' . $message['icon'] . '.gif" alt="" border="0" /></a></td>
replace with:
';
// Hide authors.
if (!empty($options['toggle_all_authors']))
echo '
<td align="left" valign="middle">[<a id="', $message['href'], '_link" href="javascript: void(0);" onclick="toggle(this, \'', $message['href'], '\');" style="text-decoration: none;">+</a>]<a href="', $message['href'], '"><img src="', $settings['images_url'], '/post/' . $message['icon'] . '.gif" alt="" border="0" /></a></td>
<script language="JavaScript1.2" type="text/javascript"><!--
toggle(\'', $message['href'], '\', \'', $message['href'], '\')
// --></script>';
else
{
echo '
<td align="left" valign="middle">[<a id="', $message['href'], '_link" href="javascript: void(0);" onclick="toggle(this, \'', $message['href'], '\');" style="text-decoration: none;">-</a>]<a href="', $message['href'], '"><img src="', $settings['images_url'], '/post/' . $message['icon'] . '.gif" alt="" border="0" /></a></td>';
}
echo '
Looks good, however for some reason when I try to download any of your themes I get a bad header prompt, and winzip won't open the archive?
try using: http://www.7-zip.org
Quote from: A.M.A on February 04, 2005, 06:01:39 PM
try using: http://www.7-zip.org
you wouldn't happen to have a button generator to make more buttons for this theme would you?
Yes .. try using Webby's http://www.m2mdesign.nl/buttongenerator/
though not the same font effect.
I really like this theme, that is the changes from the original theme now on this one.
I was wondering if I could get some help with, since it's now standard on this theme for the items in the Info Center to be collapsable, the coding to make any items added to the Info Center collapsable too.
I installed Users OnLine Today on this theme, but I can't figure out the coding in order to make it collapsab le. So, I've got all the items collapsable but this one. It would be great to be able to do the same to this mod.
Thanks.
in Boardindex.template.php look for:
var bars = ["recent", "calendar", "members", "sp1", "users", "pm", "login"];
replace with:
var bars = ["recent", "calendar", "members", "sp1", "users", "pm", "login", "userson"];
look for:
<td class="catbg" colspan="2">', $txt['158bis'], ' ( ', $context['num_users_today'], ' ', $context['num_users_today'] == 1 ? $txt['user'] : $txt['users'], ' )</td>
</tr><tr>
replace with:
<td class="catbg" colspan="2"><a href="javascript:boardIndexCollapse(\'userson\');"><img src="', $settings['images_url'], '/collapse1.gif" alt="" border="0" id="collapse_userson" /></a>', $txt['158bis'], ' ( ', $context['num_users_today'], ' ', $context['num_users_today'] == 1 ? $txt['user'] : $txt['users'], ' )</td>
</tr><tr id="row_userson">
Thanks.
Hmm...
I put all of that in (var bars and all) and checked it all and it doesn't want to collapse. I can't figure it out.
// "Users online Today"
echo '
<tr>
<td class="catbg" colspan="2"><a href="javascript:boardIndexCollapse(\'userson\');"><img src="', $settings['images_url'], '/collapse1.gif" alt="" border="0" id="collapse_userson" /></a>', $txt['158bis'], ' ( ', $context['num_users_today'], ' ', $context['num_users_today'] == 1 ? $txt['user'] : $txt['users'], ' )</td>
</tr><tr>
<td class="windowbg" width="20" valign="middle" align="center"><img src="', $settings['images_url'], '/icons/online.gif" alt="', $txt['158bis'], '" border="0" /></td>
<td class="windowbg2" width="100%"><span class="smalltext">', $context['user_today'], '</span></td>
</tr>';
Is there anything else that I should check that could prevent it from collapsing and expanding?
// "Users online Today"
echo '
<tr>
<td class="catbg" colspan="2"><a href="javascript:boardIndexCollapse(\'userson\');"><img src="', $settings['images_url'], '/collapse1.gif" alt="" border="0" id="collapse_userson" /></a>', $txt['158bis'], ' ( ', $context['num_users_today'], ' ', $context['num_users_today'] == 1 ? $txt['user'] : $txt['users'], ' )</td>
</tr><tr id="row_userson">
<td class="windowbg" width="20" valign="middle" align="center"><img src="', $settings['images_url'], '/icons/online.gif" alt="', $txt['158bis'], '" border="0" /></td>
<td class="windowbg2" width="100%"><span class="smalltext">', $context['user_today'], '</span></td>
</tr>';
modfiy the <tr> as above and it should work.
Thank you for this theme, but sorry as its in English I used the buttons for my Arabic Forum....
You can see it at http://jordanforum.com/forum/
Quote from: A.M.A on March 08, 2005, 05:11:52 PM
Yes .. try using Webby's http://www.m2mdesign.nl/buttongenerator/
though not the same font effect.
i don't even see a simular button, i need a donate button, please if anyone can do this, thanks. ;)
Nice theam... I have a question how can I access the Arcade and Shop from the Main Menu by the Calender and the Admain and all that?
Hi ama, i'm actually using this theme on my forum.
Could you please make the button templates available? I would like to translate them in italian ;)
thx
I used one of the nuvola Button Sets:
http://www.simplemachines.org/community/index.php?topic=18760.0