SMF Subs.php PAWN highlighting addition
#1

this might be rather offtopic, but i thought someone may not reinvent the wheel like i did, free to use:

Code:
<?php ...
...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
Reply
#2

Thank you very much, but one question ( I suck at php).

In what file should I add this?
Reply
#3

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)