- Hi, my friend is using Suite Forum 5.1 and I'm modifying tpl files directly for him to add something (at this stage the ACP cannot do the thing I want), and I need conditional docs or some conditionals I need:
Zitat
- show this only to userid 1
- show this only to usergroup id 1
- show this only to usergroup id 1 and 2
- show this to all users, but userid1 (userid 1 cannot see this)
- show this to all usergroups, but usergroup id 1 (usergroupd id 1 cannot see this)
- show this only to members
- show this only to guests
- show this only to moderators of forum id 1 (users who are moderators of forum id 1)
- show this to all moderators
- show this only in forum id 1
- show this in all forums
- show this in all forums, but forum id 1
- if user is a member, show him (hi, how are you?), else show (please for the sake of Jesus register)
- if user id is 1 show (hello user id 1), else show this to user id 2 (hello user id 2)
I know after upgrading, all the codes which were added manually will be removed due to files being replaced, but I'm creating a style and having modified my own tpl files.
Thanks in advance