PHP tagboard

This is one of the best PHP tagboard script I have ever come across. I use the same scrip for my tagboard. I downloaded the script from X.Faction.nu. That site is not working now though. Its really easy to install.

Tutorial

First of all download this file. This is latest version of Tagger (as on 13.09.04). Unzip it. You will see a smilies folder containing smiley images and 9 other files.
Open config.php in notepad.Edit the variables there, the admin password, the spacer (its the sign which comes next to the name when someone tags), To enable smilies put 1 to disable them put 0. The limit is maximum number of messages shown in tagboard. Refresh is the seconds after which the tagboard will refresh itself, I would suggest make it 100 or more, because if it refreshes too much, its annoying lol!


Open style.css and edit the style of tagboard if you want to. Connect to FTP server, make a new folder in your root directory, name it tagger. Upload all the files you unzipped in tha folder, including the folder smilies with te smiley images. CHMOD entries.db to 666 or 777

Go to http://yoursite.com/tagger/ to view the tagboard. Try tagging it, if its working fine, you are done!


To include tagboard in your layout, you have to use iframes. Pick a place on your layout where you want your tagboard to go. Insert the following code there:

<form action="http://YOURSITE.COM/tagger/sign.php"
method="GET" target="tags"&rt;

<div id="Layer1" style="border-width: 1 1 1 1;
border-color: #000000; border-style: solid; width: 200;"&rt;

<iframe src="http://YOURSITE.COM/tagger/tags.php?
show=limit" name="tags" width="200" height="250"
frameborder="0" allowtransparency="true" style="filter:
chroma(color=#FFFFFF)"&rt;</iframe&rt;
</div&rt;</br&rt;

<input type="text" size="25" name="name" value="Name"
class="input" maxlength="15"&rt;</br&rt;
<input type="text" size="25" name="website" value="url"
class="input"&rt;</br&rt;
<input type="text" size="25" name="comment" value=
"Comment" class="input" maxlength="150"&rt;</br&rt;
<input type="submit" value=" Tag Me!" class="button"&rt;
</br&rt;
<a href="http://YOURSITE.COM/tagger/tags.php?show=all"
target="_blank"&rt;H</a&rt; |
<a href="http://YOURSITE.COM/tagger/smilies.html"
target="_blank"&rt;S</a&rt; |
<a href="http://YOURSITE.COM/tagger/admin.php"
target="_blank"&rt;
A</a&rt;
</form&rt;
</div&rt;


You may remove or change this part "allowtransparency="true" style="filter:chroma(color=#FFFFFF)" from iframe code. It only makes the tagboard background transparent. (since the tagboard bg was white:FFFFFF). Change the YOURSITE.COM to your domain. H shows all the tags, the history that is, S shows the smilies, A shows the admin area, where you can login using the password you set in config.php and delete entries.

The style of input area, the button etc, if you use the above code to include the tagger in your layout, will be same as defined in the style of your layout css file and the style of fonts/scrollbars etc in the tagger will be that of style.css in tagger folder. Thats all the tagbiard is ready!


Note: Questions regarding this tutorial should be asked here.


« Back