vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=187)
-   -   How to create your own vBulletin-powered page! (uses vB templates) (https://vborg.vbsupport.ru/showthread.php?t=62164)

BirdOPrey5 03-27-2011 02:53 PM

Quote:

Originally Posted by Hummell (Post 2177967)
Here are the errors I'm getting on the page I created. Can someone please tell me what I've done wrong?

What you did wrong was follow instructions for an article written for vBulletin 3.x when you have vBulletin 4.x. Please see the vBulletin 4 articles section for a comparable article- there are some significant differences in programming between the two when it comes to templates.

Hummell 03-27-2011 04:25 PM

@#%@#

Took me forever googling around to find this. Could I please ask if you can point me in the right direction?

BirdOPrey5 03-27-2011 07:43 PM

It was the very first thread in the VB4 Articles Section:
https://vborg.vbsupport.ru/showthread.php?t=228112
[HOW TO - vB4] Create your own vBulletin page.

ilrglen 03-28-2011 03:56 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2177976)
What you did wrong was follow instructions for an article written for vBulletin 3.x when you have vBulletin 4.x. Please see the vBulletin 4 articles section for a comparable article- there are some significant differences in programming between the two when it comes to templates.

WOW!!! Good to know. I have thousands of new pages created on my 3.x site. I guess I'm now stuck with it instead of upgrading to 4.x.

BirdOPrey5 03-28-2011 01:29 PM

Thousands? That is impressive...

But yeah, the way templates are called (and cached) changed... Once you get the hang of it it's not too bad but it will mean a manual edit to every php file you have that calls a template (which is probably all of them.)

ilrglen 03-28-2011 05:42 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2178317)
Thousands? That is impressive...

Well, I have been running my site for over 10 years now. Converting the site over to the new format has been a heck of a job with a little still to go. I'd hate to start that process all over again. If I did would the required changes be required only in the php file or the template as well?

cellarius 03-28-2011 05:57 PM

Both. Honestly, in your situation, I'd recommend using either the CMS (so hopefully you'd be converting one last time only) or creating just one framework page that pulls it's content data from a custom database table. This way, it'd be easier for future conversions. But, of course, I don't know what kind of pages we're talking about.

BirdOPrey5 03-28-2011 09:32 PM

VB4 uses table-less design so depending on how much existing code you rely on in your templates could mean a lot of work. Also all template conditionals and variable uses in templates has changed.

ilrglen 03-29-2011 01:33 PM

Quote:

Originally Posted by cellarius (Post 2178464)
Both. Honestly, in your situation, I'd recommend using either the CMS (so hopefully you'd be converting one last time only) or creating just one framework page that pulls it's content data from a custom database table. This way, it'd be easier for future conversions. But, of course, I don't know what kind of pages we're talking about.

We are working on a new setup that will draw content from a database but even that is taking time to assemble. For now I am doing it the hard way. My web site collects photos of and information on every Lamborghini car ever built so there are 20,000+ potential pages to create. Database will be simpler once it is all ready to go.

soundbarrierpro 04-20-2011 01:43 PM

Anybody know how to make these pages searchable in google or other search engines? I've added the meta data to each of the templates for the pages I've created. However, I get no results when I search in google even when I enter the entire URL.

Thank you, any help is greatly appreciated.


All times are GMT. The time now is 03:59 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.02823 seconds
  • Memory Usage 1,741KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete