Not Solved PHP in Templates and Template Conditionals
Not Solved
(2013-05-24, 07:41 AM).m. Wrote: ^ add <if $mybb->usergroup['gid'] != 2 then> at the top of usercp_nav_messenger template and add </if> at the end of the template.

worked
Very Thanks

A few problems and questions

1-important(error)
when i use code
in member cp show this error on the top
Parse error: syntax error, unexpected ')' in /home/........./public_html/Forum/inc/functions_user.php(458) : eval()'d code on line 20


2-How use this code for Multiple groups
(group1 & gorup4 & gorup3 ==access)
and (group2 == Inaccessible)

3-can use code this form
<if $mybb->usergroup['gid'] !== 2 then>

$mybb->settings['enablepms'] == 0)
{
error($lang->pms_disabled);
}
</if>

Sorry, my English is very poor
thanks
I cant speak english well
Blush

Reply


Messages In This Thread
RE: PHP in Templates and Template Conditionals - by 0000 - 2013-05-24, 06:23 PM
RE: Template conditionals - by expat - 2015-01-31, 05:28 AM

Forum Jump:


Users browsing this thread: 90 Guest(s)