You have to modify persona to go back to the old style. Then changes are in https://github.com/NodeBB/nodebb-theme-persona/pull/507/files.barisusakli created this issue in NodeBB/nodebb-theme-persona closed feat: sticky postbar #507
in which parts making posts.user.postcount return postcount?
JackL last edited by JackL
I checked the database and found that pid reserve the IP address of that post as well, however posts.ip obviously does not return that string value.
So I assume that there are codes in which determining function .user.postcount to return an integer right? Can anyone tell me that where could I find those codes, So that I can write some similar function to return the IP address？
We do return the ip but only for admins and mods.
post.ip = topicPrivileges.isAdminOrMod ? post.ip : undefined;take a look here
Keep in mind IP tracking needs to be turned on in the ACP for this to work.