Xtgem Guestbook FunctionYou can add a guest book to your xtgem site (One per site like the blog function). Only the sites logged in admin can reply to posts in the guestbook no other users will see the reply links, Spam reports and post deletions are done using the "Guestbook comments" link in the "Comments" tab of your sites control panel. There is a setting in "site options" for commenting restrictions in the guestbook with the same options as blog comments;
None (guest posting allowed)
Email input required: (as far as I know all this does is add the email field it does nothing with the data)
Logged in users only: (only registered and logged in users can comment).
The guestbook uses the same classes pagination and markup as blog comments. Logged in xtgem users will post using their community name and avatar (or gravatar if no profile image is set and they have one linked to their email address) with a link to their profile. The main settings are:
Guestbook entries per page: (How many entries to show on each page)
Comment sorting: (newest first or oldest first)
Allow html: (Allows a very limited amount of html to be used in entries)
Format: (The format for the time stamp selecting ago uses a Time ago format). The timezone is set automatically to the visitors timezone or their countries main timezone as a fallback. Using the Code editor you can also set
comments_disable_links="1": (Links in the comments will be displayed as text only)
badwords: ="comma,separated,list,of,banned,words" 0. In the "more options" you can set your own text for:
Guestbook, This Guestbook has no comments - be the first one!, Post a comment, Name, Comment, post, You are posting as, Please login in order to post comments, Login, Signup, Please confirm your email before posting, Report spam Hidden comment, There are also options for Show all comments and Reply although these are only visible to the sites admin. The report spam links in the guestbook automatically analyse the post and if it is above a certain threshold the post will be hidden. The report spam links in the building tool comments/guestbook will cause the comment to be hidden.
Advanced Users
There is a subsidiary function that returns the number of comments in the guestbook.
<xt:guestbook_count />
Guestbook In Xtscript
Guestbooks can be manipulated by the use of Xtscript. The guestbook can be assigned to a xtscript variable and then modified by any of the commands and functions of Xtscript.