The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

How to add the avatar in the User's Control Panel ?

3 posters

Go down

Solved How to add the avatar in the User's Control Panel ?

Post by YoshiGM March 28th 2012, 5:50 pm

Hi there!

How can i add the user's avatar in the control panel, like this screen:

How to add the avatar in the User's Control Panel ? IRdh3
YoshiGM
YoshiGM
Active Poster

Male Posts : 1488
Reputation : 144
Language : Spanish & English
Location : Mexico

http://asistencia.foroactivo.com/u21373

Back to top Go down

Solved Re: How to add the avatar in the User's Control Panel ?

Post by kirk March 28th 2012, 8:38 pm

what you mean set a members avatar?

Just go to admin panel>User and groups

either serch users name in (find user option) or (go through the list).
Then click on thire name and you can edit/add a avatar in thire profile there.
kirk
kirk
Forumaster

Male Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Solved Re: How to add the avatar in the User's Control Panel ?

Post by YoshiGM March 28th 2012, 8:47 pm

Nope..

In the tutorial called: User control Panel. I Want to show in it the avatar.
YoshiGM
YoshiGM
Active Poster

Male Posts : 1488
Reputation : 144
Language : Spanish & English
Location : Mexico

http://asistencia.foroactivo.com/u21373

Back to top Go down

Solved Re: How to add the avatar in the User's Control Panel ?

Post by YoshiGM March 30th 2012, 12:06 am

bump
YoshiGM
YoshiGM
Active Poster

Male Posts : 1488
Reputation : 144
Language : Spanish & English
Location : Mexico

http://asistencia.foroactivo.com/u21373

Back to top Go down

Solved Re: How to add the avatar in the User's Control Panel ?

Post by LGforum March 30th 2012, 1:59 am

If you look at this: http://www.avacweb.com/t129-user-avatar-variable
It shows how to get the avatar and be able to replace it anywhere.
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Solved Re: How to add the avatar in the User's Control Panel ?

Post by kirk March 30th 2012, 2:59 am

Oh sorry i was confused on what you meant.
kirk
kirk
Forumaster

Male Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Solved Re: How to add the avatar in the User's Control Panel ?

Post by YoshiGM March 30th 2012, 7:33 pm

Well, i want to create a control panel like this forum:

http://ajuda.criarumblog.com/

I'm sorry if is spam Embarassed
YoshiGM
YoshiGM
Active Poster

Male Posts : 1488
Reputation : 144
Language : Spanish & English
Location : Mexico

http://asistencia.foroactivo.com/u21373

Back to top Go down

Solved Re: How to add the avatar in the User's Control Panel ?

Post by kirk March 30th 2012, 9:10 pm

I dont understand what you mean by user control panel.
I am get mixed up because phbb dose a have a user control panel, But is basically the same thing with just leading to your profile settings and a few other things.

Like lg said you can add the variable, But to me it looks like it's for a default avatar? I am not sure. may be LG help explain it better.

I do not know what you mean by that link you posted above either,

Can you please make screen shots of your forum and what you mean.


Last edited by kirk on March 30th 2012, 9:56 pm; edited 1 time in total
kirk
kirk
Forumaster

Male Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Solved Re: How to add the avatar in the User's Control Panel ?

Post by LGforum March 30th 2012, 9:11 pm

If that Forum isn't forumotion-official, there's some bad copyright infringement going on there Razz

If you follow the tutorial I linked you to, you would just need to add this:
Code:
<span class="AVATAR"></span>
In the HTML of the control panel you currently have.


If your looking for a control panel, there's on here: https://help.forumotion.com/t42100-control-panel-for-users

LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Solved Re: How to add the avatar in the User's Control Panel ?

Post by YoshiGM March 30th 2012, 9:14 pm

Then i only need follow https://help.forumotion.com/t42100-control-panel-for-users and add in the code

<span class="AVATAR"></span>

??

If yes.. i'll try it Wink
YoshiGM
YoshiGM
Active Poster

Male Posts : 1488
Reputation : 144
Language : Spanish & English
Location : Mexico

http://asistencia.foroactivo.com/u21373

Back to top Go down

Solved Re: How to add the avatar in the User's Control Panel ?

Post by LGforum March 30th 2012, 9:24 pm

Thats right. Smile

just add it in wherever you need the avatar to be.
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Solved Re: How to add the avatar in the User's Control Panel ?

Post by YoshiGM March 30th 2012, 9:28 pm

I try with this and don't work.. where's the error?

Code:
<TABLE border=0 width="100%"><TBODY><TR><span class="AVATAR"></span><TD align=left><p><IMG alt="" src="http://www.iconlook.com/icondb/glaze/16x16/actions/configure.png"><STRONG> Your profile</STRONG> </p><p><A href="URL_GOES_HERE/profile.forum?mode=editprofile" target=_blank>Information</A></p><p><A href="URL_GOES_HERE/profile.forum?mode=editprofile&amp;page_profil=preferences" target=_blank>Preference</A></p><p><A href="URL_GOES_HERE/profile.forum?mode=editprofile&amp;page_profil=signature" target=_blank>Signature</A></p><p><A href="URL_GOES_HERE/profile.forum?mode=editprofile&amp;page_profil=avatars" target=_blank>Avatar</A></p></TD></TR><TR><TD align=left><p><IMG alt="" src="http://www.iconlook.com/icondb/CrystalClear/16x16/apps/kwalletmanager.png"><STRONG> Social</STRONG></p><p><A href="URL_GOES_HERE/profile.forum?mode=editprofile&amp;page_profil=friendsfoes" target=_blank>Friends and Foes</A></p><p><A href="URL_GOES_HERE/memberlist.forum" target=_blank>Memberlist </A></p><p><A href="URL_GOES_HERE/groupcp.forum" target=_blank>Groups</A></p></TD></TR><TR><TD align=left><p><STRONG><IMG alt="" src="http://www.iconlook.com/icondb/CrystalClear/16x16/actions/newmsg.png"> Private messages</STRONG></p><p><A href="URL_GOES_HERE/msg.forum?folder=inbox" target=_blank>Inbox</A></p><p><A href="URL_GOES_HERE/msg.forum?folder=sentbox" target=_blank>PM sent</A></p></TD></TR><TR><TD align=left><p><IMG alt="" src="http://www.iconlook.com/icondb/bnw/16x16/apps/kthememgr.png"> <STRONG>Other</STRONG></p><p><A href="URL_GOES_HERE/search.forum?search_id=watchsearch" target=_blank>Topic is being watched</A></p></TD></TR>
</TBODY></TABLE>

I Don't understand :$... I Want to show the avatar in the top of the options thumleft
YoshiGM
YoshiGM
Active Poster

Male Posts : 1488
Reputation : 144
Language : Spanish & English
Location : Mexico

http://asistencia.foroactivo.com/u21373

Back to top Go down

Solved Re: How to add the avatar in the User's Control Panel ?

Post by LGforum March 30th 2012, 9:36 pm

Did you follow the avatar tutorial, and install the script...
http://www.avacweb.com/t129-user-avatar-variable
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Solved Re: How to add the avatar in the User's Control Panel ?

Post by YoshiGM March 30th 2012, 9:44 pm

Yes.. but nothing happened :$
YoshiGM
YoshiGM
Active Poster

Male Posts : 1488
Reputation : 144
Language : Spanish & English
Location : Mexico

http://asistencia.foroactivo.com/u21373

Back to top Go down

Solved Re: How to add the avatar in the User's Control Panel ?

Post by LGforum March 30th 2012, 9:50 pm

Should work fine. Whats your forum?
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Solved Re: How to add the avatar in the User's Control Panel ?

Post by kirk March 30th 2012, 10:00 pm

LGforum wrote:If that Forum isn't forumotion-official, there's some bad copyright infringement going on there Razz

yeah whats the deal with that all pink?
I will have to run it by leeloo, people can use forumotion images icons layout etc..,
As long as they are not claiming to be a official forumotion support forum.. If the are claiming to be official and they are not, Then thats a big no no..

Anyway now i see what yous are getting at with user control panel, LOL
It's hard to keep up with everything sometimes... lol my bad


Last edited by kirk on March 30th 2012, 10:01 pm; edited 1 time in total
kirk
kirk
Forumaster

Male Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Solved Re: How to add the avatar in the User's Control Panel ?

Post by YoshiGM March 30th 2012, 10:01 pm

YoshiGM
YoshiGM
Active Poster

Male Posts : 1488
Reputation : 144
Language : Spanish & English
Location : Mexico

http://asistencia.foroactivo.com/u21373

Back to top Go down

Solved Re: How to add the avatar in the User's Control Panel ?

Post by kirk March 30th 2012, 10:06 pm

Did you add the links, or add the right links.

I have no way to test it without having account to see if the links are going to the proper places? However,The two links i can click without a account members list and groups do not seem to be the correct links thats why they are redirecting back to the home page.

If you like create a test members account and send me the user and pass, then you can delete the account or just change the pass latter, I would need to be logged in the forum as a member to see how it's working.

But once again you dont seem to have the links right or added to members list and groups
Then here is still your whole avatar thing in question as well?
kirk
kirk
Forumaster

Male Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Solved Re: How to add the avatar in the User's Control Panel ?

Post by YoshiGM March 30th 2012, 10:09 pm

That's because i don't added the correct links in the code.

But the problem is the avatar.. it don't shows.. i edit the LG's code but nothing :$

Code:
$(function() {
var x=$('#left .module')[0].getElementsByTagName('img'); var uav;
if (x.length>0){ uav='<img src="'+x[0].src+'" />'; } else { uav='<img src="http://www.guiapuertordaz.com/images/avatar_icon.jpg" />'; }
$('.AVATAR').html(uav);
});
YoshiGM
YoshiGM
Active Poster

Male Posts : 1488
Reputation : 144
Language : Spanish & English
Location : Mexico

http://asistencia.foroactivo.com/u21373

Back to top Go down

Solved Re: How to add the avatar in the User's Control Panel ?

Post by LGforum March 30th 2012, 10:13 pm

It doesn'tlook like you have folowed the tutorial properly. You need to read through the avatar tutorial fully, there is more to it than just adding the code.
I know it seems a pain but its the only (good/reasonable) way to get the users avatar wherever you want it.
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Solved Re: How to add the avatar in the User's Control Panel ?

Post by kirk March 30th 2012, 10:20 pm

Ok then it is supposed to add a members avatar and not just a default one.

well in the part of the code above i see one image link that appears to be a default image , then there is another part where there is no image link .
'<img src="'

see now i am going to have to go over read and test the whole thing, I dont understand what the purpose of adding these image links would be if it is not meant to be for default avatar only. However i did not read or test the whole tutorial yet either, But if LG says it works and is mint, then i take his word on it Smile

So i would just take your time and read the tutorial fully and be sure to do all steps correctly like LG has said,


Last edited by kirk on March 30th 2012, 10:25 pm; edited 1 time in total
kirk
kirk
Forumaster

Male Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Solved Re: How to add the avatar in the User's Control Panel ?

Post by YoshiGM March 30th 2012, 10:24 pm

Better forget it.
It does not work, do not put it on my forum and it xD
Thanks anyway.
YoshiGM
YoshiGM
Active Poster

Male Posts : 1488
Reputation : 144
Language : Spanish & English
Location : Mexico

http://asistencia.foroactivo.com/u21373

Back to top Go down

Solved Re: How to add the avatar in the User's Control Panel ?

Post by LGforum March 30th 2012, 10:27 pm

Lol fair enough.
Though every user who has used that says it works fine. lol.

It gets the user avatar from the default profile widget provided by FM and creates the image via Javascript. It then inserts the image anywhere you want by putting that HTML anywhere.

You need to put the profile (named 'Log In' widget) widget at the top of your sidebar, like the tutorial says. that is the bit your missing, the script is working fine.
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Solved Re: How to add the avatar in the User's Control Panel ?

Post by kirk March 30th 2012, 10:29 pm

all come man your giving up Sad
If thats what you want to do then ok your choice,,


I am still going to test it out my self as well..

I will leave this open a little longer in case you change your mind, Then when it is locked and moved you can pm me and i will re-open it for you if you like to try at a latter date.

Oh thanx LG for explaining that, now i understand a lil better thumleft


Last edited by kirk on March 30th 2012, 10:31 pm; edited 1 time in total
kirk
kirk
Forumaster

Male Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Solved Re: How to add the avatar in the User's Control Panel ?

Post by YoshiGM March 30th 2012, 10:30 pm

Got it.

Thanks LG :wouhou:
YoshiGM
YoshiGM
Active Poster

Male Posts : 1488
Reputation : 144
Language : Spanish & English
Location : Mexico

http://asistencia.foroactivo.com/u21373

Back to top Go down

Solved Re: How to add the avatar in the User's Control Panel ?

Post by kirk March 30th 2012, 10:32 pm

YoshiGM wrote:Got it.

Thanks LG :wouhou:

heheh cool man!!!!!!!!

Topic Solved & Locked
kirk
kirk
Forumaster

Male Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Solved Re: How to add the avatar in the User's Control Panel ?

Post by LGforum March 30th 2012, 10:32 pm

So its worked now? lol. Glad to hear it. Congrats.

PS, you can use this bit:
<span class="AVATAR"></span>

in as many places as you want, if you want the avatar anywhere else too.

EDIT: Kirk, you should lock first Razz


Last edited by LGforum on March 30th 2012, 10:33 pm; edited 1 time in total
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Solved Re: How to add the avatar in the User's Control Panel ?

Post by YoshiGM March 30th 2012, 10:33 pm

Yes!

Ok.. Managers.. can close this guitar
YoshiGM
YoshiGM
Active Poster

Male Posts : 1488
Reputation : 144
Language : Spanish & English
Location : Mexico

http://asistencia.foroactivo.com/u21373

Back to top Go down

Back to top

- Similar topics

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