View Full Version : vB3 Hacking 101 Guide
Ninth Dimension
01-28-2004, 05:42 PM
Hi all, sorry if this is the wrong forum, but here goes:
Has anyone written, or is anyone going to write a hacking guide for vB3?
I (like a lot of other people here I should imagine) am used to vB2, and the way that works and all it's functions (how to do queries, pull templates, etc..), but now, so far as I can see, all of that has changed and a whole bunch of new functions have been introduced.
I'm keen to jump in the hacking bandwagon and develop a new articles system add-on, as well as maybe update vBstory, but I'm not too sure where to start...
Thank you in advance.
Ninth Dimension
01-29-2004, 05:16 PM
Anyone?
Xenon
01-31-2004, 12:16 AM
Well there are some beginnerguidlines in the moding hints and tips forum, but a full vb3 hacking guide isn't there to my knowledge.
iirc there were plans that the devs will write up a guide about the vb3 code, but not sure
Ninth Dimension
01-31-2004, 12:32 AM
TBH all I'm looking for is a very basic guideline so I know what to do, and what not to do, for example I was looking at things like
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'vbindex');
and I'm not sure what they are for...
I'm also interesting in knowing what's the best way to do queries and pull templates, I mean I can learn from some of the other hacks that have been released, but then... what's to say that the hack i'm looking at have been done in the best way?
I hope that someone does sit down and write a guide, just very basic stuff, and I can pick up the rest myself :)
Zachery
01-31-2004, 10:50 AM
Check my sig, it has some nice starting points :)
Dean C
01-31-2004, 11:44 AM
Ninth Dimension - in your post above you have a constant. A constant holds data in a similar way to variables.
Whereas a variable would hold date like so: $var = 'string';
A constant would use: define(VAR, 'string');
It's just another alternative data-holder really :)
Gary King
01-31-2004, 11:52 AM
The crew at http://www.everythingvb.com/forumhome.php? are going to make a hacking guide soon, I believe :)
Ninth Dimension
01-31-2004, 12:13 PM
Sounds good to me, thanks for the links guys, I'll be sure to check them out, with luck I'll have my article system up and running soon...
Mist, I knew what the code did, I was more interested in what it was used for within the scope of vB... but thank you for offering your help :D
Link14716
02-13-2004, 01:29 AM
THIS_SCRIPT is used a lot in conditionals and stuff, very useful indeed.
NO_REGISTER_GLOBALS just stops vB from emulating register_globals = on, since it isn't needed anymore.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.