Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 9 Years, 2 Weeks ago Change PHP syntax highlight colors
#1
Solved: 9 Years, 2 Weeks ago
Hello MyBB!

I have a question for y'all. So I want to change the PHP syntax highlight color and for now I don't have server access. So I can't access my php.ini file to change these colors. Is it in any other way I can do this? I mean through .htaccess or PHP?

To those who wonder, I mean the colors in the PHP tags.
#2
Solved: 9 Years, 2 Weeks ago
I've uploaded a simple plugin to do just that. Simply edit the values in the plugin file (Already commented), upload to ./inc/plugins/ and activate. Smile


.php   phpcolors.php (Size: 1.04 KB / Downloads: 330)
No longer involved in the MyBB project.
#3
Solved: 9 Years, 2 Weeks ago
(2012-06-06, 08:21 PM)Nathan Malcolm Wrote: I've uploaded a simple plugin to do just that. Simply edit the values in the plugin file (Already commented), upload to ./inc/plugins/ and activate. Smile

Haha, this is fantastic! I always thought I needed the php.ini but this was much much more easier. Thanks Nathan, I appreciate it.
#4
Solved: 9 Years, 2 Weeks ago
I seem to recall a GeSHi plugin which uses CSS classes, so you can modify the colors based on theme.
#5
Solved: 9 Years, 2 Weeks ago
http://php.net/manual/en/misc.configuration.php
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)