vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   Forum Home Enhancements - Horizontal Status/Forum Markers for 3.7.0! (https://vborg.vbsupport.ru/showthread.php?t=171540)

Mischievious 02-26-2008 10:00 PM

Horizontal Status/Forum Markers for 3.7.0!
 
Introduction:

This will take the forum markers on the forum and place them in a horizontal line. Only with the Table Footer, and Register/Log Out links included! This is my first hack, so please be gentle with me! :D

It also works with 3.6.8.


Installation:

ACP -> Styles & Templates -> forumhome [<< >>] -> FORUMHOME

Find this code and remove it first:
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>

Then Find:
Code:

<!-- icons and login code -->
Highlight Until You See:
Code:

<!-- / icons and login code -->
Replace Code With:
Code:

<!-- icons and login code -->
<table class="tborder" border="0" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]" align="center">
<tr>
<td class="tcat" align="center" colspan="6">Status Icons</td>
</tr>
<tr  class="alt1">
            <td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]" border="0" /></td>
            <td class="smallfont">&nbsp; $vbphrase[forum_contains_new_posts]</td>
            <td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="$vbphrase[contains_no_new_posts]" border="0" /></td>
            <td class="smallfont">&nbsp; $vbphrase[forum_contains_no_new_posts]</td>
<if condition="$vboptions['showlocks']">
            <td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="$vbphrase[a_closed_forum]" border="0" /></td>
            <td class="smallfont">&nbsp; $vbphrase[forum_is_closed_for_posting]</td></if>
<tbody>
<tr>
<td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />6</if>"><div class="smallfont"><strong>
<if condition="$show['registerbutton']">
                        <a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a>
&nbsp;|&nbsp;
</if>
<a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a>
&nbsp;|&nbsp;
<a href="showgroups.php?$session[sessionurl]">$vbphrase[view_forum_leaders]</a>
<if condition="!$show['guest']">&nbsp;|&nbsp;
                <!-- member logout -->
                <a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]"  onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a></td>
                <!-- end member logout -->
        </if>
</tr>
</tbody>
    </tr>
</table>

        </td>
       
</tr>

</table>

</tr>
</table>
<!-- / icons and login code -->


Mischievious 02-27-2008 04:47 AM

Post Reserved.

blind-eddie 02-27-2008 05:03 AM

Nice Idea, This will also help me do a little more there, Thanks

iogames 02-27-2008 02:08 PM

Lik-it! does it works fr 3.6.8???

Mischievious 02-27-2008 05:18 PM

Quote:

Originally Posted by iogames (Post 1452132)
Lik-it! does it works fr 3.6.8???

Yes. It does. Check it out in action by clicking the link in my sig. My live board is 3.6.8.

Don't forget to click install if you use it! :)

TTG 02-27-2008 06:16 PM

Been using it since it was brought out here :up:

Mischievious 02-27-2008 06:23 PM

Quote:

Originally Posted by TTG (Post 1452357)
Been using it since it was brought out here :up:

Ahh, but mine is different. ;)

iogames 02-28-2008 12:06 AM

Quote:

Originally Posted by Mischievious (Post 1452365)
Ahh, but mine is different. ;)

What about 'bestest' :rolleyes:

Mischievious 02-28-2008 03:06 AM

Quote:

Originally Posted by iogames (Post 1452550)
What about 'bestest' :rolleyes:

I wouldn't go nearly that far at all. Heh.

iogames 03-02-2008 12:13 AM

Thaaanks! I love it...


All times are GMT. The time now is 03:00 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.01380 seconds
  • Memory Usage 1,744KB
  • 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
  • (4)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete