PDA

View Full Version : [Request] RESTRICT SEARCH to a SINGLE USERGROUP in SELECTED forums?


vithorius
01-29-2009, 08:15 PM
Is it possible to restrict searches to a single usergroup in a given selected forum/s? :confused:


If not, I would like to have a Mod who could do such thing, if possible...! :p

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

vithorius
04-15-2009, 06:02 PM
Anyone could post some ideas, please...? :confused: :erm: :(

vithorius
05-06-2009, 03:30 PM
Anyone...?

Lynne
05-06-2009, 04:28 PM
Hmmm, not sure, but you could probably write a plugin to look at the forumids being passed and then if one of them is X and they aren't in usergroup Y, then you give them no results or an error?

vithorius
05-08-2009, 12:35 PM
Hmmm, not sure, but you could probably write a plugin to look at the forumids being passed and then if one of them is X and they aren't in usergroup Y, then you give them no results or an error?

Dear Lynne, you are ALWAYS there! I really want to thank you for your help and support! :up:


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...? :o :rolleyes:

Excalibur82
05-09-2009, 06:26 AM
If I find time I will gladly write this plugin for you.

vithorius
05-09-2009, 05:50 PM
If I find time I will gladly write this plugin for you.
Thank you Excalibur82!!!

I will aprecciate it so very much! :up: :up: :up:

vithorius
05-31-2009, 01:38 AM
Anyone with a bit more extra time than Excalibur82? :confused:




Dear Excalibur82, if you still find some time, I believe that this could be a very simple hack to code (as Lynne just said) that could be added right into your current hacks list! :up: :up:

vithorius
07-01-2009, 02:39 PM
This would make a PERFECT Mod for any kind of board! :up: :up: :up:

HMBeaty
07-01-2009, 02:43 PM
If I can, I will try and work on this later tonight or tomorrow

vithorius
07-01-2009, 03:01 PM
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
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
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:



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: