vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Community Lounge (https://vborg.vbsupport.ru/forumdisplay.php?f=13)
-   -   So how do I learn to write hacks and stuff? (https://vborg.vbsupport.ru/showthread.php?t=181806)

BigJohnny 06-07-2008 04:28 PM

So how do I learn to write hacks and stuff?
 
Obviously it has alot to do with learning PHP, and how vBulletin functions, But the problem I have is that reading about how to do stuff tends to lose me.

I'm not a stupid person, but just reading a tutorial tends to raise more questions than answers, and usually leaves me having learned nothing.

I really want to learn to be able to write my own hacks and mods, and how to code stuff, but I don't really know where to start learning about it all, and I can never really find anyone willing to give me a helping hand, sure people will tell me how to do things, but they don't get specific and they don't really help me understand what it is I'm doing or trying to accomplish.

Yes I've done some stuff in the past, but it's really nothing mroe than just editing something that currently existed, But I really want to be able to write my own hacks without having to rely on someone else.

Is it possible? if so how?

Lynne 06-07-2008 04:42 PM

I learned by modifying existing modifications. I would want a mod to do X, but found a mod that did Y and learned how to do the little changes to get it to do what I wanted. I also learned by looking at the simple mods that just did one little thing and looked to see what plugins were needed. I still never code anything complicated, but by learning how to tweak existing mods and seeing how simple mods worked, I am now able to write some of my own modifications.

I did know some of the basics of programming before though. However, the programming I knew were basic, fortran, and pascal. :D

nexialys 06-07-2008 04:59 PM

Quote:

Originally Posted by BigJohnny (Post 1543282)
But the problem I have is that reading about how to do stuff tends to lose me.

there is no miracle source of information, even if you try and learn when writing, you will have to read a lot to understand what you do...

BigJohnny 06-07-2008 05:13 PM

like I said, I am able to take other hacks and modify them to do what I want or need, for the most part, but without constant help I'm pretty much useless.
I've also dabbled with some previous programming, It's always interested me, I've done some stuff with Visual Basic, but it was much the same thing again, I was getting pretty good, but I still couldn't figure stuff out on my own or write my own code.... It was basically copy and paste/modify, which is pretty sad..... no where near a real coder, even an amateur one.

I also realize there is no miracle learning source, I do catch stuff when reading, but I find it confusing, I don't learn as well by reading as most other people seem to.

It just makes me feel kind of stupid when I see people writing such elaborate hacks, after having used vBulletin for only a short period of time, or just writing there own period.
I guess you could say I'm jealous, but I want to learn.....

nexialys 06-07-2008 05:28 PM

Quote:

Originally Posted by BigJohnny (Post 1543322)
I guess you could say I'm jealous, but I want to learn.....

It's not a problem being jealous if it brings something positive at the end.. you learn, you try, to advance...

if at the opposite you try to break someone else's work just because you hate to be on a lower grade, this is not good.

as you said, you TRY... you will gain a lot by trying. but as i said, there is only one way... when you open a code, read the functions you do not understand by visiting php.net ... there is always a lot of documented comments for each function, and most of the time very efficient snipets of codes.

Lynne 06-07-2008 05:31 PM

As nexia says, you just go out and try. I have a test site setup and I try out all sorts of things on there. Some I start and find are just beyond me, so I export them and then uninstall them, but others I try and they work and so I export it and then import it to my real site.

iogames 06-07-2008 07:53 PM

Quote:

Originally Posted by Lynne (Post 1543341)
As nexia says, you just go out and try. I have a test site setup and I try out all sorts of things on there. Some I start and find are just beyond me, so I export them and then uninstall them, but others I try and they work and so I export it and then import it to my real site.

Wow! that's how you do the 'Magic'!?!?!

Well Lexx I think first of all you must love what you do, the rest is easy :)

Jase2 06-07-2008 08:59 PM

Please take a look at this post by King; some really useful links :)

https://vborg.vbsupport.ru/showpost....28&postcount=3

Personally, I would say trial and error is the best way to go. When you can't do something, then ask here and I'm sure someone will lend an hand. If you're really interested in programming, then maybe join a college or something similar?

Rapscallion 06-10-2008 09:47 PM

Maybe I've been lucky, but everything I wanted to do was already covered by an existing hack. It's been a bit like rule 34 for that...

Rapscallion

EnIgMa1234 06-10-2008 10:34 PM

One bit of advice I would like to give is start simple. When I started out I thought I'd be able to create monster addons in no time. What I did was make something small at first. Just any small piece of code. Over time then expand it until you feel ready to create an addon. It gives you a feeling of confidence to go and do more :) Also don't be afraid to ask the folks here to help with something bothering you :)


All times are GMT. The time now is 04:46 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.03205 seconds
  • Memory Usage 1,743KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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