vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Can view certain forum depending on profile choice (https://vborg.vbsupport.ru/showthread.php?t=54112)

blackice912 06-10-2003 07:18 AM

Can view certain forum depending on profile choice
 
Alright, I have this idea I wish to setup on my forum.

Say I have two forums. The first one is a CD forum and the other one is a FLOPPY forum.

In the user's profile they have a dropdown asking them what they prefer: CD or FLOPPY. If they choose CD from the dropdown, a forum becomes visible to them and allowing them to use the CD users forum. If they choose the FLOPPY from the dropdown...same, except FLOPPY forum, of course.

If someone could help me out with this, that would be great. :bunny:

Xenon 06-10-2003 12:38 PM

you should wait for vb3, with it it would be much easier :)

blackice912 06-10-2003 05:28 PM

Probably, but I'm the impatient-type :p

blackice912 06-10-2003 11:12 PM

Heck, if someone can just tell me what the PHP/MySQL code would be to make vBulletin not show a specific forum, then I could do it and *actually* release the full thing for use ;)

filburt1 06-11-2003 12:05 AM

To not show it in forumforum is uber-easy. To not show it in searches, subscriptions, forumdisplay, and a billion other references is a major PITA.

blackice912 06-11-2003 12:47 AM

Hey that's cool, it's just a way for me to customize the forum choices depending on their interests.

And since I do not know of this "uber-easy" method, would you consider sharing it with us lessers?

filburt1 06-11-2003 12:56 AM

In the query to get the list of forums, just add a AND forumid != forumid.

blackice912 06-11-2003 08:43 AM

Ah, much thanks filburt. I hadn't thought of that.

Then again, I am limited to what the Matrix lets me learn.


All times are GMT. The time now is 03:23 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.00927 seconds
  • Memory Usage 1,716KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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