php forum
php mysql forum
php mysql smarty
 
Page 2 of 3 < 1 2 3 >
Topic Options
#312468 - 01/02/07 04:01 AM Re: pJIRC Addon v0.2 [Re: Z65_Paul]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5122
Loc: Portland, OR, USA

   Re: pJIRC Addon v0.2 to Del.icio.us Add to del.icio.us
  Digg Re: pJIRC Addon v0.2 Digg it
It already senses that it's members only, completely stock. If you look in the scripts file you'll see the line:
Code:
		"regonly" => 1,
		"admin_only" => 0,
		"admin_or_mod" => 0,


By default, regonly is set to 1, which means that it will not allow it to be loaded unless you're a registered user, all done automagically (and easy to update if you want it to allow un-regged users).

It will however show the LINK TO it, however it will give an error "You must be logged in to use this feature" (or something similar, i don't recall the exact wordlet used).

Yeh, it'll need to allow only 0-9,a-z,A-Z and not start with a number; i could strip numbers and special characters out alltogether, but that woudln't solve too much as then you'd have the possibility for users using eachothers nicknames (you can, in this version, remove the nickname change box, and most users don't know about the /nick command; whch i could also filter, I'm contemplating introducing the filtered commands option in the next build)...

Will be giving it some thought though...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#312480 - 01/03/07 08:23 PM Re: pJIRC Addon v0.2 [Re: Z65_Paul]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5122
Loc: Portland, OR, USA
I think the next build will focus on the "allowed" and "disallowed" commands options with the pjirc, so one could limit their users from changing their nicknames, connecting to other servers, joining other channels, etc.

I'll also be looking into ways to deal with users whos names start with a number, but without having to strip out all numbers... Although this is kind of beyond the scope of this addon (it's more an IRC specification issue if anything)
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

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

Registered: 01/10/00
Posts: 5122
Loc: Portland, OR, USA
Well, I'm almost done with v0.3; I've added the allowed/disallowed commands/join channels/part channels options, and i've updated to add several other options. I've also updated the message strings on the language file to conform with eachother now lol.

As for my thoughts on using a pjirc.cnf file, at this point i've decided against it, as I wouldn't be able to utilize options via language strings to be edited in the control panel, and a lot of the option is through those at this point...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#312571 - 01/08/07 04:08 AM Re: pJIRC Addon v0.2 [Re: Z65_Paul]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5122
Loc: Portland, OR, USA
Version 0.3 was just released, main new features are:
1. Ability to restrict users to specified channels (they will be unable to join any other channels).
2. Ability to restrict users from leaving specified channels (they will be unable to part any listed channels.
3. Ability to restrict users use to irc commands (either grant them access to use or to not use certain commands).

I have been toying with a smilie legend which would allow users to click on a smilie and have it populate to the chat box, this however didn't make the cut for v0.3 but will likely appear in 0.4 or 0.5 which currently have no ETA (which are at this point depending on pJIRC plugins or features not yet covered by our integration).
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

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

Registered: 09/12/06
Posts: 6
Uploaded and works great Gizzy.. cept now I have the number "1" in the extreme upper left corner of the page, above the UBB header include.

Also.. you forgot to update the rev in your readme file. smile

Edit: Figured out where the "1" was coming from. This time around I set the "refresh" parameter in chat.inc.php from "0" to "1" to see if that worked. Didn't seem to refresh.. and got the 1 in the upper left. Is that refresh feature operational?


Edited by Z65_Paul (01/09/07 02:29 AM)
_________________________
UBB since 1999: MonteCarloSS.com

Top
#312577 - 01/09/07 03:46 AM Re: pJIRC Addon v0.2 [Re: Z65_Paul]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5122
Loc: Portland, OR, USA
Crap, I upgraded the rev everywhere else, go fig lol... At least I got the support url posted everywhere lol...

My brother kept txting me when i was working on everything, so blaime any bugs on that (I'll update it in 0.4 when I get to it).

I haven't ever used the refresh paramater, so I have no idea; but i'm glad it wasn't a bug in mine, cas I hadn't seen that anywhere when i was testing lol...

Have you gotten to testing out the filters in 0.3? I found them rather nice smile
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#312687 - 01/15/07 06:25 AM Re: pJIRC Addon v0.3 [Re: Gizmo]
nans Offline
Lurker

Registered: 10/10/04
Posts: 7
I've added this irc thing:
http://www.femistyle.be/ubbthreads/ubbthreads.php?ubb=chat

I want to use someting that can replace the Shout Box, since that is so popular it generates 90% server load
tread about that:
http://www.ubbcentral.com/forums/ubbthreads.php?ubb=showflat&Board=11&Number=173180&Searchpage=1&Main=38824&Words=+femistyle&topic=0&Search=true#Post173180

Now this Addon requires extra software on client side (most of my users don't like that), but, it took one only 5 minutes to enter the chatroom using someone else his/her username (he just looked at te source code of webpage to figure that out)..
I want to avoid this.


Top
#312697 - 01/15/07 07:05 AM Re: pJIRC Addon v0.3 [Re: nans]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5122
Loc: Portland, OR, USA
A JVM (Java Virtual Machine) is a requirement for this modification as the pJIRC is coded in Java and the JVM runs the java application (as is the jIRC client which was an earlier (and non-free) choice for this mod's integration file).

The FlashChat that I mentioned also requires a 3rd party program to run (well 2 if you include the $5 flashchat application) which is the Adobe (formerly Macromedia) Flash Player. There is currently no FlashChat integration file available.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#312699 - 01/15/07 07:20 AM Re: pJIRC Addon v0.3 [Re: Gizmo]
nans Offline
Lurker

Registered: 10/10/04
Posts: 7
Any suggestions how I can avoid people connecting with an other one's username?

Top
#312700 - 01/15/07 07:45 AM Re: pJIRC Addon v0.3 [Re: nans]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5122
Loc: Portland, OR, USA
Theres a section called "disallowed commands" in languages/chat.php (~line 23), make it read:
Code:
all-nick


This will make it so users cannot use the "nick" command to change their nicknames.

Then you can also remove the "nickname" box by editing templates/default/chat.tpl by changing this line (~line 20):
Code:
<param name="pixx:nickfield" value="true">


to:
Code:
<param name="pixx:nickfield" value="false">


There are a LOT of integers in the chat.tpl file, as stated in the main post I made just about every option there is with the pJIRC script available there for "advanced" users.

A quick FYI, you can use the command filter to filter the join command as well to restrict people to one channel; an alternative for this would be to use the channel join filter (in the chat language file, ~line 21) to filter "none+#yourchannel" or "none+#yourchannel+#yourchannel2".


Edited by Gizmo (01/15/07 07:47 AM)
Edit Reason: added line numbers
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#312701 - 01/15/07 07:48 AM Re: pJIRC Addon v0.3 [Re: Gizmo]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5122
Loc: Portland, OR, USA
I guess I should also point out that if you revoke a users ability to change their name, and you have the reg only filter turned off (it's on by default so it'll always take the users forum nickname as their default nickname) that users who are not logged in will login to the chat as "guest" and they will be unable to change their nickname until they login to your forums and reload the chat page.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#312708 - 01/15/07 12:54 PM Re: pJIRC Addon v0.3 [Re: Gizmo]
nans Offline
Lurker

Registered: 10/10/04
Posts: 7
I have another question, probaly some paramater but I'm really not experienced with irc.

I connect the chatroom with a Belgian Kreynet server (fast respons). but on that server are of course other chatrooms. The server demands unique nicknames.. So this evening I had a user who could not connect because the nick name was already in use.

Any solution for that? Without giving them permission to change the nickname?

Top
#312713 - 01/15/07 07:04 PM Re: pJIRC Addon v0.3 [Re: nans]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5122
Loc: Portland, OR, USA
If the nickname on the server is "in use" it should assign them their nickname with 5 random characters behind it (as that's what it was scripted to do).

you can validate this behavior by opening the chat.tpl file and finding this line:
Code:
<param name="alternatenick" value="{$user.USER_DISPLAY_NAME}?????">


The only issue I can think of is if their nickname is a protected server name (such as root, serv, or admin, etc; something blacklisted as a server only name) If they're getting an error I'll need to see it to be able to say anything either way (it shouldn't just not allow them to load)
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#312714 - 01/15/07 07:06 PM Re: pJIRC Addon v0.3 [Re: Gizmo]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5122
Loc: Portland, OR, USA
It'd likely be best if you could get them to take a screenshot of the error on their browser, as well as provide what their display name is as well.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#312940 - 01/28/07 04:31 AM Re: pJIRC Addon v0.3 [Re: Gizmo]
Ian_W Global Moderator Offline
Veteran

Registered: 02/22/02
Posts: 2574
Loc: England
Works fine. However my members seem to prefer the shoutbox as a chat room LOL

BTW - if this was linked to whos online, then when someone was in the chatroom a line could appear at the top of the page saying 'x members are in the chatroom - why not join them' with a link to the chat room smile

This was an extra added by Josh in an older version and worked well.

_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#312941 - 01/28/07 01:51 PM Re: pJIRC Addon v0.3 [Re: Ian_W]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5122
Loc: Portland, OR, USA
Well that sounds interesting, but would only relay any users using the script vs logged inthrough other means (ie a real irc client, or logged in from a seperate javairc instance...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#312943 - 01/28/07 02:06 PM Re: pJIRC Addon v0.2 [Re: Z65_Paul]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5122
Loc: Portland, OR, USA
I'll include this in the next release's readme, but in the meantime, if you want to have users show up in the WoL as 'In the "Chat Room"' then do the following:

In /languages/english/online.php (you should do this for every language you have if you have more than just english)
Find:
Code:
$ubbt_lang['previewsig'] = "Previewing their signature.";


Add After:
Code:
$ubbt_lang['chat'] = "In the \"Chat Room\"";
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#315901 - 10/01/07 01:17 AM Re: pJIRC Addon v0.4 [Re: Gizmo]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5122
Loc: Portland, OR, USA
v0.4 released (contemplated waiting till midnight to be the first posted in Oct); changes:
  • 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).
  • Updated the revision in the readme for once wink (hasn't been changed since 0.2!)...
  • Added instructions to the readme that show users logged into the chat in the WOL.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#315902 - 10/01/07 01:20 AM Re: pJIRC Addon v0.4 [Re: Gizmo]
AshtarRose Offline
Journeyman

Registered: 09/22/05
Posts: 134
Loc: Orlando, FL
Cause he's cool like that.
_________________________
http://www.riddledindarkness.com * Yeah I need the Crazy Mods.

Top
#315903 - 10/01/07 01:25 AM Re: pJIRC Addon v0.4 [Re: AshtarRose]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5122
Loc: Portland, OR, USA
Item #1 added cas Tiff didn't have any backups and kept bugging me tonight until I re-invented the wheel wink...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
Page 2 of 3 < 1 2 3 >


Moderator:  sirdude 
Who's Online
0 Registered (), 38 Guests and 6 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Blogs, love em or hate em?
by AllenAyres
10/07/08 02:05 PM
What do you use to edit the files
by Ian_W
10/05/08 03:33 PM
BeyondCompare v3.00
by Ian_W
10/05/08 03:32 PM
Glossy Black Theme with Image Reflection
by Gizmo
10/05/08 02:17 PM
ShareThis
by Gizmo
09/28/08 05:06 AM
[7.3] Viewing MySQL logfiles made easier
by AllenAyres
09/27/08 09:57 PM
Looking for a simple upload script
by Murphdog
09/26/08 08:45 PM
New Mods
[7.3] Viewing MySQL logfiles made easier
by blaaskaak
09/24/08 05:39 PM
[7.3] Language file checker
by blaaskaak
09/09/08 12:56 AM
[7.3.1] add search to showmembers page
by blaaskaak
09/07/08 04:50 AM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
pisa666, ghengis317, NitroX, Dogan, EliYah-
13345 Registered Users
Top Posters Last 30 Days
AllenAyres 13
blaaskaak 9
tackaberry 7
FREAK1 7
Mike L_dup1 4
Chris Bale 4
Ian_W 4
  <