The Arcive of vBulletin Modifications Site. |
|
Problems with my hack? Details »»
|
|||||||||||||||||||||||||
My first hack :banana:
Well, i'm wanting to make a script for put pop up's in some zones of my web, but im realy lose. if some one can help me. I havent to much experience in php&java. PHP Code:
I made a template and puted it in there ( popup_java, that's the name of the template) and then i went to the forumhome template and puted $popupjava in there, but when i load the page it doesnt load. My second question, If the code is right, ?Why it isnt load?, ?Must i give some orden to the VB db for load first the template? ?anyone can advice me? Thanke =) Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
You have to load the variable $popupjava with the code from the popup_java template with an eval statement. Do this just before the "eval dooutput" statement that loads the forumhome template.
eval("\$popupjava = \"".gettemplate('popup_java')."\";"); eval("dooutput(\"".gettemplate('forumhome')."\");" ); That should do it for ya. |
![]() |
|
|