Warning: The author of this contribution does not provide support for it anymore.

Thanks for posts

How to change position of thanks button? - Thanks for posts

How to change position of thanks button?

by rogn » Thu Dec 27, 2012 11:01 pm

Hi, I want to move the thanks button to bottom of the page, above the signature.

Can anyone help me?


Sry for bad english.
rogn
Registered User
Posts: 15
Joined: Fri Dec 21, 2012 8:10 pm
Contact:

Re: How to change position of thanks button?

by Палыч » Sat Dec 29, 2012 3:45 pm

edit viewtopic_body.html
Sorry for my bad english
User avatar
Палыч
Translator
Posts: 1543
Joined: Sun Jul 01, 2007 7:59 pm
Location: St. Petersburg
Name: Сергей
Contact:

Re: How to change position of thanks button?

by rogn » Mon Dec 31, 2012 8:52 pm

Thanks for the answer. Now i have the problem, the image is not clickable!

Can you help me?

Thanks
rogn
Registered User
Posts: 15
Joined: Fri Dec 21, 2012 8:10 pm
Contact:

Re: How to change position of thanks button?

by mncwatson » Sat Feb 15, 2014 1:09 am

Hi! I think the "Thanks for Post" Mod is AWESOME and it is working fantastic. Thank you for the Mod!!!

I have had a lot of Forum Members continue to ask me to place the Thank Button at the bottom of the posts.

Site for reference is: http://www.imtbtrails.com/forum/index.php

I am using Prosilver Board Version 3.0.12

As I understand it, this can be done on the viewtopic_body.html

However, nobody has clearly explained "HOW" to move it to the bottom of a post. I have searched on several occasions for several days in effort not to inconvenience anyone, but can not find instructions.

I would sincerely appreciate feedback on exactly how to do this! :D

Most sincerely,
Mikie
mncwatson
Registered User
Posts: 13
Joined: Wed Sep 04, 2013 2:56 am
Contact:

Re: How to change position of thanks button?

by 5hocK » Sat Feb 15, 2014 9:54 am

I can get it like this if that's any use to you.

thanks_lower.png
thanks_lower.png (6.43 KiB) Viewed 384 times

Find and remove:

Code: Select all

               <!-- IF  not postrow.S_FIRST_POST_ONLY or postrow.S_ONLY_TOPICSTART -->
                  <!-- IF not postrow.S_GLOBAL_POST_THANKS and not postrow.S_POST_ANONYMOUS and postrow.S_FORUM_THANKS and S_USER_LOGGED_IN and not postrow.S_IS_OWN_POST and (not postrow.S_ALREADY_THANKED or postrow.S_REMOVE_THANKS) --><li class="{postrow.THANKS_IMG}"><a href="{postrow.THANKS_LINK}" title="{postrow.THANK_ALT}{postrow.POST_AUTHOR}"></a></li><!-- ENDIF -->            
               <!-- ENDIF -->

Find:

Code: Select all

         <div class="content">{postrow.MESSAGE}</div>

Add after:

Code: Select all

              <ul class="profile-icons">
               <!-- IF  not postrow.S_FIRST_POST_ONLY or postrow.S_ONLY_TOPICSTART -->
                  <!-- IF not postrow.S_GLOBAL_POST_THANKS and not postrow.S_POST_ANONYMOUS and postrow.S_FORUM_THANKS and S_USER_LOGGED_IN and not postrow.S_IS_OWN_POST and (not postrow.S_ALREADY_THANKED or postrow.S_REMOVE_THANKS) --><li class="{postrow.THANKS_IMG}"><a href="{postrow.THANKS_LINK}" title="{postrow.THANK_ALT}{postrow.POST_AUTHOR}"></a></li><!-- ENDIF -->            
               <!-- ENDIF -->
              </ul>

Refresh everything.
A thread is pretty much a topic. Stop with the pedantics will ya.
User avatar
5hocK
Registered User
Posts: 3011
Joined: Wed Nov 23, 2011 7:00 pm
Location: England

Re: How to change position of thanks button?

by mncwatson » Sun Oct 19, 2014 4:43 am

Thank you so much for taking the time to figure this out and write this up! Does the example you posted put the thank button all the way at the bottom of any post?

I think what I'm asking is, is it possible to place the "Thank You" Button down where signatures would be?
That way if you have a long post (which we often do on http://www.imtbtrails.com). The reader does not have to scroll back up to the top and thank the Original Poster (OP). I guess they are lazy as they really appear to want this.. :-)

This is the number one Forum request on my site.
mncwatson
Registered User
Posts: 13
Joined: Wed Sep 04, 2013 2:56 am
Contact:

Re: How to change position of thanks button?

by 5hocK » Sun Oct 19, 2014 3:19 pm

mncwatson wrote:Does the example you posted put the thank button all the way at the bottom of any post?

Yes, look at the example, it's below the text of the post.
A thread is pretty much a topic. Stop with the pedantics will ya.
User avatar
5hocK
Registered User
Posts: 3011
Joined: Wed Nov 23, 2011 7:00 pm
Location: England

Re: How to change position of thanks button?

by roger12 » Fri Feb 05, 2016 2:23 pm

5hock how to change position of thanks button to be on this place ?

Image

and how enlarge a little this thanks image?
User avatar
roger12
Registered User
Posts: 115
Joined: Thu Feb 27, 2014 8:45 pm
Contact:

Re: How to change position of thanks button?

by roger12 » Tue Feb 16, 2016 9:18 pm

anyone else? BUMP

how to change position of thanks button to be on this place ?

Image

and how enlarge a little this thanks image?
User avatar
roger12
Registered User
Posts: 115
Joined: Thu Feb 27, 2014 8:45 pm
Contact:

Re: How to change position of thanks button?

by 5hocK » Wed Feb 17, 2016 8:41 am

Look at the code above, find any corresponding code in thanks.css (css files control the style and layout) and alter accordingly, not forgetting to clear cache after making changes, also browser cache.

Either edit the image or find a different image on the net and replace the image.
A thread is pretty much a topic. Stop with the pedantics will ya.
User avatar
5hocK
Registered User
Posts: 3011
Joined: Wed Nov 23, 2011 7:00 pm
Location: England