vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   alright :) some general questions (https://vborg.vbsupport.ru/showthread.php?t=60088)

dv6cougar 01-12-2004 12:52 AM

alright :) some general questions
 
first thing's first.

I have a seperate database that I use for VARIOUS other things....

now what I would like to be able to do is, pull my information from the database, which I do know how to very well... I am getting really good with php... but I have never really used templates much.

my question is - how would I can you run a query and set a new array - $my_info[] perhaps, then use $my_info[] within the postbits template? and how do i set new conditionals to be used?

any help there is greatly appreciated :)

next up.

what table in the database has the # of users currently online in it? i figured it woudl be sessions - but that doesn't quite match up from my page to the forum home... so, thats not it :)


i had more, but I forget them.... thanks in advance!

Zachery 01-12-2004 12:56 AM

Quote:

Originally Posted by dv6cougar
first thing's first.

I have a seperate database that I use for VARIOUS other things....

now what I would like to be able to do is, pull my information from the database, which I do know how to very well... I am getting really good with php... but I have never really used templates much.

my question is - how would I can you run a query and set a new array - $my_info[] perhaps, then use $my_info[] within the postbits template? and how do i set new conditionals to be used?

any help there is greatly appreciated :)

next up.

what table in the database has the # of users currently online in it? i figured it woudl be sessions - but that doesn't quite match up from my page to the forum home... so, thats not it :)


i had more, but I forget them.... thanks in advance!

you have a whole nother database?

i dont think ive ever seen a program work with a 2 database system. altho i know one person who has done it, but he doesnt like to do it >.<

dv6cougar 01-12-2004 12:56 AM

yeah - I may make it into 1 database eventually, but for right now it's 2 and it does work fine :)

dv6cougar 01-12-2004 12:59 AM

so I didn't see the announcement that's here.... not sure how i missed it, mods please move it, sorry.


All times are GMT. The time now is 02:40 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
  • Page Generation 0.01145 seconds
  • Memory Usage 1,718KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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