WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums

Register | Forgot Password

guestbook toplist

Version: 4.0.40
printPrint


guestbook toplist
peumus
Forum Regular
Avatar

Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile
Total Topics: 143
Total Posts: 374
Posted 09/19/07 - 06:50 AM:
quote post
#1
Paul,

I would like to have a toplist of the last posts of member guestbooks.
Same format as the current new posts. This in ordet to let the visitors to see the last entered guestbooks entries.

Is it possible to have a guestbook toplist ?


Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 6022
Posted 09/19/07 - 09:03 AM:
quote post
#2
To show which ones have been updated I use
<p>Most recently updated guestbooks:</p>
<!-- BEGIN TOPLIST 8 -->
<CONFIG>members,lastguestnote,10,descending,guestnotes>0</CONFIG>
<a href="{MEMBERPROFILEURL}">{MEMBERNAME}</a> - {MEMBERGUESTNOTES}<br>
<!-- END TOPLIST 8 -->
{TOPLIST8PAGINATION}


To show the actual guestbook comments, do a comments toplist with the filtering condition
usernoteon>0 AND modnote=0

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
peumus
Forum Regular
Avatar

Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile
Total Topics: 143
Total Posts: 374
Posted 09/19/07 - 12:18 PM:
quote post
#3
Thanks,

When presenting the actual guestbook comments I do not find a variable to use in order to link to the corresponding guestbook were the message is posted to. The corresponding ID available variables does detects the poster guestbook only.

Is it a way to link to the guestbook were the comment is posted to ?

I have tried the following without this effect :

<a href="usernotes.php?id={COMMENTMEMBERID}"> {COMMENTMESSAGE}</a>
<a href="usernotes.php?id={COMMENTID}"> {COMMENTMESSAGE}</a>
<a href="usernotes.php?id={COMMENTOWNERID}"> {COMMENTMESSAGE}</a>
<a href="usernotes.php?id={COMMENTLINKID}"> {COMMENTMESSAGE} </a>
<a href="usernotes.php?id={COMMENTID}"> {COMMENTMESSAGE}</a>
<a href="usernotes.php?id={COMMENTCATID}"> {COMMENTMESSAGE} </a>
<a href="comments.php?id={LINKID}"> {COMMENTMESSAGE}</a>
<a href="comments.php?id={COMMENTID}"> {COMMENTMESSAGE}</a>
<a href="comments.php?id={COMMENTLINKID}"> {COMMENTMESSAGE}</a>
<a href="comments.php?id={COMMENTCATID}"> {COMMENTMESSAGE}</a>

note: at editing this post it looks fine, but posted the
}"&# 62;
characters appears.

Edited by peumus on 09/19/07 - 12:23 PM
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 6022
Posted 09/19/07 - 05:06 PM:
quote post
#4
{COMMENTUSERNOTEON} is the id of the member guestbook.

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.