Thanks, that´s the right hint i think!
So I can take the group id´s for both cases, very nice...
1 2006-07-12 14:07
Re: Variables for login and usergroup? (3 replies, posted in PunBB 1.2 troubleshooting)
2 2006-07-12 13:44
Topic: Variables for login and usergroup? (3 replies, posted in PunBB 1.2 troubleshooting)
I´d like to give the visitor specified messages if he´s not logged in to the board or he´s in the default usergroup. For this i need the right variables and their possible values. i want to modify the header.php for it.
For example, special announcement for unregistered or not logged in users:
<?php
if ($login == no) {include ('datafile_loggofuser.php');}
?>
For example, special announcement for users in wrong usergroup
<?php
if (($login == yes) AND ($usergoup == default)) {include ('datafile_defaultuser.php');}
?>
For 2nd example the usergroup id would be fine as well.
Hope you´ll understand what i want to do, my english is not the best....
Thanks and regards!