vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Community Lounge (https://vborg.vbsupport.ru/forumdisplay.php?f=13)
-   -   first hack (https://vborg.vbsupport.ru/showthread.php?t=281672)

TTayfun 04-17-2012 10:28 AM

first hack
 
hello,
it's my first hack: https://vborg.vbsupport.ru/showthread.php?t=281597

i would like to see your comments.

thanks.

BirdOPrey5 04-17-2012 11:04 AM

You know... I NEVER noticed the PM style here was any different then on a Standard 3.8 forum. (Yes I known vb.org is 3.6) Just never noticed... Mod code looks good. :up: Good luck. :)

TTayfun 04-17-2012 11:36 AM

thank you so much Joe :) i maybe release vb.org color system, i done it as full :)

Sage Knight 04-17-2012 01:02 PM

Looks good, any pointers for those interested in coding for vB? ;)

vbenhancer 04-17-2012 02:04 PM

Quote:

Originally Posted by Sage Knight (Post 2320889)
Looks good, any pointers for those interested in coding for vB? ;)

download your vBulletin copy, unzip it, check in the /upload/ folder, open any of the "php" file inside your text editor... tada, you see how it is coded, and you can try to understand... if you can, go to http://php.net and check for tutorials to learn the language based on what you understood by your vB files... :)

that's how i did, 10 years ago!

BirdOPrey5 04-17-2012 03:33 PM

Quote:

Originally Posted by Sage Knight (Post 2320889)
Looks good, any pointers for those interested in coding for vB? ;)

The most important thing, IMO, for a new coder is you need a test forum (separate install from your main forum) and you need to put in in debug mode. I wasted countless hours starting out because I didn't know debug mode existed.

https://vborg.vbsupport.ru/showthread.php?t=82835

Once you do that you can easily create mod product files that contain all the templates, plugins, phrases, settings, and other data your mods will need.

With debug mode you can easily create settings and such.

Find a very simple mod- something that is only 1 or 2 plugins. Read the product xml file- then Install it- and look at the plugins and settings, and how it all comes together.

You will basically start by adding on or editing an existing mod, then progress to your own simple mods.

For me it was-

Edit someone else's plugin
Make my own plugin
Make my own product file containing multiple plugins
Add settings to my product
Add phrases to my product
Learn how to use and include custom templates
repeat all above
repeat all above
...
Use custom database editing with special insall/uninstall code
...
Launch your own vBulletin.org site where you can list all your mods with the 5 star ratings they deserve. :p
...
Profit?


All times are GMT. The time now is 09:14 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.00992 seconds
  • Memory Usage 1,719KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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