vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Good programming reference guide for vBulletin 3.8 (https://vborg.vbsupport.ru/showthread.php?t=213772)

rEd86 05-15-2009 05:54 PM

Good programming reference guide for vBulletin 3.8
 
Greetings.

I recently purchased vBulletin and I want to write some plugins/products. There are dozens of great plugins that I have downloaded and reviewed the source to get an idea of what's involved. I have read through the vBulletin API (what little there is) as well as the vBulletin 3.8 Manual but I am looking for more.

Is there a good reference guide/article you would recommend to help with some of the more advanced concepts? I want to understand what hooks are exposed and what I might be able to extend. I've learned a lot through reading through other people's code but I want a complete list of hooks so I can determine the best approach for some of the things I want to do. (extending the UserCP, etc)

Thanks for your help.

--Ed

troybtj 05-15-2009 11:06 PM

I, too, am looking for such a reference. I've made a large number of modifications, and would like to package one or two into actual products here. I'd prefer they were fully compliant before doing so, however. :)

rEd86 05-16-2009 12:22 AM

I do see the "Hook Locations" list in the "Adding or Editing a Plugin" section in the AdminCP and while the names make some sense, having a more detailed description and discussion about what order they get fired off during various tasks would be helpful.

Also, some best practices on modifying UI would be useful. I really like how vBulletin has separated the plugins from the core code. It looks like it's going to be a LOT easier to manage/maintain than phpBB.

--Ed

Lynne 05-16-2009 02:28 AM

Turn on debug mode and you get a list of all the plugins called on that page at the bottom of the page. I think they are in order or when they first get called.

You might want to look through the Articles forums and see if there is something helpful there.

Dismounted 05-16-2009 05:21 AM

A good tool to have is a mass search tool, in which you can quickly find where hooks are physically located inside a file.


All times are GMT. The time now is 03:56 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.01459 seconds
  • Memory Usage 1,714KB
  • 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)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