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

    Achievement coding issue

    avatar
    Guest
    Guest


    In progress Achievement coding issue

    Post by Guest Thu 8 Dec - 22:42

    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 Thu 8 Dec - 23:17

    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 Thu 8 Dec - 23:22

    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 Thu 8 Dec - 23:26

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


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

    In progress Re: Achievement coding issue

    Post by SLGray Thu 8 Dec - 23:29

    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 Thu 8 Dec - 23:32

    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 Fri 9 Dec - 0:37

    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 Fri 9 Dec - 0:39

    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 Fri 9 Dec - 20:35

    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 Fri 9 Dec - 23:21

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

      Current date/time is Sun 22 Sep - 19:33