Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 4 1 2 3 4
Joined: Jul 2001
Posts: 29
Junior Member
Junior Member
Offline
Joined: Jul 2001
Posts: 29
D'Oh! Sorry, Jordo.

I don't have the error message in front of me but it says something about a compilation error and a problem with cookies. If you need the exact text, let me know and I'll upload the files again and copy it.

Sponsored Links
Joined: Sep 2001
Posts: 58
vir Offline
Member
Member
Offline
Joined: Sep 2001
Posts: 58
Im running WOL and did the hack twice just to make sure I didn't screw up someplace. It gives me some software compilation error on line 542...
which is...

Code
code:
Line 542: use vars qw($my_pms_cookie);
php acell is off btw

[ 10-29-2001: Message edited by: Virus/ ]

[ 10-29-2001: Message edited by: Virus/ ]

Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
Virus/ - move this line:
Code
code:
to underneath this line:
Code
code:

and lmk if that fixes it. btw what version of ubb are you using?

Joined: Sep 2001
Posts: 58
vir Offline
Member
Member
Offline
Joined: Sep 2001
Posts: 58
ok
im using 6.1.0.2

http://www.df-forcerecon.com/cgi-bin/forum/ultimatebb.cgi

trying it now

[ 10-29-2001: Message edited by: Virus/ ]

Joined: Sep 2001
Posts: 58
vir Offline
Member
Member
Offline
Joined: Sep 2001
Posts: 58
"Execution of ultimatebb.cgi aborted due to compilation errors. " now i get this error.

this is what I did...
Code
code:

Code
code:

still doesnt work...rehacked it and all the code is right

its showing up on the forum page b/c I left the hack in the ubb_lib and public forum summary...

[ 10-29-2001: Message edited by: Virus/ ]

Sponsored Links
Joined: Sep 2001
Posts: 58
vir Offline
Member
Member
Offline
Joined: Sep 2001
Posts: 58
[ 10-29-2001: Message edited by: Virus/ ]

Joined: Jun 2001
Posts: 58
Power User
Power User
Offline
Joined: Jun 2001
Posts: 58
I'm still having trouble getting the file, the server seems to be down. Is there another place to get the files?

Joined: Jun 2001
Posts: 58
Power User
Power User
Offline
Joined: Jun 2001
Posts: 58
Great hack, awesome instructions, THANKS! laugh

So is there any way to move the inbox to the top of the page below the >>Hello ?

Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
Code
quote:</font><hr>Originally posted by intensity:
So is there any way to move the inbox to the top of the page below the >>Hello ?<hr></blockquote>

yea, simply move the large chunk of html/js you added to public_forum_summary.pl. to put it under the >> Hello, thing, move it to underneath this:

<blockquote><font size="1" face="Verdana, Helvetica, sans-serif">code:

Joined: Sep 2001
Posts: 58
vir Offline
Member
Member
Offline
Joined: Sep 2001
Posts: 58
jordo u got any ideas about my problem?

Sponsored Links
Joined: Mar 2001
Posts: 40
Member
Member
Offline
Joined: Mar 2001
Posts: 40
Does this hack now works with UBB 6.1.0.2 and Accelerator?

Joined: Feb 2001
Posts: 28
Member
Member
Offline
Joined: Feb 2001
Posts: 28
getting this error:

Global symbol "$cookieD" requires explicit package name at C:pathcgi-binultimatebb.cgi line 442. BEGIN not safe after errors--compilation aborted at C:pathcgi-binultimatebb.cgi line 539,

NOTE: I am using v 6.1.0.2 and some other hacks (Who's Online, Memberlist, Chat Mod, Avatar)

Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
theangel - it works with 6.1.0.2, not yet with the PHP accel, thought it wont break the PHP accelerator or anything.

Manik - yeah thats the problem Virus was having. you need to follow this step in the whos online instructions:

Code
code:

Joined: Feb 2001
Posts: 28
Member
Member
Offline
Joined: Feb 2001
Posts: 28
That worked thanks jordo!

Joined: Aug 2000
Posts: 22
MrQ Offline
Member
Member
Offline
Joined: Aug 2000
Posts: 22
i have this hack installed and i see the actual
PM Inbox: 0 New Message(s) wording but it never says if you have any msgs just says 0. i probably made some idiot error but i thought i would post for help before i tried it again. Thanks in advance

Joined: Jun 2001
Posts: 43
Member
Member
Offline
Joined: Jun 2001
Posts: 43
Edit #2:

Ok, the above message about moving PM Inbox under the registered line I did on my own...

My question again incase you didn't receive an email is this. Is there a way to take just the PM INBOX message line and move it under the Hello, Name [logout] line?

Tom

[ 11-09-2001: Message edited by: tomjinx1 ]

Joined: Dec 2000
Posts: 371
Member
Member
Offline
Joined: Dec 2000
Posts: 371
Is there a PM adjustment that displays a text and a wav. file with the message that there's a new mail?

Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
MrQ - a url would help a lot...

tomjinx1 - i didnt get an email that i know of. frown
can you explain a little more where you mean though. the registered line and user greeting are on the same line...

Variables - no but it would be easy for anyone who knows JavaScript to do it. ask in the JS forum here im sure someone can help you out...

Joined: Jun 2001
Posts: 43
Member
Member
Offline
Joined: Jun 2001
Posts: 43
figured it out... just had to move a small portion of the code to just between the logout and registered members line...

This is the result which I'm happy with...

[Linked Image]

Tom

Joined: May 2001
Posts: 33
Rio Offline
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 33
Do you mind sharing that bit of info I think that is the best place for it. The users would see it as soon as they log in.

Thanks

Joined: Jun 2001
Posts: 43
Member
Member
Offline
Joined: Jun 2001
Posts: 43
Well it's really up to Jordo...

So Jordo, do you mind if I explain what and where I put my code to get that...?

If not, I can email it to you and you can put that as an optional section in the file...

Let me know...

Tom

Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
i dont mind at all. smile

Joined: Jun 2001
Posts: 43
Member
Member
Offline
Joined: Jun 2001
Posts: 43
Thanks Jordo...

Now, for everyone, here is the link to my instructions... I'm not sure how to display it here because of the cookie statements in the coding keep giving the post errors so here you go...

http://cf3d.hypermart.net/pm-inbox-mod.txt

Please keep in mind that I'm not a coder or programmer of any sort. I know a little html and just move some of the html coding to the same place that the Hello User line is on... If you have a question I will try to help, but you must do exactly like my instructions say... I have an example of the whole section so you will see what my coding looks like...

Tom

Joined: Apr 2001
Posts: 41
Member
Member
Offline
Joined: Apr 2001
Posts: 41
Got it working with both of your hacks!

Also added one of my own...put the notification on the public_forum_page.pl!!!


Works great!!! THANKS A BUNCH!


www.teamfalcononline.com

Joined: Jun 2001
Posts: 36
Member
Member
Offline
Joined: Jun 2001
Posts: 36
Got both working as well on 6.1.0.2! I am so happy about this one, thanks guys! laugh

Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
Quote
quote:
ya i think i forgot to mention that since the cookie is stored on your comp, you can put the notification on any ubb page smile

Joined: Oct 2001
Posts: 24
Junior Member
Junior Member
Offline
Joined: Oct 2001
Posts: 24
I didn't see a reply to the problem of incorrect number of new messages indicated.

Mine always displays "1 new message(s)", whether I have 0,1,2,3, etc.

Another administrator's always says "0 new messages" even when she has messages, so she doesn't bother checking.

Is there a fix for this?

Joined: Jul 2001
Posts: 29
Junior Member
Junior Member
Offline
Joined: Jul 2001
Posts: 29
Installed it on 6.1.0.2. Got a compilation error, line 580 in ultimatebb.cgi. Any idea?

Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
Hussein - recheck ultimatebb.cgi, make sure everything was added correctly.

conniew - read page 4 of this thread, i posted a fix for that on that page.

Joined: Jul 2001
Posts: 29
Junior Member
Junior Member
Offline
Joined: Jul 2001
Posts: 29
Jordo
At the risk of sounding stupid, I have two questions. First, I don't have Who's Online installed...I still use that? Second, if that is the case, that is the ONLY part of the Who's Online instructions I follow...correct? The rest of the hack follows the regular instructions?

Thanks for your patience with my questions!

Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
conniew - my fault. i assumed you had whos online installed since only ppl with it installed had previously reported that error. ill take a deeper look when i get a chance and report back.

Joined: Jul 2001
Posts: 29
Junior Member
Junior Member
Offline
Joined: Jul 2001
Posts: 29
Thanx Jordo. I can send you my modified files if you need them. Let me know.

Joined: Feb 2001
Posts: 54
Member
Member
Offline
Joined: Feb 2001
Posts: 54
Quote
quote:
Thanks for the tip, I also put it in public_topic_page.pl laugh Thanks for the hack Jordo!!

[ 11-17-2001: Message edited by: ericruhl ]

Joined: Nov 2001
Posts: 99
Member
Member
Offline
Joined: Nov 2001
Posts: 99
ok, I dont know what I'm doing wrong, and I followed instructions for the who's online and I have some others such as chat, and the pm box doesn't show up at all no where. I dont know what I'm doing wrong...any clue and btw I dont get any errors it just doesn't show up

Joined: Dec 2000
Posts: 371
Member
Member
Offline
Joined: Dec 2000
Posts: 371
In the ubb_forum_summary.cgi in the PM links hack (i think easy made it) for ubb 6.0, you had to put this 3 times above the: print "$ThisHTML";

$howmuch='0';
if (-e "$vars_config{MembersPath}/pm_users/$user_number.pos") {
open (FILE, "<$vars_config{MembersPath}/pm_users/$user_number.pos");
&lock;
$in=;
$howmuch=$in;
&unlock;
close (FILE);
if ($howmuch eq "yes") {$howmuch = "a"};
$search="";
$replace='You have '.$howmuch.' new PM in your message inbox';
if ($howmuch ne "0") {
$ThisHTML =~ s/$search/$replace/gim;
}
else{
$ThisHTML =~ s/$search//gim;
}
}


In this the code to trigger a wav file when there is a new PM. Could it be possible to do a similar addition in this mod? I hope so.

Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
yes put the in the js/html you add to public_forum_summary.pl for this hack.

Joined: Dec 2000
Posts: 371
Member
Member
Offline
Joined: Dec 2000
Posts: 371
This is the code in public_forum_summary.pl were it should be placed?:



I tried several locations in this code but with various errors. I noticed that when it is placed after 'New Message(s)' the wav file opens but not only when there is mail, it also opens when there is 0 mail. Maybe it's a cookie thing or there must be more code to let this work.

[ 11-20-2001: Message edited by: Variables ]

Joined: Dec 2000
Posts: 371
Member
Member
Offline
Joined: Dec 2000
Posts: 371
I've put an extra document.writeln in it with the wav. link and it works, but it does not recognize the difference between mail and no mail. frown

Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
it should be after the } else {

Joined: Dec 2000
Posts: 371
Member
Member
Offline
Joined: Dec 2000
Posts: 371
Jordo, what happens is that the wav file opens no matter if there is new mail or no mail at all.

Page 2 of 4 1 2 3 4

Link Copied to Clipboard
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
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)