The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I have the v3articles hack installed and I want it to display the 10 last added articles on the main page.. Asking for help on v3articles.com is close to impossible so I'm hoping someone here can help me out.
So far I've managed to do this: In article.php I have managed to add this: Code:
//START NEW ARTICLES $new = $DB_site->query("SELECT * FROM " . TABLE_PREFIX . "article ORDER BY dateline DESC LIMIT 10"); $newcount = $DB_site->num_rows($new); eval('$articlebits .= "' . fetch_template('article_newbit') . '";'); if ($newcount > 0) { eval('$articlecontent .= "' . fetch_template('article_newlist') . '";'); } else { eval('$articlecontent .= "' . fetch_template('article_newlist_noresults') . '";'); } //END NEW ARTICLES Thanks, and sorry for resorting to asking for help, I just can't figure it out. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|