The Arcive of vBulletin Modifications Site. |
|
$postoption will not show? Details »»
|
|||||||||||||||||||||||||
in postbit, i try to show a new button. so in getpostbit() function, i added a new variable called $postrename:
Code:
eval("\$postrename = \"".gettemplate('postbit_renamepost')."\";");
i'm confused. thanks for helping me understand. Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Try:
PHP Code:
|
|
#3
|
||||
|
||||
|
that wont do any difference lesane, it will only repeat the variable if needed and that's not the case.
technicaly, if i add in getpostbit() a new variable it should show it in every poost, no matter what.. but that's not the case. firefly? anyone? i know is not related to the global functions... the only way i see it this: the post array let you insert those variables. even if you change the variable to $post[rename] or whatever you want to, it will still normally show it because the getpostbit function is designed to show no matter you want in there, reltaed to postbits... text images, etc. i even tried to add a condition into the showthread.php file, same result. try this lesane, in functions.php, find: Code:
eval("\$post[buddy] = \"".gettemplate("postbit_buddy")."\";");
Code:
eval("\$post[rename] = \"".gettemplate('postbit_renamepost')."\";");
|
|
#4
|
||||
|
||||
|
have you tried it with a standart template?
for example eval("\$post[rename] = \"".gettemplate('postbit_buddy')."\";"); does it show the buddy-button twice now, or does it show also just 1 button? |
|
#5
|
||||
|
||||
|
i cant believe it.. it was a mistake. i edited the wrong way the 'postbit' template.. lololol... whattaaa geek i am... it's showing right now the button...
|
|
#6
|
|||
|
|||
|
LMAO
|
|
#7
|
||||
|
||||
|
*gg*
nobody's perfect m8 |
![]() |
|
|