The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Guestbook
Hi, am trying to figure out how to add a guest book in the profile. And I can not say that i understand the vb code fully But am trying. lets say we have a SQL table named GB and i want to loop out the massegen in it. the first thing i would do is ti add something like this to member.php file right?
$mess->dbobject->query_write(" SELECT `mess` FROM `" . TABLE_PREFIX . "GB` WHERE `$userinfo[userid]` = " . $userinfo['mess] . " $result = mysql_query($sql); while ($row = mysql_fetch_assoc($result)) { $userinfo['mess]; } "); Please give me pointers what have i don wrong and that is the next step? |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|