| Author |
Message |
Palbin Site Admin

Joined: Mar 30, 2006 Posts: 2456 Location: Pittsburgh, Pennsylvania
|
Posted:
Thu Jun 18, 2009 10:58 am |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Thu Jun 18, 2009 2:38 pm |
|
This does appear to be a ShortLinks issue. I'll alert Montego. |
|
|
|
 |
Palbin Site Admin

Joined: Mar 30, 2006 Posts: 2456 Location: Pittsburgh, Pennsylvania
|
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. |
|
|
|
 |
Palbin Site Admin

Joined: Mar 30, 2006 Posts: 2456 Location: Pittsburgh, Pennsylvania
|
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. |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 9136 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... |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
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. |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 9136 Location: Arizona
|
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". |
|
|
|
 |
sockettf Hangin' Around

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.
 |
|
|
|
 |
Palbin Site Admin

Joined: Mar 30, 2006 Posts: 2456 Location: Pittsburgh, Pennsylvania
|
Posted:
Sat Jun 20, 2009 5:43 pm |
|
You just need to find the Next/Previous tap and add Newest. |
|
|
|
 |
rustyhook New Member


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!!! |
|
|
|
 |
amber222 Regular


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. |
|
|
|
 |
Palbin Site Admin

Joined: Mar 30, 2006 Posts: 2456 Location: Pittsburgh, Pennsylvania
|
Posted:
Tue Dec 01, 2009 4:42 pm |
|
Can you link me to the site so I can see it? |
|
|
|
 |
amber222 Regular


Joined: Jun 09, 2004 Posts: 79
|
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. |
|
|
|
 |
|
|
|
|