vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Forum Home Enhancements - How to change the (What's Going On?) box to100% in forumhome (https://vborg.vbsupport.ru/showthread.php?t=230620)

RedDevil 08-01-2010 09:01 PM

1 Attachment(s)
Nice addition. Ive also made forum leaders mark forums read to same simply move the following code from within the template and tag to the end. If you do have problems searching in template shorten search to a keyword eg "navlinks".

Code:

<div class="navlinks">
        <a href="forumdisplay.php?{vb:raw session.sessionurl}do=markread&amp;markreadhash={vb:raw bbuserinfo.securitytoken}" rel="nofollow">{vb:rawphrase mark_forums_read}</a>
    <vb:if condition="$vboptions['forumleaders']">|
    <a href="showgroups.php{vb:raw session.sessionurl_q}" rel="nofollow">
        <vb:if condition="$vb_suite_installed">
            {vb:rawphrase view_site_leaders}
        <vb:else />
            {vb:rawphrase view_forum_leaders}
        </vb:if>
    </a></vb:if>
        </div>


Dr.osamA 08-23-2010 12:17 AM

Quote:

Originally Posted by Red-Devil (Post 2077831)
Nice addition. Ive also made forum leaders mark forums read to same simply move the following code from within the template and tag to the end. If you do have problems searching in template shorten search to a keyword eg "navlinks".

Code:

<div class="navlinks">
        <a href="forumdisplay.php?{vb:raw session.sessionurl}do=markread&amp;markreadhash={vb:raw bbuserinfo.securitytoken}" rel="nofollow">{vb:rawphrase mark_forums_read}</a>
    <vb:if condition="$vboptions['forumleaders']">|
    <a href="showgroups.php{vb:raw session.sessionurl_q}" rel="nofollow">
        <vb:if condition="$vb_suite_installed">
            {vb:rawphrase view_site_leaders}
        <vb:else />
            {vb:rawphrase view_forum_leaders}
        </vb:if>
    </a></vb:if>
        </div>


good work

you are welcome and thanxx for your for your post

PreciseDemise 10-20-2010 12:53 PM

Thanks mate, it's annoying as hell it does that when side bar is in use :D

EDIT: I lied, it doesn't work great, end up with 2 Side bars, one above and one below ... looked good while I hadn't noticed though

iettafune 11-23-2010 12:09 PM

in vb 4.0.8 PL2 is:

Code:

<vb:if condition="$show['sidebar']">
                </div>
        </div>

        <div id="sidebar_container"<vb:if condition="$show['sidebarposition'] == 'left'"> class="sidebarleft"</vb:if>>
                <a id="sidebar_button_link" href="#">
                        <vb:if condition="$show['sidebarposition'] == 'left'">
                        <img id="sidebar_button" src="{vb:stylevar imgdir_misc}/tab-collapsed-left.png" alt="" />
                        <vb:else />
                        <img id="sidebar_button" src="{vb:stylevar imgdir_misc}/tab-collapsed.png" alt="" />
                        </vb:if>
                </a>
                <ul id="sidebar">
                        {vb:raw sidebar}
                </ul>
        </div>
        </vb:if>


Dr.osamA 11-24-2010 03:32 AM

thank you iettafune
i update it

betts02 12-04-2010 07:27 AM

{vb:raw forumhome_markread_script}

Can not find in my template on vb4.0.5

Dr.osamA 12-05-2010 08:35 PM

Quote:

Originally Posted by betts02 (Post 2129107)
{vb:raw forumhome_markread_script}

Can not find in my template on vb4.0.5

Do you have the default style of vb 4.0.5 ??

Try there .. Existing style certainly lacks this code

Goonie 12-08-2010 04:11 PM

How do I change it back to how it was originally?

I followed your instructions... but in reverse... kind of...
Anyway I changed it back to how it was before but the Who's Online box is still spread across the page... ?

Confused.

Goonie 12-08-2010 04:14 PM

Nevermind. I just reverted the template. Hopefully I hadn't made any other changes... otherwise I'm screwed. :)

Nice mod anyway. It just doesn't make the sidebar look too great... on my forum anyway.

VBUsers 12-19-2010 03:57 PM

does this work for the latest vb4 ?


All times are GMT. The time now is 07:43 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.01112 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
  • (3)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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