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?t...3#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]
Name = "prxbx.com replace %a0 with space"
Active = TRUE
URL = "$TYPE(htm)"
Bounds = "<textarea name="message"*</textarea>"
Limit = 25600
Match = "(\1[%a0][%a0]+$SET(replace=$GET(replace)\1 ))+{1,100}\1</textarea>"
Replace = "$GET(replace)\1\r\n\r\n\r\n"
""
"Edit by JJoe: %a0 to space. "
""
"</textarea>"
Name = "prxbx fix code post for admins (2012.08.27)"
Active = TRUE
URL = "$TYPE(htm)prxbx.com/forums/editpost.php?"
Bounds = "<textarea*</textarea>"
Limit = 32764
Match = "(\1\&(^(^#))$SET(a=$GET(a)\1\&))+\2</textarea>"
Replace = "$GET(a)\2$SET(a=)\r\n\r\n\r\n"
""
"Edit by JJoe: \&(^(^#)) to &"
""
"</textarea>"