2
   

New Posts Not Registering [phpbb]

 
 
Reply Sat 8 Nov, 2003 02:19 pm
I am hosting a forum for a friend at the address of mrbobdouglasDOT[com]/sickforums

They have a shortcut url at sickforums.2ya.com

When you log in, and view a post that is labeled 'New posts', it does not set it as 'New posts' after you read it and shows up as not been read before.

However, when you goto the exact URL, it will work fine.

Ideas? I was thinking about adding code into the index file to make it redirect to the real url if they are using the shortcut, but I am not sure of the code to do it..
Thanks

Im using the latest version of phpbb.
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Discussion • Score: 2 • Views: 1,427 • Replies: 5
No top replies

 
Craven de Kere
 
  1  
Reply Sat 8 Nov, 2003 11:20 pm
It will only support one URL for the cookie unless you do a complicated install involving duplicate user databases etc. Choose which one you want the cookie to support and specify that URL in the administration panel.
0 Replies
 
BobbyDouglas
 
  1  
Reply Sun 9 Nov, 2003 12:57 am
So there isn't a way to check if the domain=something.com and if domain=something.com it will redirect to something else?
0 Replies
 
Craven de Kere
 
  1  
Reply Sun 9 Nov, 2003 01:37 am
Sure, I even wrote you a quick javascript that does that:

Redirect if the code is called from the wrong page

Thing is, that's going about it the wrong way. The links should simply be setup correctly and there will be no need for a workaround.

Basically what I am saying is to not create the problem instead of creating workarounds for the problem.

The script I just posted won't work if Javascript is turned off, for example.

I'm writing another quick script related to this right now you can find it in the script portal I linked to above.
0 Replies
 
BobbyDouglas
 
  1  
Reply Sun 9 Nov, 2003 01:52 am
"Thing is, that's going about it the wrong way. The links should simply be setup correctly and there will be no need for a workaround."
- Even when using the exact URL(which I am) free subdomain hosting sites just as 2ya(like i am using on mine) won't work like that.
0 Replies
 
Craven de Kere
 
  1  
Reply Sun 9 Nov, 2003 02:09 am
Ok, that redirection system uses frames. You can simply use code on your page to break out of frames.

Break frames script
0 Replies
 
 

Related Topics

Webdevelopment and hosting - Question by harisit2005
Showing an Ico File - Discussion by Brandon9000
how to earn money in internet - Discussion by rizwanaraj
The version 10 bug. Worse then Y2K! - Discussion by Nick Ashley
CSS Border style colors - Question by meesa
There is no Wisdom in Crowds - Discussion by ebrown p
THANK YOU CRAVEN AND NICK!!! - Discussion by dagmaraka
I'm the developer - Discussion by Nick Ashley
 
  1. Forums
  2. » New Posts Not Registering [phpbb]
Copyright © 2024 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.03 seconds on 04/24/2024 at 01:33:43