Jump to the post that solved this thread.
Solved: 10 Months, 1 Week, 2 Days ago How to show message for selected group only
#1
Solved: 10 Months, 1 Week, 2 Days ago
I want to show some message to guest only. how can i do that? i tried to add on index template, but it's also visible for other group as well. any help please?

<if $mybb->user['uid'] <= '1' then>
here is my message
</if>
Reply
#2
Solved: 10 Months, 1 Week, 2 Days ago
add your code to

Header Templates > header_welcomeblock_guest


With css , change your element position
Reply
#3
Solved: 10 Months, 1 Week, 2 Days ago
Hello,

To be able to use template conditionals you need a plugin like http://mybbhacks.zingaburga.com/showthread.php?tid=464
Reply
#4
Solved: 10 Months, 1 Week, 2 Days ago
(2021-07-09, 04:44 AM)Mostafa.Shiraali Wrote: add your code to

Header Templates > header_welcomeblock_guest


With css , change your element position

ty i will try Smile

(2021-07-09, 07:01 AM)Erikbe Wrote: Hello,

To be able to use template conditionals you need a plugin like http://mybbhacks.zingaburga.com/showthread.php?tid=464

thank you, i will check that plugin.
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)