php forum
php mysql forum
php mysql smarty
 
Page 1 of 3 1 2 3 >
Topic Options
#310947 - 07/30/06 10:42 PM [7.x] [Pre-7.3] [Final] pJIRC Addon v0.5
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5131
Loc: Portland, OR, USA
Author: Gizmo (James of VNC Web Design)

Requirements:
  • Valid UBB.Threads 7.0 install and license
  • pjIRC (freely obtainable from pJIRC.com)


This will not work with UBB.T versions 7.3 or above, instead, see here.


About:
This addon will allow you to integrate the freely available Java IRC client pJIRC.

Unlike other jIRC applets out there, this one is free, and open source. It has a large community built behind it, and has excelled in features compared to others for years.

Demo:
I currently don't have a demo of this available on my test site (as I don't need it integrated into my forum) however you can see the pJIRC script itself in action here.

File History
2245 - Chat Addon v0.1 (2245-chat.zip) - Released: 07/30/2006 - Initial build.
2329 - Chat Addon v0.2 (2330-chatv02.zip) - Released: 01/01/2007 - Bug Fixes, Feature Additions, etc.
2330 - Chat Addon v0.2 Reloaded - Released: 01/01/2007 - Fixed a quick syntax error in chat.tmp
2337 - Chat Addon v0.3 (2337-chatv03.zip) - Released: 01/08/2007 - Added several new "advanced strings", including restricted/allowed commands/channels strings (with ticks in the main configuration in the language file).
2491 - Chat Addon v0.4 (chatv04.zip) - Released: 09/30/2007 - Spaces in nicknames are now converted to _'s so that user PDN's display properly when logging in (spaces in nicknames are not allowed according to the IRC standards). Also updated the revision in the readme for once wink... I've also added instructions to the readme that show users logged into the chat in the WOL.
2526 - Chat Addon v0.5 (chatPre73v05.zip) - Released: 05/12/2008 - Repaired a syntax error in the language file and preformed some minor code updates to go in line with the 7.3+ version.

As of v0.2 this addon supports every major option that the pJIRC has, there aren't (yet) ticks for every option in the language file; but advanced users can edit the template file to edit the standard options (I've included all of the major options set to default values in the template file).

NOTE
This script, by default, assumes you have pJIRC installed in a /irc directory under your forum install; you can override this directory in the configuration.

Future Plans
  • I'm giving thought to a process of providing a smilies legend for the smiley support which will allow users to select smilies from the legend and have them populate into the chat box.
  • I'm contemplating utilizing a pjirc.cfg file vs defining everything in the html.


NOTICE:
It has come to my attention that some people are assuming that you must run your own server in order to utilize this modification. It is NOT a requirement to run your own IRC Server to run this addon; you can use any of the millions of irc servers online (a large list is available here) to connect to. Additionally I also operate an open irc server that anyone is welcome to use; by default this is the server in the configuration (irc.undergroundnews.com).


Attachments
2245-chat.zip (139 downloads)
2330-chatv02.zip (54 downloads)
2337-chatv03.zip (68 downloads)
chatv04.zip (24 downloads)
chatPre73v05.zip (3 downloads)

_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#310948 - 07/30/06 11:08 PM Re: pJIRC Addon v0.1 [Re: Gizmo]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25448
Loc: Texas
nice, thank you smile
_________________________
- Allen wavey
- What Drives You?

Top
#310949 - 07/30/06 11:29 PM Re: pJIRC Addon v0.1 [Re: AllenAyres]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5131
Loc: Portland, OR, USA
NP, saw plenty of people use the UBB.c version for jIRC; figured I'd offer everyone a FREE alternative (as jIRC isn't free, yet pJIRC is; plus has more features) smile.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#310951 - 07/30/06 11:33 PM Re: pJIRC Addon v0.1 [Re: Gizmo]
Ron M Offline
Admin Emeritus
Developer

Registered: 11/29/01
Posts: 789
Loc: Des Moines, IA
This was my next project Gizzy smile I've already integrated pJIRC with my classic and I was going to convert it to integrate with Threads 7.
_________________________
http://thegeeksinc.com
[img]http://www.ubbdev.com/ud/?u=Sub_Zero&s=1[/img] points generated

Top
#310952 - 07/30/06 11:35 PM Re: pJIRC Addon v0.1 [Re: Ron M]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5131
Loc: Portland, OR, USA
Well, you're more than welcome to poke with what I have and provide input and sugguestions Ron hehe...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#310987 - 08/01/06 09:58 AM Re: pJIRC Addon v0.1 [Re: Gizmo]
Ron M Offline
Admin Emeritus
Developer

Registered: 11/29/01
Posts: 789
Loc: Des Moines, IA
Bug Fix:

in /scripts/chat.inc.php
Change {$ubbt_lang['LOGIN_PROMPT']} to {$ubbt_lang['CHAT']}

in /readme.txt
Find:
// EDIT: languages/english/genaric.php
Replace with:
// EDIT: languages/english/generic.php

Also, you should name your folders in your zip exactly how they are in the UBB7 Zip to prevent confusion.

I already have a pJIRC install on my server. I ended up hacking the tpl file to point to my existing directory. I didn't want to have 2 instances of the same software on my server unless I absolutely have to. Might not be a bad idea to move that to the lang file with your default assigned to the pref, but allow the user to edit the lang file to point to an existing install instead of forcing /forums/irc.

I saw the placeholder URLs for this thread. I didn't bother pointing those out becaue I assumed those were a FIXME for you already wink
_________________________
http://thegeeksinc.com
[img]http://www.ubbdev.com/ud/?u=Sub_Zero&s=1[/img] points generated

Top
#310997 - 08/01/06 05:09 PM Re: pJIRC Addon v0.1 [Re: Ron M]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5131
Loc: Portland, OR, USA
I'll do a refresh when i get a little more time; i ahve some things i wanna update
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#311037 - 08/03/06 02:02 PM Re: pJIRC Addon v0.1 [Re: Gizmo]
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Very nice job smile
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#311718 - 10/13/06 02:00 PM Re: pJIRC Addon v0.1 [Re: LK]
jgeoff Offline
Power User

Registered: 04/05/01
Posts: 93
Loc: NJ
So, will this allow only logged-in (Threads 7.0) forum members to enter the room (without lurkers)? Or would I need the RaiderSoft Platinum version...?

Thanks,

JG

_________________________
GangsterBB.NET (Ver. 7.3)
2007 Content Rulez Contest - Honorable Mention
UBB.classic 6.7.2 - RIP
Browser: Firefox 2.0

Top
#311721 - 10/13/06 11:31 PM Re: pJIRC Addon v0.1 [Re: jgeoff]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5131
Loc: Portland, OR, USA
This doesn't use Raidersoft... this uses the pJIRC script; and it allows only logged in users to utilize the module...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#311724 - 10/14/06 12:26 AM Re: pJIRC Addon v0.1 [Re: Gizmo]
jgeoff Offline
Power User

Registered: 04/05/01
Posts: 93
Loc: NJ
I only asked cuz the "demo" link allowed me to log in, while not a member of that site. I want a chatroom that will TRULY incorporate into Threads (you need to be logged into Threads to enter the chatroom) cuz I don't want unauthorized guests. AND, it'd be cool -- as the Raidersoft hack post said -- for Who's Online to also report who's in the chatroom.

I'm kinda assuming that I'd need the other hack (and the Raidersoft Premium account) to do this... right? Or no?
_________________________
GangsterBB.NET (Ver. 7.3)
2007 Content Rulez Contest - Honorable Mention
UBB.classic 6.7.2 - RIP
Browser: Firefox 2.0

Top
#311725 - 10/14/06 12:43 AM Re: pJIRC Addon v0.1 [Re: jgeoff]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5131
Loc: Portland, OR, USA
You can set it to allow public users or to only allow members, theres a switch in the one file (chat.inc.php):
Code:
		"regonly" => 1,


By default it is set to only allow regged users, you can set it to "0" to allow anyone to access it.

I'm not entirely sure how to add it to the WOL yet, but I'll take a gander in a future revision.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#311756 - 10/16/06 10:20 PM Re: pJIRC Addon v0.1 [Re: Gizmo]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5131
Loc: Portland, OR, USA
21 downloads so far; if you install please let me know your forum, I'd love to take a gander smile
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#312455 - 01/01/07 08:52 PM Re: pJIRC Addon v0.1 [Re: Gizmo]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5131
Loc: Portland, OR, USA
I'll be shooting for v0.2 here within the next week, been doing some work and found some duplicate code in the applet section, so it'll be more code cleanup than anything... I'll be adding some triggers in as well to allow you to adjust things easier (versus having to look them up you will be able to change the values)
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#312458 - 01/01/07 11:18 PM pJIRC Addon v0.2 [Re: Gizmo]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5131
Loc: Portland, OR, USA
Updated to build v0.2, I fixed all of the reported bugs, and built in all of the standard options, however a lot of them must be adjusted through the template file (advanced users only).

I built some added ticks in the language file for some features, including colors. Additionally I added functionality for Ron's request to allow users to indicate the url of an already installed pJIRC versus having to add a second install to their server (should someone already have the pJIRC installed).

I've also built in the ability for sounds to be used, this is mainly through the /beep command and private messages.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#312460 - 01/02/07 12:03 AM Re: pJIRC Addon v0.2 [Re: Gizmo]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5131
Loc: Portland, OR, USA
I'm thinking that in the next build i'll add a smilie legend if you have graphical smilies enabled; then make it so users can click the smilies and they'll be inserted into the chat... The best part of graphical smilies is that users with "normal" clients just see the text variable for the smilie; Such as: smile frown tipsy
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#312462 - 01/02/07 01:28 AM Re: pJIRC Addon v0.2 [Re: Gizmo]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5131
Loc: Portland, OR, USA
I refreshed the download for v0.2, there was a syntax error in the chat.tmp file (basically i defined the language strings improperly so the color matching wasn't working).

Only one person grabbed this before I noticed, so if you've already installed 0.2 please replace your chat.tmp file with the one in the current zip.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#312463 - 01/02/07 01:28 AM Re: pJIRC Addon v0.2 [Re: Gizmo]
Z65_Paul Offline
Lurker

Registered: 09/12/06
Posts: 6
Gizzy.. I just installed your V0.2 and pJIRC for the first time on my site (with UBB.t 7.02). Works great. There is an inherent bug however that should be addressed. It has to do with working around the iirc requirement dateing back decades that the first character in a user name on IRC may not be a number. So a Message Board user with the name 123Sam will get an "Invalid User Name" error. Can you modify the script to sense the first character of the screen name (I'm assuming that's the field you're using.. at least I hope so), and if numeric, to prepend the user name with some character or string defined by the admin? That would be great. This same problem existed on the old jIRC hack for UBB.c. It may have been corrected in later versions.

I've installed it on my site.. but it's only visisble to members. Feel free to sign up Gizzy.

Thanks!
_________________________
UBB since 1999: MonteCarloSS.com

Top
#312464 - 01/02/07 01:33 AM Re: pJIRC Addon v0.2 [Re: Z65_Paul]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5131
Loc: Portland, OR, USA
Yeh by default it's only viewable to members (iirc i set it to regged only in the script file).

As for the bug you've mentioned, you've got a point; I'll take and give some thought into it...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#312466 - 01/02/07 02:35 AM Re: pJIRC Addon v0.2 [Re: Gizmo]
Z65_Paul Offline
Lurker

Registered: 09/12/06
Posts: 6
Thanks for looking into it Giz. By viewable to members, I meant I placed it in the header in such a way that it is only viewable to members who've logged in. Are you saying I didn't need to do that.. that the board already senses the Regged only flag and will display the chat link only to members? Oh well.. it works. smile

As for the user name issue.. let me revise to say any non-Alpha character (A-Z) as the first character needs special handling. I'm not sure of the breath of allowable characters in users names for UBB (special characters enabled). Looking at my user list, I see I have some usernames on the message board that start with an apostrophe ('), others that start with a dash (-), and many that start with a numeral (0-9).

Thanks
_________________________
UBB since 1999: MonteCarloSS.com

Top
Page 1 of 3 1 2 3 >


Moderator:  sirdude 
Who's Online
0 registered (), 26 Guests and 15 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Forum 'Trader Ratings'.
by blaaskaak
Yesterday at 08:27 AM
Problems reading a lot of old posts here
by Ruben Rocha
11/18/08 04:33 PM
PhotoPost BB Code Popup
by Iann128
11/15/08 01:24 PM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
Active Topics.
by AllenAyres
11/11/08 02:13 PM
Looking for a simple upload script
by AllenAyres
11/11/08 02:12 PM
New Mods
Forum 'Trader Ratings'.
by McLemore
11/19/08 02:14 PM
[7.4] Keep log of custom title changes
by blaaskaak
10/27/08 07:51 AM
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Newest Members
Begbie, cenk, MATTO, DougMMcts, tim Anderson
13361 Registered Users
Top Posters
AllenAyres 25448
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438