|
Joined: Mar 2007
Posts: 285 Likes: 1
Enthusiast
|
Enthusiast
Joined: Mar 2007
Posts: 285 Likes: 1 |
Does the Member Spotlight only show Members that have an Avatar?
I've been watching mine (7.5.9) for awhile now and have not seen anyone without an Avatar.
Bill
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
The requirements change a little bit based on what version you're on, but v7.5.9 is: cache_builders/featured_member.php WHERE t1.USER_ID = t2.USER_ID
AND t1.USER_ID = t3.USER_ID
AND t1.USER_IS_BANNED != '1'
AND t1.USER_ID > 1
AND t2.USER_AVATAR != ''
AND t2.USER_TOTAL_POSTS > 40
$thisclause Where $thisclause is: $thisclause = "";
if ($config['FEATURED_MEMBER']) {
$now = $html->get_date();
$date = $now - $config['FEATURED_MEMBER'] * 86400;
$thisclause = "AND t3.USER_LAST_POST_TIME > $date";
} Anyhow, the WHERE requires: Member Active (not banned) Member Not ID #1 (Guest) Member Has an Avatar (What's to feature if there isn't an image) Member total posts greater than 40. Member last active in the last X days (where days would be whatever your "FEATURED_MEMBER" value is) This changes in v7.6.0 to be a limit of 20 posts vs 40.
|
|
|
|
Joined: Mar 2007
Posts: 285 Likes: 1
Enthusiast
|
Enthusiast
Joined: Mar 2007
Posts: 285 Likes: 1 |
Most Members have not chosen an avatar.
Can a specific default Avatar be shown just for the purpose of the Member Spotlight?
|
|
|
|
Joined: Mar 2007
Posts: 285 Likes: 1
Enthusiast
|
Enthusiast
Joined: Mar 2007
Posts: 285 Likes: 1 |
Or... can I give everyone a Generic default Avatar if they don't choose one?
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
You're more than welcome to remove the line from the cache builder file; note however that we cannot officially support modifications to stock coding. Find: And remove it, it's why the code was supplied in my previous post.
|
|
|
|
Joined: Mar 2007
Posts: 285 Likes: 1
Enthusiast
|
Enthusiast
Joined: Mar 2007
Posts: 285 Likes: 1 |
And remove it, it's why the code was supplied in my previous post. Hey, sorry, I'm a little slow sometimes... But, as to my other question... is there a way to give some default avatar for this Member Spotlight, or to a member that hasn't selected one?
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
Generally, in newer versions, users without an avatar are assigned a silhouette as their avatar in the areas that will require one to be displayed, such as your profile page.
|
|
|
|
Joined: Mar 2007
Posts: 285 Likes: 1
Enthusiast
|
Enthusiast
Joined: Mar 2007
Posts: 285 Likes: 1 |
Generally, users without an avatar are assigned a silhouette as their avatar, in the areas that will display one. in 7.5.9? then it would show in Members Spotlight? I don't seem to have an Avatar showing here...?
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
No, a silhouette won't show in the member spotlight (it's not coded to), and users without an avatar won't show in member spotlight unless you remove the line as previously indicated.
Silhouettes show in some areas as a placeholder when no image is provided, as of 758+. If you look at your profile, your avatar is a silhouette.
If the silhouette was used everywhere it'd be quite the distraction, hence why it's only used in areas that require one to be.
Fyi, the member spotlight will not assign a silhouette to users without an avatar, the code will probably just try to load an image that doesn't exist.
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
2 members (Nightcrawler, Ruben),
524
guests, and
148
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|