Quote:
Originally Posted by tbones What has to be done to order all stories of a user by category (and date)?
Since demo isnīt running anymore I canīt tell you the english name of the triggering profile tab but it must be the one connected with PLIGG_Visual_User_Profile_Total_Links. |
The PLIGG_Visual_User_Profile_Total_Links is the label for the total links under "
My Profile Stats" in the user's profile.
If I understood correctly, you want when clicking on the tabs "Submitted", "Published", "Upcoming" that the stories be listed by category and date. In this case, the functions that displays the data for the mentioned tabs are in /user.php.
function do_history () is for the "Submitted"
The data is ordered by link date in descending order
function do_published () is for the "Published"
The data is ordered by link
published date in descending order
function do_shaken () is for the "Upcoming"
The data is ordered by link date in descending order
This is where you have to alter the queries to get the ordering you want.