vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Selective Forum Filter (https://vborg.vbsupport.ru/showthread.php?t=79883)

akanevsky 04-12-2005 10:00 PM

Selective Forum Filter
 
/*================================================= =====================*\
|| Selective Forum Filter for vBulletin 3.0.3 - 3.0.7
|| Author : Psionic Vision
\*================================================ ======================*/

What's That For:
It enables your forum users to selectively hide various forums from the forum list and from search by using the new "Edit Forum Visibility Mode" on the index page of your forums.
When hidden, users can access those forums using direct url, or using the edit mode.
The user will still be able to access his hidden forums by using direct url, and he will be able to search from within them.

1.07
[+] Bugfix release..

1.06
[+] Now you can also enter visibility edit mode in subforums. That is useful when there are many forum levels and thus not all of them are accessible from forumhome.
[+] Edit mode is now saved into cookie, so until you either exit from that mode or close your browser, your state will be saved between pages :)

1.05
Two more template changes that were forgotten about in 1.04.

1.04
Major Update! The confusing type-in-digits text field in the user profile is no more. Now, to edit forum visibility, user must simply click on a new link, and that link will take him to the edit interface. See screenshots.

Note: Of course, guests will not be able to access that mode.

1.03
Once again the manual has been corrected... :(

1.02
[BugFix] The subforums now get hidden as well (subforums are the list of forums that are outside your forum depth view).

1.01
My apologies - The manual has been incomplete. A query and a step were missing.
This time everything is fixed :)

1.00
First Public Release

P.S. I do not think there is a screenshot needed here, because the only visual thing the hack does is a new field in user options panel.

I WILL ONLY PROVIDE SUPPORT IF YOU CLICK INSTALL

j_86 04-13-2005 07:01 PM

I'll stick with https://vborg.vbsupport.ru/showthread.php?t=77687 - but good to see some variations :)

Marco van Herwaarden 04-13-2005 07:06 PM

Just 1 remark. If i understand it correct a user can give a list of comma seperated forumid's.

The following however would turn the user input into an integer (so no list of comma seperated values anymore). Didn't install this, but just did a quick look at the code:
PHP Code:

    globalize($_POST, array('excludeforumids' => INT)); 


akanevsky 04-13-2005 07:14 PM

Jimpsed,
Alright, I don't mind. :squareeyed: Besides, when I was making this hack I did not know something like this exists already :)

Fixed, thanks.

Ghostsuit 04-13-2005 07:41 PM

Quote:

Originally Posted by JimpsEd
I'll stick with https://vborg.vbsupport.ru/showthread.php?t=77687 - but good to see some variations :)

emm not to be a bit confused but where did you get the file since there is no hack there only the idea of one? :S

I'm probably missing something.

Allan 04-13-2005 09:05 PM

not badly, beautiful job, that can be very useful in certain situation, thank you has you :)

ps: you should add a "screen" directly in this thread ;)

Lionel 04-13-2005 09:19 PM

Letting user type is a bad idea. Can it be like the image in second post?

akanevsky 04-13-2005 09:24 PM

No worries.
He can only type what he should type :) And there is no way around typing only digits separated by commas :)

P.S >> If you are talking about the image in the OTHER thread, yes it can be done. However, it would require enabled JavaScript to work, and it just wouldn't if JS was off... So no, sorry, but I won't do it the graphic way.

Lionel 04-13-2005 09:27 PM

I learn that which seems easy for us is not for others. I can already see myself bombarded with emails: "How do I know the forum id?". It's also easier to select when you have a visual.

akanevsky 04-13-2005 09:29 PM

As I said, many people have javascript off. Therefore, you could then get bombarded with email "why won't that thing work". Besides, you could put the explanation about the ID into the phrase that is used to describe that field...


All times are GMT. The time now is 10:05 AM.

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.01083 seconds
  • Memory Usage 1,739KB
  • 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)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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