Since most of my users like to look in the who's online page to see who's in the chat room I added an image that links directly to it. Here is the code that I am using, some of you can probably work out a more dynamic method and maybe some tables but this works. (sorry for the scroll)
Code
<br />$ubbt_lang['chat'] = "In Chat Room <a href=\"chat.php\" target=\"_blank\"><img src=\"{$config['imageurl']}/chat.gif\" width=\"16\" height=\"16\" border=\"0\" alt=\"Go to chat room\" /></a>"; <br />$ubbt_lang['chatheader'] = "In Chat Room <a href=\"chat.php\" target=\"_blank\"><img src=\"{$config['imageurl']}/chat.gif\" width=\"16\" height=\"16\" border=\"0\" alt=\"Go to chat room\" /></a>"; <br />$ubbt_lang['chatroom'] = "In Chat Room <a href=\"chat.php\" target=\"_blank\"><img src=\"{$config['imageurl']}/chat.gif\" width=\"16\" height=\"16\" border=\"0\" alt=\"Go to chat room\" /></a>"; <br />
Off topic: Would you post the script you use for your menu? I like the way you changed you ubbt_registerednav.tmpl and ubbt_unregisterednav.tmpl files!
Off topic: Would you post the script you use for your menu? I like the way you changed you ubbt_registerednav.tmpl and ubbt_unregisterednav.tmpl files! [/]
Thanks, I made the menu using DHTML Menu Builder and it generates two .js files. If you would like, PM me and I will send them to you but it's extremely proprietary to your site and I can imagine it would be a huge pain to manually edit. I also had to make a couple of board changes to get it to work because of javascript conflicts.
I had a lot of trouble with it in the beginning but with the proper changes to the DHTML javascript and the board it can work out nicely. The drawback is that there are some limitations to certain Threads extras (mods) but not too hard to work around. The two mac users on my board said it was working okay for them, maybe Josh can stop by and see if it's working okay on his mac.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.