In working on the new BBtoNuke port, I have almost everything working in reference to 100% W3C compliance.
I do have one small, annoying problem remaining.
To give a little background, one of the problems that faced this port was issues relative to rogue "&" symbols that should be followed by amp;
In working on this, I have fixed them all except ONE.
Here's the problem.
In the includes/sessions.php there is the following code:
Code:
else if ((ereg("privmsg", $url)) && (!ereg("highlight=privmsg", $url)))
{
$url = str_replace("?", "&", $url); // As we are already in nuke, change the ? to &
$url = str_replace("privmsg.php", "modules.php?name=Private_Messages&file=index", $url); // and put it back for the modules.php
Now normally, to fix several compliance errors on FORUMS pages, I would have changed all of those to have the amp; function; however, in this particular case, I cannot due to the below:
The issue is this, because of the append_sid function, it would convert the link used for the popup into having the amp; functions in the link properties for the popup screen itself, with the result looking something like:
http://yourdomain.com/modules.php?name=Private_Messages&file=index.ph, etc...
Meaning, it would put the amp; in there and thus, the window would not LOOK right in that it would bring up a full page window inside the dimensions of the popup window.
The only way to fix that issue, is to remove the amp; functions from the sessions.php.
So... the question becomes, can I change the properties of the page_header.php to remove the append sid function and give a physical hard coded value that wouldn't mess this whole deal up? This would allow me to adjust the sessions.php functions to include the amp; function which would fix dozens of screens in forums as well as Private_Messages.
Ideas?
P.S. This is the problem with this popup window here!
Before getting any feedback, I wanted to give a heads-up that I have changed the sessions.php to:
Code:
else if ((ereg("privmsg", $url)) && (!ereg("highlight=privmsg", $url)))
{
$url = str_replace("?", "&", $url); // As we are already in nuke, change the ? to &
$url = str_replace("privmsg.php", "modules.php?name=Private_Messages&file=index", $url); // and put it back for the modules.php
}
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