PDA

View Full Version : Force style by usergroup


wrongful
02-04-2004, 01:16 PM
I think that this could be handy for banned usergroups where you would have a template set that has the log out links removed and maybe ugly colors or something, but anyway, how would one force one style to be used forum wide for one usergroup?

Zachery
02-04-2004, 01:50 PM
already released, try using search ;)

wrongful
02-04-2004, 03:11 PM
already released, try using search ;)If you are refering to NTLDR's hack, that's not really the idea that I'm talking about. Let me make myself more clear in what I'm looking for.

I don't allow users on my boards to change styles, so that is not an issue. What I am looking to do, is force a different "default" style on a usergroup that overides the default style set in the admincp and any forum specific style set in the admincp. I searched and I didn't see a hack that does this.

Does this make sense?

pgowder
03-18-2004, 05:50 PM
I'm looking for the same. Have you found it?

pgowder
03-30-2004, 07:42 PM
Anyone found it? Or made one?

Multani
11-08-2005, 07:38 PM
Second thread requesting this... still havent found it :(

Zachery
11-08-2005, 07:59 PM
Its out and this thread is years old, try seraching again :p

pgowder
11-08-2005, 10:48 PM
I've tried to find it before and couldn't!

So if its out there now, I sure would like to know.

Multani
11-09-2005, 10:06 AM
Its out and this thread is years old, try seraching again :p

I know the thread is years old, but I'm still missing a solution to the problem, and searching didnt help.

And just like today, you said it was released years ago, and never told us where. Really helpfull.

amykhar
11-09-2005, 11:04 AM
Kirby has one that allows you to restrict styles to usergroups. All you have to do is use that mod and restrict each group to the style you choose.

Amy

lazyseller
11-09-2005, 09:27 PM
I managed to install that mod but it doesnt force my users to a certain style if they logout it falls back on the default design once they log back in.

lazyseller
11-11-2005, 12:19 AM
here is the hack for 3.03 but we need it ported to 3.5 if someone could help that would be appreciated

https://vborg.vbsupport.ru/showthread.php?t=68423&highlight=force+styleid

oops you actually posted taht lol

i manage to get it to do what i needed to do but for you it might be different . I have no programming knowledge i just searched the forums and played with the coding till it worked ..

i used this

$userdata->set('styleid', 5);

so i guess if you can find a place to put that and a if statement such as

if banned user $userdata->set('styleid', 5); ..

good luck..