View Full Version : Chat Modifications - LightIRC Chatbox
TheInsaneManiac
11-05-2009, 10:00 PM
https://vborg.vbsupport.ru/attachment.php?attachmentid=146346&stc=1&d=1378660845
4.x.x version can be found here:
https://vborg.vbsupport.ru/showthread.php?t=258832
Premium
To purchase and view more information on our premium no-branding version of PJIRC Chatbox, please visit my
Products & Services (https://sellfy.com/TheInsaneManiac).
The premium version has the following features, and includes free updates:
Copyright removed
Auto Set Name Based On Forum Username
vBulletin Password to Access IRC
Custom Background Image
Custom Quit Message
Usergroup Permissions
I am taking suggestions!!!
To Do:
Add AdminCP setting to ban UserIDs
Add AdminCP setting to change the looks of the chatbox
Add AdminCP setting to enable/disable the background image
Add a toolbar to popup the chat in a new window
Installation:
1.) Upload the contents of the upload folder to your forum's root.
2.) Import the product-lightircchatbox.xml.
3.) Enter the settings via the AdminCP. If you need an IRC server try irc.ipocalypse.net
4.) Navigate to chatbox.php via your forums.
Optional
If you do not want to use the navigational link insertion, you can add this code to your navbar template.
<td class="vbmenu_control"><a href="chatbox.php">Chatbox</a></td>
If you want to only allow certain groups use this code:
<if condition="is_member_of($vbulletin->userinfo, 1, 2, 3)"><td class="vbmenu_control"><a href="chatbox.php">Chatbox</a></td></if>
If you want to only deny certain groups then use this one:
<if condition="!is_member_of($vbulletin->userinfo, 1, 2, 3)"><td class="vbmenu_control"><a href="chatbox.php">Chatbox</a></td></if>
Upgrading:
Import the product and select Allow Overwrite.
Changelog:
1.1
Fixed white page error.
Fixed black.css issue.
3.8 Pro version released.
LightIRC 1.0
LightIRC released to address a security issue.
2.7
Fixed a bug that showed the Chat's navigational link to disallowed usergroups.
2.5
You can now disallow usergroups.
Automatically adds a link to the navbar. (Can be disabled)
Help page can now be edited.
Help page can be disabled.
2.0
If Nickname and Alternative Nickname are left blank, a members username will be used as the Nickname.
Now the HELP button links to a help page that explains commands.
Version checking is now enabled
1.0
Release
TheInsaneManiac
11-06-2009, 09:03 PM
----Reserved----
Mith_OWNS
11-06-2009, 09:42 PM
I just downloaded this, I really want to get it working, but I am a noob at this. Not sure where to install it at.
abdobasha2004
11-06-2009, 10:05 PM
I plan on taking it to the next level in customization
great
following
GoTTi
11-06-2009, 10:22 PM
I just downloaded this, I really want to get it working, but I am a noob at this. Not sure where to install it at.
use the "any key" for help :D
TheInsaneManiac
11-07-2009, 01:50 AM
great
following
I got some good features in mind that others don't have... Some don't even support theirs.
I just downloaded this, I really want to get it working, but I am a noob at this. Not sure where to install it at.
I apologize for that. I was in a hurry to get this done because it was making me late for work, so I didn't write any instructions. I will do this momentarily. I also plan on incorporating a help file for members so they know the commands they can use.
Mith_OWNS
11-07-2009, 06:36 AM
I got some good features in mind that others don't have... Some don't even support theirs.
I apologize for that. I was in a hurry to get this done because it was making me late for work, so I didn't write any instructions. I will do this momentarily. I also plan on incorporating a help file for members so they know the commands they can use.
I figured out where to put the code, but I havent configured something right, as I get an error message in the applet
mbc100
11-07-2009, 12:36 PM
Demo plz
TheInsaneManiac
11-07-2009, 02:49 PM
Demo plz
Screenshots are good enough. I don't use PJIRC anymore so I can't provide a demo. If anyone else want's to provide one, feel free to.
I figured out where to put the code, but I havent configured something right, as I get an error message in the applet
Did you enter the correct details. For host it should be like irc.example.com, for channel it should be something like #Example.
If you still can't get it to work, and if you would like to, set me up an admin account on your forums and PM me the account details so I can have a look.
Mith_OWNS
11-07-2009, 04:46 PM
I got it!! i am seriously retarded...
The reason for the errors was because I uploaded the files, but forgot to import the .xml
I tell you I am a noob at this still lmao.
Thanks much for a great mod, I appreciate it very much :up:
TheInsaneManiac
11-07-2009, 05:31 PM
I got it!! i am seriously retarded...
The reason for the errors was because I uploaded the files, but forgot to import the .xml
I tell you I am a noob at this still lmao.
Thanks much for a great mod, I appreciate it very much :up:
No problems mate. Expect an update to it soon. =]
rchelifan
11-08-2009, 01:05 AM
This is a good mod. Please take it to the next level in customization. I have installed it on my website and I am having my users test it now. It is very good so far.
I have a question. Where can I change the text in Help? I use mibbit.com. Does mibbit.com control that?
TheInsaneManiac
11-08-2009, 02:01 AM
This is a good mod. Please take it to the next level in customization. I have installed it on my website and I am having my users test it now. It is very good so far.
I have a question. Where can I change the text in Help? I use mibbit.com. Does mibbit.com control that?
It's on my To Do list. I ran out of time when releasing 2.0 so I didn't have time to code that option in yet. Will be in next release. =]
rchelifan
11-08-2009, 02:29 AM
Also, is it possible to set it so only the members who registered can use the chat room?
TheInsaneManiac
11-08-2009, 02:50 AM
Also, is it possible to set it so only the members who registered can use the chat room?
I'm guessing you didn't read my to-do list in the first post. ;)
Medtech
11-08-2009, 03:11 AM
Good start, trying it out:up:
update: love it!!
Suggestion:
To add a link in the navbar:
in navbar template.. find:
$vbphrase[calendar]</a></td>
Under that paste
<td class="vbmenu_control"><a href="http://www.yoursite.com/chatbox.php?$session[sessionurl]">IRC Chatbox</a></td>
__________________________________________________ ____________________________
This is no longer needed as usergroups can now be chosen in admincp.
Or, this is to only allow certain usergroups (Admin only for example)to see the link in the navbar:
<if condition="$bbuserinfo[usergroupid] == 6">
<td class="vbmenu_control"><a href="http://www.yoursite.com/chatbox.php?$session[sessionurl]">IRC Chatbox</a></td>
TheInsaneManiac
11-08-2009, 04:25 AM
Good start, trying it out:up:
update: love it!!
Suggestion:
To add a link in the navbar:
in navbar template.. find:
$vbphrase[calendar]</a></td>
Under that paste
<td class="vbmenu_control"><a href="http://www.yoursite.com/chatbox.php?$session[sessionurl]">IRC Chatbox</a></td>
Or, this is to only allow certain usergroups (Admin only for example)to see the link in the navbar:
<if condition="$bbuserinfo[usergroupid] == 6">
<td class="vbmenu_control"><a href="http://www.yoursite.com/chatbox.php?$session[sessionurl]">IRC Chatbox</a></td>
Lol I was a little ahead of you and had that in the new 2.7 version. All though I used hooks, so if you guys don't like the placement just disable automatic navbar placement and use Medtech's first code. The second won't matter since when you disallow usergroups, those usergroups won't see the navbar link.
rchelifan
11-08-2009, 05:13 AM
Medtech, thank I am going to use that for my Registered group for now.
Another suggestion would be a block showing the number or user names of people who are in the Chat Room.
rchelifan
11-08-2009, 05:33 AM
I just needed </if> at the end of the code.
How about if I want more than just want groups, do I just add a coma and the group ID to it?
TheInsaneManiac
11-08-2009, 05:51 AM
I just needed </if> at the end of the code.
How about if I want more than just want groups, do I just add a coma and the group ID to it?
<if condition="is_member_of($vbulletin->userinfo, 1, 2, 3)"><td class="vbmenu_control"><a href="chatbox.php">Chatbox</a></td></if>
The above code is more efficient. Just change it to the usergroups you want to allow.Although remember that if you use the Automatic Navbar edit, that the groups you disallowed won't see the navbar, but again if you don't like where it would place the navigational link, then the above code would work as well.
If you wanted to just allow all groups, but disallow only certain groups just use this code:
<if condition="!is_member_of($vbulletin->userinfo, 1, 2, 3)"><td class="vbmenu_control"><a href="chatbox.php">Chatbox</a></td></if>
Medtech
11-08-2009, 05:52 AM
I just needed </if> at the end of the code.
How about if I want more than just want groups, do I just add a coma and the group ID to it?
you can now select usergroups in admincp, some placements in navbar will require you to add </if> after the code, my setup rejected it.
TheInsaneManiac
11-08-2009, 06:02 AM
you can now select usergroups in admincp, some placements in navbar will require you to add </if> after the code, my setup rejected it.
I was half awake when I replied (Still am half awake lol), so when I said the second code wasn't needed I was thinking my modification modified the first code for some reason. Anyway. If anyone doesn't use the automatic navbar edit, then you will need to use the code I posted previously to deny or allow certain usergroups to see the chat's navigational link.
When I get some sleep, I'll take a look more into the conditional and see if I can make it run off the product as well. I'm sure I can, I'm just not awake right now since it's 3:00 A.M.
Good night everyone. =]
tlwwolfseye
11-08-2009, 06:28 AM
Is there a Nickname asked when connect to that ? Because if just the Forumname is used, several Forum Names with certain characters or spaces won't work in IRC. How is that solved here ?
Andyrew
11-08-2009, 06:49 AM
Removing the link when hover over a username would be good, and the link at the bottom put my domain in front so does not work when clicked.
TheInsaneManiac
11-08-2009, 01:32 PM
Is there a Nickname asked when connect to that ? Because if just the Forumname is used, several Forum Names with certain characters or spaces won't work in IRC. How is that solved here ?
I striped invalid characters. Spaces and such.
Removing the link when hover over a username would be good, and the link at the bottom put my domain in front so does not work when clicked.
Not sure I know what you mean?
AzzidReign
11-08-2009, 02:31 PM
Cool! When I get back home I'll look to install this. My site is always looking for a chat system...
rchelifan
11-08-2009, 03:04 PM
It works great now. Thanks for the good work. Thanks for the Help Edit option!
Floris
11-09-2009, 07:04 PM
Interesting, we support pjirc.com on our http://vbirc.com network.
I think I am going to make a page where we link back to these sorts of plugins.
We host quite a few vb powered sites with pjirc on it on our chat network.
TheInsaneManiac
11-10-2009, 03:00 AM
Interesting, we support pjirc.com on our http://vbirc.com network.
I think I am going to make a page where we link back to these sorts of plugins.
We host quite a few vb powered sites with pjirc on it on our chat network.
Feel free to use mine mate. If you have any suggestions, I'm up for it.
Floris
11-10-2009, 08:13 PM
I will privmsg you a suggestion :)
Bouncer222
12-06-2009, 02:59 PM
I noticed that in the admincp options for pjirc , it only gives you the option to disallow certain groups, so therefore I had to edit navbar template with this.
Is it possible to somehow implement for the user to have a choice of, opening the chatbox in a pop up or simply view it on site. Maybe implementing a menu into the Chatbox in navigation with a dropdown saying "Pop up Window"
Is it possible to do that by changing the code of the navbar template for the pjirc?
TheInsaneManiac
01-13-2010, 01:40 PM
I noticed that in the admincp options for pjirc , it only gives you the option to disallow certain groups, so therefore I had to edit navbar template with this.
Is it possible to somehow implement for the user to have a choice of, opening the chatbox in a pop up or simply view it on site. Maybe implementing a menu into the Chatbox in navigation with a dropdown saying "Pop up Window"
Is it possible to do that by changing the code of the navbar template for the pjirc?
I could make a dropdown to allow the user to select either to load the chat in a popup or the current window if you would like.
cindy helmond
01-13-2010, 02:50 PM
you need this ? mibbit.com channel ? or its working without this channel ?
thx
jessay
01-14-2010, 10:47 AM
For some reason PJIRC is refusing to make any attempt at connecting
it just sits there with a plain white screen with connect (which does nothing)
my forums are located at angrygamin.org/agx/forumx thanks for any assistance provided.
TheInsaneManiac
01-21-2010, 12:11 PM
you need this ? mibbit.com channel ? or its working without this channel ?
thx
It will work with any channel you assign it in the AdminCP.
For some reason PJIRC is refusing to make any attempt at connecting
it just sits there with a plain white screen with connect (which does nothing)
my forums are located at angrygamin.org/agx/forumx thanks for any assistance provided.
Make sure your settings are correct via the AdminCP.
Speysider
01-24-2010, 10:54 AM
How do you load the auditorium module to PJIRC for a helpdesk?
weedheaven
03-12-2010, 02:39 PM
Any idea how i can change the color from blue to a other color?
Prettyeyes4you
03-28-2010, 06:46 PM
I could make a dropdown to allow the user to select either to load the chat in a popup or the current window if you would like.
Hi
We're testing this as an adjunct to our normal Shoutbox. The idea of a popup would help us a lot. Many members use both and my owner would love this. Any info you could provide would be great
Thanks
Aadil
05-09-2010, 02:35 AM
hey i have just installed this, and i have filled in the settings but when you go to chatbox.php it doesnt connect or anything, anyone had this problem or can assist?
Aadil
05-13-2010, 02:23 AM
bump
lordsilence
07-22-2010, 04:25 PM
Does this support connecting to SSL enabled IRC servers?
Hi.
Can you please advice me of any IRC Bot to get back to Vbulletin the user's list of the channel?
Seems it kinda helps to get the room crowded...
Thanks
DEGE
thedvs
10-09-2010, 05:46 PM
will this work for vb 4.x ?
TheInsaneManiac
02-11-2011, 11:36 AM
Due to request, after finishing work on vBAffiliation, I will bring this mod to 4.0. It will be completely re-written from scratch, so be ready.
Vladarg
02-24-2011, 02:18 PM
not starting :(
Ansaar Media
02-24-2011, 03:47 PM
Verny nice!!! Where can i eddit the css of the chat?
Ansaar Media
02-24-2011, 03:48 PM
Any idea how i can change the color from blue to a other color?
MnTom
04-09-2011, 11:11 PM
I tried to get it working, but keep getting "trusted loader attempted to load sandboxed resource from www.dieseltrucksite.com". Anyone know what this means? I would like to get this working. I also get an error message that says "The application's digital security has an error. do you want to run the application?" Plus "Java has discovered application components that could indicate a security concern".
Tom
MnTom
04-10-2011, 01:40 AM
OK, Got it working.....somewhat. I don't have much control over things such as icons and channels, but still have the security errors.
Trip3151
05-18-2012, 08:09 AM
same problems
solarboy
09-23-2012, 04:33 PM
Nice!
Do you know how much server load this adds to my forum?
TheInsaneManiac
09-08-2013, 04:24 PM
Due to an exploit that has been brought to my attention by my security team, I would recommend uninstalling PJIRC and using LightIRC. PJIRC is no longer supported by it's creator and therefor the exploit that was discovered may not be fixed. However I have ported all the features over to LightIRC to integrate that into vBulletin. With this I have brought in the request to use vBulletin passwords as the password to the IRC server. LightIRC is updated often, and with each update I will be updating the Product. Now you will not have to worry about any annoying Java popups to use the chat. It's quick, sleek, and did I mention quick? Because it is.
Anyway any problems feel free to report them to me. Make sure you uninstall PJIRC, delete your IRC directory, and the chatbox.php. Now upload everything in the upload folder back to your vB directory, install lightirc and set your settings. :)
Nice!
Do you know how much server load this adds to my forum?
Not many as all the load would be put on the IRC server unless your server is the IRC server.
solarboy
12-31-2013, 07:33 AM
Got this
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/usuario/public_html/chatbox.php(53) : eval()'d code on line 96
elteejay
01-14-2014, 09:44 PM
getting the exact same issue as solarboy
Ombra
05-16-2014, 07:38 AM
I'm getting a password mismatch error when I try to connect to my irc server, even though my server doesn't use passwords and I don't have the password option selected in the plugin. It connects to the default irc server without problems. Other irc clients connect to my server without issues.
One difference I noticed is that my irc server only has an IP address (no associated domain); could that cause problems?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.