Not Solved PHP in Templates and Template Conditionals
#88
Not Solved
(2010-02-27, 08:02 AM)Yumi Wrote: You should perhaps ask the authors of those two scripts to add it appropriately.

This probably only affects the installers anyway, which should function okay with this warning appearing, so IMO, not a big deal.
However, if you wish to perform edits yourself, do the find/replacement I've shown above.
Hope that helps.

ok nevermind ...no problem but when i change your part of code in phptpl.php - i lose all changes what i made in admincp in some templates - will explain

i put this code on index template (default and afresh midnight)
<if $mybb->user['usergroup'] == 1 then>content...</if>

i will just that guests can see one slideshow and that works before change
if(!defined('IN_ADMINCP') && is_object($GLOBAL['templates']))

now after change all can see this slideshow (mean login users )

some help or solutions?

regards

bosss
Reply


Messages In This Thread
RE: PHP in Templates and Template Conditionals - by bosss - 2010-02-27, 09:18 AM
RE: Template conditionals - by expat - 2015-01-31, 05:28 AM

Forum Jump:


Users browsing this thread: 94 Guest(s)