![]() |
vb3 new php file
So on my older version board i had a few extra php files added on such as rules.php and inside rules.php i had this:
PHP Code:
Quote:
|
Because vb3 uses a new function to get templates :)
fetch_template? It's something like that. But practicly all the functions have been renamed :) - miSt |
Indeed the core ideas have changed from vB2 to vB3. I suggest looking at index.php (or whatever you have the forumhome script defined as) and modelling yours after that.
|
I got it :)
PHP Code:
|
It's very different, isn't it. :)
|
But so much better ;) ^^
|
Quote:
not when you only know a little bit of php and your used to vb2. and dont have the time to learn because your to busy working or going out :( |
The vB3 way is much better...it has good PHP programming practices (and general programming practices) as compared to vB2. Now you know what error_reporting(7) actually means, for example :)
|
I cannot wait til Teck rewrites the microstats hack :) It will be great for vB3. Also does anyone know the query loads, or know how to view the query loads for vb3? I know in vb3 they had the showqueries variable which allows you to see. Not sure for vb3
|
You don't need microstats for vb3 :)! Turn on debug mode whilst your testing and you'll get loads more info :)
- miSt |
All times are GMT. The time now is 04:20 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|