|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
One of my most popular hacks is ported 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.
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
thanks LK
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
I think the Netwerkin members like this hack better than any other...
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Correct there X. Use it often. Very nice LK.
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
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...
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
I put it in the multihack file so I forgot about the zip one Fixed
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
, I don't like multihack's, I figure that if something doesn't work, better to blaime myself lol...
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
I agree, multihack is a great little proggy but it's nice to have a choice.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
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
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
The multihack step for cp_wordlets.cgi needs to be adjusted, seems that the spacing in the base code is a bit different
|
|
|
|
Joined: Jul 2001
Posts: 8
Junior Member
|
Junior Member
Joined: Jul 2001
Posts: 8 |
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
|
|
|
|
Joined: Sep 2000
Posts: 441
Member
|
Member
Joined: Sep 2000
Posts: 441 |
@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' i think it was my 'invention' bringing an IMfeature into an ubb... mhnn.. 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
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
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
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
Awwe LK, you never used a 5.x? I think I have a zip here somewhere in my archives lol...
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
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?
|
|
|
|
Joined: Dec 2000
Posts: 78
Member
|
Member
Joined: Dec 2000
Posts: 78 |
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?
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
LK didn't update the "Files Modified". He wants to keep us on our toes and such.
|
|
|
|
Joined: Dec 2000
Posts: 78
Member
|
Member
Joined: Dec 2000
Posts: 78 |
OOOOOh I see - just a little test. Nice Hack - works great
Thanks
|
|
|
|
Joined: Sep 2001
Posts: 93
Member
|
Member
Joined: Sep 2001
Posts: 93 |
is it possible to make the IM sending only avaible for mods and admins ? but every user still can receive ims.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
In Modification Settings in CP, there is 'Who can send IMs?' in the instant message part.
|
|
|
|
Joined: Apr 2003
Posts: 57
Member
|
Member
Joined: Apr 2003
Posts: 57 |
Hi LK .. Haven't you thought about 6.5 yet :rolleyes: ? I need an IM for 6.5 plz
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
|
|
|
|
Joined: Apr 2003
Posts: 57
Member
|
Member
Joined: Apr 2003
Posts: 57 |
I haven't tried it yet .. Does it work ?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
It should
|
|
|
|
Joined: Apr 2003
Posts: 57
Member
|
Member
Joined: Apr 2003
Posts: 57 |
, Okay i'll try it on ur responsibility
|
|
|
|
Joined: Apr 2001
Posts: 103
Member
|
Member
Joined: Apr 2001
Posts: 103 |
Works in 6.5 like a charm.
Don't worry about people stealing your ideas. If your ideas are any good, you'll have to ram them down people's throats.
|
|
|
|
Joined: Apr 2003
Posts: 57
Member
|
Member
Joined: Apr 2003
Posts: 57 |
I got the same problem that tiger had mentioned !
|
|
|
|
Joined: Apr 2003
Posts: 57
Member
|
Member
Joined: Apr 2003
Posts: 57 |
I've added the previous version with ur new code up here .. every thing okay now except one thing Nobody recieved my IMs. Could you help me please, LK ?
|
|
|
|
Joined: Apr 2001
Posts: 103
Member
|
Member
Joined: Apr 2001
Posts: 103 |
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
Don't worry about people stealing your ideas. If your ideas are any good, you'll have to ram them down people's throats.
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
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 I could be wrong but I think if the users clear their Temp Internet Files and Cookies they won't get repeated messages. Why are you unable to download the Addon Mod?
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
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.
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
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.
|
|
|
|
Joined: Apr 2001
Posts: 103
Member
|
Member
Joined: Apr 2001
Posts: 103 |
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?
Don't worry about people stealing your ideas. If your ideas are any good, you'll have to ram them down people's throats.
|
|
|
|
Joined: Apr 2001
Posts: 103
Member
|
Member
Joined: Apr 2001
Posts: 103 |
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)
Don't worry about people stealing your ideas. If your ideas are any good, you'll have to ram them down people's throats.
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
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.
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
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]
|
|
|
|
Joined: Oct 2002
Posts: 394
Enthusiast
|
Enthusiast
Joined: Oct 2002
Posts: 394 |
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
|
|
|
|
Joined: Sep 2001
Posts: 93
Member
|
Member
Joined: Sep 2001
Posts: 93 |
quote: Originally posted by Saxeus: P.S. I couldn't download the addon mod for cp try the one for 6.3x it works fine for me
|
|
|
|
Joined: Apr 2003
Posts: 57
Member
|
Member
Joined: Apr 2003
Posts: 57 |
Hi, It's realy a great hack LK :rolleyes: my members keep shouting they want it back 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 ?
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
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.
|
|
|
|
Joined: Apr 2003
Posts: 57
Member
|
Member
Joined: Apr 2003
Posts: 57 |
quote: Originally posted by LK: add:[code][/code]to somewhere in the beginning..
LK IM works on my board now ... It was my fault actually I put the above statement just as you wrote it .. not in one line ... silly me It is really a great hack LK
|
|
|
|
Joined: Mar 2002
Posts: 78
Member
|
Member
Joined: Mar 2002
Posts: 78 |
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...
1998 Firebird Formula with a blower and then some...
|
|
|
|
Joined: Sep 2000
Posts: 441
Member
|
Member
Joined: Sep 2000
Posts: 441 |
|
|
|
|
Joined: Sep 2000
Posts: 441
Member
|
Member
Joined: Sep 2000
Posts: 441 |
|
|
|
|
Joined: Sep 2000
Posts: 441
Member
|
Member
Joined: Sep 2000
Posts: 441 |
|
|
|
|
Joined: Sep 2000
Posts: 441
Member
|
Member
Joined: Sep 2000
Posts: 441 |
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 :-(
|
|
|
|
Joined: Nov 2001
Posts: 170
Member
|
Member
Joined: Nov 2001
Posts: 170 |
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
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
Is this being ported to 6.6?
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
hey randy yes, most likely... we're wrapping our brain around the new cp
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
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.
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
Are there any brave souls that might want to be brave and try to get this to work with 6.6?
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
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
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
The javascript seems to collide with the PM notification I believe.
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
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
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
Hmmm, I never ran 6.5. I know that this hack causes systax errors to show up on all the board's pages.
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
I'll try it this weekend without using the CP, I'll give it a try and try to fix the javascript
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
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.
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
Thanks so much, it works like a champ.
|
|
|
|
Joined: May 2001
Posts: 55
Member
|
Member
Joined: May 2001
Posts: 55 |
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
|
|
|
|
Joined: Sep 2001
Posts: 93
Member
|
Member
Joined: Sep 2001
Posts: 93 |
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
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
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. 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.
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
I can't recreate it, but there is one line in the code that makes me suspicious. in ubb_msg.cgi find $file[$#file + 1] = "$user_number||\n\n$in{message}||$GotTime{HyphenDate}||$GotTime{Time}"; replace with: $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
|
|
|
|
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
|
Admin Emeritus
Joined: Jan 2000
Posts: 5,073 |
The syntax "$#varname" can be applied to the array "@varname". It retrieves the number of elements in the array.
UBB.classic: Love it or hate it, it was mine.
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
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?
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
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?
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
< has absolutely no clue, haven't ever used the trusted site feature
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
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.
|
|
|
|
Joined: Aug 2003
Posts: 71
Member
|
Member
Joined: Aug 2003
Posts: 71 |
LK, why don't you upgrade the IM mod into 6.6 or .7 we'll be waiting 4 it
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
Mrs.B, he tends to only upgrade items on request... But then again I've wanted UBB.Time back for a while ...
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
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+?
|
|
|
|
Joined: Aug 2003
Posts: 71
Member
|
Member
Joined: Aug 2003
Posts: 71 |
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
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
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
|
|
|
|
Joined: Feb 2004
Posts: 6
Junior Member
|
Junior Member
Joined: Feb 2004
Posts: 6 |
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. I installed everything correctly and it still doesn't work. I have 6.5... What happens is that it claims the IM has been sent but it never appears.
|
|
|
|
Joined: May 2001
Posts: 55
Member
|
Member
Joined: May 2001
Posts: 55 |
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
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
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...
|
|
|
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.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|