On the homepage, members block, how can I have members only who have avatar pics.. so it doesn't look ugly with gray no-photo pics?
On the homepage, members block, how can I have members only who have avatar pics.. so it doesn't look ugly with gray no-photo pics? |
what i have seen done on this is to create a custom silhouette image, depicting your branding that will replace the ugly image. i personally think as you, that some default avatar should appear, but in lieu of that, creating a custom silhouette should suffice. When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support |
Open templates/base/scripts/BxBaseIndexPageView.php
Find around line 345: $sqlOrder = " ORDER BY `Profiles`.`Couple` ASC, `Profiles`.`DateReg` DESC"; Change to $sqlOrder = " ORDER BY `Profiles`.`Couple` ASC, `Profiles`.`Avatar` <> 0 DESC";
This will show members with avatars first, replacing the functionality of correctly displaying users by registration date. Since I hid the block for my members display, "Latest" is selected by default and the user can not change it - so I targeted this option.
I suspect a database guru will be able to provide a quick answer to how you can still sort by reg date but only show those with an uploaded avatar, i need to get to sleep or I'd play around with it a bit more :) Skype: shawn.nelson |