News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Share This Topic

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

Previous topic - Next topic

MATTEK

Quote from: Suki on June 17, 2010, 08:55:17 PM
yeah my mistake, please change the float to left
Thanks dude. That worked perfectly.  ;D
SMF 2.0.1

Like Comics, Books, Movies or T.V. Shows? Read about them here!!

All Colours Sam

glad i can help

we will add some more options to display both the icons and the like button ;)
Oh, wouldn't it be great if I *was* crazy? ...then the world would be okay
Suki

mcfurkan

why I'm getting this error?
when I click the error to the site could not be reached writes.
elektronik imza alacağım, bu dertten kurtulacağım.

mirahalo

as I explained a few times already


this is facebook's servers faul, not this mod,  please wait a day and it will work again

mcfurkan

#424
Quote from: 130860 on June 22, 2010, 07:37:13 PM
as I explained a few times already


this is facebook's servers faul, not this mod,  please wait a day and it will work again

thank you.
and how can I turn to Turkish? its english now. "Like, share..."
elektronik imza alacağım, bu dertten kurtulacağım.

mirahalo

ok, I'm currently adding some more options to the mod, one of them is the possibility to change to button language, but try this:

on your index.template.php  find this:

\'//connect.facebook.net/en_US/all.js\';

and replace the en_US with this for Turkish language:


tr_TR

it will look like this:

\'//connect.facebook.net/tr_TR/all.js\';;

mcfurkan

elektronik imza alacağım, bu dertten kurtulacağım.

Eric B

My custom theme doesn't have a Display.template.php. Does this mean I am pretty much out of luck?

mirahalo

nope, just means that you dont have to worry for making the changes manually on that file,  your theme will take the display from the default theme ;)

please attach your index.template.php so I can make the relevant changes to it.

Eric B


mirahalo

alright, use this one ;)

dont forget to create the facebook app and to put your app ID in the mods settings

Eric B

Thank you, it works beautifully.

mirahalo


whonoes

#433
hello,  I tried to install this on SMF 2.0 RC3 and I get errors saying they suggest NOT to proceed with install.   Am using default curved theme...

Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation

3.     Execute Modification     ./Themes/default/index.template.php     Test failed
      1.    Replace    ./Themes/default/index.template.php    Test successful
      2.    Add Before    ./Themes/default/index.template.php    Test successful
      3.    Add After    ./Themes/default/index.template.php    Test failed


Any suggestions?

Thanks in advance for any suggestions would love to install this mod.

mirahalo

is the index.template.php the only file with errors?

if so, please attach it here,  looks like another mod has already modified some parts of that file.

whonoes

#435
Quote from: 130860 on June 25, 2010, 10:35:12 AM
is the index.template.php the only file with errors?

if so, please attach it here,  looks like another mod has already modified some parts of that file.

yes that is the only error....

PS this is the original index.template.php - after install your mod was 1st one I tried to install when I got the fail... I do have a couple other mods installed they are mobi related and the meta tag mod.

mirahalo

alright, pelase install the mod, dont mind the error, then replace your index.template.php with this one

whonoes

Thanks its up and running now :)

whonoes

I was checking things in or at W3C  and I am getting this error related to this mod...

Line 28, Column 17: there is no attribute "property"
   <meta property="og:title" content="Lake of the Ozarks  Forums - Index"/>


here is more of the code from source 

// share this topic facebook like buttom
   if (!empty($modSettings['share_likebutton_enable']))
       {
   echo '
   <meta property="og:title" content="', $context['page_title_html_safe'], '"/>
<meta property="og:site_name" content="', $context['forum_name_html_safe'], '"/>
<meta property="og:image" content="', !empty($modSettings['share_likebutton_image']) ? $modSettings['share_likebutton_image'] : '', '"/>';
       }
   // Output any remaining HTML headers. (from mods, maybe?)
   echo $context['html_headers'];

this is only error I get.  Any suggestions?

thanks in advance

wangx44

My custom theme doesn't have a display so here is my index.template file. Thanks!

Advertisement: