lamensterms Posted January 1, 2019 Posted January 1, 2019 Hey guys, I like the new (new-ish?) forum style, but some coloured code is not displaying correctly: In this post, David Bethel has coloured the font of some of his code, and rather than the text being coloured, it is showing the code for colouring. I'm sorry I do not know what to call the code he used to colour his text. Is there a way to revert to the old forum display style so we can read posts like this one? Thanks for any help Quote
lamensterms Posted January 2, 2019 Author Posted January 2, 2019 Thanks rkmcswain, I ended up using Notepad++ to strip the colour tags, as suggested in that post you linked. Find and replace the following, using REGEX mode, for anyone interested: \[.+?\] 1 1 Quote
lamensterms Posted January 2, 2019 Author Posted January 2, 2019 ... I wonder if it would be possible to deploy a bot, to reply with quote to all the colour tagged code posts - and strip out all the colour tags in the bot's reply. Kinda similar to reddit's spellcheck bot. Quote
CADTutor Posted January 5, 2019 Posted January 5, 2019 On 02/01/2019 at 21:53, lamensterms said: ... I wonder if it would be possible to deploy a bot, to reply with quote to all the colour tagged code posts - and strip out all the colour tags in the bot's reply. Kinda similar to reddit's spellcheck bot. I guess someone more adept than me could do this - I'll give it some thought. In the meantime, I've updated the post you linked to using your useful regex. If you come across similar posts, just let me know and I'll do the same. 1 Quote
steven-g Posted January 5, 2019 Posted January 5, 2019 Hi David, I can find them, but wouln't have a clue what to do then, a search for site:www.cadtutor.net [/color] throws up 19 pages of results, which would keep you busy for a while and I'm not sure that would cover all the problems 1 Quote
lamensterms Posted January 6, 2019 Author Posted January 6, 2019 Thanks for the help guys, I'll keep an eye out. Quote
CADTutor Posted January 12, 2019 Posted January 12, 2019 On 05/01/2019 at 16:37, steven-g said: Hi David, I can find them, but wouln't have a clue what to do then, a search for site:www.cadtutor.net [/color] throws up 19 pages of results, which would keep you busy for a while and I'm not sure that would cover all the problems Yes, I know where they are. There are over 4,000 instances altogether, which means it's only feasible if it can be done using a bot or macro. I'm guessing that it could be done using a regex on the MySQL file and I will try to test this out on a non-live file to see if it works. But, in the meantime, I'm happy to make corrections on an ad hoc basis so that we pick up and correct the most obvious or most visited examples first. 2 Quote
lamensterms Posted June 26, 2019 Author Posted June 26, 2019 Another colour tagged post for the list 1 Quote
CADTutor Posted June 30, 2019 Posted June 30, 2019 Thanks for reporting. That post has now been updated. Quote
lamensterms Posted February 18 Author Posted February 18 Been a while! Here's another colour tagged code post Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.