News:

Wondering if this will always be free?  See why free is better.

Main Menu

Share This Topic

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

Previous topic - Next topic

dsanchez

Hi guys!

Awesome job!

I want so much install this mod but I have a customized template (www.curefans.com) so I need to make changes to the Display.template.php

Can you please give a hand with this? File is attached.

Thanks a lot in advance.

David.

mirahalo

try this one ;)


and I'm a big fan of the cure as well :D

dsanchez

thank you very much!

and you're welcome to curefans.com too! ;)

everything's working fine except for the "I like button". I just see a "<" sign in the messages now?

thanks again!

mirahalo

does your theme has its own index.template?  if so please attach it here.

do you created the facebookm application correctly?

dsanchez

thank you

actually I forgot to do step 5) 5. Enter your site url with an ending slash in Connect URL and click on Save Changes (for example: http://mysitedomainname.com/)

but I already did that and still not "I like" button.

I attached the index.template.php

thanks again!

mirahalo

try this one, dont forget to put your facebook app ID on the mod settings

fatherbob

I too am having some problems getting the I LIKE to show up.  I have attached my index.template.php  I believe I set up the application okay and have made sure the "share this topic" parameters are correct.

Thanks in advance.

FB

mirahalo

Quote from: fatherbob on May 21, 2010, 12:24:53 AM
I too am having some problems getting the I LIKE to show up.  I have attached my index.template.php  I believe I set up the application okay and have made sure the "share this topic" parameters are correct.

Thanks in advance.

FB


I also need your display.template.php from the theme your 're currently using ;)  please attach it here too.

fatherbob

Hi 130860

My theme (Addagio_115) doesn't have a display.template.php, but here is the one from the default theme directory.

Thanks again.

FB

mirahalo

alright, the display looks ok, just replace the index.template.php with this file and enjoy ;)

fatherbob

Thank you very much.  It started working immediately.   ;D

FB


Heartlander

I can see that there are icons installed in the proper theme image folder- but no icons appear above the posts- only words.

Any help is appreciated.
http://keyboardsoup.com/forum/smf/index.php

rocknroller

Greetings!
looks like great mod! Is there any chance to install this mod 2.0 RC 2?
Automatic installation not works with the mentioned version.

rd

I think the emulate should work...

mirahalo

Quote from: Royalduke on May 24, 2010, 09:12:52 PM
I think the emulate should work...

true,  just try emulate version 2.0 RC2,  it should work ;)

rocknroller

Quote from: 130860 on May 25, 2010, 09:58:47 AM
Quote from: Royalduke on May 24, 2010, 09:12:52 PM
I think the emulate should work...

true,  just try emulate version 2.0 RC2,  it should work ;)

I was install manualy, but facing some errors in the error log.


Undefined index: share_likebutton_with
Display.template.php

in this line :

<fb:like href="', urlencode($page_url) ,'"  width="', $modSettings['share_likebutton_with'] ,'"></fb:like>

Do you have any idea? what is problem?

mirahalo

what language are you using?   make sure you have this

$txt['share_default_menu'] = 'Share This Topic';
$txt['share_default_menu_desc'] = 'Use this panel to confirm which social networking services you\'d like to be able to share forum topics with.';
$txt['share_default_tooltip'] = 'Share this topic on %s';
$txt['share_ask'] = 'Ask';
$txt['share_blinkbits'] = 'Blinkbits';
$txt['share_blinklist'] = 'Blinklist';
$txt['share_bloglines'] = 'Bloglines';
$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_rojo'] = 'Rojo';
$txt['share_scuttle'] = 'Scuttle';
$txt['share_shadows'] = 'Shadows';
$txt['share_slashdot'] = 'Slashdot';
$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_likebutton_enable'] = 'Enable the Facebook Like Button.';
$txt['share_likebutton_appid'] = 'The application ID of your Facebook application.';
$txt['share_likebutton_image'] = 'The URL of the best picture for this page. The image must be at least 50px by 50px and have a maximum aspect ratio of 3:1.';

$txt['share_likebutton_with'] = 'Facebook Like Button with. example: 200px';


on your /Themes/default/languages/Modifications.yourlanguage.php

and this:   on your /Themes/default/languages/Help.yourlanguage.php file:


// share this topic FB like button start
$helptxt['share_likebutton_enable'] = 'Check this box to allow your users to use the FaceBook Like button.';
$helptxt['share_likebutton_appid'] = 'to create a new application follow this steps:<br />
Go to: http://www.facebook.com/developers
2. Click on the + Set Up New Application button (at the top right of the page) <br/>
3. Type your Application Name (example: Mysite-Name Likes) > select Agree > click on Create Application<br/>
4. Go to the Connect tab (on the left tabs-list)<br/>
5. Enter your site url with an ending slash in Connect URL and click on Save Changes (for example: http://mysitedomainname.com/)<br/>
6. You will see your Application ID number (below your app API & Secret)<br/>
7. It will take between 2 to 20 minutes until it will be ready to use with.<br/>';
$helptxt['share_likebutton_image'] = 'The URL of the best picture for this page. The image must be at least 50px by 50px and have a maximum aspect ratio of 3:1. this is the image that will be show when your users share content of your forum.';
$helptxt['share_likebutton_with'] = 'Facebook Like Button with, the Height is automatically set depending on the number of users.';
// Share this topic FB like button end




rocknroller

#317
translate is ok. using croatian-utf8.

when someone go in any topic, error show up. In that display.template that code

for replace is not same in my display.template
<div class="inner" id="msg_', $message['id'], '"', '>', $message['body'], '</div>
</div>';


Maybe is my fault, If you have some time to look. I will attach my display.template.

Or maybe you have any other idea. thank you for help.

All Colours Sam

Quote from: Heartlander on May 24, 2010, 06:15:57 PM
I can see that there are icons installed in the proper theme image folder- but no icons appear above the posts- only words.

Any help is appreciated.
http://keyboardsoup.com/forum/smf/index.php

downlad the mod, unzipped  and upload the share folder to   /smf/Themes/HeadlineRC3/images/
Oh, wouldn't it be great if I *was* crazy? ...then the world would be okay
Suki

MATTEK

Will this mod conflict with the FB/Twitter Publisher mod?
SMF 2.0.1

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

Advertisement: