Guestbook and Comment Pack Integration
Several people wanted the sdr_guestbook plugin to work with the comment styling offered in the comment pack so Els and I went ahead an hacked the last version of the guestbook and upgraded the comment numbering function in the comment pack to get them both working together.
Instructions
- Download and install the latest version of the guestbook (below).
- Download and install v0.3 or above of the comment pack.
- Create a new TXP form and copy the following into it
Listing: form_guestbook_comment # Code 0001 <div class="<txp:sed_get_comment_class hide_odd_even='' />"> 0002 <txp:comment_anchor /> 0003 <h5><span class="comment-no"><txp:comment_permlink> #<txp:sed_comment_number count='guestbook'/></txp:comment_permlink></span> 0004 · <txp:comment_name /><txp:sed_if_author_comment_string string=' (Author Comment)' /></h5> 0005 <txp:sed_comment_time class='comment-time'/><br/><br/> 0006 <txp:message /> 0007 </div> - Now follow the instructions in the guestbook help to set up the guestbook. Be sure to have it use your new guestbook comment form for it’s comment form tag.
- Make changes to the above form as you need to but you will need to keep the
<txp:sed_comment_number count='guestbook'/>tag if you want correct numbering of your guests comments across page boundaries. - Style your CSS as you want!
Download
Here is the latest hacked version of the guestbook.
- sdr_guestbook4.0_sed.0.3.txt [14.61KB]
Hacked version of the sdr_guestbook plugin to work in TXP 4.0.3 and integrate with the comment styling/numbering tags of sed_comment_pack v0.3 and above. : 2446 download(s)
Credits
Thank you Els for helping out with ideas and for all the testing on your site.