Achievement coding issue Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

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.
3 posters

    Achievement coding issue

    avatar
    Guest
    Guest


    In progress Achievement coding issue

    Post by Guest December 8th 2016, 4:42 pm

    Hello. I was hoping I was able to figure this out on my own, but apparently, no matter what I do, it doesn't work anymore. I have achievements, for the members that win certain contests. And, well, after I changed my forum theme from Halloween to a regular theme before Christmas, which was around the time the forumotion changed it's features, all I could see was the link and code itself with no badge picture. For example, I put this in the form:
    award{image(http://www.winxclub.com/sites/default/files/styles/thumbnail/public/webavatar_thumbs/wat_f000_pet-21gingerhx.png?itok=9dK2cEqv)title(Mozilla Firefox)}

    and this is all I see on my forum now. No picture, just this. Here is a screen shot of what I see and I am pretty sure my members see it too.
    Screenshot:

    Is there a way to fix this or may something else I need to use in able to see the badges? If so, please tell me. Thank you in advanced. Smile cool-blue
    Draxion
    Draxion
    Helper
    Helper


    Male Posts : 2518
    Reputation : 321
    Language : English
    Location : USA

    In progress Re: Achievement coding issue

    Post by Draxion December 8th 2016, 5:17 pm

    Hi there,

    If that is the profile fields, you can't use HTML, only BBCode.
    avatar
    Guest
    Guest


    In progress Re: Achievement coding issue

    Post by Guest December 8th 2016, 5:22 pm

    I was told a while back to use what I have shown you which is something like: award(image(..)title(...)

    what I showed you in the picture is not the profile field, it is a screen shot of my profile page itself. Something went wrong after Halloween was over. it was working fine before and now something happened.
    Draxion
    Draxion
    Helper
    Helper


    Male Posts : 2518
    Reputation : 321
    Language : English
    Location : USA

    In progress Re: Achievement coding issue

    Post by Draxion December 8th 2016, 5:26 pm

    Alright, I'm currently out. But when I get home I'll gladly assist you.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    In progress Re: Achievement coding issue

    Post by SLGray December 8th 2016, 5:29 pm

    When you say changed themes, do you mean installed a new theme?  If yes, your CSS stylesheet was erased.  Did you have CSS for this profile field?



    Achievement coding issue Slgray10

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


    In progress Re: Achievement coding issue

    Post by Guest December 8th 2016, 5:32 pm

    When I said 'changed themes' I meant that I put a new background on and everything which included me taking all the Halloween decorations down. I didn't change skins. I also did not have any CSS for the problem in this situation. It was all done with the profile field.
    Draxion
    Draxion
    Helper
    Helper


    Male Posts : 2518
    Reputation : 321
    Language : English
    Location : USA

    In progress Re: Achievement coding issue

    Post by Draxion December 8th 2016, 6:37 pm

    I don't know if the codes changed or not cause that is CSS.

    What format is that profile field? Text-field, textbox, image, image-list, etc.
    avatar
    Guest
    Guest


    In progress Re: Achievement coding issue

    Post by Guest December 8th 2016, 6:39 pm

    Multiple choice I think.
    Kyo Panda
    Kyo Panda
    Forumember


    Male Posts : 33
    Reputation : 19
    Language : Portuguese, English
    Location : Brazil

    In progress Re: Achievement coding issue

    Post by Kyo Panda December 9th 2016, 2:35 pm

    Hello,

    The code that should "parse" the achievement on profile isn't running because of a script error in your Javascripts:

    Code:
    $(function() {
        var bold = true;
        $('.mentiontag').each(function() {
            var c;
            $.ajax({
                url: this.href,
                type: 'get',
                async: false,
                success: function(data) {
                    c = $('.page-title span', data).css('color')
                }
            });
            bold ? $(this).css({
                'color': c,
                'font-weight': 'bold'
            });: $(this).css('color', c)
        })
    });

    An incredibly heavy Javascript that applies "color and bold" to specific mention tags... ._.

    Could you disable this one and see if the error persists?

    ^-^v
    avatar
    Guest
    Guest


    In progress Re: Achievement coding issue

    Post by Guest December 9th 2016, 5:21 pm

    I think that was it. It seems to work fine now. Thank you.