1 (edited by Paul 2006-08-10 01:45)

Topic: Integrating into main website

With my previous forum software.....XennoBB you could do things like this:
if ($forum_user['g_id'] > USER_ADMIN) xBB_Message($lang_common['No permission']);
So basically if the groups id was higher than admin then they would get a page that tells them they can't do anything on the page.
i have tried modifying this to be pun accessible but no luck.
Is there anything like this for PunBB?
Thanks for the help. big_smile

2

Re: Integrating into main website

if ($pun_user['g_id'] > PUN_ADMIN)
    message($lang_common['No permission']);

Re: Integrating into main website

Thank you! big_smile
one more question to go along with this...

$mess = xBB_Parse_Message($p['news'], 1);
echo $mess;

What would be the equivelant for PunBB?
I've tried
pun_parse
pun_parse_message
pun_parser
:\
Can anyone help with this? Thanks

4

Re: Integrating into main website

parse_message()