vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   What classes/functions Vbulletin uses ? (https://vborg.vbsupport.ru/showthread.php?t=82116)

TitanKing 05-27-2005 06:10 AM

What classes/functions Vbulletin uses ?
 
Hello people from all over the World, I was wondering if someone could point me in the right direction, I am looking for custom classes and functions used in vbulletin for my upcoming hack (Im trying to anyhows). Like look at how cool the $DB_site->query class works, where can I get a list of more such cool classes and functions vbulletin created to make life easier ? Thanks in advanced and sorry if I missed something, I have been searching allot... :rolleyes:

Oops wrong place posted in, moderators would you please move this thread to the correct section... sorry bout it...

Andreas 05-30-2005 01:10 PM

Take a look at the files in folder includes :)

Marco van Herwaarden 05-30-2005 01:23 PM

Ok the following is for vB3.0.7. If you need a list of a specific functions_xx file just tell me.

List of functions in './includes/functions.php':
PHP Code:

addslashes_js($text$quotetype "'")
addslashes_like($text)
build_datastore($title ''$data '')
cache_permissions(&$user$getforumpermissions=true)
cache_templates($templates$templateidlist)
can_moderate($forumid 0$do ''$userid = -1$usergroupids '')
construct_forum_jump($parentid = -1$addbox 1$prependchars ''$permission '')
construct_hidden_var_fields($serializedarr)
construct_login_code()
construct_navbits($nav_array)
construct_page_nav($results$address$address2 '')
construct_phrase()
construct_post_vars_html()
construct_style_options($styleid = -1$depthmark ''$init true$quickchooser false)
convert_bbarray_cookie($cookie$dir 'get')
convert_bits_to_array(&$bitfield$_FIELDNAMES)
convert_int_to_utf8($intval)
DEVDEBUG($text '')
exec_header_redirect($url)
exec_headers($headers 1$nocache 1)
exec_mail_queue()
exec_nocache_headers($sendcontent true)
exec_shut_down()
exec_switch_bg($alternate 0)
fetch_bbarray_cookie($cookiename$id)
fetch_censored_text($text)
fetch_email_first_line_string($text)
fetch_email_phrases($email_phrase$languageid = -1$emailsub_phrase ''$varprefix '')
fetch_forum_clause_sql($forumid$field 'forumid'$joiner 'OR'$parentlist '')
fetch_forum_parent_list($forumid)
fetch_foruminfo(&$forumid$usecache true)
fetch_gzipped_text($text$level 1)
fetch_language_fields_sql($addtable 1)
fetch_membergroupids_array($user$getprimary true)
fetch_moderator_permissions($forumid$userid = -1)
fetch_musername(&$user$displaygroupfield 'displaygroupid'$usernamefield 'username')
fetch_options_overrides($userinfo)
fetch_permissions($forumid 0$userid = -1$userinfo false)
fetch_phrase($phrasename$phrasetypeid$strreplace ''$doquotes true$alllanguages false$languageid = -1)
fetch_phrase_group($groupname)
fetch_postinfo(&$postid)
fetch_query_sql($queryvalues$table$condition ''$exclusions '')
fetch_start_end_total_array($pagenumber$perpage$total)
fetch_stylevars(&$style$userinfo)
fetch_template($templatename$escape 0$gethtmlcomments 1)
fetch_threadinfo(&$threadid)
fetch_time_data()
fetch_timezone($offset 'all')
fetch_trimmed_title($title$chars = -1)
fetch_userinfo(&$userid$option 0)
fetch_word_wrapped_string($text$limit false)
file_extension($filename)
file_get_contents($filename)
globalize(&$var_array$var_names)
htmlspecialchars_uni($text)
iif($expression$returntrue$returnfalse '')
in_coventry($userid$includeself false)
init_language()
inline_mime_encode($str$encoding 'utf-8')
is_browser($browser$version 0)
is_demo_mode()
is_member_of($userinfo$usergroupid)
is_valid_email($email)
print_no_permission()
print_output($vartext$sendheader 1)
print_standard_error($err_phrase$doquery 1$savebadlocation 1)
print_standard_redirect($redir_phrase$doquery 1)
process_replacement_vars($newtext$sendheader 1)
sanitize_pageresults($numresults, &$page, &$perpage$maxperpage 20$defaultperpage 20)
set_bbarray_cookie($cookiename$id$value$permanent 0)
standard_error($error ''$headinsert ''$savebadlocation 1)
standard_redirect($message ''$url '')
strip_bbcode($message$stripquotes false$fast_and_dirty false$showlinks true)
strip_blank_ascii($text$replace)
strip_quotes($text)
unhtmlspecialchars($text$doUniCode false)
vb_number_format($number$decimals 0$bytesize false)
vb_send_mail($toemail$subject$message$header)
vbdate($format$timestamp TIMENOW$doyestoday false$locale true$adjust true$gmdate false)
vbheaders_sent(&$filename, &$linenum)
vbmail($toemail$subject$message$notsubscription false$from '' $uheaders ''$username '')
vbmail_end()
vbmail_start()
vbrand($min$max$seed = -1)
vbsetcookie($name$value ''$permanent 1)
vbstrlen($string)
vbstrtolower($string)
verify_forum_password($forumid$password$showerror true)
verify_id($idname, &$id$alert 1$selall 0$options 0)
verify_ip_ban() 


Colin F 05-30-2005 01:50 PM

Marco seems to have way too much time once again :)

The new documentation for vB 3.5 should help you out, as I think it documents most functions...

Marco van Herwaarden 05-30-2005 02:41 PM

Quote:

Originally Posted by Colin F
Marco seems to have way too much time once again :)

The new documentation for vB 3.5 should help you out, as I think it documents most functions...

This was 10 second work. ;)

TitanKing 06-01-2005 11:56 AM

Thank you very very much people, I really appreciate is so flippen much. Last question does anyone have a list of the arrays/variables that is used in the Template system like for instance $thread[title] gives the title of the thread, I really appreciate all the help guys...

Marco van Herwaarden 06-01-2005 02:31 PM

Nope :D

kall 06-01-2005 08:22 PM

What are you doing, writing a hack...or some alternative messageboard system?

TitanKing 06-02-2005 04:57 AM

Well basicly im actually writing a business management hack... yea well see how it comes out...


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

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

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01047 seconds
  • Memory Usage 1,782KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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