Go Back   vb.org Archive > Community Central > Community Lounge
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-07-2008, 04:28 PM
BigJohnny's Avatar
BigJohnny BigJohnny is offline
 
Join Date: Jun 2006
Location: Canada
Posts: 500
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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?
Reply With Quote
  #2  
Old 06-07-2008, 04:42 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 06-07-2008, 04:59 PM
nexialys
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by BigJohnny View Post
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...
Reply With Quote
  #4  
Old 06-07-2008, 05:13 PM
BigJohnny's Avatar
BigJohnny BigJohnny is offline
 
Join Date: Jun 2006
Location: Canada
Posts: 500
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.....
Reply With Quote
  #5  
Old 06-07-2008, 05:28 PM
nexialys
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by BigJohnny View Post
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.
Reply With Quote
  #6  
Old 06-07-2008, 05:31 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 06-07-2008, 07:53 PM
iogames's Avatar
iogames iogames is offline
 
Join Date: Jan 2007
Location: Las Vegas, NV.
Posts: 1,433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
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
Reply With Quote
  #8  
Old 06-07-2008, 08:59 PM
Jase2 Jase2 is offline
 
Join Date: Dec 2007
Location: USA
Posts: 1,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #9  
Old 06-10-2008, 09:47 PM
Rapscallion Rapscallion is offline
 
Join Date: Jul 2006
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #10  
Old 06-10-2008, 10:34 PM
EnIgMa1234 EnIgMa1234 is offline
 
Join Date: Mar 2006
Location: .:: Ireland ::.
Posts: 1,306
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply


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 05:23 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.04218 seconds
  • Memory Usage 2,248KB
  • 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
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (8)postbit_onlinestatus
  • (10)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