The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
OK, I tested this code and it seems to work:
Code:
global $vbulletin; if ($threads = $vbulletin->db->query_first("SELECT COUNT(*) AS threads FROM " . TABLE_PREFIX . "thread WHERE postuserid = $post[userid] AND visible=1")) { $post['threads'] = $threads['threads']; $post['replys'] = $post['posts'] - $threads['threads']; } Yes, adding $posts[threads] and $posts[replys] is what you want to do. (I guess that should really have been "replies" ![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|