MyBB Tutorials

Tutorial - Custom PHP syntax highlighting colors.

Submitted by HaVoK, , Thread ID: 17943

Thread Closed
07-02-2016, 05:25 PM
This post was last modified: 07-02-2016, 09:53 PM by HaVoK
#1
Most of those who are on shared hosts doesn't happen or find a way to change them. And they are hardly visible if you have dark themes. Here's an easy way to change them which I used when I was a shared hosting user long ago. Moreover I saw a similar thread today so wrote a quick tutorial.

Open showthread.php (You can find it in your root directory, i.e. where index.php, etc, files are located).

After:

Content locked
This content has been locked. Please login or register in order to unlock it.


Edit the above colors with your choice and save the file. Now you should have the custom highlighting colors.

Credits to crazy4cs.

Users browsing this thread: 2 Guest(s)