vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Subforum Drop-down Menu (https://vborg.vbsupport.ru/showthread.php?t=99821)

ReZ 12-27-2005 03:29 PM

Thanks for this.

YOimYO 12-27-2005 10:23 PM

thanks :D

YOimYO 12-29-2005 01:13 PM

I have installed this, it looks great. actually i just installed it twice :) to make sure ....


but .... when i click to open the dropdown, it auto redirects me to inside the main forum, and doesnt give me a chance to click on the subforum ... :P


any suggestions ?

YOimYO 12-29-2005 01:18 PM

PHP Code:

<!-- top category table setup -->
<
table border="0" cellpadding="0" cellspacing="0"  width="100%" align="center" style="background-image: url($stylevar[imgdir_misc]/cat_back.gif)">
  <
tr>
    <
td width="150" height="27" align="left" valign="top"><img  src="$stylevar[imgdir_misc]/cat_top_ls.gif" width="150" height="27" alt="" /></td>
    <
td width="100%" valign="middle">
    
            
            <
a style="float:$stylevar[right]href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumidsrc="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
            <
div align="center">
            <
a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><b>$forum[title]</b></a></div>
            <if 
condition="$show['forumdescription']"><div align="center" class="smallfont">$forum[description]</div></if>
            <if 
condition="$show['subforums']"><div class="smallfont"><!-- Subforum pull-down menu --------------------------------------->
    <
form action="forumdisplay.php" method="get">
        <
input name="s" value="" type="hidden">
        <
input name="daysprune" value="-1" type="hidden">
        <
select name="f" onchange="this.form.submit();">
<if 
condition="$forum[statusicon] == 'new'">
<
option value="$forum[forumid]style="font-weight:bold;">$forum[title]</option>
<else />
<
option value="$forum[forumid]">$forum[title]</option>
</if>
            
$forum[subforums]
        </
select>
                <
input class="button" value="$vbphrase[go]type="submit">
    </
form>
<!-- 
Subforum pull-down menu ---------------------------------------></div></div></if>
        
    
    </
td>
     <
td width="150" height="27" align="right" valign="top"><img src="$stylevar[imgdir_misc]/cat_top_rs.gif" width="150" height="27" alt="" /></td>
  </
tr>
</
table>

        <!-- 
End top category table setup --> 


YOimYO 12-29-2005 07:27 PM

aha i found my problem. to make this mod compatible with mouse rollover effect hack just remove this code ....
PHP Code:

 onclick="window.location.href='forumdisplay.php?$session[sessionurl]f=$forum[forumid]';" 


pirotess 12-30-2005 05:09 PM

Quote:

Originally Posted by kadafi_alive
Is there a to apply this hack only to a specific set of subforums?

Regards

Yes there is if your board only has one style like mine. Make a child style of your normal board style and make the changes listed above. Then go into the Forum Manager and edit the Style Options section on the forums you want this to be used on. Set the Custom Style dropdown to the child style you just created and have it override your users style choice.

Stunner Inc. 12-30-2005 07:52 PM

HEYYYYYYYYY THAT'S MY SITE (Stunner-Entertainment.com),lol
I don't mind you using it though :)

bashy 01-13-2006 08:36 PM

Hi, I have installed this and working well....
Just 1 question, is there a way to make the drop down white background the colour of my forum?

kartik786 01-22-2006 09:45 AM

works hell sexy on v 3.5.3

o0Hubba0o 01-28-2006 12:11 AM

Quote:

Originally Posted by YOimYO
aha i found my problem. to make this mod compatible with mouse rollover effect hack just remove this code ....
PHP Code:

 onclick="window.location.href='forumdisplay.php?$session[sessionurl]f=$forum[forumid]';" 


Hey thanks alot for posting what you did to fix this, so many people just "nevermind I fixed it", really appreciate. I'd like to add that that code was in the "forumhome_forumbit_level1_post" and "forumhome_forumbit_level2_post" templates. The drop down now workd great for me! Great space saver.


All times are GMT. The time now is 03:13 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.01115 seconds
  • Memory Usage 1,770KB
  • 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_php_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