|
Joined: Jun 2001
Posts: 43
Member
|
Member
Joined: Jun 2001
Posts: 43 |
First off... I love all your mods LK. Secondly, I am using UBB 6.2.1.1 and hope to upgrade to 6.3 someday soon. However I have a lot of modifications in my board and don't really want to change anything. My problem is that in the public_common.pl you say to look for [/code]And I don't have that. I have
</pre></div></div>Now I have fiddled with the coding and it comes up fine when you click on the IM link. You can select a person and type in a message but when I click on the button to send it, I get this<br><br> [code] I don't know if this has to do with the public_common.pl but I hope to get it running soon. This would be a cool addition to my boards.
I use my board for my works intranet so there isn't a connection to it through the internet, so hopefully I have given you enough to go on. If you need me to send you the modified files, please let me know and I will get them to you.
Thanks Tom
|
|
|
|
Joined: Mar 2002
Posts: 99
Member
|
Member
Joined: Mar 2002
Posts: 99 |
all my header links are buttonas and now i would like to turn the "im" to a button. how would i do that? i'm using UBB classic 6.3.0.1 and JC Templates @ www.djghost.net thanks.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Variables, not that I know... Tom, open ubb_msg.cgi. Find: "&DirExists". Replace with: "-d" (without the quotes). gost, just use  in IM wordlets for im_link.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Updated to work with 6.3.1  (also doesn't support 6.2.0 anymore)
|
|
|
|
Joined: Jul 2001
Posts: 8
Junior Member
|
Junior Member
Joined: Jul 2001
Posts: 8 |
LK ,, it dose not work for ubb.classic 6.3.1
you said the ultimatebb.php most be modified but you didnt say anything about it in txt file ?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
ultimatebb.php shouldn't be modified anymore, sorry that I forgot to remove it from the list... About the part that it doesn't work: URL and test user/password?
|
|
|
|
Joined: Jul 2001
Posts: 8
Junior Member
|
Junior Member
Joined: Jul 2001
Posts: 8 |
okay LK,, but what about ubb_lib.cgi and ubb_lib_files.cgi ?
you didnt say anything about them in the text file !
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
If I didn't say anything, you don't have to modify it anymore!!!!!!!!!!!!  Now do you have a user/pass and URL? 
|
|
|
|
Joined: Jul 2001
Posts: 8
Junior Member
|
Junior Member
Joined: Jul 2001
Posts: 8 |
LK check your private msg 
|
|
|
|
Joined: Dec 2000
Posts: 371
Member
|
Member
Joined: Dec 2000
Posts: 371 |
LK, some members noticed that the returnbutton of their browser must be pulled twice or somethimes more to return to the previous page. Another member has noticed that the IM refreshes the page and causes a sort of invisible layer over the forum. If the page is refreshing 5 times, people have to click 5 times on the returnbutton to go back to the previous page. How can i solve this?
|
|
|
|
Joined: Jul 2002
Posts: 20
Junior Member
|
Junior Member
Joined: Jul 2002
Posts: 20 |
I've had people complain about it as well. Hoping there is a fix for it. 
|
|
|
|
Joined: Nov 2001
Posts: 170
Member
|
Member
Joined: Nov 2001
Posts: 170 |
LK This hack is one that I rely like I had some problem with it. I have change some thing about it to make it run on my board. First of all you have mentioned in im.txt code:
************************* * Open public_common.pl * *************************
Find: =====
# Forum Home push(@items, qq(<a href="$ULTIMATEBB" title="$vars_wordlets{forum_acronym}">$vars_wordlets{forum_home_link}</a>));
Add after: ==========
# IM push(@items, qq(<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=msg" title="$vars_wordlets_im{im}">$vars_wordlets_im{im_link}</a>)) if ($vars_modifications{instant_message_perms} ne 'none');
I cold not find this in public_common.pl * But I found this code: [qb] ************************* * Open ubb_lib.cgi * *************************
Find: ===== # Forum Home push(@items, qq(<a href="$ULTIMATEBB"><acronym title="$vars_wordlets{forum_acronym}">$vars_wordlets{forum_home_link}</acronym></a>)); Add after: ========== # IM push(@items, qq(<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=msg" title="$vars_wordlets_im{im}">$vars_wordlets_im{im_link}</a>)) if ($vars_modifications{instant_message_perms} ne 'none'); [/qb] in ************************* * Open ubb_msg.cgi* *************************
Find: ===== unless (&DirExists("$vars_config{MembersPath}/popup")) { mkdir ("$vars_config{MembersPath}/popup", 0777); chmod(0777, "$vars_config{MembersPath}/popup"); } replace it by ===== unless (-e "$vars_config{MembersPath}/popup" ) { mkdir ("$vars_config{MembersPath}/popup", 0777); chmod(0777, "$vars_config{MembersPath}/popup"); }
============== the header of ubb_checkmsg.cgi should be like this ============== #!/usr/bin/perl use CGI ':standard'; BEGIN { # get our modules directory set up ($0 =~ m!(.*)(\|/)[^/\]+!) && unshift(@INC, $1, "$1$2Modules"); } use lib("./Modules", "."); # if there's no $0, or it's not sane... use strict; use Fcntl ':flock'; use UBBCGI qw(:cgi); # CGIPath/Modules/UBBCGI.pm use UBBCGI::Carp qw(fatalsToBrowser set_message); # CGIPath/Modules/UBBCGI/Carp.pm use vars qw(@ubber $line @message $username %vars_wordlets_date %vars_wordlets_im $password $user_number @msg_profile $HTML $username @messages $HTML $random $refresh %vars_config $filehandle %vars_modifications);
require "vars_config.cgi"; require "$vars_config{CGIPath}/ubb_lib.cgi"; &RequireCode("$vars_config{CGIPath}/ubb_lib_files.cgi"); &RequireCode("$vars_config{CGIPath}/ubb_lib_time.cgi"); &RequireVars("$vars_config{VariablesPath}/vars_modifications.cgi"); &RequireVars("$vars_config{VariablesPath}/vars_wordlets_im.cgi"); &RequireVars("$vars_config{VariablesPath}/vars_wordlets_date.cgi"); &RequireCode("$vars_config{CGIPath}/ubb_lib_filehandler.cgi"); &RequireCode("$vars_config{CGIPath}/ubb_lib_filehandle.cgi"); $filehandle = new UBB::FileHandler(%vars_config); do not asck me why I do not know why but this is how I made it work with me thanks again for this grate hack
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
wwb, you're not using 6.3 then. BTW, in ubb_msg.cgi it's -d, not -e 
|
|
|
|
Joined: Jul 2002
Posts: 20
Junior Member
|
Junior Member
Joined: Jul 2002
Posts: 20 |
LK: Is there a way to stop the Iframe being in your 'back' history?
Eric
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
There is a way, I think can
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
I can't get it to work, sorry 
|
|
|
|
Joined: Sep 2002
Posts: 26
Junior Member
|
Junior Member
Joined: Sep 2002
Posts: 26 |
I installed this hack along with the modaddon hack and cleared my cache... I can config the settings in th CP but when I go to the messageboard I am unable to locate the IM function? Nor the spell check and all the other mod that modaddon includes. Please help. Thanks www.filambasketball.com/cgi-bin/ultimatebb.cgi
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Updated to remove that thingy, redownload instant message 1.2.6, re-upload ubb_checkmsg.cgi, rehack public_common.pl and cp_modaddon.cgi.
|
|
|
|
Joined: Sep 2000
Posts: 441
Member
|
Member
Joined: Sep 2000
Posts: 441 |
...still grinning about the fact that the instant message-addOn for an ubb was my idea years ago *G* - i'll give it a try when updating to 6.3 regards, chris http://technoforum.de hosting 560.000 messages
|
|
|
|
Joined: Nov 2001
Posts: 170
Member
|
Member
Joined: Nov 2001
Posts: 170 |
I have done similar to this one Which Raichu Babai has shown in 6.2 mod With the exception each IM open in a window and it has a form for replay LK can I place the modification hear Thank in advance
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Sure you can 
|
|
|
|
Joined: Nov 2001
Posts: 170
Member
|
Member
Joined: Nov 2001
Posts: 170 |
LK I have upload the file that I have done some modification in it in this zip file
http://www.qosman.net/~aborasheed/im.zip
Pleas check it and if I have done error pleas delete this post
|
|
|
|
Joined: Oct 2002
Posts: 394
Enthusiast
|
Enthusiast
Joined: Oct 2002
Posts: 394 |
Is there a trick or something? I followed everything down to the last letter, is not working. I have the im link in the corner, the window pos out alright, the message " Message Sent" comes on....but that is it...nobody gets anything. should I be able to send it to myself as well? that doesnt work either. anybody can help me out? I am on 6.3.1.1 with: No Mod CP Addon PM 1.2 System installed only.- works good PS in the LK's instructions header is said that: quote: * FILES MODIFIED: public_common.pl, ubb_lib_files.cgi, ultimatebb.cgi, * * cp_common.pl, cp_wordlets.cgi, ubb_lib.cgi, ultimatebb.php * ********************************************************************************* But following the instructions there is no file ubb_lib_files.cgi, ubb_lib.cgi, and ultimatebb.php to modify? I dont understand. Thanks in advance Felix
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
I need a demo username/password and a URL (if it's not the one in your profile).
About FILES MODIFIED, please ignore it in all my hacks, I don't update it.
|
|
|
|
Joined: Oct 2002
Posts: 394
Enthusiast
|
Enthusiast
Joined: Oct 2002
Posts: 394 |
I've sent everything that you needed through PM.
Thank you
Felix
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
The problem is because of Netfirms, his *cough*free*cough* host. They add an advertizement to every page, so if I use
|
Joined: Oct 2002
Posts: 394
Enthusiast
|
Enthusiast
Joined: Oct 2002
Posts: 394 |
I see.
Any solutions other than pay for hosting?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
|
|
|
|
Joined: Oct 2002
Posts: 394
Enthusiast
|
Enthusiast
Joined: Oct 2002
Posts: 394 |
quote: Originally posted by LK: Done, please everybody upgrade to 1.2.5 by only re-uploading ubb_msg.cgi and ubb_checkmsg.cgi, and re-hack cp_modaddon.cgi LK, are all these changes reflected in 1.2.6. now? I cant get these new feature ( reply all) with 1.2.6. downloaded like a week an a half ago.
|
|
|
|
Joined: Mar 2002
Posts: 451
Spotlight Runner-Up
|
Spotlight Runner-Up
Joined: Mar 2002
Posts: 451 |
LK, I think you've forgotten a step.. You're readme doesn't state anything about requiring vars_wordlets_im in the cp.. You know the code, but here's the fix for those that don't.. In cp.cgiFIND THIS: code:
. ADD THIS AFTER (inclusing the space): code: [qb][/qb] . FIND THIS: code:
. ADD THIS AFTER (including the space): code: [qb][/qb] . Upload cp.cgi to your CGI Directory, CHMOD 755, clear the cache for good measure and you're done. 
|
|
|
|
Joined: Nov 2002
Posts: 30
Junior Member
|
Junior Member
Joined: Nov 2002
Posts: 30 |
THNX Oblivion Knight that worked 
|
|
|
|
Joined: Nov 2001
Posts: 70
Member
|
Member
Joined: Nov 2001
Posts: 70 |
LK, installing this and got to public_common.pl it says replace:
$Footer = qq~ ~;
with
$Footer = qq~~;
as I already have chat mod installed my $Footer = qq~~; looks like: $Footer = qq~~;
what should I do ?
(used scr ipt instead of script as it wouldn't allow me to post this with the word script in it) thanks
|
|
|
|
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
|
Moderator / Code Fixer
Joined: Oct 2000
Posts: 743 |
Directly After: code:
$Footer = qq~<scr ipt type="text/javascript" language="JavaScript" src="$vars_config{CGIURL}/chat.cgi"></scr ipt><center>~;
Add This: code: [qb]$Footer .= qq~<scr ipt type="text/javascript" language="JavaScript" src="$vars_config{CGIURL}/ubb_checkmsg.cgi"></scr ipt><center>~; [/qb] What this will do is combine the 2 bits of java script into the Footer string so they both get output when called.
I can't afford a good signature editor
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Actually they're both doing the same, I suggest you to use only the ubb_checkmsg.cgi one 
|
|
|
|
Joined: Jul 2002
Posts: 51
Member
|
Member
Joined: Jul 2002
Posts: 51 |
When I try to load WWB's reply hack, I get a Syntax error on Line 1. I loaded the backups in and narrowed it down to the ubb_checkmsg.cgi script. I cannot see any specific errors and I double checked the chmod. Is there anything I might be doing wrong or has anyone else tried this with different results?
Thanks for the brainwork in this, it works wonderfully in 6.3.1 and the members love it.
|
|
|
|
Joined: Jul 2002
Posts: 51
Member
|
Member
Joined: Jul 2002
Posts: 51 |
Just curious if anyone has had this problem? (post just prior to this very obvious ploy at a bump  ) Thanks
|
|
|
|
Joined: Oct 2002
Posts: 394
Enthusiast
|
Enthusiast
Joined: Oct 2002
Posts: 394 |
quote: Originally posted by wwb95: LK I have upload the file that I have done some modification in it in this zip file
http://www.qosman.net/~aborasheed/im.zip
Pleas check it and if I have done error pleas delete this post LK, Did you ever check this? I had IM working before , since I instelled his file is not working and I get an error on the Forum page. Can you check please. URL Thank you again.
|
|
|
|
Joined: Dec 2002
Posts: 6
Junior Member
|
Junior Member
Joined: Dec 2002
Posts: 6 |
I am not sure if someone asked this question before but is there a way to make the IM hack work just like In UBBv5 becuase that one seemed a bit more advanced and more how you say eye catching.
popup window, tells if they are online or not. next to their name. and if you clicked on it a popup would come up and you type in the message and send then it would popup for them and they could resend them...
I think it was a bit better then a popaleart dont you.
Well if anyone, anyone at all could help me with this I would be at most greatful.
[--This will be added in some time--]
|
|
|
|
Joined: Dec 2002
Posts: 8
Junior Member
|
Junior Member
Joined: Dec 2002
Posts: 8 |
I use this hack for my forum but when someone send me IM, it appear repeatly so many time.
|
|
|
|
Joined: Dec 2002
Posts: 8
Junior Member
|
Junior Member
Joined: Dec 2002
Posts: 8 |
I use this hack for my forum but when someone send me IM, it appear repeatly so many time.
|
|
|
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: 417
Joined: November 2001
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|
|
|
 |
 |
 |
| | | |
|