The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How can I force styles by Usergroup
There used to be a Mod for it but is not compatible with 4.1.10 from what I am hearing.
Any other options? |
#2
|
|||
|
|||
Have you tried this mod: https://vborg.vbsupport.ru/showthrea...=229038&page=3 ? In the last post someone mentions it working with a recent version, if you change the version check in the product xml before importing.
|
#3
|
|||
|
|||
I'm not good at this stuff.
Would I change it to 4.1.10? What is the worst that could happen? Thanks |
#4
|
|||
|
|||
Yeah, try 4.1.10. To be honest I'm not sure what happens if you have it installed and then update vb to a later version. You could enter 5.0.0, but I don't know if it's necessary. It really doesn't matter what's there until/unless some incompatability appears in a later version.
Well, the worst that would happen is it causes problems with your site and you have to uninstall it. But I think that's unlikely. I think it's much more likely that if it's incompatible that it just won't work. |
#5
|
|||
|
|||
Quote:
|
#6
|
|||
|
|||
Quote:
Oh, you probably need to save it to your computer then edit it with a text editor. I think it you just open it in windows it opens it read-only in a browser. Try right-clicking it and choosing "edit". I think that will open it in notepad which will probably work OK. |
#7
|
|||
|
|||
Doesn't look like it is working for 4.1.10
I guess my next question is how can I do this? I have to groups that frequent my site. If I can give them their "look" they will sponsor and support the site. I will need to have three styles. When someone is identified in that group I could assign them a usergroup that will then change the look to match theirs. Thanks |
#8
|
|||
|
|||
You could try a plugin using hook style_fetch and code like this:
Code:
if (is_member_of($vbulletin->userinfo, 1, 2, 3)) { $styleid = ID1; } else if (is_member_of($vbulletin->userinfo, 4, 5)) { $styleid = ID2; } // etc and of course replace ID1 and ID2 with actual style ids. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|