Thanks for posts

(Suggestion)Make 'Has thanked' viewtopic field optional - Thanks for posts

(Suggestion)Make 'Has thanked' viewtopic field optional

by abs123 » Sun Nov 25, 2018 5:49 pm

Can we have an option that disables 'Has thanked' post row field in viewtopic, leaving only received thanks visible?

Currently it is only possible modifying this file:

gfksx/thanksforposts/styles/prosilver/template/event/viewtopic_body_postrow_custom_fields_after.html

and removing this line:

<dd class="profile-posts" data-user-give-id="{{ postrow.POSTER_ID }}">{% if postrow.POSTER_GIVE_COUNT %}<strong>{{ lang('GIVEN') }}{{ lang('COLON') }}</strong> <a href="{{ postrow.POSTER_GIVE_COUNT_LINK }}">{{ postrow.POSTER_GIVE_COUNT }}</a>{% endif %}</dd>

An option would be much more useful than modifying the sources.
abs123
Registered User
Posts: 9
Joined: Wed Jul 18, 2018 8:29 pm
Contact:

Re: (Suggestion)Make 'Has thanked' viewtopic field optional

by rxu » Mon Nov 26, 2018 3:08 pm

I'll think about adding configuration switch in the next version, thanks.
rxu
Extensions Development Team
Posts: 2953
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact: