Author |
Message |
Palbin
Site Admin
![](modules/Forums/images/avatars/Dilbert/Dilbert_-_Dogbert_King.gif)
Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania
|
Posted:
Thu Jun 18, 2009 10:58 am |
|
I'll see what i can do. |
_________________ "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
Site Admin/Owner
![](modules/Forums/images/avatars/45030c033f18773153cd2.gif)
Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Thu Jun 18, 2009 2:38 pm |
|
This does appear to be a ShortLinks issue. I'll alert Montego. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Palbin
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Jun 18, 2009 4:21 pm |
|
I don't think the main problem is with shortlinks, but there does appear to be no "Shortlink" for the link in question. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Palbin
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Jun 18, 2009 6:19 pm |
|
Open ./modules/Forums/viewtopic.php
Find all instances of:
And comment them out.
Code:
//$header_location =
|
Then find all instances of:
Code:
header($header_location . append_sid(".....
|
Change to:
Code:
redirect(append_sid(".....
|
Open ./modules/Forums/includes/functions.php
Find:
Code:
$url = preg_replace('#^\/?(.*?)\/?$#', '/\1', trim($url));
// Redirect via an HTML form for PITA webservers
|
Change to:
Code:
$url = preg_replace('#^\/?(.*?)\/?$#', '/\1', trim($url));
$url = str_replace('&', "&", $url);
// Redirect via an HTML form for PITA webservers
|
Shortlinks still don't work correctly with this, but they will still take you to the topic just not the particular post. I'll post back a solution for shortlinks later. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
Site Admin
![](modules/Forums/images/avatars/0c0adf824792d6d341ef4.gif)
Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Thu Jun 18, 2009 7:39 pm |
|
Yeah, definitely not related to ShortLinks as the link looks the same whether ShortLinks is on or off. Something within phpBB2, I think, is not recognizing this and redirecting. Weird that no-one has ever spotted that before. I wonder how long it has been there... |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Jun 19, 2009 12:28 am |
|
When I said it was a ShortLinks issue, I simply meant there isn't a shortlink to match the supplied link. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Jun 19, 2009 6:23 am |
|
<sigh> Guess my "Next Page" click didn't happen and my lack-of-sleep-mush-brain didn't catch it... I completely missed all of this page of posts before I posted. Sorry about that. Yes, now that this is working again, which was my primary focus as it also wasn't working with SL off, I will need to create the "tap". |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
sockettf
Hangin' Around
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Mar 13, 2009
Posts: 28
|
Posted:
Sat Jun 20, 2009 3:17 pm |
|
Hey, thanks a lot Palbin, now it works with only the missed shortlink tap, but I can do it by myself.
![RavensScripts](modules/Forums/images/smiles/ravensphpscripts.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Palbin
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Jun 20, 2009 5:43 pm |
|
You just need to find the Next/Previous tap and add Newest. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
rustyhook
New Member
![New Member New Member](modules/Forums/images/ranks/1star.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Jan 12, 2006
Posts: 15
|
Posted:
Mon Jun 22, 2009 7:11 am |
|
Thank you very much!!! Just applied this fix and it works great now!!! |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
amber222
Regular
![Regular Regular](modules/Forums/images/ranks/2stars.gif)
![](modules/Forums/images/avatars/blank.gif)
Joined: Jun 09, 2004
Posts: 79
|
Posted:
Mon Nov 30, 2009 11:11 pm |
|
These changes were already made in the version I have. I just noticed that users who login using www get logged out when they click on the newest icon. When you hover over it, it shows www in the link but it actually takes you to the address without www and shows the user as not logged in. How can I fix this? The site url doesn't include www - Should I change it?
Thanks.
Update: I changed the site url to include www but it made no difference. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Palbin
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Dec 01, 2009 4:42 pm |
|
Can you link me to the site so I can see it? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
amber222
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Dec 02, 2009 3:07 am |
|
Thanks for responding, Palbin. I managed to get this working by changing the domain in Forums Configuration to include the www and adding a redirect to the .htaccess file. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|