![]() |
Getting total # of threads for certain forums on non vb page?
I have a few sections on my frontpage that I would like to show the users how many threads have been started in that forum. I need it to also be able to work multiple times on the same page though, meaning I want to show the total threads in different places and for different forums.
If you can help me with this I would really appreciate it. Thanks! |
i would like this to incluede on my portal too...
|
Bump!
|
bump
|
bump
|
You can use the algorithm:
https://vborg.vbsupport.ru/showthrea...926#post276926 Change the query to anything you like and it will display any info you queried in a non-vb page. Needless to say, you need to insert this code into a page with .php extension.. |
Quote:
PHP Code:
|
NM, I got it to work by tweaking a last 24 posts hack. Thanks anyway.
|
can u share the code with me please gutspiller :D?
|
OK, here's the code:
PHP Code:
There might be an easier way and I don't know if this takes longer to do than some other way, but since I couldn't get any help. :p I had to use a work around and it works. You can also get the total for multiple forums by doing something like this: PHP Code:
|
All times are GMT. The time now is 03:10 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|