![]() |
|
Fixing posts - Printable Version +- The Un-Official Proxomitron Forum (https://www.prxbx.com/forums) +-- Forum: Forum Related (/forumdisplay.php?fid=37) +--- Forum: Site/Forum-Related (/forumdisplay.php?fid=18) +--- Thread: Fixing posts (/showthread.php?tid=2058) |
Fixing posts - JJoe - Oct. 30, 2012 04:19 AM (Oct. 26, 2010 02:52 PM)whenever Wrote: http://prxbx.com/forums/showthread.php?tid=143 is not readable now. I think it is related to the code tag patch. or http://prxbx.com/forums/showthread.php?tid=285&pid=16803#pid16803 As an administrator, I can use the Proxomitron to automatically modify (fix) a post. Ideally, I'd simply open the post for edit and save. More than likely, I'll have to read each post before saving it. I think the risk is small but I can't guarantee no mistakes, however. Opinions? Instead of overwriting the old post, I could prefix or prepend the correction to the post. Filters could look like Code: [Patterns]RE: Fixing posts - sbk - Nov. 02, 2012 12:08 PM (Oct. 30, 2012 04:19 AM)JJoe Wrote:I understand the need for editing in the first showthread(Oct. 26, 2010 02:52 PM)whenever Wrote: http://prxbx.com/forums/showthread.php?tid=143 is not readable now. I think it is related to the code tag patch. http://prxbx.com/forums/showthread.php?tid=143 It needs an unencoded overwrite, IMO. The poster didn't originally post in mess-encoded, so leaving the encoded mess provides no intended value to proxo users. The encoded mess serves only as an example of forumware glitches. But... (?) i don't understand how your pair of filters (code section i snipped) relates to either first or second (http://prxbx.com/forums/showthread.php?tid=285&pid=16803#pid16803) showthreads. (Oct. 30, 2012 04:19 AM)JJoe Wrote: Instead of overwriting the old post, I could prefix or prepend the correction to the post."In place" fixes can work, imo. (But I'm not sure if that's what you're suggesting.) RE: Fixing posts - JJoe - Nov. 02, 2012 01:59 PM (Nov. 02, 2012 12:08 PM)sbk Wrote: But... (?) i don't understand how your pair of filters (code section i snipped) relates to either first or second (http://prxbx.com/forums/showthread.php?tid=285&pid=16803#pid16803) showthreads. Filters like those will be used to 'fix' the thread and add a note that I fixed it. (Nov. 02, 2012 12:08 PM)sbk Wrote:(Oct. 30, 2012 04:19 AM)JJoe Wrote: Instead of overwriting the old post, I could prefix or prepend the correction to the post."In place" fixes can work, imo. (But I'm not sure if that's what you're suggesting.) Overwriting would be like [attachment=793] Corrected and prefixed would be like [attachment=794] RE: Fixing posts - Kye-U - Nov. 07, 2012 10:25 PM Fixed the %a0 question mark characters. Thought I fixed the html entities issue but I didn't (had to revert to a backup I made today just before I started tackling this). I'll need to refine my script and try again later (e.g. to leave deliberate html entities in CODE blocks intact, while decoding others). RE: Fixing posts - Kye-U - Nov. 08, 2012 08:16 PM Done! Just ran my script and I believe I've gotten most of the html entities (for safety, I limited the queries only to a limited range of post ids).If you come across a post that is garbled, please let me know! I've come across a few that I've fixed (where § and "smart quotes" appeared as �) RE: Fixing posts - JJoe - Nov. 09, 2012 04:13 AM Looks even better! Feels better too. ![]() Thanks Hang on to the backup just in case. |