Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Daine #234931 03/24/2003 10:17 PM
Joined: Oct 2002
Posts: 26
User
User
Offline
Joined: Oct 2002
Posts: 26
the query is only when i install 67476-ProfileStatusBar1.1 in changebasic.php.....this i find out already.
+++++++++++++++++++++++++++++++++++++++++++++++
just find out...some copie was not ok...now it works :-)

Last edited by patt; 03/24/2003 10:24 PM.
Sponsored Links
Joined: Aug 2002
Posts: 218
Member
Member
Offline
Joined: Aug 2002
Posts: 218
After moving the forum to another webspace this hack is not working anymore. A window is popping up but its empty. Can someone please help me get this working again?

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Might be the register globals on/off issue between servers. I think the fix is in this thread - but make sure the popup has the needed get_input functions in if register globals is setup differently.

Joined: Aug 2002
Posts: 218
Member
Member
Offline
Joined: Aug 2002
Posts: 218
Register globals are ON on the new server. I cannot check how this was on the old one cause this was only a virtual machine and I have no access to php.ini to check this.


Joined: Jan 2001
Posts: 56
Member
Member
Offline
Joined: Jan 2001
Posts: 56
Post deleted by p74vic

Sponsored Links
Joined: Jan 2001
Posts: 56
Member
Member
Offline
Joined: Jan 2001
Posts: 56
ok.. disregard last post (i deleted it), fixed the parse error... now I have a question..

I logged in and had TWO pm's waiting, everytime I went to a new page, the PM page, the reply page, the pm page again, and the replay page again to reply to my pm's, it popped up telling me I had a message... is there a way to make it so it only pops up like once per hour or per session?

Jason

Last edited by p74vic; 05/19/2003 12:29 AM.
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Like the standard "flasher" for PMs, it checks for it every page load. It's tied to that same "mechinasm".

But it forces people to read their PMs right away... which is what I wanted.

Joined: Feb 2001
Posts: 104
Journeyman
Journeyman
Offline
Joined: Feb 2001
Posts: 104
Hey Josh, Is this version good for 6.3 also?


Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Haven't had a need to use it under 6.3. Should be, but I'm not sure. Untested.

Joined: Mar 2003
Posts: 118
Journeyman
Journeyman
Offline
Joined: Mar 2003
Posts: 118
I just installed the 2.2 version. I am using UBB threads 6.3.1

I am getting this error in the popup window:

Parse error: parse error, unexpected $ in /home/tampains/public_html/ubbthreads/messagepopup.php on line 60


I looked at line 60 and it is just this:

<title>Private Message Popup</title>

I went and moved that down a line to see if the error followed it and the error did come back showing to be on line 61.

Why would that line be causing the parse error? Also I heard no sound effect either. I am using IE 6.

-Buddy

Sponsored Links
Joined: Aug 2000
Posts: 1,609
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,609
Actually, line 60 in the stock code is:

Code
UBBTPRINT;


...according to BeyondCompare.

Joined: Mar 2003
Posts: 118
Journeyman
Journeyman
Offline
Joined: Mar 2003
Posts: 118
[]DLWebmaestro said:
Actually, line 60 in the stock code is:

Code
UBBTPRINT;


...according to BeyondCompare. [/]


I double checked again. Reverified I copied and pasted via the instructions correctly. The line with UBBTPRINT; is actually line 68. That's straight out of the zip file.

The line the error says is the problem is line 60 which says:
<title>Private Message Popup</title>

... any other ideas?


also, the messagepopup.php file does say it's only 1.0 modified last November. Is that right? Is there a newer version of this file out there to fit the .threads 6.3?

-update-
I played with the coding a bit. Still getting that parse error but I did find that it's all in the UBBTPRINT function.

If I remove this all together... :

Code
 echo <<<UBBTPRINT <br /><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <br /><html> <br /><head> <br /><title>Private Message Popup</title> <br /><meta http-equiv="Refresh" content="$refreshtime;url={$config['phpurl']}/messagepopup.php?Cat=$Cat" /> <br /></head> <br /><body> <br /><body bgcolor="#ffff33"> <br />$output <br /></body> <br /></html> <br />UBBTPRINT; 


...I will just get an empty pop up window with no error message. So does that mean this is incompatible code for 6.3?

I have attached the messagepopup.php file I have.

Thanks again.
Attachments
91770-messagepopup.txt (0 Bytes, 165 downloads)

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
I thought there was a more updated one in this thread... but must not have made the zip.

Download the attached file.... change the .txt to .php and try that. If it works let me know and I'll add it into the zip.... but I think this one is more current.
Attachments
91821-messagepopup.txt (0 Bytes, 161 downloads)

Joined: Mar 2003
Posts: 118
Journeyman
Journeyman
Offline
Joined: Mar 2003
Posts: 118
Hey...now that worked like a beaut! I really appreciate it. Now I just need a sub-forums hack and i'll be good to go. I won't hold my breath on that though.

Thanks Josh.

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Don't know how the old one got in the ZIP. But I updated the main post in the thread.....
Thanks for testing it out.

Joined: Apr 2003
Posts: 359
Enthusiast
Enthusiast
Joined: Apr 2003
Posts: 359
Mmmmm, anyone test this out on v6.4 yet?

Joined: Mar 2000
Posts: 180
Member
Member
Offline
Joined: Mar 2000
Posts: 180
Also a 6.4 user, and wouldn't mind seeing this...anyone else?

Joined: Jan 2003
Posts: 141
Journeyman
Journeyman
Offline
Joined: Jan 2003
Posts: 141
I have it on 6.4 It's been awhile but if I remember correctly it went on no problems.

Joined: Mar 2000
Posts: 180
Member
Member
Offline
Joined: Mar 2000
Posts: 180
Anyone else tried this on 6.4??

Joined: Feb 2005
Posts: 7
Lurker
Lurker
Offline
Joined: Feb 2005
Posts: 7
Is everyone trying this on UBBThreads 6.5 or. 6.5.1?

Joined: Mar 2003
Posts: 118
Journeyman
Journeyman
Offline
Joined: Mar 2003
Posts: 118
Yes... lets bring this back for 6.5.1!!!!!!

Joined: Jul 2002
Posts: 79
Power User
Power User
Offline
Joined: Jul 2002
Posts: 79
Yes PLEASE

Page 2 of 2 1 2

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)