The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
how to get node view counter
hello everyone!
i've tried to get some thread with this api http://vb5support.com/resources/api/vB_Api_Node.html i can get how many post replay in this thread, but not able to get how many this thread has been viewed any suggestions? thanks best regards! putra. |
#2
|
||||
|
||||
There's getNodeviews() method but it is protected and not public so you cannot call it from outside.
http://vb5support.com/resources/api/...d_getNodeviews You can create your own API and copy that method and then make it public. |
#3
|
||||
|
||||
You could use the 'MergeNodeviewsForTopics' class.
But it work just for Header template (for me... don't know if you could put it to Forum_display_templates...) I made you a small Mod. Should be OK if you don't want to use your own class. Don't test it at all nodes articles blogs ... but it show you one way to do it. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|