Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
LightIRC Chatbox Details »»
LightIRC Chatbox
Version: 1.1, by TheInsaneManiac TheInsaneManiac is offline
Developer Last Online: Feb 2022 Show Printable Version Email this Page

Category: Chat Modifications - Version: 3.8.x Rating:
Released: 11-05-2009 Last Update: 09-08-2013 Installs: 47
Uses Plugins Auto-Templates
Re-useable Code Additional Files Translations  
No support by the author.



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

Download Now

File Type: zip PJIRC Chatbox 2.7.zip (522.9 KB, 497 views)
File Type: zip LightIRC Chat.zip (2.61 MB, 88 views)

Screenshots

File Type: jpg PJIRC Chatbox.jpg (47.1 KB, 0 views)
File Type: jpg PJIRC Chatbox AdminCP.jpg (123.8 KB, 0 views)
File Type: jpg AdminCP.jpg (118.3 KB, 0 views)
File Type: jpg LightIRC.jpg (33.6 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 11-07-2009, 05:31 PM
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
Posts: 1,360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mith_OWNS View Post
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. =]
Reply With Quote
  #13  
Old 11-08-2009, 01:05 AM
rchelifan rchelifan is offline
 
Join Date: Jul 2007
Location: USA
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #14  
Old 11-08-2009, 02:01 AM
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
Posts: 1,360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rchelifan View Post
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. =]
Reply With Quote
  #15  
Old 11-08-2009, 02:29 AM
rchelifan rchelifan is offline
 
Join Date: Jul 2007
Location: USA
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also, is it possible to set it so only the members who registered can use the chat room?
Reply With Quote
  #16  
Old 11-08-2009, 02:50 AM
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
Posts: 1,360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rchelifan View Post
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.
Reply With Quote
  #17  
Old 11-08-2009, 03:11 AM
Medtech's Avatar
Medtech Medtech is offline
 
Join Date: Oct 2007
Posts: 310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
  #18  
Old 11-08-2009, 04:25 AM
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
Posts: 1,360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Medtech View Post
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.
Reply With Quote
  #19  
Old 11-08-2009, 05:13 AM
rchelifan rchelifan is offline
 
Join Date: Jul 2007
Location: USA
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #20  
Old 11-08-2009, 05:33 AM
rchelifan rchelifan is offline
 
Join Date: Jul 2007
Location: USA
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #21  
Old 11-08-2009, 05:51 AM
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
Posts: 1,360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rchelifan View Post
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>
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:58 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.07395 seconds
  • Memory Usage 2,340KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (12)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (6)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete