The Arcive of vBulletin Modifications Site. |
|
|
An evil little prank mod - force user to a style
I threw this together as a practical joke. I installed a style for one of our private forums, and some members hated it. So, I set it so that one of those users was faced with that style in every forum - and couldn't change it. If you want to force a user to a given style, do this: 1. Note your styleid and the userid of the person you want to torment. In global.php Find: Code:
// ############################################################################# // ######################## START TEMPLATES & STYLES ########################### // ############################################################################# Code:
if($vbulletin->userinfo['userid']==useridhere)
{
$codestyleid= styleidhere;
}
Code:
if(is_member_of($vbulletin->userinfo,usergroupidhere))
{
$codestyleid= styleidhere;
}
|
|
#2
|
|||
|
|||
|
force ?
torment ? wow, you're so evil but I love it . LOL |
|
#3
|
|||
|
|||
|
code modification?
i think Andreas coded and awesome product named "Restrict Style to Usergroup" goood work, but i prefer Andreas's work
|
|
#4
|
||||
|
||||
|
That's different. It's an update of one of my older mods and certainly has it's uses.
This is a temporary code hack that can be used as a practical joke or even for users that you're trying to drive away. Both have their uses. |
|
#5
|
|||
|
|||
|
Quote:
this mod supports user restriction ![]() Thanks Amy
|
|
#6
|
||||
|
||||
|
Quote:
|
|
#7
|
||||
|
||||
|
Thanks!
|
|
#8
|
|||
|
|||
|
This would be a cool thing one could buy via Estore or Ushop..haha..
Nice one.. |
|
#9
|
|||
|
|||
|
can you do this in 3.5.2? Theres no START TEMPLATES & STYLES
|
|
#10
|
||||
|
||||
|
is there away to select all user groups? :S
|
![]() |
|
|