Forum upgraded to SMF 1.1
-
We are still applying the finishing touches but so far this new setup is much nicer than the older setup.
In a couple of hours if you see anything out of place, please reply to this message.
Thanks!!
PS: also tell us if you like the new theme… I think it's pimpin ;) -
http://forum.pfsense.org/index.php/topic,70.msg314.html#msg314
forum rules post has message formating tags showing
i guess old board used different tags? -
http://forum.pfsense.org/index.php/topic,70.msg314.html#msg314
forum rules post has message formating tags showing
i guess old board used different tags?Fixed.
-
Nice skin ! Well done Mr Scott !! ;)
-
There's an UPDATE.zip you need to check for this theme. It fixes a width problem with the posts and topics count on the board index and changes the quick search at the top along with adding a new "quick links" link at the top as well.
-
There's an UPDATE.zip you need to check for this theme. It fixes a width problem with the posts and topics count on the board index and changes the quick search at the top along with adding a new "quick links" link at the top as well.
Thanks for the hint. We love your theme :-)
-
Here's the changes:
Just copy over the BoardIndex.template.php from the update zip, no changes in it should effect your customized stuff.
Index.template.php
Find this around line 229:', theme_linktree2(), ' ';
Replace with:
', theme_linktree3(), ' ';
Find this around line 449:
function theme_linktree2() { global $context, $settings, $options; // Folder style or inline? Inline has a smaller font. echo ''; // Each tree item has a URL and name. Some may have extra_before and extra_after. foreach ($context['linktree'] as $link_num => $tree) { // Show pretty folder if ($link_num == 0) { echo ' '; } else if ($link_num == 1) { echo ' '; } else { echo '» '; } // Show the link, including a URL if it should have one. echo '**', $settings['linktree_link'] && isset($tree['url']) ? '[' . $tree['name'] . '](' . $tree['url'] . ')' : $tree['name'], '**'; if ($link_num == 0) { echo ' '; } } echo ''; }
Replace with:
// Show a linktree (vB Clone). This is that thing that shows "My Community | General Category | General Discussion".. function theme_linktree3() { global $context, $settings, $options; // Folder style or inline? Inline has a smaller font. echo ''; echo ' '; // Each tree item has a URL and name. Some may have extra_before and extra_after. foreach ($context['linktree'] as $link_num => $tree) { // Show something before the link? if (isset($tree['extra_before'])) echo $tree['extra_before']; if (($link_num == count($context['linktree']) - 1) && count($context['linktree'])>1) echo '  '; // Show the link, including a URL if it should have one. echo '**', $settings['linktree_link'] && isset($tree['url']) ? '[' . $tree['name'] . '](' . $tree['url'] . ')' : $tree['name'], '**'; // Show something after the link...? if (isset($tree['extra_after'])) echo $tree['extra_after']; // Don't show a separator for the last one. if ($link_num < count($context['linktree']) - 2) echo ' » '; } echo ''; }
After that, you should see something like:
//Show the menu up top. blah blah blah. Highlight that entire function all the way down to the last } right above //Generate a strip of buttons. and replace all that with this:// Show the menu up top. Something like [home] [help] [profile] [logout]... function template_menu() { global $context, $settings, $options, $scripturl, $txt; // Work out where we currently are. $current_action = 'home'; if (in_array($context['current_action'], array('admin', 'ban', 'boardrecount', 'cleanperms', 'detailedversion', 'dumpdb', 'featuresettings', 'featuresettings2', 'findmember', 'maintain', 'manageattachments', 'manageboards', 'managecalendar', 'managesearch', 'membergroups', 'modlog', 'news', 'optimizetables', 'packageget', 'packages', 'permissions', 'pgdownload', 'postsettings', 'regcenter', 'repairboards', 'reports', 'serversettings', 'serversettings2', 'smileys', 'viewErrorLog', 'viewmembers'))) $current_action = 'admin'; if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm'))) $current_action = $context['current_action']; if ($context['current_action'] == 'search2') $current_action = 'search'; if ($context['current_action'] == 'theme') $current_action = isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'pick' ? 'profile' : 'admin'; // Are we using right-to-left orientation? if ($context['right_to_left']) { $first = 'last'; $last = 'first'; } else { $first = 'first'; $last = 'last'; } // Show the start of the tab section. echo ' '; // Show the [home] button. echo ' '; // Show the [help] button. echo ' '; // How about the [search] button? if ($context['allow_search']) echo ' '; // Is the user allowed to administrate at all? ([admin]) if ($context['allow_admin']) echo ' '; // The [calendar]! if ($context['allow_calendar']) echo ' '; // the [member] list button if ($context['allow_memberlist']) echo ' '; // If the user is a guest, show [login] button. if ($context['user']['is_guest']) echo ' '; // If the user is a guest, also show [register] button. if ($context['user']['is_guest']) echo ' '; // Otherwise, they might want to [logout]... if ($context['user']['is_logged']) echo ' '; // How about the [quick links] button? if ($context['user']['is_logged']) echo ' '; // The end of tab section. echo ' [' , $txt[103] , '](', $scripturl, ') | [' , $txt[119] , '](', $scripturl, '?action=help) | [' , $txt[182] , '](', $scripturl, '?action=search) Quick Search | <form action="', $scripturl, '?action=search2" method="post" accept-charset="', $context['character_set'], '" style="margin: 0;"> '; // Search within current topic? if (!empty($context['current_topic'])) echo ' '; // If we're on a certain board, limit it to this board ;). elseif (!empty($context['current_board'])) echo ' '; echo ' </form> | [Advanced Search](', $scripturl, '?action=search;advanced) | [[Close]](#) | [' , $txt[2] , '](', $scripturl, '?action=admin) | [' , $txt['calendar24'] , '](', $scripturl, '?action=calendar) | [' , $txt[331] , '](', $scripturl, '?action=mlist) | [' , $txt[34] , '](', $scripturl, '?action=login) | [' , $txt[97] , '](', $scripturl, '?action=register) | [' , $txt[108] , '](', $scripturl, '?action=logout;sesc=', $context['session_id'], ') | [Quick Links](', $scripturl, '#quicklinks) Quick Links | [New Posts](', $scripturl, '?action=unread) | [New Replies](', $scripturl, '?action=unreadreplies) | User Settings | [View Profile](', $scripturl, '?action=profile) | [Account Settings](', $scripturl, '?action=profile;u=', $context['user']['id'], ';sa=account) | [Edit Profile](', $scripturl, '?action=profile;u=', $context['user']['id'], ';sa=forumProfile) | [[Close]](#) | '; }
I think that's it, oh, and make sure to upload the image in the update zip into the images directory for this theme.
-
Oops, forgot the javascript, lol.
// the routine for the info center upshrink echo ' '; //This is for the pop menus echo ' '; echo ' ';
That starts on line 144, it should anyway, highlight the lines all the way down to the tag and replace it all with the previous code.