Hello,
In this topic :
https://vborg.vbsupport.ru/showthread.php?t=189788
i like this part :
#################### GIFT COUNT ON POSTBIT ####################
To display gifts count on postbit's:
Add new plugin
Hook Location: showthread_postbit_create
Title: Gifts in Postbit Legacy
Execution Order: 5
Plugin PHP Code:
PHP Code:
$num_gifts = $db->query_first("
SELECT COUNT(*)
FROM " . TABLE_PREFIX . "gifts AS gifts
WHERE recipientid = " . $post['userid']
,DBARRAY_NUM);
$post['gifts'] = $num_gifts[0];
Plugin is active: yes
Then on the postbit where you want to display it just put
(<a href="member.php?$session[sessionurl]u=$post[userid]">$post[gifts]</a>) gifts
#################### /GIFT COUNT ON POSTBIT ####################
This is For Numbers of the
Gifts in postbit !!!
What about Number of Friends ??
can any one help me in this ??
thxxxx..