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.

Add complete "Best Answer" solution

Page 1 of 2 1, 2  Next

View previous topic View next topic Go down

Solved Add complete "Best Answer" solution

Post by icecom3 on 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: http://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!

icecom3
Forumember

Posts : 43
Reputation : 0
Language : English

Back to top Go down

Solved Re: Add complete "Best Answer" solution

Post by Ange Tuteur on 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
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Add complete "Best Answer" solution

Post by icecom3 on 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?

icecom3
Forumember

Posts : 43
Reputation : 0
Language : English

Back to top Go down

Solved Re: Add complete "Best Answer" solution

Post by Ramdaman on 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 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
Active Poster

Male Posts : 1614
Reputation : 96
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 on November 23rd 2014, 5:02 pm

AP > Display


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


SLGray
Administrator
Administrator

Male Posts : 35667
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Add complete "Best Answer" solution

Post by icecom3 on 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

icecom3
Forumember

Posts : 43
Reputation : 0
Language : English

Back to top Go down

Solved Re: Add complete "Best Answer" solution

Post by Ange Tuteur on 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
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Add complete "Best Answer" solution

Post by icecom3 on 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?

icecom3
Forumember

Posts : 43
Reputation : 0
Language : English

Back to top Go down

Solved Re: Add complete "Best Answer" solution

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

Yes, paste it in the textarea below the search bar.

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Add complete "Best Answer" solution

Post by icecom3 on 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.

icecom3
Forumember

Posts : 43
Reputation : 0
Language : English

Back to top Go down

Solved Re: Add complete "Best Answer" solution

Post by Ange Tuteur on 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
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Add complete "Best Answer" solution

Post by icecom3 on 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.


icecom3
Forumember

Posts : 43
Reputation : 0
Language : English

Back to top Go down

Solved Re: Add complete "Best Answer" solution

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

try #000 instead of #000000

_Twisted_Mods_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Add complete "Best Answer" solution

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

no change

icecom3
Forumember

Posts : 43
Reputation : 0
Language : English

Back to top Go down

Solved Re: Add complete "Best Answer" solution

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


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


SLGray
Administrator
Administrator

Male Posts : 35667
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Add complete "Best Answer" solution

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

I checked with both.

icecom3
Forumember

Posts : 43
Reputation : 0
Language : English

Back to top Go down

Solved Re: Add complete "Best Answer" solution

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

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

_Twisted_Mods_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Add complete "Best Answer" solution

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


icecom3
Forumember

Posts : 43
Reputation : 0
Language : English

Back to top Go down

Solved Re: Add complete "Best Answer" solution

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

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


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


SLGray
Administrator
Administrator

Male Posts : 35667
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Add complete "Best Answer" solution

Post by icecom3 on 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?

icecom3
Forumember

Posts : 43
Reputation : 0
Language : English

Back to top Go down

Solved Re: Add complete "Best Answer" solution

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



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


SLGray
Administrator
Administrator

Male Posts : 35667
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Add complete "Best Answer" solution

Post by _Twisted_Mods_ on 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_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Add complete "Best Answer" solution

Post by icecom3 on 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?

icecom3
Forumember

Posts : 43
Reputation : 0
Language : English

Back to top Go down

Solved Re: Add complete "Best Answer" solution

Post by _Twisted_Mods_ on 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_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Add complete "Best Answer" solution

Post by icecom3 on 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!

icecom3
Forumember

Posts : 43
Reputation : 0
Language : English

Back to top Go down

Solved Re: Add complete "Best Answer" solution

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

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


you can add them there

_Twisted_Mods_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Add complete "Best Answer" solution

Post by icecom3 on 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".

icecom3
Forumember

Posts : 43
Reputation : 0
Language : English

Back to top Go down

Solved Re: Add complete "Best Answer" solution

Post by _Twisted_Mods_ on 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_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Add complete "Best Answer" solution

Post by Ramdaman on 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
Active Poster

Male Posts : 1614
Reputation : 96
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 on 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

icecom3
Forumember

Posts : 43
Reputation : 0
Language : English

Back to top Go down

Page 1 of 2 1, 2  Next

View previous topic View next topic Back to top


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