Re parsing old bbcodes

Check here for any important information about the Phrozen Keep and these forums. Only staff members may start a new topic but anyone may post their thoughts and responses.
Post Reply
User avatar
Volf
Retired Admin
Dominion
Posts: 5396
Joined: Thu Jul 31, 2003 8:19 am
Finland

Hand-picked

Re parsing old bbcodes

Post by Volf » Sun Feb 18, 2018 1:20 pm

We have allot of old broken bbcodes in forum posts dating back years. Atm im running a reparse script that fixes a batch of them, as a side effect reparsed posts will show up under new posts.

User avatar
Volf
Retired Admin
Dominion
Posts: 5396
Joined: Thu Jul 31, 2003 8:19 am
Finland

Hand-picked

Re: Re parsing old bbcodes

Post by Volf » Sun Feb 18, 2018 9:17 pm

First batch done, around 9000 old posts reparsed. Stopping and will disable the extension that marks edited posts as unrad until the reparse script has finished.

Update:
atm at post number 11k of 399k
Update
at 46k of 399k
Update
at 70k of 399k'
Update
at 103k of 399k
Update
at 148k of 399k
at 180k of 399k yay half way 6-7 more hours and its done
at 250k of 399k
at 300k of 399k this is getting really boring as i cant do anything else until the script is done

Edit:
Its finally done. Will keep this as a global announcement for a day or so just incase someone wonders why a bunch of old posts were bumbed.
Last edited by Volf on Sun Feb 18, 2018 9:17 pm, edited 5 times in total.
Reason: Its done

User avatar
cla$$ics
Moderator
Arch-Angel
Posts: 1320
Joined: Wed Aug 15, 2007 3:48 pm
United States of America

Hand-picked

Re: Re parsing old bbcodes

Post by cla$$ics » Mon Feb 19, 2018 12:57 am

Good job Volf!

Do you have any plans to fix old links that point to, for example, .it-point, gamespy, hugelaser, etc?
Although done for our needs, mod-makers should like these changes, too.
11/1/08 - COTL; 5/10/09 - Angel; 11/11/09 - Archangel

User avatar
Volf
Retired Admin
Dominion
Posts: 5396
Joined: Thu Jul 31, 2003 8:19 am
Finland

Hand-picked

Re: Re parsing old bbcodes

Post by Volf » Mon Feb 19, 2018 9:55 am

cla$$ics wrote:
Mon Feb 19, 2018 12:57 am
Do you have any plans to fix old links that point to, for example, .it-point, gamespy, hugelaser, etc?
Fixed more than 20k dead links already and will continue fixing them as i discover new ones. Remaining ones are stored in various formats so normal regex searches etc wont do it anymore. Also allot of the it-point etc links that were fixed still display as it-point even though the link is fixed as past systems handled links differently.
At this point i just rely on a crawler to catch the remaining ones.

User avatar
devurandom
Forum Regular
Angel
Posts: 897
Joined: Sat Mar 07, 2015 9:07 pm
United States of America

Re: Re parsing old bbcodes

Post by devurandom » Tue Feb 27, 2018 11:03 am

Not sure if this is the right place to post dead links, but here I'll post.

Original post with dead link
viewtopic.php?t=16633

Text with dead link
"You can also download this document from the filecenter and you can download it from here" <---


[Dead Link]
http://d2mods.xfernet.com/filecenter/pa ... ile&id=998


[update link]
viewtopic.php?p=492409
Assembly Reference | 1.13d Code Edits | UVLoD | BaseMod Plugin

Fiat paper money is the most elaborate and well devised form of slavery the world has ever seen..

User avatar
Volf
Retired Admin
Dominion
Posts: 5396
Joined: Thu Jul 31, 2003 8:19 am
Finland

Hand-picked

Re: Re parsing old bbcodes

Post by Volf » Tue Feb 27, 2018 11:13 am

You could make a topic in feedback forum so that they are all in the same spot. For the remaining ones that need manual editing i usually wait until crawlers have picket up + 500 of them

Post Reply

Return to “Staff Announcements”