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.

Achievement coding issue

3 posters

Go down

In progress Achievement coding issue

Post by Guest 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
Guest
Guest


Back to top Go down

In progress Re: Achievement coding issue

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

Hi there,

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

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

https://www.talesoftellene.com/

Back to top Go down

In progress Re: Achievement coding issue

Post by Guest 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
Guest
Guest


Back to top Go down

In progress Re: Achievement coding issue

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

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

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

https://www.talesoftellene.com/

Back to top Go down

In progress Re: Achievement coding issue

Post by SLGray 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?


Achievement coding issue Slgray10

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

Male Posts : 51453
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: Achievement coding issue

Post by Guest 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
Guest
Guest


Back to top Go down

In progress Re: Achievement coding issue

Post by Draxion 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.
Draxion
Draxion
Helper
Helper

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

https://www.talesoftellene.com/

Back to top Go down

In progress Re: Achievement coding issue

Post by Guest December 9th 2016, 12:39 am

Multiple choice I think.
avatar
Guest
Guest


Back to top Go down

In progress Re: Achievement coding issue

Post by Kyo Panda 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
Kyo Panda
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 Guest December 9th 2016, 11:21 pm

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


Back to top Go down

Back to top

- Similar topics

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