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.

Achievement coding issue

View previous topic View next topic Go down

In progress Achievement coding issue

Post by catgirl on December 8th 2016, 10: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
avatar
catgirl
Forumember

Female Posts : 217
Reputation : 18
Language : English
Location : Unknown

http://winxforevermagic.crazy4us.com/

Back to top Go down

In progress Re: Achievement coding issue

Post by Draxion on December 8th 2016, 11:17 pm

Hi there,

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


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 1530
Reputation : 196
Language : English
Location : USA

http://www.draxionsgameden.com/

Back to top Go down

In progress Re: Achievement coding issue

Post by catgirl on December 8th 2016, 11: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.
avatar
catgirl
Forumember

Female Posts : 217
Reputation : 18
Language : English
Location : Unknown

http://winxforevermagic.crazy4us.com/

Back to top Go down

In progress Re: Achievement coding issue

Post by Draxion on December 8th 2016, 11:26 pm

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


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 1530
Reputation : 196
Language : English
Location : USA

http://www.draxionsgameden.com/

Back to top Go down

In progress Re: Achievement coding issue

Post by SLGray on December 8th 2016, 11: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?


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

avatar
SLGray
Administrator
Administrator

Male Posts : 39639
Reputation : 2665
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

In progress Re: Achievement coding issue

Post by catgirl on December 8th 2016, 11: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.
avatar
catgirl
Forumember

Female Posts : 217
Reputation : 18
Language : English
Location : Unknown

http://winxforevermagic.crazy4us.com/

Back to top Go down

In progress Re: Achievement coding issue

Post by Draxion on December 9th 2016, 12:37 am

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.


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 1530
Reputation : 196
Language : English
Location : USA

http://www.draxionsgameden.com/

Back to top Go down

In progress Re: Achievement coding issue

Post by catgirl on December 9th 2016, 12:39 am

Multiple choice I think.
avatar
catgirl
Forumember

Female Posts : 217
Reputation : 18
Language : English
Location : Unknown

http://winxforevermagic.crazy4us.com/

Back to top Go down

In progress Re: Achievement coding issue

Post by Kyo Panda on December 9th 2016, 8: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
Kyo Panda
Forumember

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

http://pt.rpgmaker.io

Back to top Go down

In progress Re: Achievement coding issue

Post by catgirl on December 9th 2016, 11:21 pm

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

Female Posts : 217
Reputation : 18
Language : English
Location : Unknown

http://winxforevermagic.crazy4us.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