What is it?: An add on to add Jpilot chat to your Threads install.
Why would I care?: This mod uses a template, and only allows registered users to chat.
Who gets the props?: Dave_L for the code to convert spaces to underscores. JoshPet for letting me use his popup script and omegatron for allowing me to see his chat script.
How do I install it?:
1) Copy jchat.php and chatpopup.php script to your ubbthreads directory.
2) Edit the jchat.tmpl file and change "dachat" to the name of the chat channel you want to use.
<param name="Channel1" value="dachat" />
3) Copy the jchat.tmpl file to your ubbthreads/templates/default/ directory.
4) Add
$ubbt_lang['jchat'] = "In the Chat Room";
to the online.php file in all of your language directories.
5) Download a copy of
Jpilot and copy it to a directory named chat under your ubbthreads directory (mine is in ubbthreads/chat).
For more info on configuring Jpilot see
their web site.
<Da_Soap_Box>
I could have easily named this add on "How to add something to Threads using a "Threads like" template file". My challenge to all future mods for Threads is that if you create a new php script that you also make that script use a template file. It's a lot easier for most people to edit a template than it is for them to edit a php script. Plus we might just start seeing some of these add ons in the addons folder of a future Threads release.
</Da_Soap_Box>
Enjoy <img src="/threads/php/images/graemlins/smile.gif" alt="" />
Version 1.1 now includes a popup window to update the who's online display.