Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=827)
..------=================================
Chatroom Button (crbutton)
Version 1.0
Author: Oskari Rauta/Jake Irons
-----------===============-------------..
WARNING: This is only a CHATROOM _BUTTON_, no chat is included with this.
What's new in 1.01?
===============---.
Critical update: no
Updated uninstallation procedure.
What is this?
=========---.
Special remake of MOD website button that adds a "Chatroom" button to left side of "Logout" or if logout is not shown(user is guest) chatroom will be last button.
This MOD was created because Adrian requested it.
To get more information check my MOD website button on this same site.
Can it be used to something else?
=============================---.
Ofcourse, if you need a button that is placed before logout or as last if user is not logged in to your forum (or hide button from guests), that opens URL to new window, then this is your MOD. Just edit language files and replace following images:
- boarddir/Themes/default/images/english/chatroomButton.gif
- boarddir/Themes/babylon/images/english/chatroomButton.gif
Button generator can be found from:
http://www.marcovanveelen.nl/buttongenerator/
What's different to website button?
===============================---.
- Placing of button
- This button opens target URL to new window
- This MOD has 2 settings. Target URL and new setting: Guest access. Yes, you can choose whether to show or not show this button for your guests.
Can this mod be used WITH website button?
=====================================---.
Yes, variables are named differentially, so this MOD can be used simultaneosly with website Button just fine.
What themes are supported?
======================---.
Default/core and babylon.
What initial languages are supported?
=================================---.
English only. If you need support for another language, you need to do it your self.
I need another button image..
=========================---.
Create it then. There's free button generator that I used to create these at:
http://www.marcovanveelen.nl/buttongenerator/
What kind of chat is included?
==========================---.
No any kind of chat included. This is ONLY a button that fits nicely to smf forum view. You need to have other kind of solution for chat somewhere, just make this button to point to your chatroom.
Will you help me to create chatroom?
================================---.
No, I'm far too busy for help everyone out. But if you want to setup a irc to your site, check http://www.pjirc.com It's pretty nice java irc client and can be customized to blend nicely to smf view.. I recommend it..
awesome, but there is one problem, when you click the button it takes you to a url that has your forum url and the chatroom url. Like this: http://yourforum.com/www.yourchat.com
Quote from: ShadowStriker on June 16, 2007, 02:51:40 PM
awesome, but there is one problem, when you click the button it takes you to a url that has your forum url and the chatroom url. Like this: http://yourforum.com/www.yourchat.com
Sorry, no problem with mod. You just need to adjust URL where you want it to take you to..
You used following url: www.yourchat.com
and the correct url would be: http://www.yourchat.url
If you do not specify http:// in the beginning, user's web browser is left out of parameters, so it cannot know if www.yourchat.com is a domainname or a sub-directory under current location. So it follows the pattern and thinks it's a directory, creator would had added http:// if it wasn't supposed to be a directory.. (logic)
ok it works now awesome :D
I have a fresh install, im the only member, no posts, no mods, no nothing, i get this error, see attached image.
Sorry, forget that, chmodded and its all fixed now.
it means i can't use this one to the other theme?
Quote from: celine on July 05, 2007, 01:31:14 PM
it means i can't use this one to the other theme?
Ofcourse you can.. It's just that it needs to be manually added to other than themes that are supported..
Is it possible to add this to the permissions settings?
Our forum has a membergroup for paid up members, we would like it so only this member group can access the chatroom.
Sure it is but ask someone else to do it for you.
hi, is it possible you can make this compatible with the classic theme too? Thanks :D)
read previous post. Support and updates for my MODs has unfortunately ended.
Where exactly do I input the url for my chatroom? Thanks.
administration panel, check features there for chatroom..
If it's invisible, you propably are using utf-8 or unsupported language (not supported at the moment), and then you need to add phrases from standard english language file to your language..
I got this running and using a custom theme. The chatroom opens in a new tab, not window on my computer. Anyone know how to force a new window, and specifi window size?
Also I can't figure out how to get it not to look for th buttons image file. I am using text buttons on my template. It looks good in Foxfire, but IE gives me a redX box around it.
function show_chatroomButton()
{
global $context, $txt, $modSettings, $settings;
if (!$modSettings['chatroomButton_ga'] && $context['user']['is_guest']) return;
echo '
<td class="maintab_' , $current_action == '_blank' ? 'active_back' : 'back' , '">
<a href="', isset($modSettings['chatroomButton_url']) ? $modSettings['chatroomButton_url'] : 'http://flehm.com/Forum/chat2/index.php', '" target="_blank">',
$settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/chatroomButton.gif" alt="' . (isset($txt['chatroomButtonAlt_txt']) ? $txt['chatroomButtonAlt_txt'] : 'Chatroom') . '" style="margin: 2px 0;" border="0" />' : (isset($txt['chatroomButton_txt']) ? $txt['chatroomButton_txt'] : 'Chatroom'), '</a>', $context['menu_separator'];
}
I would guess I need to take out the settings for use immage buttons. but all the . , " I am not sure how it should be. I havn't learned that much yet.
Thanks for any help.
I think i got problem like pauledude. The chat button in admin mode is not viewed well and I try to unistall it, whew, I got "a leaving line like the code that pauledude quote. can you help me to fix it up? Another prob is... I can not change the link in the button (at menubar) it is still point to roadrunner.cx, after I changed the line suchlike pauledude did.
We used this mod and looks good and we are looking at making changes to it so it can display the following on the site
Show how many users are in the chat at forum
Allows to setup permissions for users to enter the chat room
But not sure where to star to get this to happen, any help would be very helpful
Mibbit works perfectly with this mod and will open it in a new self-scaling window unlike what Mibbit Ajax IRC Chat (http://custom.simplemachines.org/mods/index.php?mod=1256) provides. (The Mibbit Ajax IRC Chat Mod opens in the same window, retains the forum header and doesn't scale the chat window as you reduce the window size).
Create your own chat room/s and colour schemes in minutes at http://www.mibbit.com/widget.html (http://www.mibbit.com/widget.html) enter the produced code into the Mod and that's it! The beauty with IRC is that it puts practically no strain on your server.
Would be nice to have the means if intergrating the UserName like the Mibbit Ajax IRC Chat (http://custom.simplemachines.org/mods/index.php?mod=1256) Mod does and the ability to show the number of users in the chat like FlashChat Integration (http://custom.simplemachines.org/mods/index.php?mod=611) and Integrated Chat Mod (http://custom.simplemachines.org/mods/index.php?mod=60) both provide.
Anyone fancy a dabble into that?
How do I get the button to appear? I am using default template and I think just text with hover over color for the button effect. Anyway to change it so the "chatroom" us somehow different? Thanks.
I've installed this and can't get it to link to my chat page. Now I can't get rid of it! I've uninstalled it from package manager but it still shows on my forums. Please help!
Hi
Instead of CHATROOM, what would I do to name it CHAT?
Hi , this is probably in the wrong place , but I need help, have just uninstalled the chatroom button, as I had ajax "chat" button & a chatroom button, so I thought I could remove the chatroom button, but when I uninstalled it I can only see the banner of the forum ( britsinbulgaria ) & the tab buttons & my avatar, but none of the tabs work & this error message is underneath.
Fatal error: Call to undefined function show_chatroomButton() in /home/buster/RQXN4V59/htdocs/britsinbulgaria.co.uk/forum/Sources/Load.php(1766) : eval()'d code on line 602
Can anyone help me, have contacted the host provider, but I don't know what I have done wrong.
Quote from: dreamers4317 on June 24, 2011, 11:11:39 AM
Hi , this is probably in the wrong place , but I need help, have just uninstalled the chatroom button, as I had ajax "chat" button & a chatroom button, so I thought I could remove the chatroom button, but when I uninstalled it I can only see the banner of the forum ( britsinbulgaria ) & the tab buttons & my avatar, but none of the tabs work & this error message is underneath.
Fatal error: Call to undefined function show_chatroomButton() in /home/buster/RQXN4V59/htdocs/britsinbulgaria.co.uk/forum/Sources/Load.php(1766) : eval()'d code on line 602
Can anyone help me, have contacted the host provider, but I don't know what I have done wrong.
Which chat mod did you have installed?