vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How to go about starting a hack? (https://vborg.vbsupport.ru/showthread.php?t=115479)

TeaTree 05-13-2006 07:25 PM

How to go about starting a hack?
 
Hey,

I've never made a hack in my life, and now being quite experienced with VB Would like to make one-

How do I go about creating one? Is there a knack to it?

Many Thanks,

-Sam

funinthesun 05-13-2006 07:36 PM

You need to have knowledge of html and php. If you don't already then I would advise you learn them first.

TeaTree 05-13-2006 08:09 PM

Quote:

Originally Posted by funinthesun
You need to have knowledge of html and php. If you don't already then I would advise you learn them first.

I have good knowledge of these

Paul M 05-13-2006 08:17 PM

You have to have a clear idea of what you want your hack to do.

TeaTree 05-13-2006 08:21 PM

Quote:

Originally Posted by Paul M
You have to have a clear idea of what you want your hack to do.

I have a clear idea of what it needs to do

Stangsta 05-13-2006 08:54 PM

The best place to start would be the VB user manual. You can learn ALOT from it.

Alan @ CIT 05-13-2006 09:09 PM

The best way to start any programming project, is with the planning. Lay down on paper / computer exactly what your program will do from start to finish.

eg:

Code:

1. User clicks link to load the hack
2. Check user has permissions to run the hack
3. Fetch hack options
4. load the welcome page
...
80. User clicks save and exits

Once that's all done, and you've got a clear idea of how the flow of your program will go, start converting each of the above steps into code. Believe me, for any project of a reasonable size (ie, more than a 20 line hack), proper planning will prevent many many many logic bugs, security holes and head-scratching later on down the line :)

For PHP-specific help, www.php.net docs are handy for looking up function references, etc. For vB-PHP specific help, check the 3.5 Tutorial forums - plenty of good tutorials in there covering most things. Also, the 3.5 Hack Questions forum has plenty of good advice.

And finally, if in doubt, ask. Most people on vborg are happy to help new coders with advice or technical problems :)

Good luck with your project! :)

Thanks,
Alan.

TeaTree 05-13-2006 09:21 PM

Quote:

Originally Posted by Alan @ CIT
The best way to start any programming project, is with the planning. Lay down on paper / computer exactly what your program will do from start to finish.

eg:

Code:

1. User clicks link to load the hack
2. Check user has permissions to run the hack
3. Fetch hack options
4. load the welcome page
...
80. User clicks save and exits

Once that's all done, and you've got a clear idea of how the flow of your program will go, start converting each of the above steps into code. Believe me, for any project of a reasonable size (ie, more than a 20 line hack), proper planning will prevent many many many logic bugs, security holes and head-scratching later on down the line :)

For PHP-specific help, www.php.net docs are handy for looking up function references, etc. For vB-PHP specific help, check the 3.5 Tutorial forums - plenty of good tutorials in there covering most things. Also, the 3.5 Hack Questions forum has plenty of good advice.

And finally, if in doubt, ask. Most people on vborg are happy to help new coders with advice or technical problems :)

Good luck with your project! :)

Thanks,
Alan.

Many thanks you've helped a lot:)


All times are GMT. The time now is 07:31 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.01040 seconds
  • Memory Usage 1,732KB
  • 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_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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