vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   The Basics of Hacking (https://vborg.vbsupport.ru/showthread.php?t=37015)

John 04-05-2002 12:04 PM

The Basics of Hacking
 
Has anyone ever had the time to write a txt file on the basics of vB board hacking? Like how it works, where things are read from, how the pages are put together, etc.

And if not - why not!

Neo 04-05-2002 06:48 PM

Yes I have. But it comes int he forum of a PHP book, documents from mysql.com, and having a good sence of know what other peoples code does.

John 04-05-2002 07:01 PM

/me sighs

Of course if you have a good knowledge of php and SQL you're pretty much already there - but I meant for those just starting out in both fields and need info aimed at hacking vB boards.

Neo 04-05-2002 07:04 PM

Nope. the way I learned was to just look around the templates and go through all the code.. there is no real way to teach someone how to hack vbulletin.. due to the fact that it would be just like teaching php which takes time... but here is your first lesson $bbuserinfo[] can get any row from the user table.. example $bbuserinfo[usertitle]

John 04-05-2002 07:09 PM

Lol, that was actually quite a handy bit of info! Is there anywhere that lists all of the info regarding the $variables?

Oh, and solve this!: http://www.vbulletin.com/forum/showt...threadid=43388

DjSap 04-05-2002 07:09 PM

btw neo whats the diffrence between $session[] and $bbuserinfo[]? cuz they do the same thing, so which is better to use?

Neo 04-06-2002 12:04 AM

bbuserinfo[]

Admin 04-06-2002 07:15 AM

The $session and $bbuserinfo arrays are not the same, $session holds the session info of the user taken from the session table, and $bbuserinfo holds the user info and options taken from user/userfield tables.

John 04-06-2002 09:03 AM

Any other gems you hacking masters wish to share?

Neo 04-06-2002 09:13 AM

always back up your files, the admin scrpits done use templates, and play around with code to see what it does just to learn.


All times are GMT. The time now is 04:31 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.01183 seconds
  • Memory Usage 1,727KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete