View Full Version : How vB works?
UnknownServices
01-24-2005, 08:25 PM
Hello,
I'm just began vB and I'de like to learn how it works as in the whole architect. Can any of you modders give me a place to learn how to mod vB and where did you learn everything?
Dionysis
01-24-2005, 08:27 PM
hah, i'd love to hear a good answer to that or read a tutorial that explains the coding in detail.
right now i am just looking through each index.php and occasionally browsing the files it includes and doing a "*omfg holy ++++*"
Well, if you want to learn how to 'mod vB'...start by installing some hacks.
This will hopefully give you some insight as to how it all fits together, and you will work out how to mod it yourself.
Zachery
01-24-2005, 08:38 PM
Hello,
I'm just began vB and I'de like to learn how it works as in the whole architect. Can any of you modders give me a place to learn how to mod vB and where did you learn everything?
take 6 months, learn advanced php and mysql then go review each and every bit of vB code. That should give you a good idea :)
joeychgo
01-24-2005, 08:53 PM
LOL you make it sound so complicated Zach ! LOL
UnknownServices
01-24-2005, 09:57 PM
lol. I installed over 10 hacks already(and looked @ them). I have some questions:
1. NVM found the answer, they do make you edit hte index.php :P
2. Does the Admin CP use templates for the mod's admin pages?
I came from phpBB and I never modded inthere but I understood what was going on, now I have to adapt to vB.
Dionysis
01-24-2005, 10:24 PM
"2. Does the Admin CP use templates for the mod's admin pages"
hrm, i'm trying to make a mod for the ADMINCP right now that lets me have another entire group of templates not even listed in the same table. i found what i *think* is the code under the admincp/templates.php file. those files use the phrases, but not templates (i think? but havn't gotten that far).
UnknownServices
01-24-2005, 11:29 PM
take 6 months, learn advanced php and mysql then go review each and every bit of vB code. That should give you a good idea :)
Can anyone (Zack too :)) you recommend any books?
Andreas
01-24-2005, 11:33 PM
2. Does the Admin CP use templates for the mod's admin pages?
No, only phrases.
UnknownServices
01-25-2005, 12:10 AM
Then how do you print out rows? Would you use:
foreach(row in results etc...)
{
print $row['a'] etc?
}
?
Andreas
01-25-2005, 12:12 AM
Take a look at includes/adminfunctions.php
There are a lot of print_ functions which are being used to construct CP dialogs.
UnknownServices
01-25-2005, 12:15 AM
Can you recommend any advanced php books?
Andreas
01-25-2005, 12:36 AM
No, sorry - haven't read any books about PHP so far :)
UnknownServices
01-25-2005, 12:36 AM
All online tuts?
Andreas
01-25-2005, 12:40 AM
I also haven't read tutorials - LOL.
The online manual (http://www.php.net) and sometimes Google was always enough :)
UnknownServices
01-25-2005, 12:54 AM
Lol. I preffer books. I'll look @ that again, everyone says to look @ it. When I looked @ it I got a little confused, gota try again :P...
Thanks.
Zachery
01-25-2005, 10:42 AM
I think sitepoint.com has some good books.
Carnage
01-26-2005, 11:03 AM
personally i dont rate php books, the one i used; most of the code examples were incorrect i ended up spending hours on php.net working out what was wrong... looking at that perhaps it helped me learn :s
To understand vb a bit better i believe zach has a link in his sig you may find useful.
59939
UnknownServices
01-26-2005, 11:13 PM
Read that. It helped alot. Do you know of any other article similar to that?
Read that. It helped alot. Do you know of any other article similar to that?
Read everything you can in the modification tips and tricks forum.
A basic understanding of php will get you very far, it is alot easier to modify something when you can understand exactly what is going on ;).
sabret00the
01-27-2005, 09:33 AM
Lol. I preffer books. I'll look @ that again, everyone says to look @ it. When I looked @ it I got a little confused, gota try again :P...
Thanks.
theirs a thread in the lounge with some great php books listed, namely the one i named ;)
UnknownServices
01-29-2005, 03:30 AM
Ok, after a few days of working, I finaly converted a custom phpBB mod to vB :) Yepiee! I'll look @ that thread.
WhisperPntr
01-29-2005, 10:58 AM
If possible take a class in C up to hash, pointers and stacks. You should have a pretty good idea how to prgram then, but it still doesn't account the stuff you need to learn for php.
If possible take a class in C up to hash, pointersand stacks. You should have a pretty good idea how to prgram then, butit still doesn't account the stuff you need to learn for php.
i dont know anything about C or C++
but im ok with php
C dosent give much info
PhP and C are simlar but still you will need to learn php
UnknownServices
02-03-2005, 01:21 AM
I know C#, JavaScript, and I've read about 2 lessons of Sam's Teach your self C++ in 21 days and quit(online). Got stuck @ pointers..
CtrlAltDel
02-03-2005, 03:28 AM
most noobs i know, know at least enough to go read the manual and start building some pages of their own to understand the basic functions....
get on it
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.