PDA

View Full Version : Form Post Count variable


SoloX
06-01-2012, 05:33 AM
Hello,

How can I get a particular forum's total post count in a variable?

Thanks

SoloX
06-05-2012, 04:28 AM
no one? :'(

Badshah93
06-05-2012, 04:43 AM
where you need that ?

in Homepage, ForumDisplay
you can use this code

$count = $vbulletin->forumcache[2]['replycount'] + $vbulletin->forumcache[2]['threadcount'];

Hooks:
any one of them

parse_templates
process_templates_complete
navbits_complete



replace 2 with forumid of that particular's forum