| auszookers.com https://auszookers.com/forum/ |
|
| Legacy links https://auszookers.com/forum/viewtopic.php?f=16&t=29963 |
Page 1 of 1 |
| Author: | Damo [ Sun Jan 29, 2012 9:42 am ] |
| Post subject: | Legacy links |
I just noticed any URL links to the AZ board aren't working because forum now sits in www.auszookers.com/forum I'm guessing that will get changed back at some stage and the links will then work fine, I thought i'd mention it just in case. |
|
| Author: | royce [ Mon Jan 30, 2012 11:41 am ] |
| Post subject: | Re: Legacy links |
I have been looking for a way to do this and if anyone else wants to google and help feel free So far I can grab the text from big lists of links like in Good Tech and find replace them and repost them to clean them up, but I havent come up with anything to do the entire forum automagically, I tried making a word censor thing but it wants to change the lot as a link is one string If anyone finds a solution on google post it up If people come across links that need to be updated for a good reason quickly, maybe try the report post function and indicate that, I am not sure how the report thing works yet but I am sure it will tell somebody For editing Code: replace
http://auszookers.com/index.php?name=Forums&file=viewtopic&t= with http://auszookers.com/forum/viewtopic.php?f=17&t= |
|
| Author: | Damo [ Mon Jan 30, 2012 12:20 pm ] |
| Post subject: | Re: Legacy links |
royce wrote: I have been looking for a way to do this and if anyone else wants to google and help feel free So far I can grab the text from big lists of links like in Good Tech and find replace them and repost them to clean them up, but I havent come up with anything to do the entire forum automagically, I tried making a word censor thing but it wants to change the lot as a link is one string If anyone finds a solution on google post it up If people come across links that need to be updated for a good reason quickly, maybe try the report post function and indicate that, I am not sure how the report thing works yet but I am sure it will tell somebody For editing Code: replace http://auszookers.com/index.php?name=Forums&file=viewtopic&t= with http://auszookers.com/forum/viewtopic.php?f=17&t= If I may quote Stekkie, "you frucked it!" Sounds like you need to write a script that will do a find & replace on the entire database. |
|
| Author: | royce [ Mon Jan 30, 2012 12:34 pm ] |
| Post subject: | Re: Legacy links |
Yeah I figure its some kind of database thing but that sounds a bit easy to break so it can wait till later I think |
|
| Author: | steve [ Mon Jan 30, 2012 12:49 pm ] |
| Post subject: | Re: Legacy links |
yeah you could do a find and replace on just the database table phpbb_posts . I'll add it to the bottom of the list, it might happen in 6 months |
|
| Author: | fritter [ Mon Feb 06, 2012 3:24 pm ] |
| Post subject: | Re: Legacy links |
You can do it with str_replace in PHP, but it will need a little extra programming so that it doesn't break links added after the upgrade. Are you using a MYSQL backend? Might be easier to use an SQL script. |
|
| Author: | royce [ Mon Feb 06, 2012 3:43 pm ] |
| Post subject: | Re: Legacy links |
yeah its mysql, there is a script that will fix em as a one time thing, but its a long list and only effects people who search, who will be smart enough to fogire it themselves anyway |
|
| Page 1 of 1 | All times are UTC + 9:30 hours |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|