Your ultimate PunBB resource!
You are not logged in.
## ## Mod title: Multi Syntax Highlighter For PunBB ## ## Mod version: 1.0.0 ## Works on PunBB: 1.2.x ## Release date: 2005-2-2 ## Author: zaher dirkey (zaher@parmaja.com) ## ## Description: Multi Syntax Highlight for code tags to PunBB 1.2.x ## ## Affected files: include\parser.php ## header.php ## ## Affects DB: No ## ## Notes: split_text not used in parser.php you can remove it ## ## DISCLAIMER: Please note that "mods" are not officially supported by ## PunBB. Installation of this modification is done at your ## own risk. Backup your forum database and any and all ## applicable files before proceeding.
Offline
This for version for 1.2.x as topic title, but i maked another version for the mod
DEMO:
http://www.parmaja.com/forums/viewtopic.php?id=31
PunBB.org
http://forums.punbb.org/viewtopic.php?pid=33329
Last edited by zaher (2006-11-23 01:07:20)
Offline
no C++ syntax highlighting :(
This MOD highlight using GeShe or phpMSH (mine), just read gehsi_readme.txt file to enable it
and it useing CODE tage like as [ code= php ] or [ code ] for plan text.
I prefer to use phpMSH becuase it is faster 3 time from GeShe
Offline
Errm.
I have no /include/header.php though I do have header.php in the main directory
I also don't have function parse_message($message, $smilies) but I do have function parse_message($text, $hide_smilies)
I havn't meesed with the files at all, and I am running verision 1.2.6 if that helps any ...
Offline
You are right, i fixed the readme.txt
it header.php
and parse_message($text, $hide_smilies)
also you can use patched parser if you not installed any other MOD
new file uploaded
Offline
One more thing.
http://fatessong.com/forums/viewtopic.php?pid=3#p3
Why isn't anything hilighted?
I used [code= PHP]. Is that correct?
Offline
Nevermind. I got it working.
It wasn't PHP, but php
.
Offline
Zahar,
Any support for Visual Basic?
Thanks!
Offline
Maybe I can help. What do you mean by 'keywords' ?
Elad
Offline
All reserved word like (IF, THEN, ELSE, ENDIF etc...), theat must be hilighted.
I was VB programmer before 7 years (VB3, VB4) but i forget everything ![]()
Offline
'as', 'err', 'boolean', 'and', 'or', 'recordset', 'unload', 'to', 'integer','long','single','new','database','nothing','set','close', 'open','print','split','line','field','querydef','instrrev', 'abs','array','asc','ascb','ascw','atn','avg','me', 'cbool','cbyte','ccur','cdate','cdbl','cdec','choose','chr','chrb','chrw','cint','clng', 'command','cos','count','createobject','csng','cstr','curdir','cvar','cvdate','cverr', 'date','dateadd','datediff','datepart','dateserial','datevalue','day','ddb','dir','doevents', 'environ','eof','error','exp', 'fileattr','filedatetime','filelen','fix','format','freefile','fv', 'getallstrings','getattr','getautoserversettings','getobject','getsetting', 'hex','hour','iif','imestatus','input','inputb','inputbox','instr','instb','int','ipmt', 'isarray','isdate','isempty','iserror','ismissing','isnull','isnumeric','isobject', 'lbound','lcase','left','leftb','len','lenb','loadpicture','loc','lof','log','ltrim', 'max','mid','midb','min','minute','mirr','month','msgbox', 'now','nper','npv','oct','partition','pmt','ppmt','pv','qbcolor', 'rate','rgb','right','rightb','rnd','rtrim', 'second','seek','sgn','shell','sin','sln','space','spc','sqr','stdev','stdevp','str', 'strcomp','strconv','string','switch','sum','syd', 'tab','tan','time','timer','timeserial','timevalue','trim','typename', 'ubound','ucase','val','var','varp','vartype','weekday','year', 'appactivate','base','beep','call','case','chdir','chdrive','const', 'declare','defbool','defbyte','defcur','defdate','defdbl','defdec','defint', 'deflng','defobj','defsng','defstr','deftype','defvar','deletesetting','dim','do', 'else','elseif','end','enum','erase','event','exit','explicit', 'false','filecopy','for','foreach','friend','function','get','gosub','goto', 'if','implements','kill','let','lineinput','lock','loop','lset','mkdir','name','next','not', 'onerror','on','option','private','property','public','put','raiseevent','randomize', 'redim','rem','reset','resume','return','rmdir','rset', 'savepicture','savesetting','sendkeys','setattr','static','sub', 'then','true','type','unlock','wend','while','width','with','write', 'vbabort','vbabortretryignore','vbapplicationmodal','vbarray', 'vbbinarycompare','vbblack','vbblue','vbboolean','vbbyte','vbcancel', 'vbcr','vbcritical','vbcrlf','vbcurrency','vbcyan','vbdataobject', 'vbdate','vbdecimal','vbdefaultbutton1','vbdefaultbutton2', 'vbdefaultbutton3','vbdefaultbutton4','vbdouble','vbempty', 'vberror','vbexclamation','vbfirstfourdays','vbfirstfullweek', 'vbfirstjan1','vbformfeed','vbfriday','vbgeneraldate','vbgreen', 'vbignore','vbinformation','vbinteger','vblf','vblong','vblongdate', 'vblongtime','vbmagenta','vbmonday','vbnewline','vbno','vbnull', 'vbnullchar','vbnullstring','vbobject','vbobjecterror','vbok','vbokcancel', 'vbokonly','vbquestion','vbred','vbretry','vbretrycancel','vbsaturday', 'vbshortdate','vbshorttime','vbsingle','vbstring','vbsunday', 'vbsystemmodal','vbtab','vbtextcompare','vbthursday','vbtuesday', 'vbusesystem','vbusesystemdayofweek','vbvariant','vbverticaltab', 'vbwednesday','vbwhite','vbyellow','vbyes','vbyesno','vbyesnocancel', 'vbnormal','vbdirectory'
that what you want?
Offline
i have no idea, i can't see how it can be illegal to copy a list of words that they will have found somewhere on the net ![]()
Offline
I will use it and mention the author name of script for the Fair, in this way i can make all language as eazy as i need but i feel somthing wrong.
I am working now to improve the code, before releasing next version.
Offline
Found a major bug:
http://www.punres.org/viewforum.php?id=7
--FrosT
Offline
I fixed it in bug the [ code ] witout "=" language name in phpMultiSyn-PunBB-1.1.4.zip
but if you can wait there is a new release of multi syntax for last version of both PunBB ,phpMSH and Geshi
Offline
aaaa....
where are the mod versions for punbb 1.2.x?
Offline