SSI Welcome points to wrong directory.

Started by effex, September 16, 2011, 03:54:38 PM

Previous topic - Next topic

effex

Hi, one of my forum members recently brought this issue to my attention. I use the ssi_welcome() function on m front page to allow users to see their pending messages, login, etc. It works fine if you are already logged in, but apparently when you are viewing as a guest it points to the incorrect URL.

For example, if you click the login or register links it points to -

http://www.website.com/index.php?action=login
http://www.website.com/index.php?action=register

When it should point to

http://www.website.com/forum/index.php?action=login
http://www.website.com/forum/index.php?action=register

I didn't notice this issue until SMF 2.0 came out. In 1.X it didn't behave this way. Does anyone have any suggestions on how to change this without breaking anything else? Or would I have to write my own function to make this work the way I want it to. I know that's an option, but would rather use the SSI if possible.

Thanks for any suggestions!

Angelina Belle

SMF 2.0, SMF 2.0.1, or are you still running one of the RC versions?
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

Advertisement: