vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Chat Modifications - LightIRC Chatbox (https://vborg.vbsupport.ru/showthread.php?t=227521)

TheInsaneManiac 11-05-2009 10:00 PM

LightIRC Chatbox
 
1 Attachment(s)
https://vborg.vbsupport.ru/attachmen...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.

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.
Code:

<td class="vbmenu_control"><a href="chatbox.php">Chatbox</a></td>

If you want to only allow certain groups use this code:
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:
Code:

<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

Quote:

I plan on taking it to the next level in customization
great
following

GoTTi 11-06-2009 10:22 PM

Quote:

Originally Posted by Mith_OWNS (Post 1911117)
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

Quote:

Originally Posted by abdobasha2004 (Post 1911120)
great
following

I got some good features in mind that others don't have... Some don't even support theirs.

Quote:

Originally Posted by Mith_OWNS (Post 1911117)
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

Quote:

Originally Posted by TheInsaneManiac (Post 1911182)
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

Quote:

Originally Posted by mbc100 (Post 1911306)
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.

Quote:

Originally Posted by Mith_OWNS (Post 1911241)
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

Quote:

Originally Posted by Mith_OWNS (Post 1911362)
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

Quote:

Originally Posted by rchelifan (Post 1911474)
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

Quote:

Originally Posted by rchelifan (Post 1911496)
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:
Code:


$vbphrase[calendar]</a></td>

Under that paste
Code:

   

<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.

Code:

Or, this is to only allow certain usergroups (Admin only for example)to see the link in the navbar:


       
Code:

       
<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

Quote:

Originally Posted by Medtech (Post 1911506)
Good start, trying it out:up:


update: love it!!

Suggestion:

To add a link in the navbar:

in navbar template.. find:
Code:


$vbphrase[calendar]</a></td>

Under that paste
Code:

   

<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:

Code:

<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

Quote:

Originally Posted by rchelifan (Post 1911533)
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?

Code:

<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:
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

Quote:

Originally Posted by rchelifan (Post 1911533)
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

Quote:

Originally Posted by Medtech (Post 1911535)
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

Quote:

Originally Posted by tlwwolfseye (Post 1911541)
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.

Quote:

Originally Posted by Andyrew (Post 1911546)
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

Quote:

Originally Posted by Floris (Post 1912106)
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

Quote:

Originally Posted by Bouncer222 (Post 1926333)
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

Quote:

Originally Posted by cindy helmond (Post 1954501)
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.

Quote:

Originally Posted by jessay (Post 1955356)
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

Quote:

Originally Posted by TheInsaneManiac (Post 1954413)
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


All times are GMT. The time now is 06:16 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01701 seconds
  • Memory Usage 1,848KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (12)bbcode_code_printable
  • (21)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete