vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Forum Home Enhancements - Moving Mark As Read & View Forum Leaders Below What's Going On (https://vborg.vbsupport.ru/showthread.php?t=234773)

metalguy639 02-01-2010 10:00 PM

Moving Mark As Read & View Forum Leaders Below What's Going On
 
1 Attachment(s)
THIS TEMPLATE EDIT BROUGHT TO YOU BY:

https://vborg.vbsupport.ru/
www.skinsnstyles.com

This is a simple template edit to move the View Forum Leaders & Mark Forums Read links to below the What's Going Box (Check the screen shots below).

CLICK INSTALLED TO GET SUPPORT FOR THIS ADD-ON. IF YOU DO NOT CLICK INSTALLED I CANNOT HELP YOU.

For vBulletin 3.8.4 P2 (Currently not tested on other versions, but I'm pretty sure that it will work on them.)

Templates Edited: FORUMHOME
Time: 5 Minutes

----------------------------------------------------------------------------------

INSTRUCTIONS:

*****ALWAYS BACK UP YOUR TEMPLATE - SAVE IT IN A TEXT FILE BY COPYING IT AND PASTING IT INTO THE TEXT FILE ESPECIALLY IF YOU HAVE ALREADY MODIFIED THIS TEMPLATE!!!*******

1. Login to your vBulletin admincp.
2. Scroll down and find your Styles & Templates>Manage Styles - click on it to open.
3. Find the style you want to make this edit to on the right side of your screen. Click the drop down to the far right and choose "Edit Templates"
4. Scroll down and find the >>Forum Home Templates click on it, then double click on the FORUMHOME template.
5. Find:

Code:

<tbody>
        <tr>
                <td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong>
                        <a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>
                        <if condition="$vboptions['forumleaders']">&nbsp; &nbsp;
                        <a href="showgroups.php$session[sessionurl_q]">$vbphrase[view_forum_leaders]</a></if>
                </strong></div></td>
        </tr>
</tbody>

And Delete it.

6. Now Find:

Code:

$template_hook[forumhome_wgo_pos5]
And replace it with this:

Code:

<tbody>
        <tr>
                <td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong>
                        <a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>
                        <if condition="$vboptions['forumleaders']">&nbsp; &nbsp;
                        <a href="showgroups.php$session[sessionurl_q]">$vbphrase[view_forum_leaders]</a></if>
                </strong></div></td>
        </tr>
</tbody>
$template_hook[forumhome_wgo_pos5]

7. Save the template and check it.

metalguy639 02-02-2010 11:22 PM

*****reserved****

panosha 01-09-2011 04:12 PM

Thank you, works fine on VB 3.8.6. :)

metalguy639 01-09-2011 07:08 PM

Thanks no problem. :)


All times are GMT. The time now is 12:59 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01160 seconds
  • Memory Usage 1,724KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete