PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2456
Location: Pittsburgh, Pennsylvania

PostPosted: Thu Jun 18, 2009 10:58 am Reply with quote Back to top

I'll see what i can do.
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Thu Jun 18, 2009 2:38 pm Reply with quote Back to top

This does appear to be a ShortLinks issue. I'll alert Montego.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2456
Location: Pittsburgh, Pennsylvania

PostPosted: Thu Jun 18, 2009 4:21 pm Reply with quote Back to top

I don't think the main problem is with shortlinks, but there does appear to be no "Shortlink" for the link in question.
View user's profile Send private message
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2456
Location: Pittsburgh, Pennsylvania

PostPosted: Thu Jun 18, 2009 6:19 pm Reply with quote Back to top

Open ./modules/Forums/viewtopic.php
Find all instances of:
Code:

$header_location =

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.
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9136
Location: Arizona

PostPosted: Thu Jun 18, 2009 7:39 pm Reply with quote Back to top

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...
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Fri Jun 19, 2009 12:28 am Reply with quote Back to top

When I said it was a ShortLinks issue, I simply meant there isn't a shortlink to match the supplied link.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9136
Location: Arizona

PostPosted: Fri Jun 19, 2009 6:23 am Reply with quote Back to top

<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".
View user's profile Send private message Visit poster's website
sockettf
Hangin' Around


Joined: Mar 13, 2009
Posts: 28

PostPosted: Sat Jun 20, 2009 3:17 pm Reply with quote Back to top

Hey, thanks a lot Palbin, now it works with only the missed shortlink tap, but I can do it by myself.

RavensScripts
View user's profile Send private message
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2456
Location: Pittsburgh, Pennsylvania

PostPosted: Sat Jun 20, 2009 5:43 pm Reply with quote Back to top

You just need to find the Next/Previous tap and add Newest.
View user's profile Send private message
rustyhook
New Member
New Member


Joined: Jan 12, 2006
Posts: 15

PostPosted: Mon Jun 22, 2009 7:11 am Reply with quote Back to top

Thank you very much!!! Just applied this fix and it works great now!!!
View user's profile Send private message
amber222
Regular
Regular


Joined: Jun 09, 2004
Posts: 79

PostPosted: Mon Nov 30, 2009 11:11 pm Reply with quote Back to top

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.
View user's profile Send private message
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2456
Location: Pittsburgh, Pennsylvania

PostPosted: Tue Dec 01, 2009 4:42 pm Reply with quote Back to top

Can you link me to the site so I can see it?
View user's profile Send private message
amber222
Regular
Regular


Joined: Jun 09, 2004
Posts: 79

PostPosted: Wed Dec 02, 2009 3:07 am Reply with quote Back to top

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.
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum