Yes. Download latest version, https://github.com/Naguissa/thanks_for_ ... tag/3.2.15
You can test it here: https://www.foroelectro.net/thanks-for-posts-tests-f30/
Remember: phpBB 3.3.0 requires PHP 7.1 at least. check this before upgrading....
Yes. Download latest version, https://github.com/Naguissa/thanks_for_ ... tag/3.2.15
Oh! No, it doesn't automatically patches YML files. It gives you correct text (even for disabled extensions). Then you have to copy-paste the text. After re-enabling and testing in my local machine I uploaded modified files to live server and re-enabled extensions. I had no problem in my core extensions:
Code: Select all
Extensiones habilitadas
Advanced BBCode Box 3.2.2 Detalles Deshabilitar
Advertisement Management 2.0.2 Detalles Deshabilitar
Auto Groups 2.0.2 Detalles Deshabilitar
Ban Hammer 1.0.8 Detalles Deshabilitar
External Links Open in New Window 1.0.6 Detalles Deshabilitar
Google Analytics 1.0.5 Detalles Deshabilitar
Image Upload 1.0.2 Detalles Deshabilitar
Posts merging 2.1.0 Detalles Deshabilitar
Precise Similar Topics 1.5.2 Detalles Deshabilitar
RH Topic Tags 1.0.3 Detalles Deshabilitar
Seo Meta Description 1.0.0 Detalles Deshabilitar
SEO URLs 0.3.2 Detalles Deshabilitar
Tapatalk Plugin for phpBB 3.1/3.2 2.1.0 Detalles Deshabilitar
Thanks for posts 3.2.14 Detalles Deshabilitar
Topic Restriction 1.0.1 Detalles Deshabilitar
XML Sitemap 0.1.4 Detalles Deshabilitar
Naguissa wrote: ↑Thu May 18, 2017 10:09 am [...]
Installation:
[...]
Tapatalk:
Install regular Tapatalk plugin without enabling it; you can download it from here: https://www.tapatalk.com/download_phpbb
Overwrite "<PHPBB_ROOT>/mobiquo" content with repository one.
Note: Support for phpBB 3.3.x is available for 1st time on version 2.1.7; previous versions will fail even on the original plugin.
[...]
For these steps you need to change table prefix if your installation uses any other. It's the bold part of table name: phpbb_thanks
Code: Select all
# Table: phpbb_thanks
Code: Select all
DROP TABLE IF EXISTS phpbb_thanks;
Code: Select all
CREATE TABLE `phpbb_thanks` (
`post_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
`poster_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
`user_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
`topic_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
`forum_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
`thanks_time` int(11) unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`post_id`,`user_id`),
KEY `post_id` (`post_id`),
KEY `topic_id` (`topic_id`),
KEY `forum_id` (`forum_id`),
KEY `user_id` (`user_id`),
KEY `poster_id` (`poster_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
Code: Select all
INSERT INTO phpbb_thanks [here comes all your data]
Please forgive my own ignorance, but can you walk me through this from the perspective of someone who has simply disabled the previous build, and NOT deleted the ext data (yet)? Can I merge the update, or overwrite existing ext files and keep the previous thanks from before disabling it?Naguissa wrote: ↑Fri Jan 31, 2020 6:58 amFor these steps you need to change table prefix if your installation uses any other. It's the bold part of table name: phpbb_thanks
You need to execute these statments on a SQL console in your database server, selecting your phpbb installation database.
1) Disable the extension
2) Uncompress backup file and open resulting SQL file.
3) From that file, execute in your SQL console the lines after
There're three statements:Code: Select all
# Table: phpbb_thanks
Code: Select all
DROP TABLE IF EXISTS phpbb_thanks;
Code: Select all
CREATE TABLE `phpbb_thanks` ( `post_id` mediumint(8) unsigned NOT NULL DEFAULT 0, `poster_id` mediumint(8) unsigned NOT NULL DEFAULT 0, `user_id` mediumint(8) unsigned NOT NULL DEFAULT 0, `topic_id` mediumint(8) unsigned NOT NULL DEFAULT 0, `forum_id` mediumint(8) unsigned NOT NULL DEFAULT 0, `thanks_time` int(11) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`post_id`,`user_id`), KEY `post_id` (`post_id`), KEY `topic_id` (`topic_id`), KEY `forum_id` (`forum_id`), KEY `user_id` (`user_id`), KEY `poster_id` (`poster_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
Code: Select all
INSERT INTO phpbb_thanks [here comes all your data]
Tin Soldier wrote: ↑Fri Jan 31, 2020 9:24 am
Please forgive my own ignorance, but can you walk me through this from the perspective of someone who has simply disabled the previous build, and NOT deleted the ext data (yet)? Can I merge the update, or overwrite existing ext files and keep the previous thanks from before disabling it?
Thanks
Yes and no:Tin Soldier wrote: ↑Fri Jan 31, 2020 10:05 am Thanks. Seems to have worked flawlessly!
So...OT, but with Extension .yml check I could fix Quickstyle as well? (I really would for it to work with 3.3)
Thanks!mrx1983 wrote: ↑Mon Jan 27, 2020 5:26 pmgfksx\ThanksForPosts\styles\prosilver\template\event\viewtopic_body_postrow_custom_fields_after.htmlHysteriaa wrote: ↑Mon Jan 27, 2020 1:17 pm Side-question about this extension (thanks for posts)
I'd like to hide "Given: .." from de miniprofiles.
I want the received likes to be showed at the miniprofiles, but not the givens.
Is there a way to change that? Where can I change that? With what code, or what code do I have to remove?
replace the content with this (i basically removed / out coment the first dd of this template)Code: Select all
{% if postrow.THANKS_COUNTERS_VIEW and postrow.THANKS_POSTLIST_VIEW and (postrow.THANKS_POST_VIEW_GUESTS or not postrow.S_POST_ANONYMOUS) and (postrow.THANKS_POST_VIEW_ROBOTS or not S_IS_BOT) %} <!--<dd class="profile-posts" data-user-give-id="{{ postrow.POSTER_ID }}"> <strong>{{ lang('GIVEN') }}{{ lang('COLON') }}</strong> <a href="{{ postrow.POSTER_GIVE_COUNT_LINK }}">{% if postrow.POSTER_GIVE_COUNT %}{{ postrow.POSTER_GIVE_COUNT }}{% else %}0{% endif %}</a> </dd>--> <dd class="profile-posts" data-user-receive-id="{{ postrow.POSTER_ID }}"> <strong>{{ lang('RECEIVED') }}{{ lang('COLON') }}</strong> <a href="{postrow.POSTER_RECEIVE_COUNT_LINK}">{% if postrow.POSTER_RECEIVE_COUNT %}{postrow.POSTER_RECEIVE_COUNT}{% else %}0{% endif %}</a> </dd> {% endif %}
Code: Select all
<li>
<a href="{postrow.U_REPORT}" title="{L_REPORT_POST}" class="button button-icon-only">
<i class="icon fa-exclamation-circle fa-fw" aria-hidden="true"></i><span class="sr-only">Report</span>
</a>
</li>
Code: Select all
<li>
<a id="lnk_thanks_post{{ postrow.POST_ID }}" href="{{ postrow.THANKS_LINK }}" title="{{ postrow.THANK_ALT }}{{ postrow.POST_AUTHOR }}" class="button button-icon-only">
<i aria-hidden="true" class="icon fa-fw fa-thumbs-up"></i><span class="sr-only">{{ postrow.THANK_ALT_SHORT }}</span>
</a>
</li>