I just played around with your new module. Looks all good. Is there a way to display headlines and first 15 words of guestbook entries in the sidebar or any other place on the site ? Tried to use a custom function without success. Can you give me a hint ?
Noticed that when a guest enters his/her homepage without "http://", the given URL is http://www.yourdomain.com/www.theguestdomain.com.
thank you for the feedback!
Displaying latest guestbook entries in the sidebar should be done with a widget (which I haven't programmed, yet ;-)).
Try the widgets dokumentation - if you have any questions on the data structure, don't hesitate to ask :-)
The URL-Thing will be dealt with within the next sub-version of the guestbook.
I've just had some time to fix the URL issue - You can download the latest version from the unstable trunk, since my next release will be the spammail protection.
Just look into the trunk ( module page ) or download mod_guestbook-trunk-r40.tar.gz when it's generated.
just updated my Guestbook. Url set correctly now by adding http://.
Thanks for the changes.
since I'm working on the guestbook module again, I'd welcome some opinions on the use of Ajax there.
At the moment I'm extending the data model for adding multiple comments and came across some more improvements:
- the "add comment" form opens in a thick-/lightbox
- after entering the comment (and the validation), it's shown instantly within the page
- also I could add an Ajax-load of the guestbook contents in the first place, etc. but at the moment this is too much to program, since there's a lot of stuff like paging and validations etc.