The Arcive of vBulletin Modifications Site. |
|
How do I for the following equation for forumdisplay.php (POSTS - THREADS)... Details »»
|
|||||||||||||||||||||||||||
|
How do I for the following equation for forumdisplay.php (POSTS - THREADS)...
Developer Last Online: Nov 2002
I want to show the number of comments, instead of posts. Therefore, the number of posts MINUS the threads.
Example: Forum Help: Posts: 17 Threads: 7 Comments: 10 Get it? ![]() Anyone know how? I tried a few things in forumdisplay.php, but they didn't work. Thanks. Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
Hmmm.. if you wanted to do this for forums on the main page, you'd edit index.php... I'm assuming you could put
PHP Code:
|
|
#3
|
||||
|
||||
|
Thanks! I'll try that out when I get a chance and let you know.
![]() Could you help with this other problem of mine? https://vborg.vbsupport.ru/showthrea...threadid=41519 |
|
#4
|
||||
|
||||
|
If I'm not mistaken wouldn't it make more sense for the reply count to be basically what he's asking for?
|
|
#5
|
||||
|
||||
|
Got it. Your line number didn't work, but I moved it around a little, and found that this works:
Put: PHP Code:
PHP Code:
Thanks for the main starting idea, it helped me get off the ground.
|
![]() |
|
|