2009-02-10, 09:46 PM
Thanks that worked perfectly.
PHP in Templates and Template Conditionals
|
2009-02-10, 09:46 PM
Thanks that worked perfectly.
2009-04-09, 03:24 PM
very good zinga,
it provides more flexibility in teplates great work
2009-04-15, 03:24 AM
Thanks.
I thing, only Template Conditionals is really needed. run PHP in template is shouldn't for security reasons.
http://hoiquantinhoc.com
Vietnamese vBulletin Board Customizer http://mybbvn.com Vietnamese MyBBoard Customizer
2009-04-15, 09:12 AM
(2009-04-15, 03:24 AM)ChangUonDyU Wrote: Thanks.You can still actually run PHP from within the template conditionals, so it really isn't much more secure. The system would require some way of detecting "dangerous" conditionals which can be potentially problematic...
2009-04-17, 10:51 AM
I cant get this plugin to work.
I activated the plugin and added this line to a template: <?php echo "code runned."; ?> But I just see the full PHP-code in the source of my website. Any idea why?
2009-04-17, 12:07 PM
Can you reproduce this on a clean board? If so, can you give step by step instructions on how to reproduce your issue? Thanks.
2009-05-12, 09:36 PM
Is there a list of available conditions somewhere?
Hi Yumy thanks for the great plugin!
I'm using it for not to see as admin my google adsense ads and accidentally click on them. <if $GLOBALS['mybb']->user['usergroup'] == 4 then>Hello juliusb!<else> ADSENSE CODE </if> I put this in my header and showthread templates. Do you think it slows down my forum? Thanks juliusb
2009-05-19, 09:48 AM
From what I read, this allows me to use other stuff like {$header} or {$forums} and so on. Is it? And also run PHP codes in templates right?
But where do I upload this? /inc/plugins/? And then, I upload it.. and.. it's done? Am I ready to use it or do I have to do something else? |
« Next Oldest | Next Newest »
|