SMF Subs.php PAWN highlighting addition -
Humbug - 30.07.2009
this might be rather offtopic, but i thought someone may not reinvent the wheel like i did, free to use:
...The message exceeds the maximum allowed length (20000 characters).
so here you go
http://gta.apokryph.org/files/pawn-subs.php.txt
please report any bugs if you are going to use it.
greetings
Humbug
Re: SMF Subs.php PAWN highlighting addition -
Klutty - 30.07.2009
Thank you very much, but one question ( I suck at php).
In what file should I add this?
Re: SMF Subs.php PAWN highlighting addition -
Humbug - 30.07.2009
as the topic says, "Subs.php" which is located in the rootdirectory of the forumsoftware in the folder Sources, (ie /forum/Sources/Subs.php). open the file, and add the array to the end of the array $codes which is located in the function parse_bbc.
if you have the current version 1.1.9 of SMF and you didnt modifiy the Subs.php in some way yet you could just
try mine (Backup your old one.), which is a clean one including the pawn highlighting stuff (
http://gta.apokryph.org/files/Subs.php.txt)
Humbug