Log in

View Full Version : How can I restrict some usergroups from searching on some sections of my board?


vithorius
04-15-2009, 04:23 PM
How can I restrict some usergroups from searching on some sections of my board?


I would like to have the possibility to restrict some usergroups from using the search. Say, I would like to let only premium users use the search facility on section (sub-forum) "X" and "Y".

On all other sections (sub-forums), I would like to let EVERYONE use search.


Is this possible? :confused:



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

TigerC10
04-16-2009, 12:49 AM
If the group cannot read the section, they cannot search the section. Just don't let that group have permission to view it.

iogames
04-16-2009, 01:04 AM
Usergroups Manager

Dismounted
04-16-2009, 01:17 AM
You can't restrict searching abilities on a forum-usergroup basis on a default installation of vBulletin, I haven't seen a modification for it either.

vithorius
04-17-2009, 08:37 AM
If the group cannot read the section, they cannot search the section. Just don't let that group have permission to view it.
Sorry TigerC10... I really WANT to let users read the posts on that particular section, but only Admins and mods to have permission for searching...



Usergroups Manager
Nope...! I would not post my question here if it was that easy... :p :rolleyes:



You can't restrict searching abilities on a forum-usergroup basis on a default installation of vBulletin, I haven't seen a modification for it either.
(sorry for posting this question on the wrong forum...)

Ok! Thank you so very much for your answer... :up: I really was afraid of having 'that' answer... :erm: :(

I guess I will have to start a 'quest' for this kind of Mod...? :(


Anyone would like to start it? https://vborg.vbsupport.ru/external/2011/07/3.gif

Floris
04-17-2009, 09:29 AM
"Anyone would like to start it? "

yes, but I need skills. I R HAS TEH DUMB so ..

vithorius
04-20-2009, 11:18 PM
...trying to bump a bit so somebody can help...

Anyone...?

vithorius
05-08-2009, 01:05 PM
I believe that there might be a way of doing it...! But how?

Lynne
05-08-2009, 02:19 PM
It looks like you would have to play with the forumchoice[] variable. If it isn't defined, then define it to be all allowed forumids. If it is defined, then take a look at the array and remove the forumids you don't want to allow.

vithorius
05-09-2009, 12:22 AM
It looks like you would have to play with the forumchoice[] variable. If it isn't defined, then define it to be all allowed forumids. If it is defined, then take a look at the array and remove the forumids you don't want to allow.
Dear Lynne, you are ALWAYS there! I really want to thank you for your help and support!


Well... the problem is that... I'm not a coder...


Is there some coder who could do such hack? (as Lynne said, it does seems to be something quite easy for a coder to do...)


Please...?

vithorius
07-13-2009, 08:30 AM
It should be somehow easy...! (maybe just my disabling the search buttons/links with a query on the usergoups?)

cono1717
07-13-2009, 10:14 AM
You could use a conditional to hide the search link however if members still know the link they would be able to use the feature. Also I think you can rename the page however I am not sure

The conditional would be something like.

<if condition="$bbuserinfo[userid] == 4">
<a href="search.php?">Search</a>
</if>