FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Converters » Changing old forum URLs in all messages
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Changing old forum URLs in all messages [message #21973 is a reply to message #21972] Wed, 05 January 2005 17:36 Go to previous messageGo to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma:
Senior Member
Administrator
Core Developer
It only sounds difficult but it really isn't, writing of messages & reading of messages is something fudforum has functions for... So all you need to do is

while (msg in msg_table)
data = read_msg
data = replace(old_url, new_url, data)
write_msg
updat db with new length/offset


FUDforum Core Developer
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Preparing for final conversion: reset the DB
Next Topic: Subscribe users to topics/ forums
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 19:29:57 GMT 2024

Total time taken to generate the page: 0.08166 seconds