Backend Development

PHP Help

Submitted by Deleted_3747, , Thread ID: 28977

Thread Closed
03-02-2017, 06:14 PM
#1
i need a 1 line code to display a message only for guests on index on mybb

i've tried to do it, but i'm not knowledged enough to complete the task :/

RE: PHP Help

This post was last modified: 03-02-2017, 06:21 PM by AAA
#2
03-02-2017, 06:14 PM
Devourz Wrote:
i need a 1 line code to display a message only for guests on index on mybb

i've tried to do it, but i'm not knowledged enough to complete the task :/

PHP Code:
<if $mybb->user['usergroup'] == "1" then>
// your msg here 
</if> 


btw you need template conditionals plugin for this :D
[Image: XhhKTdF.png]

RE: PHP Help

OP
#3
03-02-2017, 06:20 PM
ANIME USERNAME Wrote:
PHP Code:
<if $mybb->user['usergroup'] == "1" then>
// your msg here 
</if> 

Thank you, i appreciate it Smile

RE: PHP Help

#4
03-02-2017, 06:21 PM
Devourz Wrote:
Thank you, i appreciate it Smile

Np mate.... enjoy :D
[Image: XhhKTdF.png]

Users browsing this thread: