vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   [Request] RESTRICT SEARCH to a SINGLE USERGROUP in SELECTED forums? (https://vborg.vbsupport.ru/showthread.php?t=203533)

vithorius 07-01-2009 03:01 PM

Quote:

Originally Posted by Redlinemotorsports (Post 1840776)
If I can, I will try and work on this later tonight or tomorrow

Thank you so VERY MUCH!!!

That would be so very much appreciated! :up: :up: :up:

HMBeaty 07-01-2009 04:41 PM

Ok, good news and bad news...

Good news: I have this working...

Bad news: The way it is right now, restricts anything from showing up for "New Posts" and just by doing a regular search.

BUT, if you search within the forum, for example, forum id "4", it won't let them :D SO, its kinda there but kinda not, lol. I'll see if I can figure something out though

HMBeaty 07-01-2009 05:37 PM

1 Attachment(s)
Ok, I'm not sure if this is going to go much further, but if you want to use it as is, just upload the attached plugin and change X1 to the usergroup id you want to restrict and X2 to the forum id that you want to restrict X1 from.

vithorius 07-02-2009 08:11 AM

Quote:

Originally Posted by Redlinemotorsports (Post 1840854)
Bad news: The way it is right now, restricts anything from showing up for "New Posts" and just by doing a regular search.

BUT, if you search within the forum, for example, forum id "4", it won't let them :D SO, its kinda there but kinda not, lol. I'll see if I can figure something out though

Hummm... How about that "New Posts" interference? The "New Posts" is one of the most clicked link on my board... :eek:



Quote:

Originally Posted by Redlinemotorsports (Post 1840885)
Ok, I'm not sure if this is going to go much further, but if you want to use it as is, just upload the attached plugin and change X1 to the usergroup id you want to restrict and X2 to the forum id that you want to restrict X1 from.

Ok, I guess that I will have to test it like this... :(

But would like to ask you if it is possible to assign it to more than one forum id? (I would like to set it into 4 of my sub-forums)

Oh! And the New Posts interference is still there? :(


Thank you so very much! :up: :up: :up:


All times are GMT. The time now is 11: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.01007 seconds
  • Memory Usage 1,726KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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