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.

Best Answer problem

4 posters

Go down

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
TheCrow
TheCrow
Manager
Manager

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

https://www.inforumgr.com

Back to top Go down

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
J0k3R^
J0k3R^
Forumember

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

http://fmplanet.forumgreek.com

Back to top Go down

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!
TheCrow
TheCrow
Manager
Manager

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

https://www.inforumgr.com

Back to top Go down

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
Paradise
Paradise
Forumember

Male Posts : 117
Reputation : 1
Language : English

http://igboist.forumotion.com/forum

Back to top Go down

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!
TheCrow
TheCrow
Manager
Manager

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

https://www.inforumgr.com

Back to top Go down

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;
}
Paradise
Paradise
Forumember

Male Posts : 117
Reputation : 1
Language : English

http://igboist.forumotion.com/forum

Back to top Go down

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!
TheCrow
TheCrow
Manager
Manager

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

https://www.inforumgr.com

Back to top Go down

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
Paradise
Paradise
Forumember

Male Posts : 117
Reputation : 1
Language : English

http://igboist.forumotion.com/forum

Back to top Go down

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
J0k3R^
J0k3R^
Forumember

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

http://fmplanet.forumgreek.com

Back to top Go down

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!
TheCrow
TheCrow
Manager
Manager

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

https://www.inforumgr.com

Back to top Go down

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:
Ange Tuteur
Ange Tuteur
Forumaster

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

https://fmdesign.forumotion.com

Back to top Go down

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!
TheCrow
TheCrow
Manager
Manager

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

https://www.inforumgr.com

Back to top Go down

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>');
});
Ange Tuteur
Ange Tuteur
Forumaster

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

https://fmdesign.forumotion.com

Back to top Go down

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!
TheCrow
TheCrow
Manager
Manager

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

https://www.inforumgr.com

Back to top Go down

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
Ange Tuteur
Ange Tuteur
Forumaster

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

https://fmdesign.forumotion.com

Back to top Go down

Back to top

- Similar topics

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