The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
has anyone/can anyone make a hack that would track a user's number of posts per a certain forum? i.e they would have 2 post counts, 1 being the main post count, and 1 being the count for that certain forum. Thx
|
#2
|
|||
|
|||
Yeah, i need this too, to use with auto group assignment hack.
|
#3
|
|||
|
|||
^bumped^
|
#4
|
|||
|
|||
I thought this might be easy, and it was.
In showthread.php go to line 488. You'll see something like: Code:
} else { $post[signature] = ""; } } else { Code:
} else { $post[signature] = ""; } $forumcount_result = $DB_site->query("select count(*) as forumposts from post,thread where post.threadid=thread.threadid and post.userid=" . $post[userid] . " and thread.forumid=" . $curforumid); $forumcount_row=$DB_site->fetch_array($forumcount_result); $post[forumposts] = $forumcount_row[forumposts]; $DB_site->free_result($forumcount_result); } else { Go down about 6 lines where you see: Code:
$post[posts]="N/A"; Code:
$post[posts]="N/A"; $post[forumposts]="N/A"; Near the bottom of the initial window you'll see: Code:
Posts: $post[posts]</smallfont></td> Code:
Posts: $post[posts]<br> Forum Posts: $post[forumposts]</smallfont></td> Let me know how it goes for you please. -Jonathan |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|