php forum
php mysql forum
php mysql smarty
 
Page 1 of 2 1 2 >
Topic Options
#202885 - 04/21/04 01:54 AM [6.7] [beta] Instant Messenger
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Twinsburg, Ohio
Modification Name: Instant Messenger

Author(s): Brett

Description: Lets the users IM other online users, using PNTF, through an alert javascript.

Demo: http://www.pavioni.com/cgi-bin/ubbcgi/ultimatebb.cgi?ubb=msg

Requirements: UBB 6.7.x

Download Link: http://www.ubbdev.com/ubb/upload/00006378/IM6.7.zip

Credits: LK

This mod does require the CP mod addon .

Top
#202886 - 04/21/04 08:41 AM Re: [6.7] [beta] Instant Messenger
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
will try as soon as pavioni is working again smile
_________________________
Code monkey like Fritos

Top
#202887 - 04/21/04 12:57 PM Re: [6.7] [beta] Instant Messenger
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Well your site is working, but I'm getting a corrupt zip
_________________________
Code monkey like Fritos

Top
#202888 - 04/21/04 01:45 PM Re: [6.7] [beta] Instant Messenger
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Twinsburg, Ohio
Oops, ascii mode bad. Fixed.

Top
#202889 - 04/21/04 01:58 PM Re: [6.7] [beta] Instant Messenger
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
btw Brett, people are gonna have trouble installing this without the spellcheck addon, may I suggest having them find the post don't count links in the cp?
_________________________
Code monkey like Fritos

Top
#202890 - 04/21/04 02:15 PM Re: [6.7] [beta] Instant Messenger
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
psssttt.

Code:
				vars_modifications::instant_message_refresh
You didn't give us the declaration of that, ie

Code:
		instant_message_perms => {
			type => "radio",
			values => [qw(none admins mods all)],
			default => q!all!,
			req => 0,
			final_code => sub { return "FIXME"; },
		},
_________________________
Code monkey like Fritos

Top
#202891 - 04/21/04 02:45 PM Re: [6.7] [beta] Instant Messenger
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Twinsburg, Ohio
heh, too early for meh. shocked

ZIP updated again, changes only to cp2_vars.cgi.

Top
#202892 - 04/21/04 03:06 PM Re: [6.7] [beta] Instant Messenger
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
/me wonders why you escaped the "s in

Code:
    q!vars_modifications-_-instant_message_time-description! => q!Every IM includes the date and time that it was sent. If you set to "Show it", it shows that time in the IM window.!,
_________________________
Code monkey like Fritos

Top
#202893 - 04/24/04 09:46 PM Re: [6.7] [beta] Instant Messenger
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Brett, ubb_checkmsg.cgi has been giving me a huge error log, so I fixed it to the best of my ability.

http://www.ubbdev.com/ubb/upload/00020028/ubb_checkmsg.txt

smile
_________________________
Code monkey like Fritos

Top
#202894 - 04/25/04 04:00 AM Re: [6.7] [beta] Instant Messenger
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Twinsburg, Ohio
What were the errors in your error log?

Top
#202895 - 04/25/04 09:59 AM Re: [6.7] [beta] Instant Messenger
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
premature end of header scripts, uninitialized value, use of useless something.

smile I really enjoyed the last one tipsy
_________________________
Code monkey like Fritos

Top
#202896 - 05/09/04 04:28 PM Re: [6.7] [beta] Instant Messenger
GATOR420 Offline
Member

Registered: 01/31/03
Posts: 118
OK, how exactly does this work? I tried to send an IM to another test user and they don't get any messages. They send to me and I don't get them. I'm guessing this might have to do with me hosting the site on a different port than port 80(because it's blocked on my ISP)? How to fix is the question... Any ideas?
_________________________
-GATOR

"Pain is temporary, Pride is forever"

Top
#202897 - 05/09/04 06:14 PM Re: [6.7] [beta] Instant Messenger
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Twinsburg, Ohio
Looks like your ubb_checkmsg.cgi is erroring out.

on the topline of ubb_checkmsg.cgi

change it to just:

#!/usr/bin/perl

Top
#202898 - 05/09/04 08:33 PM Re: [6.7] [beta] Instant Messenger
GATOR420 Offline
Member

Registered: 01/31/03
Posts: 118
Damn, you guys are so smart! I bow to your scripting wisdom...
_________________________
-GATOR

"Pain is temporary, Pride is forever"

Top
#202899 - 05/18/04 06:55 PM Re: [6.7] [beta] Instant Messenger
Mr. B Offline
Member

Registered: 04/13/03
Posts: 56
Nice hack brett .. It's realy a pleasure to have it back ...

I had a problem with ubb_checkmsg

IMs still appearing to me until I refresh the page <<< the same problem that I had on 6.5 shocked

===
Ian ..
ur file is not workin smash

Top
#202900 - 09/07/04 02:14 PM Re: [6.7] [beta] Instant Messenger
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25448
Loc: Texas
What would be the proceedure to block certain user(s) from being able to use IM?
_________________________
- Allen wavey
- What Drives You?

Top
#202901 - 09/07/04 02:37 PM Re: [6.7] [beta] Instant Messenger
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
change
Code:
if ($ubb eq 'msg') {
	&RequireCode("$vars_config{CGIPath}/ubb_msg.cgi");
	&im_form;
	exit(0);
} # end if

if ($ubb eq 'send_msg') {
	&GetOrPost("POST");
	&RequireCode("$vars_config{CGIPath}/ubb_msg.cgi");
	&im;
	exit(0);
} # end if
to

Code:
if ($ubb eq 'msg') {
	if($user_number =~ m/^(00000247|0000023|00000003)$/) {
		&StandardHTML("Go away!");
	}
	&RequireCode("$vars_config{CGIPath}/ubb_msg.cgi");
	&im_form;
	exit(0);
} # end if

if ($ubb eq 'send_msg') {
	&GetOrPost("POST");
	if($user_number =~ m/^(00000247|0000023|00000003)$/) {
		&StandardHTML("Go away!");
	}
	&RequireCode("$vars_config{CGIPath}/ubb_msg.cgi");
	&im;
	exit(0);
} # end if
_________________________
Code monkey like Fritos

Top
#202902 - 09/07/04 10:30 PM Re: [6.7] [beta] Instant Messenger
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25448
Loc: Texas
laugh Thank you Ian smile
_________________________
- Allen wavey
- What Drives You?

Top
#202903 - 09/07/04 10:47 PM Re: [6.7] [beta] Instant Messenger
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5131
Loc: Portland, OR, USA
Quote:
Originally posted by AllenAyres:

What would be the proceedure to block certain user(s) from being able to use IM?


Wouldn't a better one being only allowing specific users? hehe
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#202904 - 12/25/05 01:59 PM Re: [6.7] [beta] Instant Messenger
tgreene Offline
Member

Registered: 11/28/02
Posts: 187
Loc: Jonesboro, Arkansas
The "IM" link is not showing up on my {Forum Summary} page, as well as several others. Any ideas..?

Eedited to add, that I'm not so sure it's working at all... I see the options in thew CP, and have selected them, then I tried sending a etst message, and it seems that it isn't functioning properly. frown

Top
Page 1 of 2 1 2 >


Moderator:  Charles, Gizmo 
Who's Online
0 registered (), 28 Guests and 10 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Forum 'Trader Ratings'.
by blaaskaak
11/20/08 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

 

 

 
fusionbb message board php hacks