I have, but they don't seem to be a complete program, meaning they seem to call other functions that are built into vbulletin.
I need to find a way to access the database, and pull the data.
I had been working with this:
Code:
$mysql = mysql_connect(localhost);
mysql_select_db(DATABASE_NAME);
$user = $_GET['USER'];
$pass = $_GET['PASS'];
## GET LATEST THREADS ##
SELECT thread.*,thread.iconid AS threadiconid $previewfield
FROM ".TABLE_PREFIX."thread AS thread
LEFT JOIN ".TABLE_PREFIX."deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND type = 'thread')
$previewjoin
WHERE open <> 10
AND forumid NOT IN (0$limitfids)
AND thread.visible = '1'
AND deletionlog.primaryid IS NULL
ORDER BY lastpost
DESC LIMIT 5");
and I think I'm able to get the data, but I don't know how to echo it to the screen.