The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
Hi again , and thanks to Logician and his great suggestion of the ob_start ,
ob_start(); include("mycode.php"); $my_code = ob_get_contents(); ob_end_clean(); Except that it didnt work exactly as the $name variable wouldnt pass so i finally did the include line replaced with the line below : include "http://www.tchatting.com/forum/imdb.php?mid=".$mid."&xm=".$xm; now the pages do load , and the form to post works as well , i still have a minor issue am going to solve by today which is trimming white spaces. As for example : when searching for "the end" will make the url go like : "the+end" and that will break the eval code which logician templates use . From the form i will trim the white spaces as i noticed that searching for "theend" does return the same results , although i do find this a bit annoying as am afraid some movies will not return a search result if it didnt find it in IMDB without the spaces. IF there is a way to leave the + without affecting the eval parse error in Logician templates it will be nice , if not i will use the removal of white spaces from the initial form poster. I will update u with results anyway. Hi again ! Finally its working ... I wasted a bit of time trying to trim the user search movie input before its sent to the url then i was like i said wasting my time , i just did it through Logician templates ( thanks again to logician where his hack made this possible ) I used str_replace to the string above to eliminate the white spaces in the line , then i have now a working demo http://www.tchatting.com/forum/view.php?pg=movies Thanks again for the help logician , your tips made it possible ! I'll attach the files related to this later on here depending on which section is suitable or if anyone is interested anyway ! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|