Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
  #1  
Old 12-07-2009, 05:23 PM
JarkkoL JarkkoL is offline
 
Join Date: Nov 2009
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Beginners guide to vB modding?

Hi,

Is there some beginners guide to vB modding I could check out? I would like to get good idea how templates and php tie together, how you are supposed to make your own modifications to vB and everything else I need to be aware of. I have fair amount of programming experience (C++) but php & vB are new beasts to me. I would like to implement something quite simple, but need at least some info how data is passed between templates & php, how to structure things so that my mods are not overwritten by upgrades, etc.

Thanks, Jarkko
Reply With Quote
  #2  
Old 12-07-2009, 05:53 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The best thing to do is download some simple mods and see how they work. Then try writing your own and see how things go. If you have an idea of what you want to do, then try to download a mod that is similar to what you want.
Reply With Quote
  #3  
Old 12-07-2009, 07:10 PM
JarkkoL JarkkoL is offline
 
Join Date: Nov 2009
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I would have much more preferred some tutorial though than reverse engineering how things work from existing mods (:
Reply With Quote
  #4  
Old 12-07-2009, 07:26 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, after you figure it out, perhaps you can write a tutorial to share? I think it's just one of those things that nobody has tried to tackle yet.
Reply With Quote
  #5  
Old 12-07-2009, 10:14 PM
winstone winstone is offline
 
Join Date: Dec 2006
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just in case if anyone decides to start a tutorial/guide, following is an excellent example
http://codeigniter.com/user_guide/

IMO vb.org or perhaps vb.com staff should really do something similar to above to help modders and boost quantity and quality of addons
Reply With Quote
  #6  
Old 12-08-2009, 05:08 AM
JarkkoL JarkkoL is offline
 
Join Date: Nov 2009
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Even if I was competent enough and had the free time to write a tutorial, I think I'm too much of a capitalist to write a basic level of documentation as a donation for a commercial product I'm paying for Anyway, after hours of probing I was able to figure it out and thanks for your time.
Reply With Quote
  #7  
Old 12-08-2009, 10:09 PM
ragtek ragtek is offline
 
Join Date: Mar 2006
Location: austria, croatia
Posts: 1,630
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JarkkoL View Post
Even if I was competent enough and had the free time to write a tutorial, I think I'm too much of a capitalist to write a basic level of documentation as a donation for a commercial product I'm paying for Anyway, after hours of probing I was able to figure it out and thanks for your time.
lol

so if everybody of us would be a capitalist like you, vbulletin.org wouldn't exist, because nobody would share his add-ons for free.....

i'm very happy that it's not like this
Reply With Quote
  #8  
Old 12-09-2009, 07:31 AM
JarkkoL JarkkoL is offline
 
Join Date: Nov 2009
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Everyone has different motivations to share their work. Some do it for fun, some to learn themselves, some to market their experience, some just to get pat on the back for good work and from need to belong to community. If you get sustained living from writing add-ons just for sake of sharing them here for free, good for you, but as I have seen people who share their add-ons write them for their own purposes and just share the work with little of extra work. It's totally different from doing the work solely for the purpose of sharing it here, but you could show us a good example and do as you preach and write the doc, right?

Anyway, personally I would be surprised if vbulletin.org running ad-free and adding plenty of extra value to the product wouldn't get any cut from vB sales or otherwise benefit financially from the product, or that Lynne for example who's providing plenty of support for the product would be just donating her time for free and helping people here with just pure sweat equity. It doesn't make business sense to me, but like I said, I guess I'm too much of a capitalist and actually have to get paid for my time to pay my rent
Reply With Quote
  #9  
Old 12-09-2009, 02:08 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JarkkoL View Post
Anyway, personally I would be surprised if vbulletin.org running ad-free and adding plenty of extra value to the product wouldn't get any cut from vB sales or otherwise benefit financially from the product, or that Lynne for example who's providing plenty of support for the product would be just donating her time for free and helping people here with just pure sweat equity. It doesn't make business sense to me, but like I said, I guess I'm too much of a capitalist and actually have to get paid for my time to pay my rent
I spend hours here every week and don't get paid a single cent. None of the mods/admins on vb.org get paid - we are all volunteers. I can't speak for others, but I do it because I learn a lot by helping others and I just enjoy it and I enjoy the other users here.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:46 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04150 seconds
  • Memory Usage 2,232KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete