Previous Thread
Next Thread
Print Thread
Rate Thread
[6.7] [beta] Instant Messenger #202885 04/21/2004 12:54 AM
Joined: May 2001
Posts: 1,042
Likes: 7
Brett Offline OP
Moderator
OP Offline
Moderator
Joined: May 2001
Posts: 1,042
Likes: 7
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: https://www.ubbdev.com/ubb/upload/00006378/IM6.7.zip

Credits: LK

This mod does require the CP mod addon .

Sponsored Links
Re: [6.7] [beta] Instant Messenger #202886 04/21/2004 7:41 AM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Ian Spence Offline
Master Hacker
Offline
Master Hacker
Joined: Jan 2003
Posts: 3,456
Likes: 2
will try as soon as pavioni is working again smile

Re: [6.7] [beta] Instant Messenger #202887 04/21/2004 11:57 AM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Ian Spence Offline
Master Hacker
Offline
Master Hacker
Joined: Jan 2003
Posts: 3,456
Likes: 2
Well your site is working, but I'm getting a corrupt zip

Re: [6.7] [beta] Instant Messenger #202888 04/21/2004 12:45 PM
Joined: May 2001
Posts: 1,042
Likes: 7
Brett Offline OP
Moderator
OP Offline
Moderator
Joined: May 2001
Posts: 1,042
Likes: 7
Oops, ascii mode bad. Fixed.

Re: [6.7] [beta] Instant Messenger #202889 04/21/2004 12:58 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Ian Spence Offline
Master Hacker
Offline
Master Hacker
Joined: Jan 2003
Posts: 3,456
Likes: 2
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?

Sponsored Links
Re: [6.7] [beta] Instant Messenger #202890 04/21/2004 1:15 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Ian Spence Offline
Master Hacker
Offline
Master Hacker
Joined: Jan 2003
Posts: 3,456
Likes: 2
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"; },
},

Re: [6.7] [beta] Instant Messenger #202891 04/21/2004 1:45 PM
Joined: May 2001
Posts: 1,042
Likes: 7
Brett Offline OP
Moderator
OP Offline
Moderator
Joined: May 2001
Posts: 1,042
Likes: 7
heh, too early for meh. shocked

ZIP updated again, changes only to cp2_vars.cgi.

Re: [6.7] [beta] Instant Messenger #202892 04/21/2004 2:06 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Ian Spence Offline
Master Hacker
Offline
Master Hacker
Joined: Jan 2003
Posts: 3,456
Likes: 2
/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.!,

Re: [6.7] [beta] Instant Messenger #202893 04/24/2004 8:46 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Ian Spence Offline
Master Hacker
Offline
Master Hacker
Joined: Jan 2003
Posts: 3,456
Likes: 2
Brett, ubb_checkmsg.cgi has been giving me a huge error log, so I fixed it to the best of my ability.

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

smile

Re: [6.7] [beta] Instant Messenger #202894 04/25/2004 3:00 AM
Joined: May 2001
Posts: 1,042
Likes: 7
Brett Offline OP
Moderator
OP Offline
Moderator
Joined: May 2001
Posts: 1,042
Likes: 7
What were the errors in your error log?

Sponsored Links
Re: [6.7] [beta] Instant Messenger #202895 04/25/2004 8:59 AM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Ian Spence Offline
Master Hacker
Offline
Master Hacker
Joined: Jan 2003
Posts: 3,456
Likes: 2
premature end of header scripts, uninitialized value, use of useless something.

smile I really enjoyed the last one tipsy

Re: [6.7] [beta] Instant Messenger #202896 05/09/2004 3:28 PM
Joined: Jan 2003
Posts: 118
GATOR420 Offline
Member
Offline
Member
Joined: Jan 2003
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"
Re: [6.7] [beta] Instant Messenger #202897 05/09/2004 5:14 PM
Joined: May 2001
Posts: 1,042
Likes: 7
Brett Offline OP
Moderator
OP Offline
Moderator
Joined: May 2001
Posts: 1,042
Likes: 7
Looks like your ubb_checkmsg.cgi is erroring out.

on the topline of ubb_checkmsg.cgi

change it to just:

#!/usr/bin/perl

Re: [6.7] [beta] Instant Messenger #202898 05/09/2004 7:33 PM
Joined: Jan 2003
Posts: 118
GATOR420 Offline
Member
Offline
Member
Joined: Jan 2003
Posts: 118
Damn, you guys are so smart! I bow to your scripting wisdom...


-GATOR

"Pain is temporary, Pride is forever"
Re: [6.7] [beta] Instant Messenger #202899 05/18/2004 5:55 PM
Joined: Apr 2003
Posts: 57
Mr. B Offline
Member
Offline
Member
Joined: Apr 2003
Posts: 57
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

Re: [6.7] [beta] Instant Messenger #202900 09/07/2004 1:14 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
AllenAyres Offline
I type Like navaho
Offline
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
What would be the proceedure to block certain user(s) from being able to use IM?


- Allen wavey
- What Drives You?
Re: [6.7] [beta] Instant Messenger #202901 09/07/2004 1:37 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Ian Spence Offline
Master Hacker
Offline
Master Hacker
Joined: Jan 2003
Posts: 3,456
Likes: 2
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

Re: [6.7] [beta] Instant Messenger #202902 09/07/2004 9:30 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
AllenAyres Offline
I type Like navaho
Offline
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
laugh Thank you Ian smile


- Allen wavey
- What Drives You?
Re: [6.7] [beta] Instant Messenger #202903 09/07/2004 9:47 PM
Joined: Jan 2000
Posts: 5,788
Gizmo Online Tapedshut
UBB.Dev / UBB.Wiki Owner
Time Lord
Online Tapedshut
UBB.Dev / UBB.Wiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,788
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 - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, UBB.Sitemaps
Re: [6.7] [beta] Instant Messenger #202904 12/25/2005 1:59 PM
Joined: Nov 2002
Posts: 188
tgreene Offline
Member
Offline
Member
Joined: Nov 2002
Posts: 188
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

Re: [6.7] [beta] Instant Messenger #202905 12/25/2005 11:01 PM
Joined: Jan 2000
Posts: 5,788
Gizmo Online Tapedshut
UBB.Dev / UBB.Wiki Owner
Time Lord
Online Tapedshut
UBB.Dev / UBB.Wiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,788
If the link in the header isn't showing up then you need to re-do the public_common.pl steps (As the header links are contained in that file).


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, UBB.Sitemaps
Re: [6.7] [beta] Instant Messenger #202906 12/26/2005 8:46 AM
Joined: Nov 2002
Posts: 188
tgreene Offline
Member
Offline
Member
Joined: Nov 2002
Posts: 188
The strange thing is, they DO show up on several pages...

Things that make ya go hmmmmmmmmmmmmmm! confused

If you would be so kind as to take a look, my URL is: http://www.gr-outdoors.com/index-forums.htm

Re: [6.7] [beta] Instant Messenger #202907 12/28/2005 4:40 AM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Offline
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394
There might be a collision with another hack. Can you ZIP up your /noncgi/Templates/public_forum_summary.pl file, upload it and send me a link to the ZIP file?

Re: [6.7] [beta] Instant Messenger #202908 12/28/2005 9:25 AM
Joined: Nov 2002
Posts: 188
tgreene Offline
Member
Offline
Member
Joined: Nov 2002
Posts: 188

Re: [6.7] [beta] Instant Messenger #202909 01/02/2006 5:31 PM
Joined: Nov 2002
Posts: 188
tgreene Offline
Member
Offline
Member
Joined: Nov 2002
Posts: 188
Any thoughts yet..?

Re: [6.7] [beta] Instant Messenger #202910 01/03/2006 11:37 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
AllenAyres Offline
I type Like navaho
Offline
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
odd, it only works on some pages confused

There's other issues as well, when you click into a forum, the breadcrumb link back to the forum index isn't there, just the category.


- Allen wavey
- What Drives You?
Re: [6.7] [beta] Instant Messenger #202911 01/04/2006 9:31 AM
Joined: Nov 2002
Posts: 188
tgreene Offline
Member
Offline
Member
Joined: Nov 2002
Posts: 188
Bizarre ... I would love to have this mod, but I guess it wasn't to be.

Re: [6.7] [beta] Instant Messenger #202912 01/04/2006 10:23 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
AllenAyres Offline
I type Like navaho
Offline
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
It should work on your forum... I'd check your install of it.


- Allen wavey
- What Drives You?
Re: [6.7] [beta] Instant Messenger #202913 01/05/2006 9:09 AM
Joined: Nov 2002
Posts: 188
tgreene Offline
Member
Offline
Member
Joined: Nov 2002
Posts: 188
I've put the original files back, so I'll attempt a re-hack of it to see if I made a mistake somewhere along the line...

Re: [6.7] [beta] Instant Messenger #202914 01/06/2006 6:30 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
AllenAyres Offline
I type Like navaho
Offline
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
smile Double-check your work in public_common.pl mostly...


- Allen wavey
- What Drives You?
Re: [6.7] [beta] Instant Messenger #202915 01/17/2006 10:43 AM
Joined: Nov 2002
Posts: 188
tgreene Offline
Member
Offline
Member
Joined: Nov 2002
Posts: 188
I should be able to get to re-hacking it today, as I've pretty much been flat on my back since the day after Christmas, when I had a nasty rock climbing accident that screwed up my left leg & foot...

Re: [6.7] [beta] Instant Messenger #202916 01/18/2006 9:30 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
AllenAyres Offline
I type Like navaho
Offline
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
ouch... glad you are doing ok'ish smile


- Allen wavey
- What Drives You?
Re: [6.7] [beta] Instant Messenger [Re: AllenAyres] #311422 09/03/2006 12:25 AM
Joined: Dec 2003
Posts: 49
Nightcrawler Offline
User
Offline
User
Joined: Dec 2003
Posts: 49
Is there a way to allow specific users a different Maximum # Of Files instead of the group option?

For example, I want member 00000387 to be able to upload 10 files rather than his group's 5 files max.


Re: [6.7] [beta] Instant Messenger [Re: Nightcrawler] #311427 09/03/2006 1:42 PM
Joined: Dec 2003
Posts: 49
Nightcrawler Offline
User
Offline
User
Joined: Dec 2003
Posts: 49
^ Please ignore the above. Posted in wrong thread.

Re: [6.7] [beta] Instant Messenger [Re: Nightcrawler] #312596 01/10/2007 4:34 PM
Joined: May 2005
Posts: 12
bpeirce Offline
Junior Member
Offline
Junior Member
Joined: May 2005
Posts: 12
So does this mod work?

Thanks,

- Bill

Re: [6.7] [beta] Instant Messenger [Re: bpeirce] #312605 01/11/2007 12:13 AM
Joined: Jan 2000
Posts: 5,788
Gizmo Online Tapedshut
UBB.Dev / UBB.Wiki Owner
Time Lord
Online Tapedshut
UBB.Dev / UBB.Wiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,788
It worked fine for me in 6.7.3 when i was running it last year...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, UBB.Sitemaps
Re: [6.7] [beta] Instant Messenger [Re: Gizmo] #315997 10/12/2007 5:06 PM
Joined: Aug 2000
Posts: 178
Painfool Offline
Member
Offline
Member
Joined: Aug 2000
Posts: 178
An interesting point was made by a user; If someone selects "Don't Allow anyone to IM Me" - shouldn't they have the right to actually SEND IM's revoked? Anyway or anyone willing to see if thats possible?

Thanks smile Still debating the Threads thing, maybe someday!


Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Basil Fawlty
Basil Fawlty
New Mexico
Posts: 139
Joined: October 2001
Forum Statistics
Forums63
Topics37,523
Posts293,714
Members13,831
Most Online5,166
Sep 15th, 2019
Top Posters(All Time)
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,788
Greg Hard 4,625
Top Posters(30 Days)
isaac 13
Gizmo 1
Today's Statistics
Currently Online 193
Topics Created 0
Posts Made 1
Users Online 2
Birthdays 6
Top Likes Received (All Time)
isaac 27
Brett 7
Morgan 2
DCPhil 1
Slaz 1
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2019 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Snapshot build 20191201.dev)
Responsive Width:

PHP: 5.4.45 Page Time: 0.091s Queries: 89 (0.029s) Memory: 3.5619 MB (Peak: 3.9649 MB) Data Comp: Zlib Server Time: 2019-12-06 21:27:44 UTC
Valid HTML 5 and Valid CSS