Quote:
reynaldo wrote:
Bélas:
I think there is more to that than just the link not including "www.".
Read my reply to eikke about templates with incorrect  statements.
Hi Reynaldo, 
No, I'm pretty sure that's not it. No wonky html in my templates, as far as I can tell. But I just took another look at mainfile.php and realized that I must have changed the "virtual path to xoops" setting to "http://www.internetadsales.com" from "http://internetadsales.com" at the same time I added the hack code, just to add another variable to the mix. That would explain the basic change in behavior. 
Now, if I switch the setting back to only 
http://internetadsales.com as the "virtual path to xoops" in mainfile.php, XOOPS loads properly on 
http://internetadsales.com with the hack enabled. At that setting and at the URL 
http://www.internetadsales.com, XOOPS loads but the News module is not found.
In the converse situation, specifying 
http://www.internetadsales.com as the virtual path in mainfile.php, everything loads perfectly at that URL but nothing loads at all at 
http://internetadsales.com - completely blank page. 
Things are too chaotic around here at the moment for me to test the four combinations properly (www and no www, each with and without the hack enabled), but I suspect there might be a slim chance the problem has something to do with the way the hack translates the URL for the default start module in the particular case that:
the virtual path to XOOPS is set to 
http://www.etc.etcand
a user attempts to access the site at 
http://etc.etcfor a webserver on which browsing without the www is permitted.
On another site I run, the exact opposite occurs. 
http://aboutmichaeljackson.com has that URL defined as the virtual path and works fine with the hack. The same URL with www, i.e. http//www.aboutmichaeljackson.com suffers from blank page syndrome.
It's not that big a problem, but it would still be preferable to display a partial load of Xoops, minus the default module, than a blank page. I suppose the simplest workaround would be to add another redirector to .htaccess that would add or strip the www as needed. Anyone know a simple line of code to do that?
Cheers,
Béla