[ABD] PJIRC chat

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Locked
User avatar
wizard james
Registered User
Posts: 366
Joined: Sun Nov 14, 2004 5:43 am

[ABD] PJIRC chat

Post by wizard james » Wed Aug 29, 2007 11:32 am

MOD Title: PJIRC chat mod
MOD Description: Lets users connect to a irc server without the need of there own client.
MOD Version: 1.0.1

MOD Download: http://webbyanna.co.cc/wizardjames/pjirc_mod-1.0.1.zip
Last phpbb version mod was tested on: 3.0.5
Demo Board:
Demo Username:
Demo Password:

Version History
  • 0.0.3 - First Release
  • 0.0.4 - Minor Template fix
  • 0.0.5 - Changed the way unique chars are removed from the username & page opens into a new window.
  • 0.0.6 - Regex update
  • 1.0.1 - Admin module added, cleaned up some code, installer added
Update: i have been getting many PM's about the download link, Well its been updated. I do not have a server right now to test it out and make sure everything works so if anyone wants to go ahead and try and give me some feedback.
Thank you LadyAnna for the hosting

Mod will let you have a chat page that will connect to a irc server and channel via PJIRC java app. PJIRC is after looking around myself is very customizable. from templates to different gui's. The code right now is stable enough to run live (from my view).

http://pjirc.com/forum/viewtopic.php?t=4356 < Different premade skins.

Id like any feedback so i can improve this anyway i can. Support in here and on ##phpbb-chat on freenode

Looking for a chat icon



Concept & Primary Developer: FF8Jake, Active developer & support: Wizard James
Last edited by wizard james on Tue Mar 29, 2011 8:49 am, edited 8 times in total.
Join me at ##phpbb-chat on irc.freenode.net

User avatar
JunglistPerfection
Registered User
Posts: 611
Joined: Mon Apr 09, 2007 11:58 pm
Location: Chicago, IL

Re: [BETA] PJIRC chat

Post by JunglistPerfection » Thu Aug 30, 2007 4:46 pm

Where is the chat mod? I don't see any type demo what so ever. :?

User avatar
milkboy31
Registered User
Posts: 422
Joined: Tue Aug 09, 2005 2:44 pm

Re: [BETA] PJIRC chat

Post by milkboy31 » Thu Aug 30, 2007 5:17 pm

log in to his test board and then click "Chat" in the menu bar... it's the way PJIRC worked on PHPBB 2 as well.

User avatar
JunglistPerfection
Registered User
Posts: 611
Joined: Mon Apr 09, 2007 11:58 pm
Location: Chicago, IL

Re: [BETA] PJIRC chat

Post by JunglistPerfection » Thu Aug 30, 2007 6:26 pm

Oh, ok. I sure didn't see that username and password. :lol: But the mod looks nice, but I wish you can change the color and gui of the chat mod.

User avatar
wizard james
Registered User
Posts: 366
Joined: Sun Nov 14, 2004 5:43 am

Re: [BETA] PJIRC chat

Post by wizard james » Thu Aug 30, 2007 8:46 pm

Ah you can,

Guess i should post it..

Code: Select all

# pixx:color0=000000   <!--(Black)    -Scrollbar Slider outline: Button outline / Popup & Close Button Text & outline
# pixx:color1=FFFFFF   <!--(White)    -Button Border & Text : ScrollBar Border & arrow : Popup & Close button Border : User List border & Text & icons
# pixx:color2=868686   <!--(Dark grey)    -Windows Buttons shadow color (the float & close button [X]) difficult to actually see.         
# pixx:color3=808080   <!--(Darker grey)-Scrollbar 3D shadow color                                     
# pixx:color4=D0D0D0   <!--(Light grey) -Scrollbar 3D highlight colour
# pixx:color5=336699   <!--(Light Blue) -Menu buttons & Scrollbar Slider  faces                         
# pixx:color6=084079   <!--(Blue)    -Menu backgrounds : Nicklist background & Slider tracks                           
# pixx:color7=003167   <!--(Dark Blue)    -Selected Button face color  : Status button & Window button active colour
# pixx:color8=A40000   <!--(Red)    -Button Flash color : Event color (Informs people of channel usage etc.)
# pixx:color9=4B8ECE   <!--(Pale Blue)    -Windows Buttons face (Close button [X] etc.)
# pixx:color10=008000   <!--(Dark Green) -Vop button background
# pixx:color11=336699   <!--(Light Blue) -SemiOP & Aop button background
# pixx:color12=336699   <!--(Light Blue) -Founder button background
# pixx:color13=4040FF   <!--(Vivid Blue) -ASL Male
# pixx:color14=FF40FF   <!--(Bright Pink)-ASL Female
# pixx:color15=336699   <!--(Light Blue) -ASL Undefined | Nick button face & Floating text background
# SourceColorRules
#    0=FFFFFF   (White)      -Text Background colour.
#    1=000000    (Black)      -Normal Text foreground colour. Also: status messages in the status window.
#    2=00007F   (Dark Blue)   -Quit messages. Does not include kicks.
#    3=009300   (Green)      -Status messages, including kicks, topic changes, mode changes etc..
#    4=FF0000   (Bright Red)   -CTCP Responses.
#    5=7F0000   (Maroon)   -Notices.
#    6=9C009C   (Bright Purple)   -Action text/IDENTD messages
#
########################################################################################################################################################
pixx:color0=c0c0c0
pixx:color1=FFFFFF
pixx:color2=303030
pixx:color3=c0c0c0
pixx:color4=303030
pixx:color5=1e1e1e
pixx:color6=575757
pixx:color7=1e1e1e
pixx:color8=F48000
pixx:color9=F48000
pixx:color10=1e1e1e
pixx:color11=F48000
pixx:color12=303030
pixx:color13=1e1e1e
pixx:color14=303030
pixx:color15=1e1e1e
style:sourcecolorrule1=all all 0=1f1f1f 1=ffffff 2=ffffff 3=c0c0c0 4=c0c0c0 5=c0c0c0 6=ffffff
That one is a blackish type gui . but its not hard to change. all you gota do is add the stuff into a template.ini , put it in the pjirc folder. and in the template file,

Code: Select all

<param name="fileparameter" value="template.ini">
Few things that will look for soon is being able to change all the param fields in the admin panel and have the window pop up. Also thinking of adding all the stuff in php and make a {pjirc} for the template. Would make it easyer ..
Join me at ##phpbb-chat on irc.freenode.net

User avatar
JunglistPerfection
Registered User
Posts: 611
Joined: Mon Apr 09, 2007 11:58 pm
Location: Chicago, IL

Re: [BETA] PJIRC chat

Post by JunglistPerfection » Thu Aug 30, 2007 9:48 pm

Cool. But can you change the look of the gui besides the color?

User avatar
wizard james
Registered User
Posts: 366
Joined: Sun Nov 14, 2004 5:43 am

Re: [BETA] PJIRC chat

Post by wizard james » Thu Aug 30, 2007 9:51 pm

Sure that you could use one of these http://www.pjirc.com/downloads.php?p=0&c=2 just change a few settings.. i have not looked at that yet though.
Join me at ##phpbb-chat on irc.freenode.net

saaiberke
Registered User
Posts: 1126
Joined: Wed Jul 20, 2005 8:13 am
Location: Gent/Belgium
Contact:

Re: [BETA] PJIRC chat

Post by saaiberke » Fri Aug 31, 2007 8:05 am

In the phpBB2 alike version of this mod, the chat window opens in a new tab, nin the phpBB3 it opens in the same tab as the board index. People that want to chat, loose the forum index that way. Maybe it would be interesting to look further in this?

I used the phpBB2 version a long time and I was very happy to see that there's a phpBB3 version now, great mod!

Thank you for this.

Nic

User avatar
wizard james
Registered User
Posts: 366
Joined: Sun Nov 14, 2004 5:43 am

Re: [BETA] PJIRC chat

Post by wizard james » Fri Aug 31, 2007 8:34 am

Working on the next ver, Should be out in the next few hours..
Diffrent way to see whats in usernames and what to remove.
Will make it so that the link opens it up into a new tab/window.

edit
.5 is out, Go look at it :D
Join me at ##phpbb-chat on irc.freenode.net

User avatar
Dr.Death
QA Team
Posts: 362
Joined: Fri Apr 25, 2003 10:04 am
Location: Germany
Contact:

Re: [BETA] PJIRC chat

Post by Dr.Death » Fri Aug 31, 2007 1:48 pm

Hi,

your PJIRC MOD work well.

I have only a problem to change the style as you described:

I put the template.ini into the pjirc folder on my webspace.

This line i added to the styles/prosilver/template/pjirc.html

Code: Select all

<param name="fileparameter" value="template.ini">
Result:

Code: Select all

<applet code=IRCApplet.class codebase=./pjirc/ archive="irc.jar,pixx.jar" width=640 height=400>
				<param name="CABINETS" value="irc.cab,securedirc.cab,pjirc/pixx.cab">
				<param name="fileparameter" value="template.ini">
But it's not changing the layout colors. Even if i cleared the cache folder..... ( On website and my local one )
Doc.

User avatar
wizard james
Registered User
Posts: 366
Joined: Sun Nov 14, 2004 5:43 am

Re: [BETA] PJIRC chat

Post by wizard james » Fri Aug 31, 2007 2:14 pm

Code: Select all

			<applet code=IRCApplet.class codebase=./pjirc/ archive="irc.jar,pixx.jar" width=640 height=400>
				<param name="CABINETS" value="irc.cab,securedirc.cab,pjirc/pixx.cab">
				<param name="nick" value="{IRC_USERNAME}">
				<param name="alternatenick" value="{IRC_USERNAME}_">
				<param name="name" value="{IRC_USERNAME}">
				<param name="host" value="irc.synirc.net">
				<param name="gui" value="pixx">
				<param name="command1" value="join #drlchat">
				<param name="fileparameter" value="template.ini">
				<param name="quitmessage" value="Thanks for using DataRealms Chat!">				
			</applet>
Thats the code i got on my modded template that i use for http://datarealms.com/forum (test:123456)

Maybe put it after everything else. I really am unsure for that one.
Join me at ##phpbb-chat on irc.freenode.net

User avatar
Dr.Death
QA Team
Posts: 362
Joined: Fri Apr 25, 2003 10:04 am
Location: Germany
Contact:

Re: [BETA] PJIRC chat

Post by Dr.Death » Fri Aug 31, 2007 3:59 pm

Thanks for your reply.

It was my fault :oops:
After i cleaned up my hole IE7 Cache, it works.

Thanks for your help and your MOD.
Doc.

User avatar
FF8Jake
Registered User
Posts: 221
Joined: Sun Dec 29, 2002 8:24 pm

Re: [BETA] PJIRC chat

Post by FF8Jake » Sat Sep 01, 2007 1:25 am

Yeah, when I was coding the basic version of this for my site, it took me a bit to get all the path stuff working on PJIRC. It's very picky. If anyone moves anything around, make sure that the paths in pjirc.html are correct.

I am turning this mod over to WizardJames now, as I don't have any time to do any support for it really. I may still throw some code in every now and again, and contribute anything I come up with while coding for my own utilization of the applet.

I think my next step is going to be loading it in a popup window. I have too many people accidentally exiting, from javascript editing their window's current content, or just plain clicking out on accident. :D

User avatar
wizard james
Registered User
Posts: 366
Joined: Sun Nov 14, 2004 5:43 am

Re: [BETA] PJIRC chat

Post by wizard james » Sun Sep 02, 2007 12:28 am

Small bug found out on my forum ( datarealms.com) from a member called "3solid" Well from there i think you can guess the error. irc does not allow numbers infront of a name. Simple add onto the regex fixed this.

Open pjirc.php and find

Code: Select all

$ircuser = ereg_replace("[^a-zA-Z0-9]", "", $username);

Replace with

Code: Select all

$ircuser = ereg_replace('^([0-9])*|([^a-zA-Z0-9])', '', $username);
Will be in the version.
Join me at ##phpbb-chat on irc.freenode.net

bassbox
Registered User
Posts: 59
Joined: Tue Jul 04, 2006 11:35 am
Contact:

Re: [BETA] PJIRC chat

Post by bassbox » Sun Sep 02, 2007 11:56 am

Feature Request

There were a similar mod for phpbb2.x

but in their profile users could add text which were send directly after joining the chat

for example

/nickserv reg bla blub

and so on, so the user were automaticly logged in.. realy realy useful !

Locked

Return to “[3.0.x] Abandoned MODs”

Who is online

Users browsing this forum: No registered users and 10 guests