![]() |
Count post and reply code.
Hello everyone
I need to know where is the code that makes the post count up increase I mean if i reply a post or make one the post count increase by 1 couse is set like this but if i want to make it raise by 2 or maybe in some parts of the forum increase by 2 but in others by 1? I guess that its in newthreath.php but i cant find it, im very new on this :p but im learning so i will appreciate if someone can tell me this and what is the code. Thanks a lot.:up: |
Follow the track of PHP code - you'll probably find it in the post data manager.
|
i've just check the manual and is not there nothing about that, maybe i cant find it but i read all in Developer Tools/Data Managers and nothing :(
|
The vBulletin API only really gives you a list of classes and functions. This would be something you have to check the php code for.
|
i think it can be something like this but im very veeery new on php so dont laugh of me( at least not much :P )
PHP Code:
|
Again - follow the track of PHP code. You'll find yourself looking at the post data manager (class_dm_threadpost.php).
|
It is probably somewhere in build_new_post function. Which leads to class_dm_threadpost.php.
|
thanks a lot both of you i think i've just found it ;)
|
PHP Code:
Anyone can help me with this? |
That's adding to the reply count of the forum (and thread). That is the value used on the FORUMHOME for the display of total posts in a forum.
|
All times are GMT. The time now is 04:08 AM. |
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:
|