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

   [6.7] [beta] Instant Messenger to Del.icio.us Add to del.icio.us
  Digg [6.7] [beta] Instant Messenger Digg it
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: 25408
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: 25408
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: 5115
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 
Top Posters Last 30 Days
AllenAyres 18
Gizmo 12
sirdude 6
GEN 3
tackaberry 2
Philipp 2
willing 2
Who's Online
1 Registered (zahqan), 47 Guests and 10 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Team UBBDev Rides Again!
by Gizmo
Yesterday at 11:45 PM
Multiple Identity Detector
by MattUK
Yesterday at 04:10 PM
[7.3.x] ubb.links
by AllenAyres
08/26/08 09:57 AM
Installing FlashChat with 7.3
by Gizmo
08/23/08 05:36 AM
[7.2.1] - Naked shoutbox
by Iann128
08/22/08 07:27 PM
Nice Ajax Chat
by M4D
08/21/08 10:02 PM
51-card NVIDIA folding rig cranks out 265,200 ppd
by AllenAyres
08/13/08 10:10 PM
New Mods
Installing FlashChat with 7.3
by Paug
08/23/08 12:14 AM
[7.x] AddThis - Social Networking
by Gizmo
08/01/08 01:30 AM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.3] Dissallow quotes more then 3 levels deep
by blaaskaak
06/09/08 09:01 AM
[7.2.1] - Naked shoutbox
by sirdude
08/17/07 10:36 PM
Newest Members
welcomeback1, Paug, Tim Keating, anscers, Murphdog
13324 Registered Users

 

 

 
fusionbb message board php hacks