The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
How can I make it so that the Recently Updated Albums list, the one on the "album.php" page, is displayed in random order as opposed to the newest-to-oldest default?
|
#2
|
||||
|
||||
![]()
Where is this "recently updated list" - I'm not sure where you are talking about.
|
#4
|
||||
|
||||
![]()
Ah yes.. I've got a mod installed and that doesn't show for me.
Anyway, it's done in includes/class_groupmessage.php in the function filter_sort_field. It looks like there is a hook to affect that area called album_sort_field. So, you can play with that if you want to change what it is sorted on. The DESC and ASC are options that are passed, I think in album.php around line 1789: PHP Code:
|
#5
|
|||
|
|||
![]()
Thanks for the help, but can you be more specific on what it is I have to do?
I've opened both the "includes/class_groupmessage.php" and album.php" files and I see the lines you're referring to, including the code you put in quotes, but I need you to tell me exactly what I have to do (add/edit) because I'm a novice when it comes to hooks and such. I'm not even sure what you mean by "pass". I'm also wondering, am I supposed to make these changes by editing the php files and uploading them back to the server or is there a way to do this via the admin control panel? By the way, just so you know more specifically, what I want to do is make it so that the aforementioned picture album list appears in a different (random) order at every page view or refresh. |
#6
|
||||
|
||||
![]()
I can't be more specific because I've never done what you want to do. I only know that those are the areas you need to look at and change.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|