The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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 but im learning so i will appreciate if someone can tell me this and what is the code. Thanks a lot.:up: |
#2
|
||||
|
||||
Follow the track of PHP code - you'll probably find it in the post data manager.
|
#3
|
|||
|
|||
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
|
#4
|
|||
|
|||
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.
|
#5
|
|||
|
|||
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:
|
#6
|
||||
|
||||
Again - follow the track of PHP code. You'll find yourself looking at the post data manager (class_dm_threadpost.php).
|
#7
|
|||
|
|||
It is probably somewhere in build_new_post function. Which leads to class_dm_threadpost.php.
|
#8
|
|||
|
|||
thanks a lot both of you i think i've just found it
|
#9
|
|||
|
|||
PHP Code:
Anyone can help me with this? |
#10
|
||||
|
||||
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.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|