![]() |
Problems with my hack?
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 =) |
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. |
All times are GMT. The time now is 06:30 AM. |
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:
|