Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.6
Author Message
hitwalker
Sells PC To Pay For Divorce



Joined:
Posts: 5661

PostPosted: Tue Jan 17, 2006 3:12 pm Reply with quote

Ok,

here's the problem.

the popup you get from the forum on pm is messed up somehow.
After testing its certain that IE users on my site dont have a problem but firefox users do.

So to give you an idea,when i receive a message in the popup we usualy see the text ....you have 1 private message etc..

But i see my index in the popup,yeah it looks weird..
So after a lot of testing i wanted to look at the actual popup url.

It should be :Private_Messages&file=index&mode=newpm&popup=1
But mine is:Private_Messages&file=index&mode=newpm&popup=1

See the amp;

uncertain is it if this is caused by the mod_rewrite,i dont know but anyone have a clue how to fix this?
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Tue Jan 17, 2006 11:50 pm Reply with quote

Is it hard coded in the logic that creates the url?
 
View user's profile Send private message
hitwalker







PostPosted: Wed Jan 18, 2006 3:58 am Reply with quote

huh?....meaning?
I guess its the same as its created here on your site raven... Sad
 
hitwalker







PostPosted: Wed Jan 18, 2006 4:48 am Reply with quote

ok its solved with some outside help...

its possible others could have the same problem if they use gt nextgen 0.4

problem was the header code.
a piece of it is:

$s = preg_replace($urlin, $urlout, $s);
return $s;
} #End of Google Tap Header

change to

$s = preg_replace($urlin, $urlout, $s);
if (preg_match("/&/",$s))$s=str_replace("&","&",$s);
return $s;
} #End of Google Tap Header
 
Raven







PostPosted: Wed Jan 18, 2006 5:12 am Reply with quote

You definitely do not want to do that in a blanket fashion. That will break W3C rules for url's containing &. Instead, you will want to find the code that creates the popup url and just tweak that piece of code as I was attempting to refer to in my last post.
 
hitwalker







PostPosted: Wed Jan 18, 2006 6:27 am Reply with quote

?...what you mean by ...break W3C rules?
Can you give an example of what should be tweaked with the code that creates the popup url.
And as for the url...well you have the same as i do.. Smile
So if you could point out what it should be ...would be nice...
 
Raven







PostPosted: Wed Jan 18, 2006 7:03 am Reply with quote

HitWalker wrote:
?...what you mean by ...break W3C rules?


Supporting Documentation wrote:

All special characters in HREF should be encoded. "&" is a reserved character to begin an entity. (ex: &nsbp). "&" in HREF field should be encoded as his equivalent entity "&", even when used as a separator for parameters in the URL. Before to make you an opinion about this, please read carefully this page.

References:
W3C spec: [ Only registered users can see links on this board! Get registered or login! ]
W3C CDATA: [ Only registered users can see links on this board! Get registered or login! ]
HtmlHelp: [ Only registered users can see links on this board! Get registered or login! ]
Very interesting: [ Only registered users can see links on this board! Get registered or login! ]
 
hitwalker







PostPosted: Wed Jan 18, 2006 1:25 pm Reply with quote

Well raven ,this is only in firefox.
IE doesnt have the problem,and as for the compliance...i dont follow that.
This is somehow in firefox and keeping it compatible with browsers is just a pain in the ...
This is not my thing,if you can print out the prefered solution then i could use that...
 
Raven







PostPosted: Wed Jan 18, 2006 2:29 pm Reply with quote

That's just because IE is NOT a standards compliant browser and FF is. IE is a piece of crap when it comes to compliance.

Be that as it may, just locate the forum code that does the popup. Therein will be the code that creates the url. You can correct it there.
 
hitwalker







PostPosted: Wed Jan 18, 2006 2:36 pm Reply with quote

okay,ill give it a try....
 
hitwalker







PostPosted: Thu Jan 19, 2006 4:05 pm Reply with quote

Hello rave,if you read this..
i hope i got the proper area...page_header.php ?

Well i changed the url to 'U_PRIVATEMSGS_POPUP' => append_sid('privmsg.'.$phpEx.'?mode=newpm&popup=1'),

and even took the gt nextgen rules out of the private messages but nothing changed. Sad
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.6

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©