2014-02-27, 05:21 AM
Pages: 1 2
2014-02-27, 06:18 AM
Directly place it in the headerer_welcomeblock_guest template.
Or you can use this jQuery trick, it has affect for all guests as well as members with no avatar:
http://demonate.com/thread-1387.html
Or you can use this jQuery trick, it has affect for all guests as well as members with no avatar:
http://demonate.com/thread-1387.html
2014-02-27, 10:28 AM
(2014-02-27, 06:18 AM)effone Wrote: [ -> ]Directly place it in the headerer_welcomeblock_guest template.
Or you can use this jQuery trick, it has affect for all guests as well as members with no avatar:
http://demonate.com/thread-1387.html
Hello,
I forgot to clarify myself:
How do I add a default Guest avatar in the Postbit?
2014-02-27, 05:18 PM
I told already, the jQuery function I've pointed at can handle this.
only you need to change the base avatar variable to {$post['useravatar']}
only you need to change the base avatar variable to {$post['useravatar']}
2014-03-14, 06:56 AM
(2014-02-27, 05:18 PM)effone Wrote: [ -> ]I told already, the jQuery function I've pointed at can handle this.
only you need to change the base avatar variable to {$post['useravatar']}
Is there a way to do this without JQuery?
2014-03-14, 02:39 PM
Change {$post['useravatar']} to:
<if $post['useravatar'] then>{$post['useravatar']}<else><img src="{$theme['imgdir']}/default_avatar.gif" alt="" /></if>
in postbit/postbit_classic.2014-03-16, 08:45 AM
(2014-03-14, 02:39 PM)Destroy666 Wrote: [ -> ]Change {$post['useravatar']} to:
in postbit/postbit_classic.<if $post['useravatar'] then>{$post['useravatar']}<else><img src="{$theme['imgdir']}/default_avatar.gif" alt="" /></if>
Thank you for your help, however I'm looking at making MyBB "know" that each guest has the same default avatar.
I knew how to just display a guest avatar in the postbit already, but I'm looking for a method to put a "proper" avatar, one that MyBB can recognize as an avatar, not just an image that shows on a guests postbit.
Is this possible?
2014-03-16, 02:43 PM
Then how about specifying it in first post...? Noone can read that from "How could I add a default Guest avatar?" sentence.
You need to use this plugin then:
http://mods.mybb.com/view/identicon-avatar
And to prevent further questions which you'd surely ask - no, this can't be done without plugin or core edit and the 2nd isn't available.
You need to use this plugin then:
http://mods.mybb.com/view/identicon-avatar
And to prevent further questions which you'd surely ask - no, this can't be done without plugin or core edit and the 2nd isn't available.
2014-03-16, 11:27 PM
Or if you want to specify the avatar yourself: http://mods.mybb.com/view/default-avatar
2014-03-17, 06:37 PM
We have used the above plugin (default-avatar) for a while and it works brilliantly, easy to use and works with the latest version of MyBB 1.6.12 and previous version without any problems
Pages: 1 2