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.

Add complete "Best Answer" solution

5 posters

Page 1 of 2 1, 2  Next

Go down

Solved Add complete "Best Answer" solution

Post by icecom3 November 23rd 2014, 1:21 am

I am trying to figure out a way to make a "Best Answer" setup on my new forum.  The goal has many parts. 

1. have a "make best answer" button for the author of the topic
2. make the best answer thread say "Best Answer" somewhere in it
3. when this happens issue reputation points to the author of the best answer
4. it has to be visible to everyone
5. if replacing the "thanks" module, the mouse-over test effects should also be changed to "best answer"

BONUS...
6. topic should lock once best answer is picked
7. if the author could change the best answer after the fact, that would be nice


What I have tried...

1. edited the display>pics management> buttons section to change "thanks" button to "Best Answer". The problem with this is that it shows nothing to the answerer or 3rd parties, only the author of the topic.  Plus it does not change the mouse-over test. 

2. tried doing this method here: https://help.forumotion.com/t132450p30-best-answer-in-topics#891777 but could not get it to work. 


If someone could make or find me a cleaned up tutorial without all the back and forth that would be great.  

or even better since I work 7 days a week and have little time, I will let helper log in my new/empty forum and get it working for me for a fair price (i.e., $$ or dinner or cookies...whatever). I have nothing to lose on the forum, so it is no big deal.  

Thanks in advance!
avatar
icecom3
Forumember

Posts : 43
Reputation : 0
Language : English

Back to top Go down

Solved Re: Add complete "Best Answer" solution

Post by Ange Tuteur November 23rd 2014, 2:10 am

Hello icecom3,

The thanks system would be your best option, however, it will only display for the topic starter. Also, what is the version of your forum ?
Ange Tuteur
Ange Tuteur
Forumaster

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

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Add complete "Best Answer" solution

Post by icecom3 November 23rd 2014, 5:00 pm

Where do I check the version?  I installed it a month or two ago, everything is at the default theme if that helps. 

I do not mind using the thanks option, but just looking for a way to add an indicator to viewers as well. 

by the way, I like the "solved" icon on this forum.  Is that an option for a specific theme?
avatar
icecom3
Forumember

Posts : 43
Reputation : 0
Language : English

Back to top Go down

Solved Re: Add complete "Best Answer" solution

Post by Ramdaman November 23rd 2014, 5:02 pm

Go to your Administration Panel => Display => Skins => Choose a theme => Version.

There it will display your current forum version.

As for the Add complete "Best Answer" solution Solved10 icon, I believe it is copyrighted by Forumotion. A long time ago I used one of their old solved icons for my forum, and I received a warning from the litigation team.


Last edited by Ramdaman on November 23rd 2014, 5:03 pm; edited 2 times in total
Ramdaman
Ramdaman
Active Poster

Male Posts : 1615
Reputation : 99
Language : English, Albanian, Macedonian, Russian | HTML, CSS
Location : New York City

http://ndihme.forumotion.com/forum

Back to top Go down

Solved Re: Add complete "Best Answer" solution

Post by SLGray November 23rd 2014, 5:02 pm

AP > Display


Add complete "Best Answer" solution 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 : 51463
Reputation : 3519
Language : English
Location : United States

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

Back to top Go down

Solved Re: Add complete "Best Answer" solution

Post by icecom3 November 23rd 2014, 5:12 pm

the version: phpBB3 (prosilver)

Regarding the "solved icon", I was mainly interested in the code or feature part.  the icons are cheap to get
avatar
icecom3
Forumember

Posts : 43
Reputation : 0
Language : English

Back to top Go down

Solved Re: Add complete "Best Answer" solution

Post by Ange Tuteur November 24th 2014, 1:09 am

Try this for PhpBB3 :

Go to Administration Panel > Modules > JavaScript codes management > Create a new script

Title : Your choice
Placement : In the topics
Code:
$(function() {
    var thankColor = '#e9f7e1',
        text = 'Best Answer';
    $('.post[style="background-color:' + thankColor.toLowerCase() + ';"]').prepend('<div id="thanked">' + text + '</div>');
});

You'll need to make some modifications :
Code:
   var thankColor = '#e9f7e1',
        text = 'Best Answer';

thankColor is the color of your thanked posts. Change the color to the color in your AP : Display > Colors > Thanked message background color

text is the text you want to display e.g. "Best answer"


To style the texts add this rule to your stylesheet :
Display > Colors > CSS stylesheet
Code:
#thanked {
    color:#8B8;
    background:#CFC;
    border:1px solid #ADA;
    border-radius:4px;
    display:inline-block;
    padding:3px;
    margin-top:3px;
}
Ange Tuteur
Ange Tuteur
Forumaster

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

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Add complete "Best Answer" solution

Post by icecom3 November 27th 2014, 5:03 pm

thanks.  How do I add that last part to my CSS?  Do I just paste in that white box with nothing in it that says CSS?
avatar
icecom3
Forumember

Posts : 43
Reputation : 0
Language : English

Back to top Go down

Solved Re: Add complete "Best Answer" solution

Post by Ange Tuteur November 27th 2014, 5:20 pm

Yes, paste it in the textarea below the search bar.
Ange Tuteur
Ange Tuteur
Forumaster

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

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Add complete "Best Answer" solution

Post by icecom3 November 27th 2014, 6:42 pm

Hmmm did that, I do not see anything other than the same thanks graphic that the topic starter sees.I added snippet to CSS, Java module, and turned on thanks button in reputation. 

Since my site is brand new, maybe I can PM you a admin login to find the issue and post solution here?  No liability, no worries.
avatar
icecom3
Forumember

Posts : 43
Reputation : 0
Language : English

Back to top Go down

Solved Re: Add complete "Best Answer" solution

Post by Ange Tuteur November 27th 2014, 6:47 pm

Did you make sure to do this ?
thankColor is the color of your thanked posts. Change the color to the color in your AP : Display > Colors > Thanked message background color

To see the change you must thank a reply to your topic, the reply cannot be you.
Ange Tuteur
Ange Tuteur
Forumaster

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

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Add complete "Best Answer" solution

Post by icecom3 November 27th 2014, 8:50 pm

yes, I made color black, here is what I got...

yes, I am using two accounts to test, a topic creator, and a reply account, after thanking the post, I check to see using the reply account. 

Note: this script is slightly different than one you posted, but according to link I posted above it is the correction version.  I tried both anyway and nothing. 

Add complete "Best Answer" solution Thanke10
avatar
icecom3
Forumember

Posts : 43
Reputation : 0
Language : English

Back to top Go down

Solved Re: Add complete "Best Answer" solution

Post by _Twisted_Mods_ November 27th 2014, 9:04 pm

try #000 instead of #000000
_Twisted_Mods_
_Twisted_Mods_
Helper
Helper

Male Posts : 2108
Reputation : 336
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Add complete "Best Answer" solution

Post by icecom3 November 27th 2014, 11:05 pm

no change
avatar
icecom3
Forumember

Posts : 43
Reputation : 0
Language : English

Back to top Go down

Solved Re: Add complete "Best Answer" solution

Post by SLGray November 27th 2014, 11:10 pm

When you used the two accounts, did you check with the account that you used to start the topic?


Add complete "Best Answer" solution 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 : 51463
Reputation : 3519
Language : English
Location : United States

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

Back to top Go down

Solved Re: Add complete "Best Answer" solution

Post by icecom3 November 27th 2014, 11:16 pm

I checked with both.
avatar
icecom3
Forumember

Posts : 43
Reputation : 0
Language : English

Back to top Go down

Solved Re: Add complete "Best Answer" solution

Post by _Twisted_Mods_ November 28th 2014, 2:38 am

can you link me to a thanked post so i can look at the code
_Twisted_Mods_
_Twisted_Mods_
Helper
Helper

Male Posts : 2108
Reputation : 336
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Add complete "Best Answer" solution

Post by icecom3 November 28th 2014, 3:27 am

avatar
icecom3
Forumember

Posts : 43
Reputation : 0
Language : English

kreola likes this post

Back to top Go down

Solved Re: Add complete "Best Answer" solution

Post by SLGray November 28th 2014, 3:30 am

Is your forum set up where that each post in a topic has a different color background?


Add complete "Best Answer" solution 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 : 51463
Reputation : 3519
Language : English
Location : United States

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

Back to top Go down

Solved Re: Add complete "Best Answer" solution

Post by icecom3 November 28th 2014, 4:23 am

Not sure what that is.  This forum is setup at 99.9% defaults, the only changes I have made thus far is this attempt to make the best answer.  Where do I check that?
avatar
icecom3
Forumember

Posts : 43
Reputation : 0
Language : English

Back to top Go down

Solved Re: Add complete "Best Answer" solution

Post by SLGray November 28th 2014, 4:36 am



Add complete "Best Answer" solution 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 : 51463
Reputation : 3519
Language : English
Location : United States

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

Back to top Go down

Solved Re: Add complete "Best Answer" solution

Post by _Twisted_Mods_ November 28th 2014, 4:36 am

if that brownish tan color is your thanked color this will work

#000000 < = to black
#ebeadd < the tan color

Code:
$(function() {
    var thankColor = '#ebeadd',
        text = 'Best Answer';
    $('.post[style="background-color:' + thankColor.toLowerCase() + ';"]').prepend('<div id="thanked">' + text + '</div>');
});
_Twisted_Mods_
_Twisted_Mods_
Helper
Helper

Male Posts : 2108
Reputation : 336
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Add complete "Best Answer" solution

Post by icecom3 November 28th 2014, 6:15 am

wow...not sure how in the world you knew that but I am not complaining Smile
any slight variation of that color and it vanishes!

Thank you, and is there any chance on getting the code for the solved option in the topic title area?
avatar
icecom3
Forumember

Posts : 43
Reputation : 0
Language : English

Back to top Go down

Solved Re: Add complete "Best Answer" solution

Post by _Twisted_Mods_ November 28th 2014, 8:32 am

i took a print screen and threw it in my paint program and it told me the color

and by topic solved in the topic u mean like on here where you can make the topic solved when your done?
_Twisted_Mods_
_Twisted_Mods_
Helper
Helper

Male Posts : 2108
Reputation : 336
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Add complete "Best Answer" solution

Post by icecom3 November 28th 2014, 7:03 pm

_Twisted_Mods_ wrote:and by topic solved in the topic u mean like on here where you can make the topic solved when your done?

YES SIR!
avatar
icecom3
Forumember

Posts : 43
Reputation : 0
Language : English

Back to top Go down

Solved Re: Add complete "Best Answer" solution

Post by _Twisted_Mods_ November 28th 2014, 7:15 pm

goto acp>display>pictures&colors>pic management>advanced mode>topic icons


you can add them there
_Twisted_Mods_
_Twisted_Mods_
Helper
Helper

Male Posts : 2108
Reputation : 336
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Add complete "Best Answer" solution

Post by icecom3 November 28th 2014, 8:40 pm

Thanks, I see the icon section to create icon options in the topic.  But it only shows up when 1st creating the topic.  How do I make the options appear when author is replying to a the topic?  For instance, when I reply to this topic, the option pops up to select "solved".
avatar
icecom3
Forumember

Posts : 43
Reputation : 0
Language : English

Back to top Go down

Solved Re: Add complete "Best Answer" solution

Post by _Twisted_Mods_ November 28th 2014, 9:30 pm

the person who posted the topic just goes to edit on there first post and they can change it
_Twisted_Mods_
_Twisted_Mods_
Helper
Helper

Male Posts : 2108
Reputation : 336
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Add complete "Best Answer" solution

Post by Ramdaman November 28th 2014, 9:37 pm

Also, an administrator/moderator can press edit on the first post, and they too can mark it as solved (or any icon you have.)
Ramdaman
Ramdaman
Active Poster

Male Posts : 1615
Reputation : 99
Language : English, Albanian, Macedonian, Russian | HTML, CSS
Location : New York City

http://ndihme.forumotion.com/forum

Back to top Go down

Solved Re: Add complete "Best Answer" solution

Post by icecom3 November 28th 2014, 11:24 pm

Oh I see.  It seems that this forum has it setup the way that makes the most sense.  Unless it is available during the creator's last reply, it probably will not get used.  So I don't see anyone using the solved option unless they know to hit that edit button, which is not too obvious.  But that is probably not what the topic icons were designed for anyway.   

So unless there is something that can be edited to make it appear in the replies, I will probably just use the topic icons for something else.

Thanks for the help
avatar
icecom3
Forumember

Posts : 43
Reputation : 0
Language : English

Back to top Go down

Page 1 of 2 1, 2  Next

Back to top


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