Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-20-2006, 09:28 PM
aceofspades's Avatar
aceofspades aceofspades is offline
 
Join Date: Apr 2006
Posts: 306
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default ||Toggle Catagorys|| Does this Exist?

On my IPB forum, i had a mod that allowed users to toggle catagorys in and out of view using javascript (they said it doesnt have to use that, but thats what they used).

An example, the user has permission to view all forums but on the home page he only sees:

Quote:
Front Page
-Welcome to the forum
-Latest News
-Etc
Then he clicks (toggles) the gaming option, and now hes sees the following:

Quote:
Front Page
-Welcome to the forum
-Latest News
-Etc

Gaming
-New Games
-Media
-Etc
I hope im explaining myself well enough. Anyway, i was thinking VB cant be below IPB in any way, so there must be something (a mod / plugin) like this out for VB. So this is my question, is there a plugin that will do this out there at the moment, or is this something i will have to get someone to custom code for me?

James
Reply With Quote
  #2  
Old 05-20-2006, 09:38 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All categories are collaspable via the icon at the far right of the page. Clicking that once will collapse it, and again will open it. The collapsed/open status is also saved so that on return to the forumhome it appears the same as when you left it. You can also collapse each section of the 'What's going on?' box at the bottom of the forumhome.
Reply With Quote
  #3  
Old 05-20-2006, 09:49 PM
aceofspades's Avatar
aceofspades aceofspades is offline
 
Join Date: Apr 2006
Posts: 306
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, this isnt exactly what i am looking for though. What i am looking for is something that totally removes any sign that there is other catagorys there. For example your way still leaves the catagory bar, but hides the forums. It needs to be that the catagorys arnt visible at all untill toggled on via a menu or link, in which case they appear like they would normally but otherwise it would be like they arnt there at all.

There was a version for an older version of VB, but i tried and it didnt work on the lastest VB version.
Reply With Quote
  #4  
Old 05-20-2006, 10:02 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you let me have the link to what you have tried then I can have a look at what it is trying to do?

Thanks.
Reply With Quote
  #5  
Old 05-20-2006, 10:32 PM
aceofspades's Avatar
aceofspades aceofspades is offline
 
Join Date: Apr 2006
Posts: 306
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, here is what i would like in an ideal situation:

http://www.bigsoccer.com/

(notice the menus on the top for the different forum catagorys)

Except i would like my index.php to only have one catagory in, not all of them. So have my index.php as:

General
-News
-Mapping
-Etc

Then be able to go to a catagory which is actually just one catagory out of many, but cant be seen on the index.php, it can only be visited by going to the catagory directly
Reply With Quote
  #6  
Old 05-20-2006, 10:51 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, now I get you. I do exactly this with my staff forums.

In your navbar add the following code as many time as required
Code:
<td class="vbmenu_control"><a href="[high]Link To Category[/high]">[high]Title For Link[/high]</a></td>
You can add this anywhere on your navbar. I would look for
Code:
<td class="vbmenu_control"><a href="calendar.php?$session[sessionurl_q]">$vbphrase[calendar]</a></td>
and add it either before or after that.

In the forum manager set each category that you don't want to show on the forumhome (index.php) to Forum is Active - NO

If you want to do it as dropdowns let me know, or if you would like help writing the full code to add either as individual links or a dropdown please provide a link to your site and I will be happy to help.
Reply With Quote
  #7  
Old 05-20-2006, 10:57 PM
aceofspades's Avatar
aceofspades aceofspades is offline
 
Join Date: Apr 2006
Posts: 306
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So if its inactive it doesnt show up on the index.php but it can still be viewed by going to the catagory url?

Thanks for your help btw, your a legend
Reply With Quote
  #8  
Old 05-20-2006, 10:59 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, you need to know the url to access it, so by adding a link to the page via the navbar or elsewhere you can access it without it being visable from anywhere else.
Reply With Quote
  #9  
Old 05-20-2006, 11:02 PM
aceofspades's Avatar
aceofspades aceofspades is offline
 
Join Date: Apr 2006
Posts: 306
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, thanks buddy ill set that up now. Thanks again for taking the time to help me with this.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:06 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.05290 seconds
  • Memory Usage 2,236KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete