PDA

View Full Version : postcounts


ZombieAndy
04-05-2006, 05:03 AM
anyone know how postcounts are handled in vB3.5.x?

i know in 3.0.x postcounts were handled in the functions_newpost.php file, but in 3.5.x this file is about 500 lines shorter and has nothing to do with postcounts.

anyone know where i can find it?

Brad
04-05-2006, 06:16 AM
It was moved to the datamanagers. :)

Open the file (/includes/class_dm_threadpost.php) and search for 'replycount'. There are multiple classes defined in that file so make sure you have a good look over the file before you edit it.

Check out the following classes:

vB_DataManager_Thread_FirstPost
vB_DataManager_ThreadPost
vB_DataManager_Post
vB_DataManager_Thread

ZombieAndy
04-05-2006, 08:45 PM
It was moved to the datamanagers. :)

Open the file (/includes/class_dm_threadpost.php) and search for 'replycount'. There are multiple classes defined in that file so make sure you have a good look over the file before you edit it.

Check out the following classes:

vB_DataManager_Thread_FirstPost
vB_DataManager_ThreadPost
vB_DataManager_Post
vB_DataManager_Thread
thanks man :)