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

waruna

Hye.. At last, the mod is successfully installed.. phewww.

But another problem is, nothing happened. I can't see the "Share this topic" and the icons of social networks at the top of the topic.
Trust of Lust

mirahalo

your theme has it own Display.template.php file?  if so, please attach that file to make the necessary edits for it.   also, once installed, the packager manager redirected you to the mods settings, make sure you check at least one social network.

waruna

Quote from: 130860 on January 28, 2010, 02:05:36 PM
your theme has it own Display.template.php file?  if so, please attach that file to make the necessary edits for it.   also, once installed, the packager manager redirected you to the mods settings, make sure you check at least one social network.

Desktop.template.php attached.

Unfortunately, the packager manager redirected the page directly to Features and Options page instead of Mods Settings. And there's nothing at Miscellaneous in Mods Settings. Is this weird?
Trust of Lust

waruna

I can see the Advance Options in Browse Packages page. It says something like emulate version. Does it has something to do with my problem?
Trust of Lust

mirahalo

nope, if you cannot see the settings for this mod is most likely that you have a different language than english, what language did you use?

can you see the settings in this page?  myforum.com/index.php?action=admin;area=featuresettings;sa=sharetopic    replace myforum with the actual url of your forum

try the attached file



waruna

Ok. It works man! Great! ;) . I just enter the location of path manually, and the installation complete. Now the logos displayed at the top of the topic. Thanks a lot. :D

Here's another thing, how can I put the word "Share this on: " next to the logos?

Thanks in advance.
Trust of Lust

mirahalo

well actually, theres no text string that says specifically: Share this on:    the mod got one that says: Share This Topic

if you really want to say Share This Topic on: you got two options, one is add another text string, the other is to put it directly on your display.template.php, of course, the secong will work only if you just use english language, it woulb be like this:

on your theme's display.template.php

find this:

<div id="forumposts"><span>', $social_icons, '</span>

replace with this:


<div id="forumposts"><span>Share this on: ', $social_icons, '</span>

do you use multiple languages?



waruna

I'm using english language. Thanks man! It works ;) .. Many thanks to you dude. :-*
Trust of Lust

playdiune

is it possible to add the google buzz icon ?

thanks
My personal forum is now improving thanks to the Power of SMF

http://www.new-digital.net

mirahalo

I dont know much about it but if it has a share link I can use then yes it could be added,

mmm,  searching a little bit i found this one: http://www.google.com/reader/link?url=


let me make a few test.

KensonPlays

@playdiune:
You use google buzz already? I am and I like it!

Owner of Mesozoic Haven

playdiune

yes. i am using and i also like it ;)
My personal forum is now improving thanks to the Power of SMF

http://www.new-digital.net

bjraines

is there a way to get it to work with pretty URLs?

Arantor

Not without a lot of modification of the mod from what I remember.
Holder of controversial views, all of which my own.


ɔɔɔɔɔɔuɥoɾ

Cant you use the power of .htaccess to rewrite URLs in the areas of the mod to suite pretty URLs mod needs.

I'm Unsure as I dont use pretty URLs, but I have to ask as I'm currently working on something which will let me use a sub-domain for a board, which I'm trying to figure out the htaccess changes to make it work, thought it may be a similar-ish situation


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

Arantor

No, because you have to rewrite the URLs that the mod produces, nothing to do with .htaccess at all.
Holder of controversial views, all of which my own.


ɔɔɔɔɔɔuɥoɾ

arhh! Well just thought I would throw it in there, I saw that .htaccess fixed something with the ajax chat integration too (when pretty URLs was used), oh well lol..


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

playdiune

well,

i am using pretty urls and also this mod and i have no errors.

what errors are you talking about ?
My personal forum is now improving thanks to the Power of SMF

http://www.new-digital.net

mirahalo

@playdiune    about Google buzz,   here's    a little tweak for it,   in your theme's display.template.php  find this:  (assuming you're using 1.1.11)

echo '', $social_icons, '

and add this after

  <a href="http://www.google.com/reader/link?url='. $scripturl . '?topic=' . $context['current_topic'] . '.0&title='. $context['subject'] .'&srcURL='. $scripturl . '?topic=' . $context['current_topic'] . '.0" target="_blank"><img src="' . $settings['images_url'] . '/share/buzz.gif" title="Share on buzz" alt="Share on buzz" /></a> </span>


like this:

echo '', $social_icons, '<a href="http://www.google.com/reader/link?url='. $scripturl . '?topic=' . $context['current_topic'] . '.0&title='. $context['subject'] .'&srcURL='. $scripturl . '?topic=' . $context['current_topic'] . '.0" target="_blank"><img src="' . $settings['images_url'] . '/share/buzz.gif" title="Share on buzz" alt="Share on buzz" /></a> </span>


and upload the attached image to your  theme's image folder,   this is just temporal until I release the next version.


greetings.

waruna

What about coding for SMF2.0 RC2? Thanks. :D
Trust of Lust

Advertisement: