I have implemented a nice little user-guestbook using these tutorials
and the modded guestbook module (pretty sweet!!) I have a suggestion!
I have set the pager limit in the modded guestbook.module code
to "3" as space is limited on the userpages, and the
Guestbook Admin settings pager limit to 50.
(pager settings in tpl had no effect.. )
however I also wanted to include a "view all" link in there also, so
viewers have the option to link to that user's dedicated guestbook
page (i.e. "guestbook/245" if id of the user-page owner was 245)
and view the full guestbook page 50 entries at a time in addition
to the "pagerized" version on the userpage
(like facebooks "view all Wall posts" buttons)
so in the top or bottom of the user_profile.tpl.php or node-uprofile.tpl.php
snippet for adding the guestbook, include the following:
<?php$link = l(t('View All Entries'), "guestbook/$user->uid", array('title' => $title));print $link ?>
and replace 'View All Entries' text with what you want to name the link, thats all!
Thanks, but I won't be doing any more work on version 2 of the tutorials. I'm focusing on the advanced profile module now as I think it's a much better method.
<?php$link = l(t('View All Entries'), "guestbook/$user->uid", array('title' => $title));print $link ?>and replace 'View All Entries' text with what you want to name the link, thats all!