Re: NEW & IMPROVED! SyTyChat
phoonTy said:
Mike, I'd love to do that. Sadly, only Morgan and Keith have access to the backend of SyTy.net. I just figured we'd try it out over at .org and if everyone is okay with it, we'd work on integrating it at .net.
I'll have to dig back in and see if I can switch it to open login.
To change the login style:
Open
chat/inc/config.php and edit the following piece of code:
Code:
[font=Courier New]//your CMS system
'CMSsystem' => 'defaultCMS',// defaultCMS - default CMS, blank - stateless CMS[/font]
Your's will read as above, but change the non-comment defaultCMS to read blank.
Also, if Morgan or Keith is willing to incorporate the DB, then they might consider a short piece of code in the vBulletin "forumhome" page. The following code will add a "Who's chatting" box the forum home page of syty.net (live update of who's in the chat). Of course the code will need to accommodate an offsite link, so they wouldn't just copy/paste the code (unless flashchat was installed to the root forum directory on syty.net).
Find the following string in forumhome.php
Code:
[font=courier]<if condition="$show['loggedinusers']"[/font]>
...and paste the following right before it:
Code:
[font=courier]<!-- flashchat users -->
<tbody>
<tr>
<td class="thead" colspan="2">Flashchat users</td>
</tr>
</tbody>
<tbody>
<tr>
<tr>
<td class="alt2" colspan="2">
<iframe frameborder="0" height="100" src="chat/info_embedded.php" style="width: 100%; margin: 0; padding: 0; border: 0; overflow: hidden;" scrolling="no" border="0" allowtransparency="true"></iframe>
</td>
</tr>
</tbody>
<!-- end flashchat users -->
Tweak the height and source to fit the forum needs.
[/font]