vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   How to create a "Hello World" mod (https://vborg.vbsupport.ru/showthread.php?t=202139)

DaveS 01-17-2009 04:46 PM

How to create a "Hello World" mod
 
Is there a "hello word" tutorial anywhere suitable for me to learn the basics of creating a mod and the necessary install scripts.

Although I've been away from coding for a while I'm reasonably comfortable and just looking for pointers on how it should be done with vBulletin.

TIA
Dave

Lynne 01-17-2009 04:52 PM

The best thing to do is to find a similar type mod - or one that at least ends up using the same pages or templates and see what they did. Also, take a look through the articles forums.

Dismounted 01-18-2009 03:35 AM

The vBulletin Manual and vBulletin API Documentation are both good sources of information as well. You can find the link to those under the "Quick Links" drop-down.

DaveS 01-18-2009 07:58 AM

Thanks both. I was kind of hoping for an article but I've gone through and searched and haven't found anything.

The vB API doc seems to be a reference manual rather than a "here's how to get started".
The frustrating thing is I'm sure I saw a good article somewhere when I first moved across to vB some time ago.

BTW what's the difference between a product and a plug-in?

I've seen a tutorial for a plug-in but everything I install is a product.

Dismounted 01-18-2009 09:47 AM

Products can contain plugins, templates, install/uninstall code, phrases, help text, etc. In other words, products are the superset of plugins.


All times are GMT. The time now is 03:51 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.01867 seconds
  • Memory Usage 1,708KB
  • 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