vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=187)
-   -   vBulletin's functions list for syntax highlighting (https://vborg.vbsupport.ru/showthread.php?t=40457)

Admin 06-29-2002 10:00 PM

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

Enjoy.

Boofo 06-30-2002 11:53 AM

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

TECK 06-30-2002 03:05 PM

this is really handy. thanks chen.

FWC 06-30-2002 10:28 PM

Very cool, Chen. Thanks!! :)

Boofo 06-30-2002 10:35 PM

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

FWC 06-30-2002 10:38 PM

Quote:

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.

Boofo 06-30-2002 10:41 PM

Already tried that. :)

Admin 07-01-2002 06:39 AM

1 Attachment(s)
Here's my syntax file, renamed to .txt.

Boofo 07-01-2002 07:46 AM

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?

JulianD 07-10-2002 06:53 AM

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


All times are GMT. The time now is 02:22 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01047 seconds
  • Memory Usage 1,724KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete