vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How vB works? (https://vborg.vbsupport.ru/showthread.php?t=75027)

UnknownServices 01-24-2005 08:25 PM

How vB works?
 
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 ++++*"

kall 01-24-2005 08:35 PM

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

Quote:

Originally Posted by UnknownServices
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

Quote:

Originally Posted by Zachery
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

Quote:

Originally Posted by UnknownServices
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.

https://vborg.vbsupport.ru/showthread.php?t=59939

UnknownServices 01-26-2005 11:13 PM

Read that. It helped alot. Do you know of any other article similar to that?

Brad 01-27-2005 01:12 AM

Quote:

Originally Posted by UnknownServices
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

Quote:

Originally Posted by UnknownServices
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.

miz 01-29-2005 11:24 PM

Quote:

Originally Posted by WhisperPntr
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


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