The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Custom postbit based on UserGroup
I'm not sure if something like this has ever been released but I was unable to find it in a search. If it exist just point me in the right direction. What I am looking for is the ability to assign certain postbit templates to certain member groups. My use for this mainly has to do with the RPG Intergration hack. Since it has a custom postbit showing RPG stats I would like to make a member group "RPG Members" and only have them seeing this postbit. The regular members I would like to only see the regular default postbit without the RPG Info. I'm sure this could have other uses beyond just this one hack though like for mods and admins. So does anyone have any ideas on how this could be done?
|
#2
|
||||
|
||||
This would require hacking
- miSt |
#3
|
|||
|
|||
I figured it might, could one of the mods please move this to Hack Request.
|
#4
|
||||
|
||||
*Moved upon request*
- miSt |
#5
|
|||
|
|||
Anyone have any suggestions? Anyone at all?
|
#6
|
|||
|
|||
Open /admin/functions.php
## Find: PHP Code:
PHP Code:
Add a new template named postbit_rpg, this is the postbit that will display for your rpg gourp. |
#7
|
|||
|
|||
Thanx loo, btw I also need my mod and admin groups to have the rpg postbit as well, what line would I add for more groups. Extra elseif lines?
EDIT: Nevermind, it worked like I thought. I was able to add extra groups like this: PHP Code:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|