Social Bookmarks v2

Started by renlok, August 08, 2008, 05:40:20 PM

Previous topic - Next topic

MonoTiz

Hi, for Riziera.com support add this line in Display.php:
$socialbookmark[] = array('name' => 'Riziera', 'icon' => 'riziera', 'url' => 'http://www.riziera.com/smf/index.php?action=boardindex;remotepost=1;subject=$2;topiclink=$1');

Save this icon in Themes/default/images/socialbookmarks

coucnilhomeswap

ive tried this on SMF 2.0 RC1 and it says the file or folder is corrupt

JamesD01

Is this mod compatable with SMF 2 RC1?
(Doesn't state it does on the mod page yet.)
Best regards,
James

JamesD01

#23
Can someone confirm that this mod works on RC1 or that a RC1 version is coming soon?
Best regards,
James

GazOutEast

Echoing the last few posters - would like to know when this will be available for SMF 2.0 RC1

Getting same message about file or folder corrupt or incompatible version

I had this working all the way up to 1.1.8 and my site's members used it a lot.

Gaz
I have 20:20 vision - I can see anything bigger than 20" x 20"

robinrobin

RC1 is in serious need of syndication mod like this.

allenz

Wow.......
Thanks for sharing the cool mod...................  :)

tpet96

Same here.  Would love an RC1 version.

fotografo74

Same here....i need RC1 version please :-)
Thanks!
Antonio

fotografo74

This mod works ok with SMF 2 RC1...i installed manually and works ok!!!
Thanks!
Antonio

fotografo74

Quote from: fotografo74 on March 26, 2009, 01:24:20 PM
This mod works ok with SMF 2 RC1...i installed manually and works ok!!!
Thanks!
Antonio
I have one problem...i see only now...see attached image please:-)
How can i resove this?
Thanks!
Antonio

fotografo74

Quote from: fotografo74 on March 27, 2009, 04:19:04 AM
Quote from: fotografo74 on March 26, 2009, 01:24:20 PM
This mod works ok with SMF 2 RC1...i installed manually and works ok!!!
Thanks!
Antonio
I have one problem...i see only now...see attached image please:-)
How can i resove this?
Thanks!
Antonio
I solved the problem: this problem appears only with IE 6/7
Now it's ok!
In Display.template.php find:

// SOCIAL BOOKMARK BOX
if($modSettings['socialbookmarks']) {
echo '<div style="width:320px;padding:2px;float:right;text-align:right;" class="socialbookmark">';
foreach($context['socialbookmarks'] as $a => $b) {
echo '<a href="'.$b['url'].'" title="'.$b['name'].'" target="_blank">
<img src="'.$settings['default_images_url'].'/socialbookmarks/'.$b['icon'].'.png" title="'.$b['name'].'" alt="'.$b['name'].'"></a> ';
}
echo '</div><br />';
}
// END SOCIAL BOOKMARK BOX


and Replace with

// SOCIAL BOOKMARK BOX
if($modSettings['socialbookmarks']) {
echo '<div style="width:200px;float:right;text-align:right;" class="socialbookmark">';
foreach($context['socialbookmarks'] as $a => $b) {
echo '<a href="'.$b['url'].'" title="'.$b['name'].'" target="_blank">
<img src="'.$settings['default_images_url'].'/socialbookmarks/'.$b['icon'].'.png" title="'.$b['name'].'" alt="'.$b['name'].'"></a> ';
}
echo '</div><br /><br />';
}
// END SOCIAL BOOKMARK BOX


My modify: I used "width:200px" cause i have only  8 social icon, i delete padding and i added <br /> at end of code.
Antonio

Walgermo

Undefined index: socialbookmarks

File: /***/Themes/default/Display.template.php
Line: 13

==>13:      if($modSettings['socialbookmarks']) {

I have only enabled Facebook, and i have the noindex on..

why am i getting this error in the log? some fix for this?

hartiberlin

Does this already work with SMF 2.0RC2 ?

If not, when will it be updated or is there a better mod
for adding social bookmark links ?

Many thanks.

mirahalo

Quote from: hartiberlin on November 15, 2009, 09:17:57 PM
Does this already work with SMF 2.0RC2 ?

If not, when will it be updated or is there a better mod
for adding social bookmark links ?

Many thanks.

you can give it a try to this one:  h**p://custom.simplemachines.org/mods/index.php?mod=2111

;)

Advertisement: