All times are UTC - 6 hours




Post new topic Reply to topic   Page 1 of 1
 [ 10 posts ] 
Author Message

 Post subject: Forum Topic Hyperlinks
PostPosted: September 10th, 2008, 8:50 am 
Wizard
Wizard
User avatar

Joined: April 24th, 2007, 9:34 pm
Posts: 386
Gender: Male
Status: Offline
Hello, it came to my notice that some of the topics/posts whereby forum members post a hyperlink to another thread etc, sometimes i tend to see the message "The server has moved, please visit .....etc."

Any idea what happen??

An example will here this thread here viewtopic.php?f=221&t=415420

- The hyperlink posted by GameStar has this message once you go into the link....

__________________
Image Image


Top
 Profile
 

 Post subject: Re: Forum Topic Hyperlinks
PostPosted: September 10th, 2008, 9:48 am 
PRACTICAL AND SAFE!
Champion of Saradomin
Champion of Saradomin
User avatar

Joined: January 26th, 2005, 11:38 am
Posts: 5,333
Location: Kent, England
Gender: Male
Status: Offline

Donor: Knight (2008)
That is because we have recently moved sever.

If you look at the link in your address bar now, you will notice it says "http://www.runevillage.com" whilst if you look at the link I posted in the Computer Guide is "http://www.runevillage.net", which is the old server.

You simply have to change the .net to .com. :)

__________________
Image Image Image Image
Image Image Image Image Image Image
Image

Image
--------------------------------------
Doughnut Juice ~ And you're not a normal user, you're like The One Village Staff to Rule Them All.
Henner ~ You're the coolest in my eyes, Gamestar.
Jared ~ You make me lose the game. :[
Rocky Martin ~ Substitute effect: buy less potatoes.


Top
 Profile
 

 Post subject: Re: Forum Topic Hyperlinks
PostPosted: September 10th, 2008, 10:06 am 
Tweaking all the time
Staff Elder
Staff Elder
User avatar

Joined: July 5th, 2003, 7:13 am
Posts: 8,699
Location: Flanders (northern Belgium)
Gender: Male
Status: Offline

Donor: Knight (2012)
Friend of Hiker
I've been meaning to automatically replace all references of "runevillage.net" to "runevillage.com" but then realised it would also replace some that shouldn't be replaced (like these posts explaining the difference between the two), so decided not to.

- Greetz Glodenox :cheese:

__________________
XML, SOAP, XSLT, JavaScript, SQL, Java, CSS, PHP, Scheme, JSP, C#, ASP.NET, VB.NET, PL/SQL, Visual Basic 6.0, C/AL and C (sorted well to less known).


Top
 Profile WWW 
 

 Post subject: Re: Forum Topic Hyperlinks
PostPosted: September 10th, 2008, 2:55 pm 
Village Elder
Village Elder
User avatar

Joined: May 21st, 2005, 12:51 pm
Posts: 3,837
Location: In Holland, unless elsewhere.
Gender: Male
Status: Offline

Donor: Prince (2010)
Can't you do a search for if something is a link or not, Glodenox?

__________________
Image
Quote:
Something has crashed on my pc. I blame /usr/bin/laden

Hidden: 
Ga nooit weg zonder een knuffel
Ga nooit weg zonder een zoen
Want wie het noodlot zal ontmoeten
Kan dit later niet meer doen.

In loving memory of you, Kirsten.

Image Image Image Image


Top
 Profile
 

 Post subject: Re: Forum Topic Hyperlinks
PostPosted: September 10th, 2008, 3:47 pm 
Tweaking all the time
Staff Elder
Staff Elder
User avatar

Joined: July 5th, 2003, 7:13 am
Posts: 8,699
Location: Flanders (northern Belgium)
Gender: Male
Status: Offline

Donor: Knight (2012)
Friend of Hiker
In theory that's possible, but it's really an annoying thing to do (involves using regular expressions, which I'm not too good at).

I haven't seen that many cases where this problem occurs though, so I still don't think I'll bother.

- Greetz Glodenox :cheese:

__________________
XML, SOAP, XSLT, JavaScript, SQL, Java, CSS, PHP, Scheme, JSP, C#, ASP.NET, VB.NET, PL/SQL, Visual Basic 6.0, C/AL and C (sorted well to less known).


Top
 Profile WWW 
 

 Post subject: Re: Forum Topic Hyperlinks
PostPosted: September 10th, 2008, 4:39 pm 
Village Elder
Village Elder
User avatar

Joined: December 3rd, 2002, 7:00 pm
Posts: 3,946
Location: I'll let you know when I get there
Gender: Female
Status: Offline

Donor: Princess (2003)
Glodenox wrote:
In theory that's possible, but it's really an annoying thing to do (involves using regular expressions, which I'm not too good at).

I haven't seen that many cases where this problem occurs though, so I still don't think I'll bother.

- Greetz Glodenox :cheese:

Oh, it happens all over. There's a lot of old stickies that have broken links, and some of the guides do when linking back to the forums. Trying to fix the instances I've seen of it on the forums, but I don't have access to fix it in the guides. :(

__________________
Image
Sig image links to Goals and Achievements thread.
Image27th RV forum member!Image


Top
 Profile
 

 Post subject: Re: Forum Topic Hyperlinks
PostPosted: September 10th, 2008, 4:47 pm 
Zoboomafoo!
Village Elder
Village Elder
User avatar

Joined: February 6th, 2006, 12:29 pm
Posts: 16,194
Location: Behind the scenes.
Gender: Male
Status: Offline

Donor: Guardian (2008)
Feel free to post the guide ones, and one of us will correct it. :P


Top
 Profile
 

 Post subject: Re: Forum Topic Hyperlinks
PostPosted: September 10th, 2008, 8:19 pm 
Captain of DOOP Starship
Village Elder
Village Elder
User avatar

Joined: January 12th, 2004, 5:37 pm
Posts: 7,020
Location: Massachusetts, US
Gender: Male
Status: Offline

Donor: Prince (2010)
Glode stick this in the common.php file..

header('Location: http://www.runevillage.com' . $_SERVER['REQUEST_URI']);
exit;


That should fix everything.

__________________
Image

Painting by mousersix.


Top
 Profile WWW 
 

 Post subject: Re: Forum Topic Hyperlinks
PostPosted: September 11th, 2008, 4:21 am 
Tweaking all the time
Staff Elder
Staff Elder
User avatar

Joined: July 5th, 2003, 7:13 am
Posts: 8,699
Location: Flanders (northern Belgium)
Gender: Male
Status: Offline

Donor: Knight (2012)
Friend of Hiker
That would be great, but I don't think I have access to the .net server... I'll try it nonetheless.

EDIT: hmm... Apparently it is still on a different server or in a different folder at least... I can't seem to connect to a runevillage.net server through PHP, so I'm quite stuck. Another solution would be a Javascript one, but I don't like such solutions too much.

EDIT2: accessified! ^_^; Applying patch right now...
EDIT3: applied and it fully works :) Thanks for the great idea Frogger :) Simple, but I didn't think of it.

- Greetz Glodenox :cheese:

__________________
XML, SOAP, XSLT, JavaScript, SQL, Java, CSS, PHP, Scheme, JSP, C#, ASP.NET, VB.NET, PL/SQL, Visual Basic 6.0, C/AL and C (sorted well to less known).


Top
 Profile WWW 
 

 Post subject: Re: Forum Topic Hyperlinks
PostPosted: September 11th, 2008, 4:59 am 
Captain of DOOP Starship
Village Elder
Village Elder
User avatar

Joined: January 12th, 2004, 5:37 pm
Posts: 7,020
Location: Massachusetts, US
Gender: Male
Status: Offline

Donor: Prince (2010)
No problem. :)

__________________
Image

Painting by mousersix.


Top
 Profile WWW 
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  Page 1 of 1
 [ 10 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 9 guests


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

Jump to:  

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
The Village and this web site are © 2002-2012

ThePub 2.0 - Designed by Goten & Jackstick. Coded by Glodenox & Henner.
With many thanks to the Website Team!