Author |
Message |
hitwalker
Sells PC To Pay For Divorce

Joined:
Posts: 5661
|
Posted:
Tue Jan 17, 2006 3:12 pm |
|
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? |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Tue Jan 17, 2006 11:50 pm |
|
Is it hard coded in the logic that creates the url? |
|
|
|
 |
hitwalker

|
Posted:
Wed Jan 18, 2006 3:58 am |
|
huh?....meaning?
I guess its the same as its created here on your site raven...  |
|
|
|
 |
hitwalker

|
Posted:
Wed Jan 18, 2006 4:48 am |
|
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

|
Posted:
Wed Jan 18, 2006 5:12 am |
|
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

|
Posted:
Wed Jan 18, 2006 6:27 am |
|
?...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..
So if you could point out what it should be ...would be nice... |
|
|
|
 |
Raven

|
Posted:
Wed Jan 18, 2006 7:03 am |
|
HitWalker wrote: | ?...what you mean by ...break W3C rules? |
|
|
|
|
 |
hitwalker

|
Posted:
Wed Jan 18, 2006 1:25 pm |
|
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

|
Posted:
Wed Jan 18, 2006 2:29 pm |
|
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

|
Posted:
Wed Jan 18, 2006 2:36 pm |
|
okay,ill give it a try.... |
|
|
|
 |
hitwalker

|
Posted:
Thu Jan 19, 2006 4:05 pm |
|
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.  |
|
|
|
 |
|