The Arcive of vBulletin Modifications Site. |
|
postbit buttons question Details »»
|
|||||||||||||||||||||||||
I want to write a hack that displays a button or not in the postbit buttons (usually under the post) depeneding on what usergroup the person that posted the message is in.
I've looked at showthread.php, but if I add a function in here and create a new variable that contains the button I want to create, how can I reference that in postbit template? Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
you have to edit functions.php in the adminfolder...
goto section getpostbit and there you can add the variables, then in the postbit template just put $variable where you want to have it and all should work
|
|
#3
|
||||
|
||||
|
What sort of hack where you looking at?
Satan |
|
#4
|
|||
|
|||
|
Thanks for the reply.
We're using the techimo portfolio system and if the user is in the portfolio users group I want to place a button to that person's portfolio at the bottom of their posts (with the pm, homepage, aim, etc. buttons) |
|
#5
|
|||
|
|||
|
works great, thanks guys.
|
|
#6
|
||||
|
||||
|
your welcome
|
![]() |
|
|