![]() |
$postoption will not show?
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. |
Try:
PHP Code:
|
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')."\";"); |
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? |
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...
|
LMAO
|
*gg*
nobody's perfect m8 |
All times are GMT. The time now is 10:03 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|