[3.1][3.2] Reaction Buttons
Добавлено: 09 апр 2018, 16:22
Extension Name: Reaction Buttons
Author: southklad
Extension Description: I made a small extension for myself, in fact a simple one, but suddenly someone will like it.
So, first of all go to the site https://platform.sharethis.com/get-inline-share-buttons# and create exactly such buttons as we want, you can leave it as is, you can change their location or remove unnecessary ones.
After checking all the settings, we save and register. Then we find ourselves in the personal account on the site, where we see all the same settings
Now go to the extension files along the way
and there we replace the inscription Link to your buttons
to your link of this kind
After that, you can make all the changes on the ShareThis website and all changes will be automatically applied to your forum in 5-10 minutes.
For myself, the button mapping was done only in the first message
If you want to display in all messages you need to leave so
in file
Supported Styles:
Options:
Author: southklad
Extension Description: I made a small extension for myself, in fact a simple one, but suddenly someone will like it.
So, first of all go to the site https://platform.sharethis.com/get-inline-share-buttons# and create exactly such buttons as we want, you can leave it as is, you can change their location or remove unnecessary ones.
After checking all the settings, we save and register. Then we find ourselves in the personal account on the site, where we see all the same settings
Now go to the extension files along the way
Код: Выделить всё
/ext/southklad/reactionbuttons/styles/all/template/event/overall_header_head_append.html
Код: Выделить всё
<!-- IF not S_IS_BOT --><script type='text/javascript' src='Link to your buttons' async='async'></script><!-- ENDIF -->
Код: Выделить всё
//platform-api.sharethis.com/js/sharethis.js#property=Link to your buttons&product=inline-share-buttons
For myself, the button mapping was done only in the first message
Код: Выделить всё
<!-- IF postrow.S_FIRST_ROW -->
<div class="sharethis-inline-reaction-buttons" style="clear:both;"></div>
<!-- ENDIF -->
Код: Выделить всё
<div class="sharethis-inline-reaction-buttons" style="clear:both;"></div>
Код: Выделить всё
southklad/reactionbuttons/styles/all/template/event/viewtopic_body_postrow_post_content_footer.html
- all
- Download the latest release and unzip it.
- Upload to and enable it in the ACP
Код: Выделить всё
/ext/southklad/
Options:
- See HERE and below
DOWNLOAD: