The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Change Toolbar Profile Image

View previous topic View next topic Go down

Solved Change Toolbar Profile Image

Post by inallsorts on December 18th 2013, 7:53 am

Greetings to all,

As the title reads, Is It possible to change the default Image of the toolbar?
Here's what I mean (arrowed):



I'm running phpBB3.
Thanks In advance for all help given.

inallsorts
Forumember

Posts : 246
Reputation : 8
Language : English

Back to top Go down

Solved Re: Change Toolbar Profile Image

Post by Ange Tuteur on December 18th 2013, 8:56 am

Hello inallsorts,

You can change the default avatar here :
Administration Panel > Display > Avatars gallery > Avatars management > Default avatar

Is that what you want to do ? or do you only want to change it for the toolbar ?

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Change Toolbar Profile Image

Post by inallsorts on December 18th 2013, 10:29 am

SethC1995 wrote:Hello inallsorts,

You can change the default avatar here :
Administration Panel > Display > Avatars gallery > Avatars management > Default avatar

Is that what you want to do ? or do you only want to change it for the toolbar ?

Hi Seth,

If I change It via theACP as mentioned above, that will also place the avatar In the user profiles of all members In all posts, correct? If not, then I'll
go with that option. If so, then I'll opt for changing It on the Toolbar only.

Thanks again for your help.

inallsorts
Forumember

Posts : 246
Reputation : 8
Language : English

Back to top Go down

Solved Re: Change Toolbar Profile Image

Post by SLGray on December 18th 2013, 10:31 am

It will only effect members who have not choosing an avatar. Also it will only effect new members who join your forum. You will have to manually changed old members' default avatars.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36701
Reputation : 2445
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Solved Re: Change Toolbar Profile Image

Post by inallsorts on December 18th 2013, 10:32 am

@SLGray wrote:It will only effect members who have not choosing an avatar. Also it will only effect new members who join your forum. You will have to manually changed old members' default avatars.

That's what I thought.

If there's a CSS code to change It only In the Toolbar Itself, that'll be great Smile

inallsorts
Forumember

Posts : 246
Reputation : 8
Language : English

Back to top Go down

Solved Re: Change Toolbar Profile Image

Post by Ange Tuteur on December 18th 2013, 11:10 am

I don't think I would be able to do this with CSS.

Administration Panel > Modules > Javascript codes management > Create a new script

Name : What you wish
Placement : In all the pages
Code:
jQuery(window).load(function() {
jQuery('#fa_usermenu img[src$="/pp-blank-thumb.png"]').attr('src','NEW IMAGE SRC');
});

Change NEW IMAGE SRC to your image you'll be using.

If it doesn't work change the image selector here :
img[src$="/pp-blank-thumb.png"]

to this :
img[src="/OLD IMG SRC"]

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Change Toolbar Profile Image

Post by inallsorts on December 18th 2013, 12:06 pm

SethC1995 wrote:I don't think I would be able to do this with CSS.

Administration Panel > Modules > Javascript codes management > Create a new script

Name : What you wish
Placement : In all the pages
Code:
jQuery(window).load(function() {
jQuery('#fa_usermenu img[src$="/pp-blank-thumb.png"]').attr('src','NEW IMAGE SRC');
});

Change NEW IMAGE SRC to your image you'll be using.

If it doesn't work change the image selector here :
img[src$="/pp-blank-thumb.png"]

to this :
img[src="/OLD IMG SRC"]

You're amazing Seth! Each and every code you've provided, just works perfectly.

I truly thank you for your assistance. The block of code worked without any editing.
Thanks again.

/Topic.

inallsorts
Forumember

Posts : 246
Reputation : 8
Language : English

Back to top Go down

Solved Re: Change Toolbar Profile Image

Post by Ange Tuteur on December 18th 2013, 12:10 pm

You're welcome

Topic solved and archived

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum