The Arcive of vBulletin Modifications Site. |
|
|
vBulletin's functions list for syntax highlighting
Here is the complete list of functions vBulletin uses (or rather defines). You can use this list for the sytnax file in your PHP editor, to get those functions highlighted as well. This is what I use for my php.stx for EditPlus 2: Code:
; vBulletin 2.2.6 Functions stripslashesarray getpagenav getpostbit gettextareawidth getforuminfo getthreadinfo getpostinfo getuserinfo getforumarray getforumlist makenavbar makenav dooutput dovars standarderror standardredirect iif dowordwrap bbcodeparse bbcodeparse2 phphighlite stripbrsfromcode createlists checkurl parseurl repeatchar censortext customcensortext cachetemplates gettemplate verifyid checkipban chooseicons getpermissions wordsonly indexpost unindexpost makeforumjump countchar gzipoutput vbsetcookie show_nopermission vbdate getbirthdays getavatarurl getextension acceptupload getmodpermissions ismoderator updateforumcount updatethreadcount deletethread deletepost makelogincode unhtmlspecialchars getcodebuttons getclickysmilies getforumrules getmaxattachsize replacesession updateuserforum sendnotification doshutdown cpheader cpfooter storetext readtext cpredirect getrowbg maketableheader makedescription restarttable writetofile readfromfile makeinputcode makelabelcode makehrcode makeuploadcode makehiddencode makepasswordcode makeyesnocode maketextareacode doformheader doformfooter doformiddle dotablefooter makechoosercode makeforumchoosercode generateoptions makeforumchooser makelinkcode adminlog checklogperms makenavoption makenavselect |
|
#2
|
||||
|
||||
|
Is that all you have in your php.stx file, or is that just added to what is already there?
Thanks for turning me on to EditPlus2. You were right, it does beat Ultra Edit all to you-know-what. I was just about to register Ultra Edit when you told me about this program. Glad I didn't.
|
|
#3
|
||||
|
||||
|
this is really handy. thanks chen.
|
|
#4
|
||||
|
||||
|
Very cool, Chen. Thanks!!
|
|
#5
|
||||
|
||||
|
Can anyone tell me how I add this to what I already have in my php.stx? It won't show up if I just copy the contents into the file (for EditPlus2).
|
|
#6
|
||||
|
||||
|
Quote:
|
|
#7
|
||||
|
||||
|
Already tried that.
|
|
#8
|
||||
|
||||
|
Here's my syntax file, renamed to .txt.
|
|
#9
|
||||
|
||||
|
So the vBulletin listing isn't supposed to show up in the PHP 4 Cliptext listing then? That's what I was looking for.
BTW: Is there a way to click on an http link in a file and have it take you to that link without giving you the "file could not be found, do you want to create it" error?
|
|
#10
|
||||
|
||||
|
Hey, thanks chen... Quite useful when editing those files!
|
![]() |
|
|