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)

SVTBlackLight01 03-26-2004 01:49 AM

AutomatikStudio,

Just a suggestion. It may be easier to use a variation of one of the portal hacks.

Gary King 03-26-2004 02:00 AM

Quote:

Originally Posted by AutomatikStudio
Alright gary...thanks for the tips thus far. He's what I'm trying to do. I'm trying to create an article system of sorts. My database table will have the following fields: Author, Date, Article, Title, and ID. Now, what I'd like to do is have something like:

articles.php?do=viewarticles&artid=4

And that would call the article in the database with the ID of 4. At any rate, how would I do that without having to make a new template for every article.

Basically just use a generic 'shell' template which has generic stuff that all the pages will have. Then just use variables in the templates, I'm sure you can go from there :)

GoTTi 03-26-2004 02:34 AM

n/m got it.

GoTTi 03-26-2004 02:37 AM

can u make vb code work with this ?

otherwise this is like HTML pages i guess...gotta use HTML tags.

The Wise One 03-27-2004 01:10 AM

is it possible to get the member age (if specified by the user in in his options) to show on the page...and is it possible to get the contact column from memberlist.php to work on this custom page? if so...how?

SVTBlackLight01 03-27-2004 02:22 AM

I have also been wondering if it is possible to include info for a specific user on the page.

AutomatikStudio 03-28-2004 03:11 AM

How would I add the title of the page in to the <title> tags?

SVTBlackLight01 03-28-2004 03:59 AM

This is what I am doing to make it a little more automated.

Between the title tags, use

Code:

$navbits[lastelement]
This will display what ever you use for you navbits here

PHP Code:

$navbits[$parent] = 'Whatever'; (test.php

in the title.

See here:

http://www.modernengineuity.com/specs/ford_gt.html

AutomatikStudio 03-28-2004 04:23 AM

Where can I find the <title> tags to edit? I seriously feel like I've looked everywhere..I'm sure they're right under my nose.

SVTBlackLight01 03-28-2004 04:32 AM

It's in the template.


All times are GMT. The time now is 02:20 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04588 seconds
  • Memory Usage 1,734KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (1)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