1

(7 replies, posted in PunBB 1.2 troubleshooting)

prit wrote:
if ($pun_user['is_guest'] )
return '<span class="warntext">[guest will see what you write here]</span>';
else
return '<a href= "'.$full_url.'">'.$link.'</a>';

This is great! Could you modify this so that it would filter a particular forum id for the links? Rather than all forums.

Edit:
Now that I think of it, could you filter for a specific user group? that would be even better. I'm trying to restrict forum content by user group or by guest.

This is regarding using the preview submit button.

onsubmit="return process_form(this)"

I think thats the root of why when I use the preview button on poll.php, <br />'s are put in to the remaining option inputs that were empty.

I have no idea how to fix this.

Is it possible to allow a forum to be seen as a link but when you click it you are denied access based on your usergroup or rank?

Mark, Smartyes, thank you very much.

Unable to fetch guest information. The table 'punbb_users' must contain an entry with id = 1 that represents anonymous users.

What does this mean?
I don't understand how my guest account was removed from the db.

Edit Update:
OK so I added the table info for guest, can someone show me all the default values for a guest cause I wanna make sure everything is right. I did get back in to my forum thought so I think it's ok.