News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Share This Topic

Started by All Colours Sam, September 06, 2009, 05:09:23 AM

Previous topic - Next topic

All Colours Sam

@maxtor  theres a setting in the mod's settings page for each of the buttons, if you only want facebook to appear, then uncheck the other 3.
Oh, wouldn't it be great if I *was* crazy? ...then the world would be okay
Suki

Maxtor

Quote from: Miss All Sunday on February 23, 2011, 01:54:07 PM
@maxtor  theres a setting in the mod's settings page for each of the buttons, if you only want facebook to appear, then uncheck the other 3.

i did that already, but the only way to remove it was by editing Display.php

// define some parameters
$parameters = array(
'url' => $scripturl . '?topic=' . $topic . '.msg' . $message['ID_MSG'] . '#msg' . $message['ID_MSG'],
'output' => 'return',
'face_button' => 1, // either set this 1 for use the modSettings parameters or 0 to hide
'retweet_button' => 0,
'digg_button' => 0,
'buzz_button' => 0,

All Colours Sam

thats because you used a file that was not suppose to be for you. I didn't upload that file for all users to use it.
Oh, wouldn't it be great if I *was* crazy? ...then the world would be okay
Suki

Maxtor


netalberto

Quote from: Miss All Sunday on February 23, 2011, 08:34:04 AM

and yes, I tested your site and in both my wall and home page I see the post name and topic link

It's very strange  :o :o  I don't understand why I see in my wall post title, but in home forum title... I have to change my eyes or what problem could be?  :'( :'(

All Colours Sam

its highly likely the facebook connect mod adds the metatags and facebook its getting the forum name from there instead of the topic name.
Oh, wouldn't it be great if I *was* crazy? ...then the world would be okay
Suki

venex

Quote from: Miss All Sunday on February 14, 2011, 10:13:38 AM
its a bug with this mod and 1.1.x versions, it will be solved with the next release, attach your ShareThis.php file to fix it.
Here

Thanks!

btw... im using RC4

venex

Quote from: Miss All Sunday on February 14, 2011, 10:13:38 AM
its a bug with this mod and 1.1.x versions, it will be solved with the next release, attach your ShareThis.php file to fix it.

Here it is :). Thanks a lot.

All Colours Sam

Oh, wouldn't it be great if I *was* crazy? ...then the world would be okay
Suki

geezmo

#1089
I keep getting these in my error log:

8: Undefined index: share_icons_enable
File: /home/vps/public_html/forum/Sources/ShareThis.php
Line: 128

and

8: Undefined index: share_buzzbutton_enable
File: /home/vps/public_html/forum/Sources/ShareThis.php
Line: 79

Attached is my ShareThis.php

Thanks for any help!

venex

Quote from: Miss All Sunday on February 24, 2011, 06:02:08 PM
use this one venex
thanks!

It's fixed now. I also notice that you added a image at the end of the first topic (or where the buttons are displayed) why is that? I edited the file again because you put "png" as the images type and it was "gif"... I also moved it to the right.

You put that because if there's nothing the MOD keeps sending errors to the error log or what?

Thanks ;D.

All Colours Sam

a new version has been released, please all the people with "undefined index"  errors upgrade to this new version.


2.8
-Fixed the Undefined errors in ShareThis.php file.
-Removed some file edits, less edits and more hooks means less headaches :)
Oh, wouldn't it be great if I *was* crazy? ...then the world would be okay
Suki

madnexus

#1092
Just upgraded to the last version and still having the following undefined errors:

8: Undefined index: share_diggbutton_enable and 8: Undefined index: share_buzzbutton_enable (line 135 and 136 of /Sources/ShareThis.php).

None of them are enabled under the settings.

Facebook Like button is the only one enabled but is not working.. (can't see it anywhere).

geezmo

Same thing with madnexus. Uploaded version 2.8 but the same undefined index error remained.

Maxtor

Quote from: geezmo on February 26, 2011, 01:34:33 PM
Same thing with madnexus. Uploaded version 2.8 but the same undefined index error remained.

yes same problem. just installed 2.8 and having these errors:


8: Undefined index: share_diggbutton_enable
File: /home/user/public_html/forum/Sources/ShareThis.php
Line: 135


8: Undefined index: share_twibutton_enable
File: /home/user/public_html/forum/Sources/ShareThis.php
Line: 134


8: Undefined index: share_buzzbutton_enable
File: /home/user/public_html/forum/Sources/ShareThis.php
Line: 136

becometa

Here comes the Polish-utf8 translation.

$txt['share_buttons_enable'] = '<span style="font-weight:bold;">Włącz przyciski udostępniania.</span>"';
$txt['share_all_messages'] = '<span style="font-weight:bold;">Umieścić przyciski udostępniania w każdej wiadomości?</span><br /> jeżeli pole pozostanie puste, ikony oraz przyciski udostępniania będą widoczne tylko w pierwszym poście.';
$txt['share_default_menu'] = 'Podziel się tym tematem';
$txt['share_default_menu_desc'] = 'Użyj tego panelu aby potwierdzić, w których serwisach społecznościowych chcesz podzielić się tym tematem.';
$txt['share_default_tooltip'] = 'Podziel się tym tematem na %s';
$txt['share_ask'] = 'Ask';
$txt['share_blinklist'] = 'Blinklist';
$txt['share_bmarks'] = 'Bmarks';
$txt['share_dzone'] = 'Dzone';
$txt['share_feedmelinks'] = 'Feed Me Links';
$txt['share_furl']  = 'furl';
$txt['share_live'] = 'Live';
$txt['share_netvouz'] = 'Netvouz';
$txt['share_newsvine'] = 'Newsvine';
$txt['share_oneview'] = 'Oneview';
$txt['share_bebo'] = 'Bebo';
$txt['share_diigo'] = 'Diggio';
$txt['share_fark'] = 'Fark';
$txt['share_iwiw'] = 'Iwiw';
$txt['share_linkedin'] = 'LinkedIn';
$txt['share_mrwong'] = 'Mr Wong';
$txt['share_orkut'] = 'Orkut';
$txt['share_stylehive'] = 'Stylehive';
$txt['share_web2pdf'] = 'Web 2 PDF';
$txt['share_spurl'] = 'Spurl';
$txt['share_squidoo'] = 'Squidoo';
$txt['share_tipd'] = 'Tipd';
$txt['share_gbuzz'] = 'Google buzz';
$txt['share_facebook'] = 'Facebook';
$txt['share_myspace'] = 'MySpace';
$txt['share_delicious'] = 'Del.icio.us';
$txt['share_digg'] = 'Digg';
$txt['share_reddit'] = 'Reddit';
$txt['share_stumbleupon'] = 'StumbleUpon';
$txt['share_twitter'] = 'Twitter';
$txt['share_technorati'] = 'Technorati';
$txt['share_magnolia'] = 'Magnolia';
$txt['share_google'] = 'Google';
$txt['share_yahoo'] = 'Yahoo';
$txt['share_printfriendly'] = 'Print Friendly';
$txt['share_meneame'] = 'Meneame';
$txt['share_friendfeed'] = 'Friend feed';
$txt['share_icons_enable'] = '<span style="font-weight:bold;">Włącz ikony udostępniania</span>';
$txt['share_likebutton_enable'] = 'Włącz przycisk Facebook\'a - "Lubię to"';
$txt['share_options_boards'] = '<span style="font-weight:bold;">wpisz ID działów w których chcesz aby ikony oraz przyciski udostępniania były niewidoczne</span><br /> odseparowywuj je przecinkiem, np: 1,2,3,4';
$txt['share_diggbutton_enable'] = 'Włącz przycisk Digg\'';
$txt['share_twibutton_enable'] = 'Włącz przycisk Twitter\'a';
$txt['share_buzzbutton_enable'] = 'Włącz przycisk Buzz\'a';
$txt['tweet_name'] = 'Tweet';
$txt['buzz_post'] = 'Napisz na Google Buzz';
$txt['share_likebutton_height'] = '<span style="font-weight:bold;">wysokość przycisku Facebook\'a - "Lubię to"</span><br />minimum 35(ustawiane automatycznie przez facebook)';
$txt['share_like_select_all'] = 'Naciśnij aby zaznaczyć wszystkie pola';
$txt['share_boardnews_block'] = '<span style="font-weight:bold;">Pokazywać ikony i przyciski w bloku "Board news" w SimplePortal?</span><br /> <a href="http://simpleportal.net">SimplePortal</a> musi być uwcześnie zainstalowany.';
$txt['share_articles'] = '<span style="font-weight:bold;">Pokazywać ikony i przyciski w systemie artykułów wbudowanym w SimplePortal?</span><br /> <a href="http://simpleportal.net">SimplePortal</a> musi być uwcześnie zainstalowany.';
$txt['share_donate'] = 'jeżeli lubisz tą modyfikację, proszę prześlij mi <a href="http://oharascans.com/donate.html" target="blank">dotację.</a>';


And if im right, the
$txt['share_default_menu_desc']
is not used anywhere in modification ;) But perhaps I'm wrong

Arantor

I think you'll find it's needed by the admin panel for 2.0. If you like, you can try removing it, emptying the cache and seeing what happens ;)
Holder of controversial views, all of which my own.


All Colours Sam

madnexus, geezmo and maxtor  I cannot reproduce the errors you're getting, can you please tell me your smf version,  I honestly don't know what you're getitng those errors, modSettings is properly globalized in all functions.

can you replace your ShareThis.php file with the one attached
Oh, wouldn't it be great if I *was* crazy? ...then the world would be okay
Suki

Average Mom

Quote from: Miss All Sunday on February 26, 2011, 08:10:51 PM
madnexus, geezmo and maxtor  I cannot reproduce the errors you're getting, can you please tell me your smf version,  I honestly don't know what you're getitng those errors, modSettings is properly globalized in all functions.

can you replace your ShareThis.php file with the one attached

I tried replacing mine with that one as well since I'm getting similar errors as them, but no change on my end.
I am using SMF 2.0 RC5 with the following mods and the Dziner Outline theme
1.    Welcome Topic Mod    2.1
2.    SimplePortal    2.3.3
3.    Contact Page    2.1.1
4.    Share This Topic    2.8
5.    Referrals System    3.0.1
6.    LMGTFY BBcode    3.7

I'm also including my own ShareThis.php file.

There errors I am getting are:
http://averagemom.com/forum/index.php?
8: Undefined index: share_buzzbutton_enable
File: /.../forum/Sources/ShareThis.php
Line: 136

I don't have the buzz button enabled, nor do I wish to at the moment, but I tried with it enabled and disabled and I believe I get the same message.

Maxtor

Quote from: Miss All Sunday on February 26, 2011, 08:10:51 PM
madnexus, geezmo and maxtor  I cannot reproduce the errors you're getting, can you please tell me your smf version,  I honestly don't know what you're getitng those errors, modSettings is properly globalized in all functions.

can you replace your ShareThis.php file with the one attached

you can reproduce these errors by disabling "buzz,twitter,dig" from admin->settings.

Advertisement: