![]() |
|
Article Options |
An evil little prank mod - force user to a style
by
![]() 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:
Add After
If you have a whole usergroup you want to torment, do this: (haven't tested this one)
No members have liked this post.
|
||||||||||||
Views: 5154
|
Comments |
#2
|
||||
|
||||
force ?
torment ? wow, you're so evil but I love it . LOL No members have liked this post.
|
#3
|
|||
|
|||
code modification?
i think Andreas coded and awesome product named "Restrict Style to Usergroup" goood work, but i prefer Andreas's work ![]() No members have liked this post.
|
#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.
__________________
amykhar.com ---------------------------------------- I do not respond to PM requests for coding assistance. No members have liked this post.
|
#5
|
|||
|
|||
Originally Posted by amykhar
ofcourse
![]() ![]() Thanks Amy ![]() No members have liked this post.
|
#6
|
||||
|
||||
No members have liked this post.
|
#7
|
||||
|
||||
Thanks!
No members have liked this post.
|
#8
|
|||
|
|||
This would be a cool thing one could buy via Estore or Ushop..haha..
Nice one.. No members have liked this post.
|
#9
|
|||
|
|||
can you do this in 3.5.2? Theres no START TEMPLATES & STYLES
No members have liked this post.
|
#10
|
||||
|
||||
is there away to select all user groups? :S
No members have liked this post.
|
#11
|
||||
|
||||
Yes. Leave off the conditional, Smiry.
Southern, sorry. I don't write for older versions.
__________________
amykhar.com ---------------------------------------- I do not respond to PM requests for coding assistance. No members have liked this post.
|
#12
|
||||
|
||||
Could also easily be done as a plugin on style_fetch
![]() No members have liked this post.
|
#13
|
||||
|
||||
Love it!
![]() ![]() No members have liked this post.
|
#14
|
||||
|
||||
Jon,
Andreas's mod to restrict styles to usergroups may be more suitable for your needs. It's more robust and it's a plugin. This is more of a quick and dirty hack to do something style-wise to an individual or two.
__________________
amykhar.com ---------------------------------------- I do not respond to PM requests for coding assistance. No members have liked this post.
|
#15
|
||||
|
||||
Oh, thanks
![]() No members have liked this post.
|
![]() |
![]() |
||||
Article | Author | Type | Replies | Last Post |
Force Guests To Use One Style | ninjashoes | vBulletin 3.6 Template Modifications | 15 | 20 Oct 2007 19:28 |
Force Style to Certain Usergroup(s) and/or User(s) | Mosh | vBulletin 3.5 Add-ons | 28 | 02 Apr 2007 22:11 |
«
Previous Article
|
Next Article
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Article Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 07:43.