UBB.Dev
Posted By: LK [6.4 - 6.5] Instant Message - 01/03/2003 3:29 PM
One of my most popular hacks is ported smile

Name: Instant Message

Description: Lets the users IM other users. Linked from the MainButtonLine.

Link: ZIP File or MultiHack File

Demo: http://www.lkworld.com (gotta be registered)

Requirement: UBBâ„¢ 6.4.0

Number of Downloads: [img]https://ubbdev.com/lk/num.php?s=im64.zip,im64.mhp[/img]

Thanks to: brett (raiyan) for javascript loading idea, Kwik for time/select all idea, cal for telling me how to use regex in javascript.
Posted By: AllenAyres Re: [6.4 - 6.5] Instant Message - 01/03/2003 11:01 PM
thanks LK laugh
Posted By: RandyM Re: [6.4 - 6.5] Instant Message - 01/04/2003 12:11 AM
I think the Netwerkin members like this hack better than any other...
Posted By: Lord Dexter Re: [6.4 - 6.5] Instant Message - 01/04/2003 6:36 AM
Correct there X. Use it often. Very nice LK. laugh
Posted By: Gizmo Re: [6.4 - 6.5] Instant Message - 01/04/2003 2:01 PM
LK, isn't the .zip missing vars_wordlets_im.cgi? mainly because there is a call for it and its not there that i can see :x...
Posted By: LK Re: [6.4 - 6.5] Instant Message - 01/04/2003 2:25 PM
I put it in the multihack file so I forgot about the zip one tipsy

Fixed laugh
Posted By: Gizmo Re: [6.4 - 6.5] Instant Message - 01/05/2003 7:21 AM
wink , I don't like multihack's, I figure that if something doesn't work, better to blaime myself lol...
Posted By: RandyM Re: [6.4 - 6.5] Instant Message - 01/06/2003 1:54 AM
I agree, multihack is a great little proggy but it's nice to have a choice.
Posted By: LK Re: [6.4 - 6.5] Instant Message - 01/06/2003 7:01 AM
hmm, I don't think you understand what I mean, I mean that because I added the wordlets file to the MultiHack file I forgot to put that file in the ZIP file, not that I didn't want to shocked
Posted By: AllenAyres Re: [6.4 - 6.5] Instant Message - 01/14/2003 12:37 AM
tipsy

The multihack step for cp_wordlets.cgi needs to be adjusted, seems that the spacing in the base code is a bit different smile
Posted By: The_tiger Re: [6.4 - 6.5] Instant Message - 01/14/2003 12:50 AM
Hi LK,

its a great hack

but my members complain about it

because the IM appear to them every time when they viewing my UBB

and they need to refresh the page to get rid of it

but in the last version of IM nobody complained

i think because you used javascript instead of ifram !!!!

im not expret in these things

can i have a solution
Posted By: technoforum.de Re: [6.4 - 6.5] Instant Message - 01/14/2003 3:39 AM
@LK, hey, i'm missing a comment like 'hey chris, thanks for the idea of the IM-thing you used to coded for 5.x *g* in the earlier times' tipsy i think it was my 'invention' bringing an IMfeature into an ubb... mhnn.. laugh

No, well, i think i'm gonna give it a try as soon as i made the upgrade.. i love the idea but i was too busy to finish that hack even for ubb.v5x :-/

shouts!
chris
http://technoforum.de
Posted By: LK Re: [6.4 - 6.5] Instant Message - 01/14/2003 1:33 PM
tiger - yes, that's why... if you wish, you can add the previous version again, then in ubb_checkmsg.cgi add:[code][/code]to somewhere in the beginning..

techno, I guess I could say that but because I've never used UBB 5.x I didn't know you made an IM hack tipsy
Posted By: Gizmo Re: [6.4 - 6.5] Instant Message - 01/14/2003 6:58 PM
Awwe LK, you never used a 5.x? I think I have a zip here somewhere in my archives lol...
Posted By: PrimeTime Re: [6.4 - 6.5] Instant Message - 03/11/2003 2:57 AM
Since the Javascript is in the footer how long does it take for a user to get an IM that you've sent? Also, is there a setting where I can reset the refresh rate lower to say, 60 seconds?
Posted By: Ed Re: [6.4 - 6.5] Instant Message - 03/22/2003 12:35 AM
In the IM instructions it states:

"FILES MODIFIED: public_common.pl, ubb_lib_files.cgi, ultimatebb.cgi,
cp_common.pl, cp_wordlets.cgi, ubb_lib.cgi, ultimatebb.php

Where are the modifications for - ubb_lib_files.cgi and ubb_lib.cgi?
Posted By: PrimeTime Re: [6.4 - 6.5] Instant Message - 03/22/2003 12:55 AM
LK didn't update the "Files Modified". smile He wants to keep us on our toes and such. eek laugh
Posted By: Ed Re: [6.4 - 6.5] Instant Message - 03/22/2003 6:37 AM
OOOOOh I see - just a little test.
Nice Hack - works great

Thanks
Posted By: Stamoulis Re: [6.4 - 6.5] Instant Message - 04/13/2003 6:00 PM
is it possible to make the IM sending only avaible for mods and admins ? but every user still can receive ims.
Posted By: LK Re: [6.4 - 6.5] Instant Message - 04/13/2003 6:02 PM
In Modification Settings in CP, there is 'Who can send IMs?' in the instant message part.
Posted By: Mr. B Re: [6.4 - 6.5] Instant Message - 04/13/2003 11:16 PM
Hi LK .. Haven't you thought about 6.5 yet :rolleyes: ? I need an IM for 6.5 plz tipsy
Posted By: LK Re: [6.4 - 6.5] Instant Message - 04/13/2003 11:35 PM
Doesn't it work on 6.5?
Posted By: Mr. B Re: [6.4 - 6.5] Instant Message - 04/14/2003 12:41 AM
I haven't tried it yet .. Does it work ?
Posted By: LK Re: [6.4 - 6.5] Instant Message - 04/14/2003 7:55 AM
It should tipsy
Posted By: Mr. B Re: [6.4 - 6.5] Instant Message - 04/14/2003 1:16 PM
shocked , Okay i'll try it on ur responsibility smash
Posted By: Saxeus Re: [6.4 - 6.5] Instant Message - 04/14/2003 2:30 PM
Works in 6.5 like a charm.
Posted By: Mr. B Re: [6.4 - 6.5] Instant Message - 04/14/2003 5:22 PM
I got the same problem that tiger had mentioned !
Posted By: Mr. B Re: [6.4 - 6.5] Instant Message - 04/14/2003 7:14 PM
I've added the previous version with ur new code up here .. every thing okay now except one thing shocked

Nobody recieved my IMs.

Could you help me please, LK smile ?
Posted By: Saxeus Re: [6.4 - 6.5] Instant Message - 04/15/2003 10:41 PM
After 2-3 days of trying, the hack works fine. Except of some members complaining that the same message pops up everytime when they open a page. I guess this is a fault of the browsers they may be using since I've been trying the hack with IE6 and haven't seen any problem.

The only thing I'd like this hack to have, is "radio buttons for members". This way there can't be much abuse. For mods and admins I'd like it to be as it is, in cases they need to send the same message to more than one member.

P.S. I couldn't download the addon mod for cp confused
Posted By: PrimeTime Re: [6.4 - 6.5] Instant Message - 04/16/2003 5:55 AM
Quote
quote:
Originally posted by Saxeus:
After 2-3 days of trying, the hack works fine. Except of some members complaining that the same message pops up everytime when they open a page. I guess this is a fault of the browsers they may be using since I've been trying the hack with IE6 and haven't seen any problem.

P.S. I couldn't download the addon mod for cp confused
I could be wrong but I think if the users clear their Temp Internet Files and Cookies they won't get repeated messages. laugh

Why are you unable to download the Addon Mod?
Posted By: RandyM Re: [6.4 - 6.5] Instant Message - 04/16/2003 7:43 AM
Even with the temp files cleared I have times where I get 10 or 20 of a particular message, and some of my members report the same thing.
Posted By: PrimeTime Re: [6.4 - 6.5] Instant Message - 04/16/2003 11:39 AM
Hmm...If that's the case then it's possible that it's an internal problem and not client error. I haven't experienced repeated messages fortunately. smile
Posted By: Saxeus Re: [6.4 - 6.5] Instant Message - 04/16/2003 12:24 PM
Quote
quote:
Originally posted by PrimeTime:
Why are you unable to download the Addon Mod?
I don't know, but I cannot open any page of multihack.com, seems I can't access that server, it automatically redirects me to auto.search.msn.com because the page cannot be displayed. Weird?
Posted By: Saxeus Re: [6.4 - 6.5] Instant Message - 04/16/2003 12:27 PM
TheX, maybe browser problem? What version do you have?

(P.S. I'm still getting complaints from some users. I even told them to upgrade their browsers to IE6 SP1 LOL)
Posted By: PrimeTime Re: [6.4 - 6.5] Instant Message - 04/16/2003 12:45 PM
Hmm...I've been using Modaddon 1.0 which was made for UBB 6.2 for the past 3 upgraded versions (to 6.4). The instructions are in text. If you want that let me know.
Posted By: PrimeTime Re: [6.4 - 6.5] Instant Message - 04/16/2003 12:50 PM
Hmm...Seems that 1.0 is also the version for UBB 6.3. More than likely no change (or just minor changes) from 6.2 version. Well here is the Modaddon 6.3 version:

[b]Click Here 4 Text Modaddon 6.3[/b]

smile
Posted By: Felix 10 Re: [6.4 - 6.5] Instant Message - 04/16/2003 6:54 PM
LK, I have been asking everybody, including you in https://ubbdev.com/ubbcgi/ultimatebb.cgi?ubb=get_topic;f=20;t=000774;p=9.

Dont mean to be pushy, is there a way to put a reply button on the IM popout?

Thank you,
Felix
Posted By: Stamoulis Re: [6.4 - 6.5] Instant Message - 04/16/2003 9:28 PM
Quote
quote:
Originally posted by Saxeus:

P.S. I couldn't download the addon mod for cp confused
try the one for 6.3x it works fine for me wink
Posted By: Mr. B Re: [6.4 - 6.5] Instant Message - 04/17/2003 12:27 AM
Hi,

It's realy a great hack LK :rolleyes: my members keep shouting they want it back help

I had it before on 6.3 ... now I have upgraded to 6.5 .. I put the new hack & Opss I have a problem.. IM's keeps showing to all members even after clearing the cach!

I tried to figure out where is the problem ? but I didn't get it.. Would anybody please help me ?
Posted By: RandyM Re: [6.4 - 6.5] Instant Message - 04/17/2003 4:45 AM
Quote
quote:
Originally posted by Saxeus:
TheX, maybe browser problem? What version do you have?

(P.S. I'm still getting complaints from some users. I even told them to upgrade their browsers to IE6 SP1 LOL)
I have it happen in IE6 sp1 and Opera 7.x

My members also have it happen in different browsers so it would be difficult for it to be a browser issue.
Posted By: Mr. B Re: [6.4 - 6.5] Instant Message - 04/22/2003 1:35 PM
Quote
quote:
Originally posted by LK:

add:[code][/code]to somewhere in the beginning..

LK laugh IM works on my board now ... It was my fault actually tipsy I put the above statement just as you wrote it .. not in one line shocked ...


silly me shocked

It is really a great hack LK thumbsup
Posted By: DarkFormula Re: [6.4 - 6.5] Instant Message - 05/02/2003 5:42 AM
Is there a way to disable this feature for certain members who don't behave?

There's a few people I don't to have this ability, but I don't wanna turn it off for everyone...
Posted By: technoforum.de Re: [6.4 - 6.5] Instant Message - 05/17/2003 4:22 PM
Posted By: technoforum.de Re: [6.4 - 6.5] Instant Message - 05/18/2003 11:20 PM
Posted By: technoforum.de Re: [6.4 - 6.5] Instant Message - 05/22/2003 6:37 PM
Posted By: technoforum.de Re: [6.4 - 6.5] Instant Message - 05/26/2003 11:56 AM
so, basically it runs now, buuuut i need help because of: a javascriptbug, just look at:

http://technoforum.dyndns.org/cgi-bin/ultimatebb.cgi

line 36
error: document.getElement.Byld(...)
Posted By: technoforum.de Re: [6.4 - 6.5] Instant Message - 05/27/2003 4:31 PM
seems like having serious problems with my internet explorer5.5/6.0 on win98, both hacks to work fine now - except on MY pc which goes slow as soon as i browse a forum like my technoforum.de or even this bbs. while entering a text in the textfield the letters apprea like transferred with 300baud :-(
Posted By: wwb95 Re: [6.4 - 6.5] Instant Message - 08/28/2003 12:31 AM
Thanks lk for this great hack my user rely enjoy it
I am sorry lk I had to edit the post
I thought it will work with JavaScript like what I use in the IFrame
Any way the fix for IFrame is


https://www.ubbdev.com/ubb/upload/00014554/fix_IM.txt
Posted By: RandyM Re: [6.4 - 6.5] Instant Message - 09/08/2003 5:49 AM
Is this being ported to 6.6?
Posted By: AllenAyres Re: [6.4 - 6.5] Instant Message - 09/08/2003 4:08 PM
hey randy smile

yes, most likely... we're wrapping our brain around the new cp smile
Posted By: RandyM Re: [6.4 - 6.5] Instant Message - 09/08/2003 9:33 PM
Woohoo, this is the one hack that I can't do without. The members would kill me (my wife leading the pack) if I upgraded without it.
Posted By: RandyM Re: [6.4 - 6.5] Instant Message - 09/21/2003 4:20 AM
Friendly bump
Posted By: RandyM Re: [6.4 - 6.5] Instant Message - 10/01/2003 10:50 PM
Are there any brave souls that might want to be brave and try to get this to work with 6.6?
Posted By: Ian Spence Re: [6.4 - 6.5] Instant Message - 10/01/2003 11:02 PM
Quote
quote:
Originally posted by Randy.x:
Are there any brave souls that might want to be brave and try to get this to work with 6.6?
once Allen fixes his backup hack, I'll be able to fix the newsfader hack. Then I'll give it a try. I heard LK said something about the javascript being a problem though
Posted By: RandyM Re: [6.4 - 6.5] Instant Message - 10/02/2003 12:00 AM
The javascript seems to collide with the PM notification I believe.
Posted By: Ian Spence Re: [6.4 - 6.5] Instant Message - 10/02/2003 6:30 PM
I'm not positive, but I don't believe that the PM notification script has changed since 6.5, and I believe people had it working on that. I'll give it a look once I can get the templates to work right frown
Posted By: RandyM Re: [6.4 - 6.5] Instant Message - 10/02/2003 10:05 PM
Hmmm, I never ran 6.5. I know that this hack causes systax errors to show up on all the board's pages.
Posted By: Ian Spence Re: [6.4 - 6.5] Instant Message - 10/02/2003 10:21 PM
I'll try it this weekend without using the CP, I'll give it a try and try to fix the javascript smile
Posted By: Ian Spence Re: [6.4 - 6.5] Instant Message - 10/03/2003 12:05 AM
Not including the cp, I've got it working fine with no errors. Didn't actually require any modification though :-/. All I did was move one line. smile
Posted By: RandyM Re: [6.4 - 6.5] Instant Message - 10/03/2003 4:43 AM
Thanks so much, it works like a champ.
Posted By: autostream Re: [6.4 - 6.5] Instant Message - 10/03/2003 8:48 AM
how do I go about making it possible to send IM's to 'guests'??? I dont have to single them out, just a mass im to all of them? Want to send a message asking them to register in real time
thanks in advance
-scott
Posted By: Stamoulis Re: [6.4 - 6.5] Instant Message - 10/03/2003 10:41 PM
i have the modaddon and the megamoderator addon, but my megamoderators cant send any ims now, only admins and mods, what do I have to chnage ?

i am clueless confused
Posted By: RandyM Re: [6.4 - 6.5] Instant Message - 10/10/2003 6:16 PM
Quote
quote:
Originally posted by Weird Al:
Not including the cp, I've got it working fine with no errors. Didn't actually require any modification though :-/. All I did was move one line. smile
Can you think of any reason why this would send the IM to people 10 or more times? I had this problem before but it was rare and random, now it seems to happen all the time.
Posted By: Ian Spence Re: [6.4 - 6.5] Instant Message - 10/10/2003 6:32 PM
I can't recreate it, but there is one line in the code that makes me suspicious.

in ubb_msg.cgi
find
Code
				$file[$#file + 1] = "$user_number||\n\n$in{message}||$GotTime{HyphenDate}||$GotTime{Time}";
replace with:
Code
				$file[$file + 1] = "$user_number||\n\n$in{message}||$GotTime{HyphenDate}||$GotTime{Time}";
It's pointless in me testing this since I can't get the error in the first place, but that # concerned me when I first saw it
Posted By: Charles Capps Re: [6.4 - 6.5] Instant Message - 10/10/2003 8:18 PM
The syntax "$#varname" can be applied to the array "@varname". It retrieves the number of elements in the array.
Posted By: RandyM Re: [6.4 - 6.5] Instant Message - 10/11/2003 3:10 AM
Is it possible that the browser security settings can affect this? In other words, can a cookie setting somehow prevent the browser from marking the message as *read* making it appear over and over?
Posted By: RandyM Re: [6.4 - 6.5] Instant Message - 10/11/2003 9:33 PM
Well, to test this odd-ball theory I added http://*.netwerkin.com to my trusted sites and I no longer get the red privacy report icon at the bottom of the browser page, I get the green checkmark. This is all obvious of course but the strange thing is that I do NOT get multiple IM's anymore.

Am I just imagining things or is it possible that this is a valid observation?
Posted By: Ian Spence Re: [6.4 - 6.5] Instant Message - 10/11/2003 10:40 PM
< has absolutely no clue, haven't ever used the trusted site feature
Posted By: RandyM Re: [6.4 - 6.5] Instant Message - 10/12/2003 1:35 AM
Well, it's nice to only be getting one. I found out that another member that was having the problem was using the back button after recieving an IM and then getting more.
Posted By: Mrs.B Re: [6.4 - 6.5] Instant Message - 01/21/2004 2:07 PM
LK, why don't you upgrade the IM mod into 6.6 or .7 laugh

we'll be waiting 4 it wink
Posted By: Gizmo Re: [6.4 - 6.5] Instant Message - 01/21/2004 10:46 PM
Mrs.B, he tends to only upgrade items on request... But then again I've wanted UBB.Time back for a while smirk...
Posted By: LK Re: [6.4 - 6.5] Instant Message - 01/21/2004 10:52 PM
lol... Mrs.B, I don't really like the way this hack works and it requires much support I can't give, but if anyone else wants to port it be my guest... Gizzy, what's UBB.time? you mean the timezone thing that is included in 6.5+? tipsy
Posted By: Mrs.B Re: [6.4 - 6.5] Instant Message - 01/21/2004 11:41 PM
Quote
Originally posted by LK:

lol... Mrs.B, I don't really like the way this hack works and it requires much support I can't give, but if anyone else wants to port it be my guest...
I would if i could laugh
Posted By: Gizmo Re: [6.4 - 6.5] Instant Message - 01/22/2004 4:42 AM
UBB Thinking Clock :x...
Posted By: LK Re: [6.4 - 6.5] Instant Message - 01/22/2004 8:42 AM
Oh, lol, I believe you can copy & paste it from the 6.1 version or whatever and it'd work (maybe a little bit different because of 6.7's generic wrapper)... though now that you can customize time zones there is no reason to use it tipsy
Posted By: The Little Fire Re: [6.4 - 6.5] Instant Message - 02/21/2004 4:34 AM
Where exactly are these IMs supposed to appear? It says the IM has been sent but no1 has responded. I even tried IMing my friend who was over and logged in at his laptop and still nothing happened. frown

I installed everything correctly and it still doesn't work. frown I have 6.5... What happens is that it claims the IM has been sent but it never appears. help
Posted By: autostream Re: [6.4 - 6.5] Instant Message - 02/29/2004 11:01 PM
how do i get to set the popup window to its own style template??? it uses the standard one and I cant have it show all the banners and other stuff. Just want a simple barebones window popup
Posted By: Gizmo Re: [6.4 - 6.5] Instant Message - 03/01/2004 2:58 AM
I don't believe there is a way to customize the popup as it's just a browser call asking what you want to do...
© UBB.Developers