The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
My First Import
So I finally got some programming for my forums. the down side is it really was not written for vBulletin and the few people who have it working on their website have never taken the time to make it a true product / plugin.
I am not a programmer by any means but I am very interested in programming. I know the basics and I can follow directions pretty well. So I thought I would make one new thread to get me through my project. First I created a page outside vBulletin in a folder we will call "log" My first page was named index.php and I created a template with simple conditions. I followed Lynnes post https://vborg.vbsupport.ru/showthread.php?t=228112 Since that was pretty easy I am sure I can figure all this out by getting help from as many programmers that want to respond to my thread. All *positive* comments are welcome. So here are my first questions: I have this in my php file (this was already written as part of a script I am trying to import into vb Code:
$DB_Query; $rime5 = mysql_query("SELECT * FROM " . $mysql_prefix ."table"); $list4 = mysql_num_rows($rime5); Code:
$rime5 = $db->query_read("SELECT field FROM " . TABLE_PREFIX . "table"); $list4 = mysql_num_rows($rime5); 2. How can I get my template to call this so it shows up on the page? right now I have this to work with Code:
Total Number of Test Logs: $list4<br /><br /> Where is everyone? |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|