Helpful Information
 
 
Category: vBulletin Article Depository
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:
; 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

Enjoy.

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. :)

this is really handy. thanks chen.

Very cool, Chen. Thanks!! :)

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).

Originally posted by Boofo
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). Add it in to php.stx and then restart EditPlus2.

Already tried that. :)

Here's my syntax file, renamed to .txt.

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?

Hey, thanks chen... Quite useful when editing those files!










privacy (GDPR)