PDA

View Full Version : Creating a guestbook to use with Vbulletin


Ajay
05-15-2004, 08:07 PM
What i'm looking to do is make a guestbook where only registered users could post but guests could view it. It would be in the same directory as vbulletin, but a different file. How would I check if the user is logged in or not, and have them post with their username?

VBDev
05-15-2004, 08:36 PM
Look for mine and in the good template, add a conditional to limit which usergroups can post

<if condition="$bbuserinfo[usergroupid]!=0">
template content
<else />
You are not logged and so you can't post in the guestbook ...</if>