vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   vBulletin Programming Wiki (https://vborg.vbsupport.ru/showthread.php?t=159894)

Cap'n Steve 10-10-2007 06:51 AM

vBulletin Programming Wiki
 
I've started a wiki for vBulletin coders. Right now it's limited to PHPDoc information, but I need people to tell me what needs to be cleaned up and of course to improve the information. Please take a look, any feedback from the community is appreciated!

Marco van Herwaarden 10-10-2007 07:06 AM

I don't think PHPDoc would be any problem (is already available on vb.com), but be carefull not to include vBulletin code, as that could break your license agreement.

Cap'n Steve 10-10-2007 08:05 AM

Yes, I already had to change the template, since PHPDocumentor includes highlighted source code with the pages by default :eek:.

Analogpoint 10-10-2007 01:18 PM

If it's to become a useful resource, I feel it would need to quote snippets of actual vB code (fair use/restricted to license holders?) and show other snippets of code as examples on how to do things. Eg. how to use the input cleaner class. How to cache a template with a plugin etc.

That would be a good place for you to start Steve, write/get permission to republish some 'how to' programming articles.

EDIT: In your listings of files, include the hooks (and their line number) found in each file. You might also state what different "do" branches exist in the file. Also, a summary of what the file does would be good.

Cap'n Steve 10-11-2007 01:53 AM

I don't think any actual vBulletin code is necessary (unless you count function and class names, of course), and I do plan on starting some tutorials if no one wants to copy theirs over.

Quote:

Originally Posted by Analogpoint (Post 1356863)
EDIT: In your listings of files, include the hooks (and their line number) found in each file. You might also state what different "do" branches exist in the file. Also, a summary of what the file does would be good.

Good ideas, I hadn't even thought about the hooks.


All times are GMT. The time now is 12:12 PM.

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.01562 seconds
  • Memory Usage 1,718KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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