Templates :

Templates are the files with which OxyShout presents your shoutbox, by combining design with coding. Because we know that not everyone is a PHP guru who wants to wade through our messy code to change the designs, we're seperated code from design, and let the script worry about combining the two. The designs OxyShout uses are saved as .tpl files (template) and are just plain HTML with out template tags in them, they look like this {this_tag} and tell our script where to insert data from the database. Below is a listing of the template files, the tags in them, and what they do.

oxyshout_alt_posts.tpl The posts are displayed with alternating templates, this and oxyshout_posts.tpl.
-{date}
Displays the date the message was posted.
- {contact} Displays the e-mail or URL of the visitor, depending on your settings in options.
- {name} Displays the name of the user who posted the message.
- {message} Displays the message.
- {deletemsg} Displays a delete message button to the person who posted it.
oxyshout_bottom.tpl This closes off the pages, just close the tags that have been opened, e.g. </body></html>
oxyshout_form.tpl This is the file used to display the form for users to post messages.
- {form-action} This must be in the <form> tag, like this <form action="{form-action}"> otherwise OxyShout won't work.
- {errmsg} This is where error messages are displayed, e.g. when a user tries to post too often.
- {form-username} This must be in the <input> tag, like this name="{form-username}" where you want the user's name to be entered.
- {form-message} This must be in the <input> tag, like this name="{form-message}" where you want the user's message to be entered.
- {form-contact} This must be in the <input> tag, like this name="{form-contact}" where you want the user's contact to be entered.
- {form-submit} This must be in the <input> tag, like this name="{form-submit}" as part of the submit button's input code.
- {form-reset} This must be in the <input> tag, like this name="{form-reset}" as part of the reset button's input code.
- {form-username-value} This must be in the <input> tag, like this value="{form-username-value}" where you want the user's contact to be entered.
- {form-message-value} This must be in the <input> tag, like this value="{form-message-value}" where you want the user's message to be entered.
- {form-contact-value} This must be in the <input> tag, like this value="{form-contact-value}" where you want the user's contact to be entered.
oxyshout_help.tpl This is the template used to display FAQ's about the shoutbox, put what you like in here.
oxyshout_help_smileys.tpl This is the template used to make the table which displays all the smileys if they're turned on.
- {smiley} The smiley will be displayed here.
- {code} The corresponding code for this smiley will be shown here.
oxyshout_posts.tpl The posts are displayed with alternating templates, this and oxyshout_alt_posts.tpl.
-{date}
Displays the date the message was posted.
- {contact} Displays the e-mail or URL of the visitor, depending on your settings in options.
- {name} Displays the name of the user who posted the message.
- {message} Displays the message.
- {deletemsg} Displays a delete message button to the person who posted it.
oxyshout_top.tpl This starts off the pages, so should contain <HTML> and <HEAD> tags.

If you're unsure about usage, use the default OxyShout templates as a guide or ask in our forums.

Click continue to learn a bit about the people who made this fine script.