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
4 posters

    Best Answer problem

    TheCrow
    TheCrow
    Manager
    Manager


    Male Posts : 6916
    Reputation : 795
    Language : Greek, English

    Solved Best Answer problem

    Post by TheCrow Sat May 03, 2014 12:53 pm

    Hello. via this post
    https://help.forumotion.com/t132450p30-best-answer-in-topics#891777
    i added what Ange told us but now its disappeared. why?
    http://prntscr.com/3fqov9
    J0k3R^
    J0k3R^
    Forumember


    Male Posts : 742
    Reputation : 28
    Language : Greek > English > Russian > Spanish
    Location : C:\>r00t

    Solved Re: Best Answer problem

    Post by J0k3R^ Sat May 03, 2014 12:56 pm

    i dont understand, its working perfect for me and we both using punbb :S
    TheCrow
    TheCrow
    Manager
    Manager


    Male Posts : 6916
    Reputation : 795
    Language : Greek, English

    Solved Re: Best Answer problem

    Post by TheCrow Sat May 03, 2014 12:56 pm

    What codes do you use? I use the first codes that Ange gave us.



    Best Answer problem Thecro10
     Forum of the Forums

    Forumotion Rules | Tips & Tricks |
    FAQ | Did you forget your password?



    *** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
    No support via PM!
    Paradise
    Paradise
    Forumember


    Male Posts : 117
    Reputation : 1
    Language : English

    Solved Re: Best Answer problem

    Post by Paradise Sat May 03, 2014 1:06 pm

    See how mine looks

    i need help Best Answer problem Cr10
    TheCrow
    TheCrow
    Manager
    Manager


    Male Posts : 6916
    Reputation : 795
    Language : Greek, English

    Solved Re: Best Answer problem

    Post by TheCrow Sat May 03, 2014 1:25 pm

    Can you give me ur codes and see if they work to me?



    Best Answer problem Thecro10
     Forum of the Forums

    Forumotion Rules | Tips & Tricks |
    FAQ | Did you forget your password?



    *** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
    No support via PM!
    Paradise
    Paradise
    Forumember


    Male Posts : 117
    Reputation : 1
    Language : English

    Solved Re: Best Answer problem

    Post by Paradise Sat May 03, 2014 10:48 pm

    See my code Ange gave

    Java
    Code:
    $(function() {
     Â   var thankColor = '#eaf8e2';
     Â   var text = 'The Best Reply';
     Â   
     Â   var post = $('.post[style="background-color:' + thankColor.toLowerCase() + ';"]');
     Â   
     Â   post.children().css('background-color','');
     Â   post.find('.postmain').children().css('background-color','');
     Â   post.css('background-color','').find('.postbody').prepend('<div id="thanked">' + text + '</div>');
    });

    Css
    Code:
    /*Best Answer Thanked Button*/
    #thanked {
    color:#78b382;
    background:#eaf8e2;
    border:1px solid #accf8b;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    display:inline-block;
    padding:5px;
    margin-top:0px;
    border-top: 0;
    marging-right: 800px;
    }
    TheCrow
    TheCrow
    Manager
    Manager


    Male Posts : 6916
    Reputation : 795
    Language : Greek, English

    Solved Re: Best Answer problem

    Post by TheCrow Sat May 03, 2014 11:17 pm

    How come its working for you guys and for me it doesn't?



    Best Answer problem Thecro10
     Forum of the Forums

    Forumotion Rules | Tips & Tricks |
    FAQ | Did you forget your password?



    *** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
    No support via PM!
    Paradise
    Paradise
    Forumember


    Male Posts : 117
    Reputation : 1
    Language : English

    Solved Re: Best Answer problem

    Post by Paradise Sun May 04, 2014 12:08 am

    i want the best answer on right.... I am waiting for Ange
    J0k3R^
    J0k3R^
    Forumember


    Male Posts : 742
    Reputation : 28
    Language : Greek > English > Russian > Spanish
    Location : C:\>r00t

    Solved Re: Best Answer problem

    Post by J0k3R^ Sun May 04, 2014 5:46 am

    i used margin-left to move it at right side
    its simple :S
    TheCrow
    TheCrow
    Manager
    Manager


    Male Posts : 6916
    Reputation : 795
    Language : Greek, English

    Solved Re: Best Answer problem

    Post by TheCrow Sun May 04, 2014 5:12 pm

    Yes i am waiting for Ange because to me it doesn't appear the best answer. Only the background.. :/



    Best Answer problem Thecro10
     Forum of the Forums

    Forumotion Rules | Tips & Tricks |
    FAQ | Did you forget your password?



    *** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
    No support via PM!
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: Best Answer problem

    Post by Ange Tuteur Mon May 05, 2014 7:33 am

    Hello,

    Please provide a link to a thanked post on your board. (guests must be able to see)

    Thanks :rose:
    TheCrow
    TheCrow
    Manager
    Manager


    Male Posts : 6916
    Reputation : 795
    Language : Greek, English

    Solved Re: Best Answer problem

    Post by TheCrow Mon May 05, 2014 9:43 am




    Best Answer problem Thecro10
     Forum of the Forums

    Forumotion Rules | Tips & Tricks |
    FAQ | Did you forget your password?



    *** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
    No support via PM!
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: Best Answer problem

    Post by Ange Tuteur Mon May 05, 2014 9:52 am

    Thank you sunny

    You have forgotten to change the thank color variable to the thanked bg color in your display > colors

    Try this :
    Code:
    $(function() {
     Â   var thankColor = '#F5FFF2';
     Â   var text = 'Best Answer';
     
       var post = $('.post[style="background-color:' + thankColor.toLowerCase() + ';"]');
     
       post.children().css('background-color','');
     Â   post.find('.postmain').children().css('background-color','');
     Â   post.find('.titlospost').css('background','#dfedd1');
     Â   post.css('background-color','').find('.postbody').prepend('<div id="thanked">' + text + '</div>');
    });
    TheCrow
    TheCrow
    Manager
    Manager


    Male Posts : 6916
    Reputation : 795
    Language : Greek, English

    Solved Re: Best Answer problem

    Post by TheCrow Mon May 05, 2014 10:03 am

    Thank you! This is now SOLVED!!



    Best Answer problem Thecro10
     Forum of the Forums

    Forumotion Rules | Tips & Tricks |
    FAQ | Did you forget your password?



    *** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
    No support via PM!
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: Best Answer problem

    Post by Ange Tuteur Mon May 05, 2014 10:10 am

    You're welcome Very Happy

    Topic solved and archived

      Current date/time is Sun Sep 22, 2024 9:33 pm