The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Album count in PostBit?
Hi All,
I installed Album Link in Postbit this week and wanted to take it a bit further. I know it is a 3.8 mod, but it works in 4.x as well. Does anyone know how to pull the album count in the postbit? I have hacked the modification slightly and want to show a count with each user. My attempts so far have been in vain... Any input is appreciated! |
#2
|
|||
|
|||
Thirty views and no response yet? I figured there would be someone that could suggest something...?
|
#3
|
|||
|
|||
I don't know anything about that mod but if I understand you, what you want isn't really related to that mod, and you just want the album count in the postbit. I think you'd have to do a query to get that, by finding out how many rows are in the album table with a given user's id. If there was a count of each user's albums somewhere in the db then you could just add it to the main query in showthread that reads the post and user info, but I don't know if there's any way to add to that query to get album count (I'm an sql beginnner, really).
I suppose another way would be to add an albumcount field to the user table, but then of course you'd have to find ways to maintain it when albums are added or deleted. |
#4
|
|||
|
|||
Too bad that album count is not being displayed as blog posts by default. I could also use it.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|