Go Back   vb.org Archive > vBulletin Article Depository > Read An Article > vBulletin 3 Articles
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBulletin's functions list for syntax highlighting
Admin's Avatar
Admin
Join Date: Oct 2023
Posts: 1

Admin

Server
Show Printable Version Email this Page Subscription
Admin Admin is offline 06-29-2002, 10:00 PM

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.
Reply With Quote
  #2  
Old 06-30-2002, 11:53 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 06-30-2002, 03:05 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is really handy. thanks chen.
Reply With Quote
  #4  
Old 06-30-2002, 10:28 PM
FWC's Avatar
FWC FWC is offline
 
Join Date: Oct 2001
Location: Ontario, CA
Posts: 821
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very cool, Chen. Thanks!!
Reply With Quote
  #5  
Old 06-30-2002, 10:35 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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).
Reply With Quote
  #6  
Old 06-30-2002, 10:38 PM
FWC's Avatar
FWC FWC is offline
 
Join Date: Oct 2001
Location: Ontario, CA
Posts: 821
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 06-30-2002, 10:41 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Already tried that.
Reply With Quote
  #8  
Old 07-01-2002, 06:39 AM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's my syntax file, renamed to .txt.
Attached Files
File Type: txt php.txt (48.8 KB, 56 views)
Reply With Quote
  #9  
Old 07-01-2002, 07:46 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #10  
Old 07-10-2002, 06:53 AM
JulianD's Avatar
JulianD JulianD is offline
 
Join Date: Jan 2002
Posts: 455
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:30 AM.


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.05646 seconds
  • Memory Usage 2,303KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_article
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete