The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
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:
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.. |
#2
|
||||
|
||||
![]()
Have you tried the variable $post['friendcount'] in the postbit?
|
#3
|
|||
|
|||
![]()
yes and it worked, but with this $post[friendcount] Not $post['friendcount'],
what about Number of Topics ???? --------------- Added [DATE]1230332057[/DATE] at [TIME]1230332057[/TIME] --------------- and Number of Albums plz ??? |
#4
|
||||
|
||||
![]()
I don't know what you mean by Number of Topics. If you mean number of threads, I think there is a modification to do that.
As for number of albums, you will probably have to add a plugin to join in the query and do a count(album.albumid) of the albums for the user joining on album.userid. The above way of doing it for the gifts adds one query per postbit which is not the best way to go. It's probably better to join in the query when the post information for the user is obtained (but don't ask me if it's a left join or right join or any of that cuz I don't know). |
#5
|
|||
|
|||
![]() Quote:
yes i mean number of threads !! but i didn't found this modification ... and i can't do what you say about the albums count ... so my request is for this : 1- count of user's albums . 2- count of user's friends . [Done] 3- count of user's threads . 4- count of user's referrals . Any Help ... ![]() |
#6
|
||||
|
||||
![]()
Do a search on "postbit*" in "all mods" "titles only" . I saw mods regarding referrals, albums, and threads in there (you will have to look through a few pages of the results).
|
#7
|
|||
|
|||
![]()
thank u, i will
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|