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.
The forum of the forums
3 posters

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

    YoshiGM
    YoshiGM
    Active Poster


    Male Posts : 1557
    Reputation : 146
    Language : Spanish & English
    Location : Mexico

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

    Post by YoshiGM Wed 28 Mar - 15:50

    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
    kirk
    kirk
    Forumaster


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

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

    Post by kirk Wed 28 Mar - 18:38

    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.
    YoshiGM
    YoshiGM
    Active Poster


    Male Posts : 1557
    Reputation : 146
    Language : Spanish & English
    Location : Mexico

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

    Post by YoshiGM Wed 28 Mar - 18:47

    Nope..

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


    Male Posts : 1557
    Reputation : 146
    Language : Spanish & English
    Location : Mexico

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

    Post by YoshiGM Thu 29 Mar - 22:06

    bump
    LGforum
    LGforum
    Hyperactive


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

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

    Post by LGforum Thu 29 Mar - 23:59

    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.
    kirk
    kirk
    Forumaster


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

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

    Post by kirk Fri 30 Mar - 0:59

    Oh sorry i was confused on what you meant.
    YoshiGM
    YoshiGM
    Active Poster


    Male Posts : 1557
    Reputation : 146
    Language : Spanish & English
    Location : Mexico

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

    Post by YoshiGM Fri 30 Mar - 17:33

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

    http://ajuda.criarumblog.com/

    I'm sorry if is spam Embarassed
    kirk
    kirk
    Forumaster


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

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

    Post by kirk Fri 30 Mar - 19:10

    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 Fri 30 Mar - 19:56; edited 1 time in total
    LGforum
    LGforum
    Hyperactive


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

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

    Post by LGforum Fri 30 Mar - 19:11

    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

    YoshiGM
    YoshiGM
    Active Poster


    Male Posts : 1557
    Reputation : 146
    Language : Spanish & English
    Location : Mexico

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

    Post by YoshiGM Fri 30 Mar - 19:14

    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
    LGforum
    LGforum
    Hyperactive


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

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

    Post by LGforum Fri 30 Mar - 19:24

    Thats right. Smile

    just add it in wherever you need the avatar to be.
    YoshiGM
    YoshiGM
    Active Poster


    Male Posts : 1557
    Reputation : 146
    Language : Spanish & English
    Location : Mexico

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

    Post by YoshiGM Fri 30 Mar - 19:28

    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
    LGforum
    LGforum
    Hyperactive


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

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

    Post by LGforum Fri 30 Mar - 19:36

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


    Male Posts : 1557
    Reputation : 146
    Language : Spanish & English
    Location : Mexico

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

    Post by YoshiGM Fri 30 Mar - 19:44

    Yes.. but nothing happened :$
    LGforum
    LGforum
    Hyperactive


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

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

    Post by LGforum Fri 30 Mar - 19:50

    Should work fine. Whats your forum?
    kirk
    kirk
    Forumaster


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

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

    Post by kirk Fri 30 Mar - 20:00

    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 Fri 30 Mar - 20:01; edited 1 time in total
    YoshiGM
    YoshiGM
    Active Poster


    Male Posts : 1557
    Reputation : 146
    Language : Spanish & English
    Location : Mexico

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

    Post by YoshiGM Fri 30 Mar - 20:01

    kirk
    kirk
    Forumaster


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

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

    Post by kirk Fri 30 Mar - 20:06

    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?
    YoshiGM
    YoshiGM
    Active Poster


    Male Posts : 1557
    Reputation : 146
    Language : Spanish & English
    Location : Mexico

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

    Post by YoshiGM Fri 30 Mar - 20:09

    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);
    });
    LGforum
    LGforum
    Hyperactive


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

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

    Post by LGforum Fri 30 Mar - 20:13

    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.
    kirk
    kirk
    Forumaster


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

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

    Post by kirk Fri 30 Mar - 20:20

    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 Fri 30 Mar - 20:25; edited 1 time in total
    YoshiGM
    YoshiGM
    Active Poster


    Male Posts : 1557
    Reputation : 146
    Language : Spanish & English
    Location : Mexico

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

    Post by YoshiGM Fri 30 Mar - 20:24

    Better forget it.
    It does not work, do not put it on my forum and it xD
    Thanks anyway.
    LGforum
    LGforum
    Hyperactive


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

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

    Post by LGforum Fri 30 Mar - 20:27

    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.
    kirk
    kirk
    Forumaster


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

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

    Post by kirk Fri 30 Mar - 20:29

    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 Fri 30 Mar - 20:31; edited 1 time in total
    YoshiGM
    YoshiGM
    Active Poster


    Male Posts : 1557
    Reputation : 146
    Language : Spanish & English
    Location : Mexico

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

    Post by YoshiGM Fri 30 Mar - 20:30

    Got it.

    Thanks LG :wouhou:
    kirk
    kirk
    Forumaster


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

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

    Post by kirk Fri 30 Mar - 20:32

    YoshiGM wrote:Got it.

    Thanks LG :wouhou:

    heheh cool man!!!!!!!!

    Topic Solved & Locked
    LGforum
    LGforum
    Hyperactive


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

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

    Post by LGforum Fri 30 Mar - 20:32

    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 Fri 30 Mar - 20:33; edited 1 time in total
    YoshiGM
    YoshiGM
    Active Poster


    Male Posts : 1557
    Reputation : 146
    Language : Spanish & English
    Location : Mexico

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

    Post by YoshiGM Fri 30 Mar - 20:33

    Yes!

    Ok.. Managers.. can close this guitar

      Current date/time is Sun 22 Sep - 14:25