The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
PHP cron to access events and user data
I am trying to access the event and user tables through a PHP cron job and being a complete newbie, I am having issues!!!
I downloaded the tables as CSV files to get their field names and layout. I then used the following to access the data on my vb3.5.5 forum: PHP Code:
PHP Code:
Fatal error: Call to a member function on a non-object in .../includes/cron/events.php on line 16 Line 16 is the SELECT statement. OK, I know I'm clueless but can you help me get this working? When do you use $vbulletin->$db->query_read versus $db->query_read? Why do the fields names change (event.title versus title)? How do you read data from a table? I have spent DAYS going through all the keyword searches I can think of and nothing conclusive. When I get this thing working, I am going to post an "Idiots Guide to Reading vBulletin Databases". Thnaks in advance for any help you can offer me!!!!! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|