The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hello,
after importing image from a large photopost album into vbulletin profile album, I need to "recount" the total number images for each album but I don't know how to build a query to do this. Vbulletin Maintenance doesn't have an option to do this. Does anyboy could help me to build this query please? Thank you in advance |
#2
|
|||
|
|||
![]()
Uhm... is it impossible?
|
#3
|
|||
|
|||
![]()
It might be able to be done with a query, I'm not sure. But I put together this small script that should do it:
PHP Code:
Put that in a php file, upload it your forum directory, and point your browser to it. (Then probably delete it from the server). |
#4
|
||||
|
||||
![]()
Admin CP -> Maintenance -> Update Counters -> Rebuild Recently Updated Albums
|
#5
|
|||
|
|||
![]()
That doesn't seem to update the count of pictures in each album, but maybe I misunderstood the question.
|
#6
|
||||
|
||||
![]()
Or I did.
|
#7
|
|||
|
|||
![]() Quote:
No Boofo, this process doesn't count the album profile images. I hope It will be added in the future release by vbulletin team. |
#8
|
||||
|
||||
![]()
My bad.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|