![]() |
[FMI] Encourage Avatar Usage
Enclosed is our Avatar Encouragement system. What this plugin does is look to see if a user is using an avatar or not. If the user is not using an avatar it will insert a default avatar the admin has selected. The avatar will be click-able to enter the users USERCP and will only be show to that specific user.
Notable Features: Developed by ForuMedia Inc. We use our products on our network! Avatar clicks to USERCP profile so user knows where to go to update avatar. Avatar only appears for the user, not all users. This means you won't see the default avatar everywhere. Enable usergroup filter. Who it works for, who it doesn't. Ability to change path of missing avatar image (you can use a CDN!) How to test if it works? Delete your avatar. Go to a thread and see if you have your assigned default avatar listed. You can also create a test account with a test thread / post with no USERCP set avatar and see if it works :) Need Avatars? 10 Pack of "Click Me - add your avatar" images. Footer Link You may disable it however we would appreciate it if you didn't. It helps support our efforts. Support Support will only be offered on ForuMedia & vBorg. Our support thread: Install Details See attached .txt file. Admincp screen shot https://vborg.vbsupport.ru/ |
reserved for updates.
|
Interesting mod...
I can't find <a class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}"> In my postbit template. The closest I find is <a class="postuseravatarlink" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}"> Please advise :) |
scott, just change
{vb:link member, {vb:raw post}} to <vb:if condition="$avae">profile.php?do=editavatar<vb:els e />{vb:link member, {vb:raw post}}</vb:if> |
Hey Scott
please back up any of your templates etc :) Quote:
Quote:
Sorry, instructions were a bit vague. I will now update them for you guys. |
This is an awesome idea and will definitely help encourage users to use an avatar on my board.
Thank you for releasing this to the community! :D BTW, is this compatible with vB3 also? |
I changed it to the line in your new instructions and it works, however the users avatar is now to the right of their name instead of the left.
|
Quote:
Very near future. |
Quote:
This mod is working great on my board. Nominated :):up: |
Got i t working using this code instead.
<a class="postuseravatarlink" href="<vb:if condition="$avae">profile.php?do=editavatar<vb:els e />{vb:link member, {vb:raw post}} </vb:if>" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}"> Only issue is the link for all the other avatars on that page turn to the profile.php?do=editavatar but its livable. :D |
Quote:
Actually I think you have it installed incorrectly. The point of the plugin is that only the user who is logged in and doesn't have an avatar should see a link over their default avatar to the Edit Avatar page. Nobody besides that user should see the link to profile.php?do=editavatar and even then only on their own avatar area. You may want to redo your template edit, and look at neopets' post a few above to see what to replace. |
Scott, a direct excerpt from my postbit from a 4.2.0 board that's a clean install with the modifcation code done.
PHP Code:
|
Anyway to make this so it rewards a user with rep points for setting an avatar?
|
Works very well and installed perfectly thank you!
If I were to improve it, I think I'd make the images rotate... just an idea. |
Tagged for future use.
|
is this mod works as default avatar for users who don't use avatar??
if so, I tried it and didn't work. I also tried the codes posted, but none worked... any idea? |
Quote:
You must of done something wrong as this works |
All times are GMT. The time now is 08:22 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|