Extension talk:AddThis

Jump to navigation Jump to search

About this board

No previous topics.

Default Parameters Replacement Not Working

2
Onesimok (talkcontribs)

I'm on MediaWiki 1.33 using the MobileFrontend skin. The default parameter buttons do not go away when you replace them with one's own parameters. Instead, the ones specified are just added to the default buttons and you end up with two buttons for some services

Onesimok (talkcontribs)

My solution so far has been to just hide the buttons using CSS selectors

.at300b:nth-child(2),
.at300b:nth-child(3),
.at300b:nth-child(4),
.at300b:nth-child(5),
.at300b:nth-child(6),
.at300b:nth-child(7),
.at300b:nth-child(8),
.at300b:nth-child(9),
.at300b:nth-child(10){
    display: none;
}
Reply to "Default Parameters Replacement Not Working"
Pretor~nowiki (talkcontribs)

Hi! The AddThis extension is great, but sometimes the widget interfers with article content. To avoid this I'll suggest to move it up to the title field, or at least make it an option.

If I could code I would just change the code myself or copy from the Pluso extension.

Hope this is possible and thank you in advance!

Reply to "Move AddThis widget to title?"
EhcanreB (talkcontribs)

Hi! The Facebook share button on my wiki keeps returning this message "Sorry, this feature isn't available right now: An error occurred while processing this request. Please try again later" while the other share buttons work great. Any idea on how to fix this? Thank you!

Reply to "Facebook share button issue"
86.153.162.174 (talkcontribs)

Nice extension!

Is there a way to get this to appear on specified Category: pages?

Jkmartindale (talkcontribs)

I haven't bothered to test this as I currently don't have a test wiki, but does adding <addthis /> to the category page work?

86.153.162.174 (talkcontribs)

Thank you.

<addthis /> works on category pages!

I should have read the documentation more carefully.

Reply to "Category Pages"
Giby the kid (talkcontribs)

Hi…

few weeks ago FB changed its code. Now we do not see the picture in the preview box. Can you fix it then user could see and choose the picture they want in there post

Reply to "Facebook has changed his code"
185.156.173.48 (talkcontribs)

Hi

How to adjust the height of the addthis bar and to round the corners of the addthis bar.

wiki-shangri-la.com

Reply to "Adjustments for the addthis bar"
185.5.60.134 (talkcontribs)

The Google Plus button creates problems, it leaves an empty space widening the line of social buttons. The only solution I found so far was to eliminate it... But I would like it to be present, does anyone know how to fix it?

Dariomarcelino (talkcontribs)

I've also experienced the same issue and found a workaround. Add the following line to you LocalSettings.php after the require_once statement:

$wgAddThisSBServ[3]['attribs'] = 'g:plusone:count="false" style="margin-top:1px; width: 25px;"';

The key bit is width: 25px; which is an addition to the default value, constraining the social button size.

87.13.171.200 (talkcontribs)

It works! Thank you very much for helping!

B.Shapoval (talkcontribs)

For me it works too. Thank you

Reply to "Issues with Google Plus button"
DulcetTone~mediawikiwiki (talkcontribs)

If the button bar appeared justified right on the same line as the page title, the flow would be improved on many of my pages.

This post was posted by DulcetTone~mediawikiwiki, but signed as DulcetTone.

BradLeeBH (talkcontribs)
Reply to "Suggestion for Header placement"
74.131.4.253 (talkcontribs)

This script is blocked by uBlock Origin.

Jkmartindale (talkcontribs)

That's a uBlock issue, not an extension issue. Add your wiki to the uBlock whitelist.

Reply to "uBlock blocks this script"
Summary by Jkmartindale

Fixed

Kghbln (talkcontribs)

Thank you for your job.

I tested this and I get PHP notice:

PHP Notice:  Undefined variable: wgScriptPath in /srv/http/wiki/extensions/AddThis/AddThis.body.php on line 15

PHP 5.3.8 (FastCGI), MW 1.18.

Ruusian translation of the AddThis.i18n.php:

$messages['ru'] = array (
  'addthis'      => 'Поделиться',
  'addthis-desc' => 'Добавляет кнопку AddThis на боковую панель и в заголовок статьи.'
);

Also I think you should add option to disable page header button.

Varnent (talkcontribs)

Thank you for the language submission and FYI on the error! I'm working on a new revision now to fix that. Also working on more options, a tag and moving to Wikimedia's subversion.

Varnent (talkcontribs)

The fix, a setting for the page header, language fix for the toolbar and other revisions are now live on the subversion I'm currently using. Will be switching to MW subversion server soon (current server will forward to MW server once move is completed)