(11-06-2010 09:36 AM)ZiNgA BuRgA Wrote: [ -> ]The other thing you're referring to - this? http://mybbhacks.zingaburga.com/showthread.php?tid=387
Not exactly - thats using a forumdisplay to pretend to be a page - but I guess we -can- use that. Would that kind of layout support us using $variables inside the "wrapper" though? Whenever I try and make a page and put those kinds of variables in it never seems to work. It only seems to work with static HTML. Of course, thats probably me missing something ....
(11-06-2010 09:48 AM)leefish Wrote: [ -> ]Would that kind of layout support us using $variables inside the "wrapper" though?
No it won't unfortunately.
For XThreads, I'm a bit worried about allowing it outside the AdminCP...
But I might give the option at least, leaving it to the user to decide whether they think it's worth the security risk or not.
You may, however, manually pass variables across via the Display Format, eg:
PHP Code:
<?=str_replace(array('{$variable}', '{$variable2}'), array($variable, $variable2), {VALUE})?>
|
But you need to manually specify every single variable you're going to use....
ZiNgA BuRgA and RateU. You are an invincible duo. Thank you both!