Jump to content

Revert to 'Classic' Forum Display


Recommended Posts

Posted

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

Posted

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:

\[.+?\]

 

  • Like 1
  • Thanks 1
Posted

... 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.

Posted
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.

  • Like 1
Posted

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

  • Like 1
Posted

Thanks for the help guys, I'll keep an eye out.

Posted
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.

  • Like 2
  • 5 months later...
Posted

 

Another colour tagged post for the list👍

 

  • Thanks 1
  • 4 years later...
Posted

Been a while!  Here's another colour tagged code post 

 

 

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...