Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: M-DVD on October 14, 2007, 04:06:46 PM

Title: Social Bookmarks
Post by: M-DVD on October 14, 2007, 04:06:46 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=967)




MOD Social Bookmarks v2.0
===================






  • Create by:
karlbenson (http://custom.simplemachines.org/mods/index.php?action=profile;u=63186)
  • Developed by:
M-DVD (http://custom.simplemachines.org/mods/index.php?action=profile;u=148997)
  • Version:
2.0
  • Languages:
(http://www.simplemachines.org/site_images/lang/english.gif) (http://www.simplemachines.org/site_images/lang/english_british.gif) (http://www.simplemachines.org/site_images/lang/spanish.gif) (http://www.simplemachines.org/site_images/lang/spanish_latin.gif)
  • Compatible With:
SMF 1.1.1 - 1.1.8
SMF 2 RC1




(http://www.simplemachines.org/community/Themes/smsite/images/star.gif)(http://www.simplemachines.org/community/Themes/smsite/images/star.gif)(http://www.simplemachines.org/community/Themes/smsite/images/star.gif)(http://www.simplemachines.org/community/Themes/smsite/images/star.gif)(http://www.simplemachines.org/community/Themes/smsite/images/star.gif) (http://www.simplemachines.org/community/index.php?action=post;topic=200394.0)
Comment this Mod (http://www.simplemachines.org/community/index.php?action=post;topic=200394.0)
(http://www.simplemachines.org/site_images/modtitlebar.png)(http://www.simplemachines.org/site_images/modtitlebar.png)(http://www.simplemachines.org/site_images/modtitlebar.png) (http://custom.simplemachines.org/mods/index.php?action=profile;u=148997)
My MODs (http://custom.simplemachines.org/mods/index.php?action=profile;u=148997)
(http://www.simplemachines.org/community/Themes/smsite/images/bbc/img.gif)(http://www.simplemachines.org/community/Themes/smsite/images/bbc/img.gif)(http://www.simplemachines.org/community/Themes/smsite/images/bbc/img.gif) (http://custom.simplemachines.org/mods/index.php?mod=967)
Images (http://custom.simplemachines.org/mods/index.php?mod=967)
(https://www.paypal.com/en_GB/i/btn/btn_donate_SM.gif) (https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4587421)Help support my MODs (https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4587421)


Features:






==========================

Languages (normal & utf-8)


$txt['socialbookmarks_01'] = 'Show Social Bookmarks Icons Top';
$txt['socialbookmarks_02'] = 'Show Social Bookmarks Icons Down';
$txt['socialbookmarks_03'] = 'Show Icons Hover Social Bookmarks';
$txt['socialbookmarks_04'] = 'Add "nofollow" in links';

$txt['manageposts_socialbookmarks_settings'] = 'Social Bookmarks Settings';
$txt['manageposts_socialbookmarks_settings_description'] = 'Here you can set all settings involving
social bookmarks.';

I welcome new translations here (http://www.simplemachines.org/community/index.php?action=post;topic=200394.0)

==========================

Características:





Fin.
Title: Re: Social Bookmarks
Post by: ES23 on October 15, 2007, 12:10:11 AM
8: Undefined variable: socialbookmark
File: /var/www/html/forums/Sources/Display.php
Line: 1375

This is the error encountered after installing the mod and visiting the topic.

How do I go about solving this error?
Title: Re: Social Bookmarks
Post by: forty on October 15, 2007, 03:34:38 AM
it works for me with smf 1.1.4 and tinyportal 0.9.8.
how can i use it show on the article section in tinyportal?
Title: Re: Social Bookmarks
Post by: falguni1 on October 15, 2007, 03:55:25 AM
the bookmarks look beautiful can you add some more bookmarks to the list hehe.
Title: Re: Social Bookmarks
Post by: forty on October 15, 2007, 05:21:42 AM
i think the beta version is the one with 30 bookmarking sites.
Title: Re: Social Bookmarks
Post by: karlbenson on October 15, 2007, 11:08:18 AM
This one has 30 bookmarks.

Its just only the major 7 sites are enabled by default.
Then other 23 can be enabled by uncommenting the code.

Forty, I have never used TinyPortal so I wouldn't know how to add stuff to tinyportal.  It would therefore probably be best to bring it up on TP.net
Title: Re: Social Bookmarks
Post by: ES23 on October 15, 2007, 11:41:50 AM
This mod works fine for me as well but there are errors shown on the forum error log everytime I visit the topic an try clicking on the 7 icons ... Is there any way to clear up this error?I got the feeling that there is some coding problem for modifications made to Display.php ...

8: Undefined variable: socialbookmark
File: /var/www/html/forums/Sources/Display.php
Line: 1375
Title: Re: Social Bookmarks
Post by: Aileen on October 15, 2007, 11:49:56 AM
How can I use this in other themes?
Title: Re: Social Bookmarks
Post by: karlbenson on October 15, 2007, 03:05:52 PM
ES23,
I've got through the mod and I can't see any errors.
Can you attach your display.php file here please.
Have you unlocked any further social bookmarking sites?
Is the mod enabled via your admin area?

Will888.
This mod needs to be manually installed onto other themes.  Please see http://docs.simplemachines.org/index.php?topic=402.msg531
Title: Re: Social Bookmarks
Post by: ES23 on October 16, 2007, 12:38:32 AM
Attached is my Display.php file :) Please advise.

And I have found a small error under modifications to Display.php

The line
$socialbookmark[] = array('name' => 'Digg', 'icon' => 'digg', 'url' => '>http://www.digg.com/submit?phase=2&url=$1&title=$2');

should be changed to

$socialbookmark[] = array('name' => 'Digg', 'icon' => 'digg', 'url' => 'http://www.digg.com/submit?phase=2&url=$1&title=$2');

with the > removed or the booking for digg would have some problems.

Also,

for modifications made to Display.php,

The code

// START OF SOCIAL BOOKMARKS
if($modSettings['socialbookmarks']) {
$socialbookmark = array();
// DEFAULT MOST POPULAR BOOKMARKING SITES
$socialbookmark[] = array('name' => 'Del.icio.us', 'icon' => 'delicious', 'url' => 'http://del.icio.us/post?url=$1&title=$2');
$socialbookmark[] = array('name' => 'Digg', 'icon' => 'digg', 'url' => 'http://www.digg.com/submit?phase=2&url=$1&title=$2');
$socialbookmark[] = array('name' => 'FURL', 'icon' => 'furl', 'url' => 'http://www.furl.net/storeIt.jsp?t=$2&u=$1');
$socialbookmark[] = array('name' => 'FaceBook', 'icon' => 'facebook', 'url' => 'http://www.facebook.com/share.php?u=$1');
$socialbookmark[] = array('name' => 'Stumble Upon', 'icon' => 'stumbleupon', 'url' => 'http://www.stumbleupon.com/submit?url=$1&title=$2');
$socialbookmark[] = array('name' => 'Reddit', 'icon' => 'reddit', 'url' => 'http://reddit.com/submit?url=$1&title=$2');
$socialbookmark[] = array('name' => 'SlashDot', 'icon' => 'slashdot', 'url' => 'http://slashdot.org/bookmark.pl?title=$2&url=$1');
// UNLOCK EXTRA BOOKMARK SITES
// or ADD YOUR OWN (use $1 for the url, $2 for the topic subject)
// Remove the // before any of the lines to unlock any bookmarking sites listed below
// $socialbookmark[] = array('name' => 'Ask', 'icon' => 'ask', 'url' => 'http://mystuff.ask.com/mysearch/QuickWebSave?v=2.0&t=webpages&title=$2&url=$1');
// $socialbookmark[] = array('name' => 'BlinkBits', 'icon' => 'blinkbits', 'url' => 'http://blinkbits.com/bookmarklets/save.php?v=1&source_url=$1&title=$2');
// $socialbookmark[] = array('name' => 'BlinkList', 'icon' => 'blinklist', 'url' => 'http://blinklist.com/index.php?Action=Blink/addblink.php&Name=$2&Description=$2&Url=$1');
// $socialbookmark[] = array('name' => 'Co.mments', 'icon' => 'comments', 'url' => 'http://co.mments.com/track?url=$1&title=$2');
// $socialbookmark[] = array('name' => 'Delirious', 'icon' => 'delirious', 'url' => 'http://de.lirio.us/rubric/post?uri=$1');
// $socialbookmark[] = array('name' => 'Feed Me Links', 'icon' => 'feedmelinks', 'url' => 'http://feedmelinks.com/categorize?from=toolbar&op=submit&name=$2&url=$1&version=0.7');
// $socialbookmark[] = array('name' => 'Google Bookmarks', 'icon' => 'googlebookmarks', 'url' => 'http://www.google.com/bookmarks/mark?op=edit&output=popup&bkmk=$1&title=$2');
// $socialbookmark[] = array('name' => 'Linkagogo', 'icon' => 'linkagogo', 'url' => 'http://www.linkagogo.com/go/AddNoPopup?url=$1&title=$2');
// $socialbookmark[] = array('name' => 'Ma.gnolia', 'icon' => 'magnolia', 'url' => 'http://ma.gnolia.com/bookmarklet/add?url=$1&title=$2&description=$2');
// $socialbookmark[] = array('name' => 'MSN Live', 'icon' => 'msnlive', 'url' => 'https://favorites.live.com/quickadd.aspx?url=$1&title$2');
// $socialbookmark[] = array('name' => 'Netscape', 'icon' => 'netscape', 'url' => 'http://www.netscape.com/submit/?U=$1&T=$2');
// $socialbookmark[] = array('name' => 'Netvouz', 'icon' => 'netvouz', 'url' => 'http://netvouz.com/action/submitBookmark?url=$1&title=$2&popup=no');
// $socialbookmark[] = array('name' => 'Newsvine', 'icon' => 'newsvine', 'url' => 'http://www.newsvine.com/_wine/save?u=$1&h=$2');
// $socialbookmark[] = array('name' => 'RawSugar', 'icon' => 'rawsugar', 'url' => 'http://www.rawsugar.com/tagger/?turl=$1&tttl=$2');
// $socialbookmark[] = array('name' => 'Rojo', 'icon' => 'rojo', 'url' => 'http://www.rojo.com/add-subscription/?resource=$1');
// $socialbookmark[] = array('name' => 'Smarking', 'icon' => 'smarking', 'url' => 'http://smarking.com/editbookmark/?url=$1&title=$2');
// $socialbookmark[] = array('name' => 'Socializer', 'icon' => 'socializer', 'url' => 'http://ekstreme.com/socializer/?url=$1&title=$2');
// $socialbookmark[] = array('name' => 'Sphinn', 'icon' => 'sphinn', 'url' => 'http://sphinn.com/submit.php?url=$1&title=$2');
// $socialbookmark[] = array('name' => 'Spurl', 'icon' => 'spurl', 'url' => 'http://www.spurl.net/spurl.php?url=$1&title=$2&v=3&blocked=$2');
// $socialbookmark[] = array('name' => 'Squidoo', 'icon' => 'squidoo', 'url' => 'http://www.squidoo.com/lensmaster/bookmark?$1');
// $socialbookmark[] = array('name' => 'Tailrank', 'icon' => 'tailrank', 'url' => 'http://tailrank.com/share/?title=$2&link_href=$1');
// $socialbookmark[] = array('name' => 'Technorati', 'icon' => 'technorati', 'url' => 'http://www.technorati.com/faves?add=$1');
// $socialbookmark[] = array('name' => 'Yahoo My Web', 'icon' => 'yahoomyweb', 'url' => 'http://myweb2.search.yahoo.com/myresults/bookmarklet?u=$1&t=$2');

// CREATE URL/TITLE & URLENCODE
$url = urlencode($scripturl . '?topic=' . $topic . '.0');
$title = urlencode($topicinfo['subject']);

// REPLACE $1 AND $2 WITH THE URL AND TITLE
foreach($socialbookmark as $a => $b) {
$b['url'] = str_replace('$1', $url, $b['url']);
$socialbookmark[$a]['url'] = str_replace('$2', $title, $b['url']);
}
// TIDY UP
unset($a,$b);
}

// PASS THE VARIABLE TO THE THEME
$context['socialbookmarks'] = $socialbookmark;
// END OF SOCIAL BOOKMARKS


should be added in front of



}

// Load up the "double post" sequencing magic.
if (!empty($options['display_quick_reply']))
checkSubmitOnce('register');


or you may not be able to see the social bookmarks(for some ppl).
Title: Re: Social Bookmarks
Post by: karlbenson on October 19, 2007, 10:15:07 PM
[Mod] (http://custom.simplemachines.org/mods/index.php?mod=967)
1.1 - 20th October 2007
o Added English_British/English_British-utf8
o Fixed Bug with Digg link
Title: Re: Social Bookmarks
Post by: haiwasnm on October 19, 2007, 11:32:44 PM
karlbenson, my hero ! Gread mod
Title: Re: Social Bookmarks
Post by: forty on October 25, 2007, 05:14:59 AM
i also want to put the bookmark icons above the <board name> > <category> (category page)
bec in your mod it only show in the read topic page.

so what file should i edit?
thanks.
Title: Re: Social Bookmarks
Post by: karlbenson on October 25, 2007, 10:41:40 AM
I don't see why you would want to.
Your only meant to bookmark/digg actual content, not a forum or board. eg the posts.

And I don't that level of support for adding it to other areas/making edits anyway. I just don't have the time nor the desire.  If you really want it I would suggest requesting in the Help Wanted forum with a [free] or [paid] request for someone to do the 'custom' work for you.
Title: Re: Social Bookmarks
Post by: medflux on October 29, 2007, 03:00:48 AM
Hey karlbenson , nice mod as usual , actually you are the best.. :D

Just a small problem , i installed the mod successfully to a custom mod and it showed the default 7 icons working fine , i wanted to add some more , so when i went to Sources/Display.php and searched for

      // UNLOCK EXTRA BOOKMARK SITES

I couldn't find that code , i tried alot but no use , so i can't add any more bookmarks sites
Title: Re: Social Bookmarks
Post by: karlbenson on October 29, 2007, 11:41:06 AM
it is probably around line 810 (maybe a slightly further down depending on how many other mods you have installed).

if you stilll can't find it, attach your Display.php here and I will give you the exact line no.
Title: Re: Social Bookmarks
Post by: medflux on October 29, 2007, 01:40:03 PM
Oh , you are right , it's working fine now , i added extra 4 ones :D

Only remains a small catch : when i tried to add all the remaining bookmarks , the layout slightly got distorted , becuz the icons arranges in a single row of 16 icons above each topic before it starts to make another one below the first one ... only if i could split it to more rows may be 6-7 icons each , it won't distort the layout ... don't know if this is related to the mod , but i'm asking anyway

Also , if my forum users bookmarked alot of my topics , does this help my results in search engines ??

at last : another big thank you for this great mod , can't wait to see your next masterpiece :D
Title: Re: Social Bookmarks
Post by: karlbenson on October 29, 2007, 01:45:55 PM
It isnt designed to split them equally.
If ALL of them are enabled, it will fill two lines.

To alter it to your own needs
FIND

// SOCIAL BOOKMARK BOX
if($modSettings['socialbookmarks']) {
echo '<div style="width:320px;

Change the 320px to a smaller/larger width to force more or less on the same line.
Title: Re: Social Bookmarks
Post by: medflux on October 30, 2007, 01:31:45 AM
mission accomplished  :D

but you didn't answer : do i get better search engines ranking ?
Title: Re: Social Bookmarks
Post by: karlbenson on October 30, 2007, 09:32:37 AM
sorry missed that but.

If you get some topics bookmarked you may get some visitors coming your way. If you get anywhere near the top page on Digg/Slashdot etc, you will get hammered.  Thats what is known as "The Slashdot Effect".

You may pick up a few more backlinks which may slightly increase the PR of your site. But mostly it won't affect search engines.  This is more to do with humans and bookmarking.
Title: Re: Social Bookmarks
Post by: taurean on October 31, 2007, 07:53:38 AM
Hi karl,
i installed this mod thru admin with no errors shown during installation.TP 0.98/ SMF 1.1.4/ Dana Theme. but now i cant see any book mark icons on topics. i tried to move the socialbookmarks folder from default theme/ images to Dana/ images but there is an error from my ftp. i tried to make socialbooksmark folder '777' to move it to Dana. but not able to do it.

help me pls
Title: Re: Social Bookmarks
Post by: karlbenson on October 31, 2007, 09:19:09 AM
you will need to manually install the mod onto the dana theme.

If its got a custom Display.template.php you will to perform the manual edit
See Manual Instalation of mods for help http://docs.simplemachines.org/index.php?topic=402.msg531#msg531

You will need a copy of the socialbookmark icons in the default theme.
Extract the content of the .zip mod file onto your harddrive. then upload the socialbookmark folder via ftp.
Title: Re: Social Bookmarks
Post by: taurean on November 01, 2007, 06:15:08 AM
Hi Karl,

thanks for the inputs. i can see all those social bok marks now on the topics. because off all these buttons the page also looks colorful. i am doing a manual modification 1st time.

one clarification is that should i go/register into each bookmark site and add that particual page or will it be done automatically.

i mean is it something like a rss feed where bookmarks get updated automatically?
Title: Re: Social Bookmarks
Post by: karlbenson on November 01, 2007, 08:58:06 AM
I don't 100% understand what you mean.

It is necessary to be registered with the social bookmark sites in order to bookmark.
If your are not registered and not logged in, you will get a login page when you click a link.

The title and link on the bookmark itself are created on the the fly, so if you change the title it will be updated in the bookmark link.

However It is not like an RSS Feed in that once atopic has been submitted the content that was submitted will not be changed.
Title: Re: Social Bookmarks
Post by: taurean on November 01, 2007, 10:11:28 AM
Quote from: karlbenson on November 01, 2007, 08:58:06 AM
I don't 100% understand what you mean.

It is necessary to be registered with the social bookmark sites in order to bookmark.
If your are not registered and not logged in, you will get a login page when you click a link.

The title and link on the bookmark itself are created on the the fly, so if you change the title it will be updated in the bookmark link.

However It is not like an RSS Feed in that once atopic has been submitted the content that was submitted will not be changed.

Hi karl,

u mean to say that if i have 10 posts and i have 20 social bookmark sites on my each page, i need to go to each and every site to add that particular topic? i mean register/ login every time with a new post with all the book mark sites?

or once registered with a particular bookmark site my other posts are also included in the list
Title: Re: Social Bookmarks
Post by: Neol on November 03, 2007, 08:16:10 AM
Hi Karl,
I have a small problem with this mod that I like a lot.
Well, I did the manual modifications (use a custom one) but there is a small template problem.
Please help me to fix this.
Title: Re: Social Bookmarks
Post by: Aileen on November 16, 2007, 06:06:25 PM
Is this easy on a dilber theme?
Title: Re: Social Bookmarks
Post by: karlbenson on November 18, 2007, 04:59:57 PM
@Zeri YT!
As far as I can see your template issue is not caused by this mod.
Title: Re: Social Bookmarks
Post by: karlbenson on November 21, 2007, 09:54:50 PM
@taurean

In order for a topic to be 'bookmarked' it needs to be submitted to one of the sites.

EACH topic to EACH site.

You obviously don't have to submit to each one.  The option is mainly for your users that if they really like a topic they can submit it to the common bookmarking sites.
Title: Re: Social Bookmarks
Post by: hypnoticstate on November 23, 2007, 05:09:01 PM
You can no longer post to furl with this mod
Title: Re: Social Bookmarks
Post by: karlbenson on November 23, 2007, 05:26:46 PM
thanks for the information. Any ideas how furl has changed?

I will look into it asap. Right now actually
Title: Re: Social Bookmarks
Post by: Klabautermann on November 29, 2007, 06:00:30 AM
Karlbenson, great mod what you have done. I have installed it, and it show up 7 Bookmarks, but this 7 are there twice. I also enabled the othe booksmarks, but they want be shown. Could you please have a look HERE (http://www.tiny-soldiers.com)?
Title: Re: Social Bookmarks
Post by: Klabautermann on November 29, 2007, 09:26:55 AM
What i have found out is that i have in the admin panel und posts and topics 2 checkboxes for social bookmarking. I can uncheck both, and when i enable one and click on "save", both are checked.
Title: Re: Social Bookmarks
Post by: karlbenson on November 29, 2007, 11:43:20 AM
It looks like somehow this mod got installed TWICE.

Try uninstalling it. And you will probably have it installed once.
Title: Re: Social Bookmarks
Post by: Klabautermann on November 30, 2007, 01:29:52 AM
the code was in there twice, deleted one and it works. Thanks
Title: Re: Social Bookmarks
Post by: - danny on November 30, 2007, 01:30:55 AM
you kick ass. thank you!
Title: Re: Social Bookmarks
Post by: taurean on November 30, 2007, 06:45:01 AM
Quote from: karlbenson on November 21, 2007, 09:54:50 PM
@taurean

In order for a topic to be 'bookmarked' it needs to be submitted to one of the sites.

EACH topic to EACH site.

You obviously don't have to submit to each one.  The option is mainly for your users that if they really like a topic they can submit it to the common bookmarking sites.

Thanks Karl for the info.
Title: Re: Social Bookmarks
Post by: hypnoticstate on December 08, 2007, 11:30:21 AM
Any fix for furl on this yet ?

Sorry to hassle
Title: Re: Social Bookmarks
Post by: weightman on December 08, 2007, 12:42:50 PM
Another great mod karlbenson!!

Thank you again!
Title: Re: Social Bookmarks
Post by: karlbenson on December 08, 2007, 04:42:20 PM
Quote from: hypnoticstate on December 08, 2007, 11:30:21 AM
Any fix for furl on this yet ?

Sorry to hassle
I checked Furl at the time. It worked for me still.  After checking the site and using google, I was unable to find any change that had been made to their code.
If you have an example of their new style links, I would be glad to receive it.

Otherwise when I get the chance I'll have another look my self to see if i can spot the difference.
Title: Re: Social Bookmarks
Post by: ApplianceJunk on December 09, 2007, 11:16:32 AM
karlbenson

Seems to work great, thanks!!

Quote from: will888 on November 16, 2007, 06:06:25 PM
Is this easy on a dilber theme?

We are using the dilber theme and I had no problems installing it.
Title: Re: Social Bookmarks
Post by: karlbenson on December 09, 2007, 05:13:13 PM
Thanks ApplianceJunk.
Title: Re: Social Bookmarks
Post by: Ambasador on December 13, 2007, 06:29:00 PM
Hi karlbenson, i think your mod is great though still can't run it on my site: It shows no pics, just an empty div in displaytemplate.php. There is no error reports. I'm using the default template, but installed the mod manually. Could you please tell me what should I change to see the icons? Thanks in advance!
Title: Re: Social Bookmarks
Post by: karlbenson on December 13, 2007, 09:05:53 PM
Link?

Did you copy the images?
Title: Re: Social Bookmarks
Post by: Ambasador on December 14, 2007, 03:53:06 AM
Here is a link in english: http://ocili.com/forum/index.php?topic=4982;language=english

I did copy the images, checked a few times for errors...
Title: Re: Social Bookmarks
Post by: karlbenson on December 14, 2007, 05:33:33 AM
are there any errors in your error log?

You said you installed the mod manually.
Did you make all the edits
to Sources/Display.php
to Themes/{theme}/Display.template.php
Title: Re: Social Bookmarks
Post by: Ambasador on December 14, 2007, 09:03:41 AM
No errors, I did make all the edits. I think I have an issue with other Icons (work in the Babylon theme, but not in the Default). Could it be something about
' . icon . '

???
Title: Re: Social Bookmarks
Post by: karlbenson on December 15, 2007, 03:02:04 AM
I've no idea, the mod was designed on Default. I've never had an issue with it on it.

Double check you made the edit to the Display.template.php in Default theme
Title: Re: Social Bookmarks
Post by: Ambasador on December 15, 2007, 05:14:55 AM
Checked it some 10 times already, all of the files ;-)

I'll search some more on this forum, probably someone else has the icons issue.
Of course if I find something, I'll post it here.

Hope it works because it's agreat mod! Congrats!
Title: Re: Social Bookmarks
Post by: taurean on December 15, 2007, 05:39:34 AM
Hi Karl,

According to you which is the best book marking site?
Title: Re: Social Bookmarks
Post by: falguni1 on December 15, 2007, 05:51:15 AM
dear karlbenson see my site your mod makes it look very beautiful.
Title: Re: Social Bookmarks
Post by: karlbenson on December 15, 2007, 06:16:34 AM
Quote from: taurean on December 15, 2007, 05:39:34 AM
Hi Karl,

According to you which is the best book marking site?

Funny thing is.  I've NEVER submitted an article to a bookmarking site.

Like social network sites and link directorys, they are the scourge of the internet.
Title: Re: Social Bookmarks
Post by: afe on December 23, 2007, 02:04:14 PM
How can I add this to my normal web pages?
Title: Re: Social Bookmarks
Post by: afe on December 23, 2007, 03:33:21 PM
Hey when I tried to install it, I got a fatal error thingy.
Title: Re: Social Bookmarks
Post by: Ambasador on December 24, 2007, 04:37:19 AM
Could you quote what fatal errordid you get? Tha t would help us help you! ;-)
Title: Re: Social Bookmarks
Post by: afe on December 25, 2007, 05:05:22 PM
"Fatal error: Call to undefined function: () in /home/athletes/public_html/forum/Packages/temp/install.php on line 16"
Title: Re: Social Bookmarks
Post by: karlbenson on December 25, 2007, 05:07:25 PM
The install.php won't work except when called via SMF.
Title: Re: Social Bookmarks
Post by: Ambasador on December 25, 2007, 06:22:01 PM
Quoteshould be added in front of

}
// Load up the "double post" sequencing magic.
if (!empty($options['display_quick_reply']))
checkSubmitOnce('register');



or you may not be able to see the social bookmarks(for some ppl).

This is the solution to my problem! Can't belive it was on the first page of the thread all this time!

You can't imagine how happy I am to get this mod to work! It's one of the greatest on SMF!!!
Title: Re: Social Bookmarks
Post by: franklinrony on December 25, 2007, 06:30:25 PM
cool mod, very usefull, i think can sort the icons like addthis widget
http://www.addthis.com/
Title: Re: Social Bookmarks
Post by: santanu on December 26, 2007, 12:53:07 AM
Can anyone tell how can i add "IndiaPad.com" to the list
Title: Re: Social Bookmarks
Post by: falguni1 on December 26, 2007, 01:22:01 AM
Quote from: santanu on December 26, 2007, 12:53:07 AM
Can anyone tell how can i add "IndiaPad.com" to the list

karlbenson can do that.

I think you need to add the image and the code in the mod and upload the modified package then.
Title: Re: Social Bookmarks
Post by: karlbenson on December 26, 2007, 07:48:07 AM
Open Sources/Display.php

FIND
$socialbookmark[] = array('name' => 'SlashDot', 'icon' => 'slashdot', 'url' => 'http://slashdot.org/bookmark.pl?title=$2&amp;url=$1');

COPY that line again, then customize it for your indiapad
Name = the alt tex
icon = the filename (without extension to the icon)
url = the url to bookmark an item
$1 in the url is for the url
$2 is for the title

So you'll need to find out the format of IndiaPad.com and customize your copied line.
Then add the icon image into the images/socialbookmarks folder (must be .gif format 16x16pixels).

I do not provide stepbystep guides on how to customize my mods. I do not have the time, nor the desire.
If you require further help with this I would recommend posting a [free] or [paid] request in the Help Wanted forum.
Title: Re: Social Bookmarks
Post by: red_devil52 on January 05, 2008, 03:57:45 PM
When I open the display.php file in notepad the code is everywhere. What program do you recommend I open it in?
Title: Re: Social Bookmarks
Post by: franklinrony on January 05, 2008, 04:42:44 PM
notepad++
http://www.google.com.sv/url?sa=t&ct=res&cd=1&url=http%3A%2F%2Fnotepad-plus.sourceforge.net%2Fes%2Fsite.htm&ei=yvl_R63JIIXOeKuCpUg&usg=AFQjCNFA8Hllze-RG_Wa-Ggdu_MbUPOYqQ&sig2=N7EC8X9AVUoGcSLfE4bCaQ
is very cool
Title: Re: Social Bookmarks
Post by: karlbenson on January 05, 2008, 05:31:10 PM
Indeed, Notepad++ is what I use.

Its free and open source
Title: Re: Social Bookmarks
Post by: red_devil52 on January 05, 2008, 05:45:47 PM
As I'm going through it, it appears the code is already there. Is this normal?
Title: Re: Social Bookmarks
Post by: karlbenson on January 05, 2008, 05:51:28 PM
What are you trying to do exactly?

Manually install it on other themes?
If so, use the mod parser to tell you which files to make edits for for your theme
http://modparser.dev.dansoftaustralia.net/
Title: Re: Social Bookmarks
Post by: red_devil52 on January 05, 2008, 06:03:28 PM
Ok thanks. I tried that but it only supported up to 1.1.3. I tried to make the changes to the files that were there but to no avail.

The language files weren't there in my theme for me to edit. If I edited the language files on the default theme, would they pass on to my main forum theme?
Title: Re: Social Bookmarks
Post by: karlbenson on January 05, 2008, 06:07:07 PM
Just select 1.1.3, it will work exactly the same.

You need to understand how SMF works.
If there is a custom version of a TEMPLATE or LANGUAGE file in ANY theme other than SMF Core Default Theme, then you need to make the edits for those files.

If there isn't a custom version, then SMF uses the one from the default theme.
So you may only need to do partial edits.
Title: Re: Social Bookmarks
Post by: karlbenson on January 05, 2008, 06:07:49 PM
See Manual Installation of mods
http://docs.simplemachines.org/index.php?topic=402
Title: Re: Social Bookmarks
Post by: carbonize on January 17, 2008, 03:01:36 PM
<deleted>

I had managed to download the wrong package and didn't notice.
Title: Re: Social Bookmarks
Post by: karlbenson on January 19, 2008, 12:11:50 AM
I have reuploaded this mod and screenshots for it.

I am in the process of doing it for ALL my other mods aswell.  Please bear with me.
Title: Re: Social Bookmarks
Post by: anakmacan on January 24, 2008, 11:33:17 PM
Hey, can i get a copy of Display.php that has already been edited to unlock Extra social bookmark ? :)
I dont know how to add this section more bookmarks :

$socialbookmark[] = array('name' => 'Del.icio.us', 'icon' => 'delicious', 'url' => 'http://del.icio.us/post?url=$1&amp;title=$2');
$socialbookmark[] = array('name' => 'Digg', 'icon' => 'digg', 'url' => 'http://www.digg.com/submit?phase=2&amp;url=$1&amp;title=$2');
$socialbookmark[] = array('name' => 'FURL', 'icon' => 'furl', 'url' => 'http://www.furl.net/storeIt.jsp?t=$2&amp;u=$1');
$socialbookmark[] = array('name' => 'FaceBook', 'icon' => 'facebook', 'url' => 'http://www.facebook.com/share.php?u=$1');
$socialbookmark[] = array('name' => 'Stumble Upon', 'icon' => 'stumbleupon', 'url' => 'http://www.stumbleupon.com/submit?url=$1&amp;title=$2');
$socialbookmark[] = array('name' => 'Reddit', 'icon' => 'reddit', 'url' => 'http://reddit.com/submit?url=$1&amp;title=$2');
$socialbookmark[] = array('name' => 'SlashDot', 'icon' => 'slashdot', 'url' => 'http://slashdot.org/bookmark.pl?title=$2&amp;url=$1');

Title: Re: Social Bookmarks
Post by: karlbenson on January 24, 2008, 11:39:30 PM
All you have to do in Display.php is find

Each line that starts
// $socialbookmark[]

eg
// $socialbookmark[] = array('name' => 'Co.mments', 'icon' => 'comments', 'url' => 'http://co.mments.com/track?url=$1&amp;title=$2');

And remove the // at the beginning
eg
$socialbookmark[] = array('name' => 'Co.mments', 'icon' => 'comments', 'url' => 'http://co.mments.com/track?url=$1&amp;title=$2');
Title: Re: Social Bookmarks
Post by: anakmacan on January 25, 2008, 10:31:29 AM
hmmm.. i tried that one but there's no changes.. i dont see  other social bookmarks icons on my page, only default :(
Title: Re: Social Bookmarks
Post by: karlbenson on January 25, 2008, 02:17:28 PM
please attach your display.php so i can take a look
Title: Re: Social Bookmarks
Post by: anakmacan on January 26, 2008, 12:05:45 AM
Here it is.
Title: Re: Social Bookmarks
Post by: karlbenson on January 26, 2008, 12:29:15 AM
the reason its not working is because somehow you have got it installed twice.

You will need to remove the second set
Title: Re: Social Bookmarks
Post by: anakmacan on January 26, 2008, 02:03:09 AM
gee.. Youre right! If you put g.a on your site, i would click them for u.  thanks for helping me out^^
Title: Re: Social Bookmarks
Post by: Chriss Cohn on January 29, 2008, 02:25:44 PM
Hi, why you don't let the actual name of the bookmark-site appear below, when you hover over the symbols? This is imho the beautifulest way.... Is this somehow doable?

Regards, Christian
Title: Re: Social Bookmarks
Post by: karlbenson on January 29, 2008, 04:17:29 PM
I'll look at it in future.
Title: Re: Social Bookmarks
Post by: Neelay on February 16, 2008, 06:28:43 AM
Hello ! Can the bookmarks appear on the home page, so that users can bookmark the site ? Would appreciate changes if minor modification is required..
Title: Re: Social Bookmarks
Post by: karlbenson on February 16, 2008, 11:32:27 AM
There isn't any functionality to make them appear on your homepage.
Although social bookmarking is usually used for specific articles, rather than sites.

This is not a normal bookmarking mod, but through digg/slashdot etc.

You would need to customize the mod to use it in other areas.
I cannot provide support for customizing it in that way.

However if you don't feel capable of doing it yourself, you could ask in the Help Wanted forum with a [free] or [paid] request for someone to customize it for you.
Title: Re: Social Bookmarks
Post by: Yağız... on February 19, 2008, 10:20:41 AM
Hi Karl,
Great mod!
Turkish translation:
Code (Modification.turkish.php) Select
$txt['socialbookmarks'] = 'Sosyal Yer Imleri';
Code (Modification.turkish-utf8.php) Select
$txt['socialbookmarks'] = 'Sosyal Yer Imleri';
Title: Re: Social Bookmarks
Post by: humbleworld on February 24, 2008, 10:08:27 AM
Karl, the Social Bookmark MOD, which I love so much, does have XHTML errors as checked in http://validator.w3.org using the display page for a topic.
Title: Re: Social Bookmarks
Post by: karlbenson on February 24, 2008, 10:15:09 AM
Yeah I know.
I need to get around to fixing it.
Title: Re: Social Bookmarks
Post by: humbleworld on February 25, 2008, 12:18:20 AM
Thank you, Karl.

Long live Karl Benson!
Title: Re: Social Bookmarks
Post by: Vinspire on February 25, 2008, 06:32:26 AM
How do i add other sites? I am thinking of having "gmail" , "youtube" , "hotmail" and "friendster"
Title: Re: Social Bookmarks
Post by: humbleworld on February 25, 2008, 12:52:36 PM
Karl, I hope the next update would include most of the "dofollow" bookmarks. I found a link of all "dofollow" bookmarks.
Title: Re: Social Bookmarks
Post by: karlbenson on February 25, 2008, 01:21:55 PM
What is dofollow?
I didn't really intend to add more. Just for the fact I don't do social bookmarking sites.
I avoid them.
Title: Re: Social Bookmarks
Post by: humbleworld on February 25, 2008, 02:39:44 PM
DoFollow attribute. It's the opposite of "nofollow."

a dofollow bookmark gives SEO juice to the bookmarker. here's a nice list from caroline m.

http://www.caroline-middlebrook.com/blog/do-follow-social-bookmarking-sites/
Title: Re: Social Bookmarks
Post by: humbleworld on February 25, 2008, 02:40:44 PM
Digg is "dofollow"

but reddit, stumble, technorati are "nofollow" i like technorati, stumble and reddit to be there in the bookmark, though.

Title: Re: Social Bookmarks
Post by: Loky on February 27, 2008, 10:37:20 PM
Everything world just great. The install and all....

...except the bookmark to digg. I dont think digg uses the same url format anymore. Can anyone help me with this?

Thanks.
Title: Re: Social Bookmarks
Post by: Loky on February 27, 2008, 10:51:55 PM
Found a solution for digg:

$socialbookmark[] = array('name' => 'Digg', 'icon' => 'digg', 'url' => 'http://www.digg.com/submit?phase=2&amp;url=' . $scripturl . '?topic=' . $topic . '.0');

He does not format the url properly with $1.

Cheers.
Title: Re: Social Bookmarks
Post by: dictum on February 29, 2008, 09:49:46 AM
Not sure if this is easy to do, but I have a News Board and then a couple of regular boards. I really only want this on the News board though. Is there a way to turn it off for certain boards. If so thanks. If not thanks for a nice mod anyways.

Title: Re: Social Bookmarks
Post by: karlbenson on February 29, 2008, 05:03:36 PM
There is no feature to do it in the mod.
Title: Re: Social Bookmarks
Post by: spiros on February 29, 2008, 06:37:15 PM
I had this problem when trying to install it.

http://www.simplemachines.org/community/index.php?topic=225687.0

Now I get:

You cannot download or install new packages because the Packages directory or one of the files in it are not writable!

Is there a way to run the install.php manually without getting the hacking attempt thing? I have made all the manual changes to my theme.

By the way, in another installation on same server i have no such problems (same smf version 1.1.4)
Title: Re: Social Bookmarks
Post by: karlbenson on February 29, 2008, 06:41:23 PM
The install.php can't be run outside of the package manager.

You could add the setting via PHPMYADMIN

INSERT IGNORE
INTO smf_settings (`variable`, `value`)
VALUES ('socialbookmarks', 1);
Title: Re: Social Bookmarks
Post by: spiros on February 29, 2008, 07:18:29 PM
Thanks Karl, it worked :)
Title: Re: Social Bookmarks
Post by: Log On on April 03, 2008, 09:56:33 AM
Hi, karl, great addition, certain areas of my forums are closed for guests, is there a way to display it only on certain boards?
Title: Re: Social Bookmarks
Post by: Richard Wing on April 08, 2008, 07:48:57 AM
Karl,

I know you do take on special requests. However I would like to make a suggestion that I dont think is out of line...

As forum/site owners a major concern of us all is driving traffic to our site and increasing membership and participation.

With that said...

You offer the referral addon and you offer this Social Bookmarks addon.

Why not offer us a way to allow for the referral code to be added within the url of the page that is to be bookmarked of the person who is logged in?

For instance...

If I am logged in to the site I am more likely to add pages/bookmark to a social bookmarking site since I know my referral id gets added to the url. This way any subsequent visits/referrals from that link if the user decides to register I would get credit for.

This I think is a great way to make the site viral and more popular.

Im sure this would be a simple modification/feature for you to add I hope that you will seriously consider such a feature.

I appreciate all that you do for us here... even if you decide not to include this suggestion. ;)

Thanks,
Richard Wing
Title: Re: Social Bookmarks
Post by: karlbenson on April 08, 2008, 11:00:05 AM
Richard, the referrals mod isn't mine anymore. YodaOfDarkness has taken it over.

If I'm honest, I've really got no interest in developing this mod whatsoever.  I don't use social bookmarking sites.

I am looking for persons to take over all of my existing mods (except auto embed video clips). So that will allow me to work on some exciting new mods.
Title: Re: Social Bookmarks
Post by: Chachafance on April 20, 2008, 07:02:55 AM
I can't find the display.php file...........
Title: Re: Social Bookmarks
Post by: karlbenson on April 20, 2008, 01:15:29 PM
Sources/Display.php

The template version is in
Themes/default/Display.template.php
(and custom themes may also have a Display.template.php)
Title: Re: Social Bookmarks
Post by: - danny on June 07, 2008, 06:04:23 PM
i can't figure out the mixx.com submit url

can anyone help?

i've tried:


$socialbookmark[] = array('name' => 'Mixx', 'icon' => 'mixx', 'url' => 'http://www.mixx.com/submit/story?page_url=$2&amp;url=$1');


and

$socialbookmark[] = array('name' => 'Mixx', 'icon' => 'mixx', 'url' => 'http://www.mixx.com/submit=$2&amp;url=$1');

but neither work.

any clues?
Title: Re: Social Bookmarks
Post by: Sun11 on June 15, 2008, 08:02:04 AM
can someone please upgrade to 1.1.5 please
Title: Re: Social Bookmarks
Post by: atdforum on August 05, 2008, 01:43:37 AM
I had the same Digg issue as Lokey.  Thanks for the script example!  I had to make a slight change and add a couple parms (per Digg's integration (http://digg.com/tools/integrate))...

update: sorry, I had the wrong code.  the correct code is now below:


$socialbookmark[] = array('name' => 'Digg', 'icon' => 'digg', 'url' => 'http://www.digg.com/submit?phase=2&amp;url=' . $scripturl . '?topic=' . $topic . '.0&amp;title=$2&amp;thumbnails=0');

(ignore this text)

Title: Re: Social Bookmarks
Post by: renlok on August 06, 2008, 07:11:09 AM
I updated this for the latest version of 2 how you don't mind it looked like it was pretty dead
http://www.smfhacks.com/hacks/Social-Bookmarks-v2.html
Title: Re: Social Bookmarks
Post by: Bec on September 16, 2008, 11:25:39 AM
just wondering if this works with  1.1.6? do i just need to change the xml file to include it?
Title: Re: Social Bookmarks
Post by: karlbenson on September 16, 2008, 11:28:24 AM
it should work for 1.1.6 as far as I am aware
Title: Re: Social Bookmarks
Post by: Bec on September 17, 2008, 01:15:54 AM
Thanks for a great mod, works perfectly on 1.1.6!
Title: Re: Social Bookmarks
Post by: RoarinRow on September 19, 2008, 01:17:45 PM
Another cool mod by Karl, thanks!   8)
Title: Re: Social Bookmarks
Post by: atdforum on September 24, 2008, 07:18:46 PM
This is a great mod, mainly because the static links have no security risk like some of the pop-up, automatically updated social bookmark mods (in any app, not just smf).

I worked-out a bit of helpful code to add Yahoo Buzz in front of this bookmark mod display (they only offer javascript code).  Add the code between the comments to the Display.template.php file as follows:


   // SOCIAL BOOKMARK BOX
   if($modSettings['socialbookmarks']) {
      echo '<div style="width:320px;padding:2px;float:right;text-align:right;" class="socialbookmark">';
//YAHOO BUZZ
  echo '<script type="text/javascript">yahooBuzzArticleHeadline = "' . $context['subject'] . '";yahooBuzzArticleCategory = "CATEGORYNAME";yahooBuzzArticleType = "text";yahooBuzzArticleId = window.location.href;</script><script type="text/javascript" src="http://d.yimg.com/ds/badge2.js" badgetype="logo"></script>';
//END YAHOO BUZZ
         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



* Change CATEGORYNAME to one of these categories:
business, entertainment, health, images, lifestyle, politics, science, sports, travel, usnews, video, world-news

And voila!  It's done.  Of course, you first have to create a Yahoo Buzz account for yourself at https://edit.yahoo.com/registration?.done=http%3A%2F%2Fbuzz.yahoo.com (https://edit.yahoo.com/registration?.done=http%3A%2F%2Fbuzz.yahoo.com).  It's still in beta, but according to this link (http://www.ebizmba.com/articles/social30) it's the 2nd highest traffic rating among social bookmark sites.
Title: Re: Social Bookmarks
Post by: vmgamer on November 17, 2008, 06:17:11 AM
VERY NICE MOD....... THX
Title: Re: Social Bookmarks
Post by: The Saviour on November 17, 2008, 09:50:37 PM
This is such a great idea...

I'd love to see someone pick this up...and take it a step further by incorporating SMF Articles and SMF Pages into this.

I run 1.1.7 and it seems to be working fine.

Being able to social bookmark threads is a nice idea, but this would be better suited for those sites who use SMF Articles and SMF Pages for site content.

Thanks for a great mod!
Title: Re: Social Bookmarks
Post by: MonoTiz on November 23, 2008, 04:48:32 AM
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
(http://www.riziera.com/riziera.png)
Title: Re: Social Bookmarks
Post by: africangreys on December 02, 2008, 02:08:26 PM
Great script ... my only comment is that I had to adjust it slightly to add the rel="nofollow" attribute to all the links,

This is for those that think about SEO drawbacks of so many external links on the page bleeding away your pagerank (particularly to non relevant sources)

I did this really simply inside the install.xml file and added it in as follows:


<!-- ADDS/SHOWS THE SOCIAL BOOKMARKS TO THE TEMPLATE -->
<file name="$themedir/Display.template.php">
<operation>
<search position="before"><![CDATA[<a name="msg', $context['first_message'], '"></a>', $context['first_new_message'] ? '<a name="new"></a>' : '';]]></search>
<add><![CDATA[
// 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" rel="nofollow">
<img src="'.$settings['default_images_url'].'/socialbookmarks/'.$b['icon'].'.png" title="'.$b['name'].'" alt="'.$b['name'].'"></a> ';
}
echo '</div><br />';
}


Et voila (http://www.african-grey-parrots.co.uk/parrot-forum/index.php?topic=4.0)

Hope this helps  :D
Title: Re: Social Bookmarks
Post by: fgoc on December 16, 2008, 09:25:08 AM
Installed this fine on my forum (www.fgoc.co.uk/forum (http://www.fgoc.co.uk/forum)) but when clicking the buttons, only the "?topic=xxxxx.xx" part of the url is being sent to the social networking site. EG clicking the link for Google bookmarks gives the url:

http://www.google.com/bookmarks/mark?op=edit&output=popup&bkmk=%3Ftopic%3D7365.0&title= (http://www.google.com/bookmarks/mark?op=edit&output=popup&bkmk=%3Ftopic%3D7365.0&title=) which just adds the "?topic=xxx.xxx" part of the url to the google Location (URL): field.

Can anyone advise on how to fix this?
Title: Re: Social Bookmarks
Post by: fgoc on December 20, 2008, 05:48:16 PM
Bump

Anyone .... ?
Title: Re: Social Bookmarks
Post by: Hugo Francisco on February 10, 2009, 06:46:58 AM
Hi Karl,
Sending you the portuguese translation!

$txt['socialbookmarks'] = 'Favoritos Sociais';

Best Regards,
Hugo
Title: Re: Social Bookmarks
Post by: dollarbabe on February 15, 2009, 01:17:29 PM
great mod... i installed this on 1.1.8 and it works perfect. just had a little trouble unlocking the other sites as im still noob to this codes but it works fine afterwards... thanks a lot for this great mode.
Title: Re: Social Bookmarks
Post by: fgoc on February 16, 2009, 05:28:05 PM
Quote from: fgoc on December 16, 2008, 09:25:08 AM
Installed this fine on my forum (www.fgoc.co.uk/forum (http://www.fgoc.co.uk/forum)) but when clicking the buttons, only the "?topic=xxxxx.xx" part of the url is being sent to the social networking site. EG clicking the link for Google bookmarks gives the url:

http://www.google.com/bookmarks/mark?op=edit&output=popup&bkmk=%3Ftopic%3D7365.0&title= (http://www.google.com/bookmarks/mark?op=edit&output=popup&bkmk=%3Ftopic%3D7365.0&title=) which just adds the "?topic=xxx.xxx" part of the url to the google Location (URL): field.

Can anyone advise on how to fix this?

Can anyone assist with this at all?
Title: Re: Social Bookmarks
Post by: Anub1s on February 17, 2009, 07:35:10 AM
there is only one problem with this installing in rc1 man and thats a white space.

nice work its a wonderfull item :P
Title: Re: Social Bookmarks
Post by: ryereelfishn on March 16, 2009, 03:53:21 PM
Can I used this MOD with Version 1.1.8?

Title: Re: Social Bookmarks
Post by: ponopoly on March 18, 2009, 09:21:13 AM
Quote from: ryereelfishn on March 16, 2009, 03:53:21 PM
Can I used this MOD with Version 1.1.8?

nope dont think so
anyone want to work on any updates for this for 1.1.8 :( ?
sad to see developers just stop working on something

Title: Re: Social Bookmarks
Post by: M-DVD on April 12, 2009, 05:08:09 PM
MOD Social Bookmarks v2.0
===================


From now on I take the development of this MOD.

If anyone notices a flaw in a bookmarker, let me know. Especially with the solution because I have no account at all bookmarkers (actually, none).

If you want that a bookmark will be added, tell me the URL, its parameters and its icon (preferably added in socialbookmarks0X.png)

=======================================

New features:

How do I upgrade?

=======================================

Características Nuevas:

¿Como actualizar?
Title: Re: Social Bookmarks
Post by: tntgang on April 16, 2009, 08:30:52 PM
Thanks for the Update works great
Title: Re: Social Bookmarks
Post by: Walgermo on April 19, 2009, 04:19:15 PM
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?
Title: Re: Social Bookmarks
Post by: M-DVD on April 19, 2009, 09:09:12 PM
Quote from: tntgang on April 16, 2009, 08:30:52 PM
Thanks for the Update works great

Thanks for your comment :)

Quote from: Walgermo on April 19, 2009, 04:19:15 PM
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?

What version are you using?

Have you install (automatically) the new version?

The new version don't have the $modSettings['socialbookmarks'] variable ::)
Title: Re: Social Bookmarks
Post by: otoyin on April 30, 2009, 04:24:03 AM
Quote from: M-DVD on April 12, 2009, 05:08:09 PM
MOD Social Bookmarks v2.0
===================


From now on I take the development of this MOD.

If anyone notices a flaw in a bookmarker, let me know. Especially with the solution because I have no account at all bookmarkers (actually, none).

If you want that a bookmark will be added, tell me the URL, its parameters and its icon (preferably added in socialbookmarks0X.png)

=======================================

New features:

  • Add more socials bookmarks. Total +50 sites.
  • The Setting have been move to
    Admin > Posts and Topics > Social Bookmarks Settings
  • Now you can enable and disable the sites in the Settings.
  • You can add "nofloow" in links.
  • New XHTML and CSS more lighter.

How do I upgrade?

  • Uninstall the previous version
  • Install the new

=======================================

Características Nuevas:

  • Añadidos más sitios de marcadores sociales. En total +50 sitios.
  • Las configuraciones ha sido movidas a:
    Administración > Mensajes y Temas > Configuración de Marcadores Sociales
  • Ahora puedes activar y desactivar los sitios desde la administración.
  • Puedes añadir "nofollow" en los links.
  • Nuevo XHTML y CSS más ligero.

¿Como actualizar?

  • Desintalar la anterior versión
  • Instalar la nueva


I just installed the social bookmark mod and i got this message.Now I cannot enter Admin to uninstall it.WHAT SHOULD I DO, PLEASE,  TO SOLVE THIS?

Fatal error: Cannot redeclare template_edit_socialbookmarks_settings() (previously declared in /home/helpersf/public_html/Sources/Load.php(1735) : eval()'d code:1123) in /home/helpersf/public_html/Sources/Load.php(1735) : eval()'d code on line 1264
Title: Re: Social Bookmarks
Post by: M-DVD on May 02, 2009, 07:47:40 PM
Quote from: otoyin on April 30, 2009, 04:24:03 AM
I just installed the social bookmark mod and i got this message.Now I cannot enter Admin to uninstall it.WHAT SHOULD I DO, PLEASE,  TO SOLVE THIS?

Fatal error: Cannot redeclare template_edit_socialbookmarks_settings() (previously declared in /home/helpersf/public_html/Sources/Load.php(1735) : eval()'d code:1123) in /home/helpersf/public_html/Sources/Load.php(1735) : eval()'d code on line 1264

Sorry for delay.

You have installed many times the mod.

You should edit the files and search the code and delete the duplicated.
Title: Re: Social Bookmarks
Post by: Smoky "Rider" Blue on May 03, 2009, 07:58:58 AM
small issue here M-DVD..

see attached, fresh install..  ;)

1.18
Title: Re: Social Bookmarks
Post by: M-DVD on May 03, 2009, 06:58:59 PM
Thank you.

I don't know because it happens, and happens regardless of the MOD (not only this MOD, and not only my mods, as far as I know).

This happens if the Package Manager adds the code after the ?> and not before.

However, XML is fine, is as it should be:

Example:

<file name="$languagedir/Modifications.spanish_latin.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// MOD Social Bookmarks
$txt['socialbookmarks_01'] = 'Mostrar Arriba Íconos Marcadores Sociales';
$txt['socialbookmarks_02'] = 'Mostrar Abajo Íconos Marcadores Sociales';
$txt['socialbookmarks_03'] = 'Mostrar Íconos con efecto Hover';
$txt['socialbookmarks_04'] = 'Añadir "nofollow" en links';]]></add>
</operation>
</file>


Why the Package Manager (sometimes) adds the code after and not before? I don't know.  :-\
Title: Re: Social Bookmarks
Post by: ensit on May 06, 2009, 07:46:09 AM
Its working with 1.1.8 ???/
Title: Re: Social Bookmarks
Post by: M-DVD on May 06, 2009, 10:29:09 PM
Quote from: ensit on May 06, 2009, 07:46:09 AM
Its working with 1.1.8 ???/

Yes, the last version work in SMF 1.1.X and SMF 2RC1 :)
Title: Re: Social Bookmarks
Post by: ormuzra on May 16, 2009, 11:35:18 PM
Quote from: SmokyBlue on May 03, 2009, 07:58:58 AM
small issue here M-DVD..

see attached, fresh install..  ;)

1.18

The same issue, how i can solve it?
Title: Re: Social Bookmarks
Post by: M-DVD on May 16, 2009, 11:50:03 PM
Quote from: ormuzra on May 16, 2009, 11:35:18 PM
Quote from: SmokyBlue on May 03, 2009, 07:58:58 AM
small issue here M-DVD..

see attached, fresh install..  ;)

1.18

The same issue, how i can solve it?


This issue isn't is caused by (any) a mod. (I don't know the cause).

The solution is:

1.- Open the file Modifications.idioma.php

2.- Search ?>

3.- Cut, and Move at the end of the file.

:)
Title: Re: Social Bookmarks
Post by: ZeUsSaN on May 25, 2009, 09:19:58 PM
+add  please more social networks, the countries of the former Soviet Union, such as:
vkontakte.ru or vkontakte.ua and odnoklassniki.ru or odnoklassniki.ua
(more than 35 000 000 users) from Russia, Ukraine, Belarus etc.
Title: Re: Social Bookmarks
Post by: satman007 on May 26, 2009, 09:00:13 AM
it not working a dime.... even its not installing? can any one tell whats goin on?
i download 1.1.8 version for my forum... and uploaded it to package directory
&
when i click apply mod on admin page>packages
nothing happens !it does nothing  !!!

Again the same package comes over..

can anyone tell why so?
Title: Re: Social Bookmarks
Post by: M-DVD on May 26, 2009, 10:50:03 PM
Quote from: ZeUsSaN on May 25, 2009, 09:19:58 PM
+add  please more social networks, the countries of the former Soviet Union, such as:
vkontakte.ru or vkontakte.ua and odnoklassniki.ru or odnoklassniki.ua
(more than 35 000 000 users) from Russia, Ukraine, Belarus etc.

Ok perfect.

Only one question: You know are like the 'links sharing' of these sites?

ie, example: http://site/sharing.php?link=$1&amp;title=$2

Quote from: satman007 on May 26, 2009, 09:00:13 AM
it not working a dime.... even its not installing? can any one tell whats goin on?
i download 1.1.8 version for my forum... and uploaded it to package directory
&
when i click apply mod on admin page>packages
nothing happens !it does nothing  !!!

Again the same package comes over..

can anyone tell why so?

Maybe this post can help you
http://www.simplemachines.org/community/index.php?topic=283309.msg2077027#msg2077027

Otherwise, Occurs with all the mods?
Title: Re: Social Bookmarks
Post by: satman007 on May 27, 2009, 12:56:02 AM
No that thing does work...  i mean i never get any mod read me thing..

It just refreshes back to package list page when i clcik  apply mod


Not happening with other mods
Kindly help
Title: Re: Social Bookmarks
Post by: M-DVD on May 27, 2009, 09:27:49 PM
Quote from: satman007 on May 27, 2009, 12:56:02 AM
No that thing does work...  i mean i never get any mod read me thing..

It just refreshes back to package list page when i clcik  apply mod

Not happening with other mods
Kindly help

xD

Ok, I think I confused me, and now (I think) already I have understood.

Have you downloaded this version? --> Social Bookmarks (For SMF 1.1.x).zip

If so, then no, those are the old versions (I don't delete them, because maybe someone want to watch it).

You must download and use the latest version --> SocialBookmarks_v2_0.zip

This version have the options showed in the images.

Try and tell me :)
Title: Re: Social Bookmarks
Post by: satman007 on May 27, 2009, 11:56:53 PM
but mine forum is 1.1.8   ... should i still use v2?
wont that  give me problems?
Title: Re: Social Bookmarks
Post by: M-DVD on May 30, 2009, 11:00:13 AM
Quote from: satman007 on May 27, 2009, 11:56:53 PM
but mine forum is 1.1.8   ... should i still use v2?
wont that  give me problems?


Yes, no problem :)

The version MOD's isn't equivalent with version SMF's.

With my MODs, always you should use the last versión, this it works with all version SMF (unless I indicate otherwise)
Title: Re: Social Bookmarks
Post by: Joe N on May 30, 2009, 11:09:23 AM
Nice Mod!
Title: Re: Social Bookmarks
Post by: satman007 on May 30, 2009, 12:41:31 PM
Quote from: M-DVD on May 30, 2009, 11:00:13 AM
Quote from: satman007 on May 27, 2009, 11:56:53 PM
but mine forum is 1.1.8   ... should i still use v2?
wont that  give me problems?


Yes, no problem :)

The version MOD's isn't equivalent with version SMF's.

With my MODs, always you should use the last versión, this it works with all version SMF (unless I indicate otherwise)

Just uploaded the new version 2.,...but problems still the same... it comes to same package list
HELP
Title: Re: Social Bookmarks
Post by: M-DVD on May 31, 2009, 01:53:45 AM
Quote from: Joe N on May 30, 2009, 11:09:23 AM
Nice Mod!

Thanks for your comment :)

Quote from: satman007 on May 30, 2009, 12:41:31 PM
Quote from: M-DVD on May 30, 2009, 11:00:13 AM
Quote from: satman007 on May 27, 2009, 11:56:53 PM
but mine forum is 1.1.8   ... should i still use v2?
wont that  give me problems?


Yes, no problem :)

The version MOD's isn't equivalent with version SMF's.

With my MODs, always you should use the last versión, this it works with all version SMF (unless I indicate otherwise)

Just uploaded the new version 2.,...but problems still the same... it comes to same package list
HELP

Ok.

Can you give screens? (I don't understand exactly the problem)

Have you check the settings?
Title: Re: Social Bookmarks
Post by: snampall on June 05, 2009, 11:40:48 PM
Hello

I am using SMF 1.1.9. (bailoutvoices.com) I installed SocialBookmarks_v2_0.zip. Installation worked fine, the 'Social bookmark settings' show up under Administration Center -> Posts and Topics  But I don't see any bookmark icons in the boards when creating a new topic or replying. 

I first installed SocialBookmarks_V1.x.x, and that did created the the bookmark icons in the boards..

I am missing something..

Pleas help...
Title: Re: Social Bookmarks
Post by: M-DVD on June 07, 2009, 07:16:10 PM
Quote from: snampall on June 05, 2009, 11:40:48 PM
Hello

I am using SMF 1.1.9. (bailoutvoices.com) I installed SocialBookmarks_v2_0.zip. Installation worked fine, the 'Social bookmark settings' show up under Administration Center -> Posts and Topics  But I don't see any bookmark icons in the boards when creating a new topic or replying. 

I first installed SocialBookmarks_V1.x.x, and that did created the the bookmark icons in the boards..

I am missing something..

Pleas help...

Also you should edit your index.template.php :)


<file name="$themedir/index.template.php">
<operation>
<search position="before"><![CDATA[
<link rel="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />';
]]></search>
<add><![CDATA[
if (!empty($context['current_topic']) && (!empty($modSettings['socialbookmarks_01']) || !empty($modSettings['socialbookmarks_02'])))
echo '
<link rel="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/socialbookmarks.css?fin11" />';
]]></add>
</operation>
</file>
Title: Re: Social Bookmarks
Post by: ElectricSquid on June 09, 2009, 08:51:18 PM
How do I get the icons to align left in the div

I'm working on a custom placement of the icons in Display.template.php.
But no matter what I modify in the socialbookmarks.css, or no matter what I add to the tags in the template, the icons will not align or float left.

Is there a stylesheet setting somewhere that I don't know about?
How do I get them to go left?
Title: Re: Social Bookmarks
Post by: M-DVD on June 09, 2009, 10:57:57 PM
Quote from: ∑£ℓ¢†®¡¢ §ợų¡đ on June 09, 2009, 08:51:18 PM
How do I get the icons to align left in the div

I'm working on a custom placement of the icons in Display.template.php.
But no matter what I modify in the socialbookmarks.css, or no matter what I add to the tags in the template, the icons will not align or float left.

Is there a stylesheet setting somewhere that I don't know about?
How do I get them to go left?

Search x 4

float: right;

Replace x 4

float: left;

Remember, after making these changes, you must do 'hard refresh' and the browser can download the new css.
Title: Re: Social Bookmarks
Post by: ElectricSquid on June 09, 2009, 11:05:15 PM
I tried that, but it didn't work.
I'm using the newest Safari, and it's not needed a browser cache dump in the past to show new changes, but I'll try it in a second and let you know if it works.
Title: Re: Social Bookmarks
Post by: ElectricSquid on June 09, 2009, 11:28:27 PM
No, it didn't work.

I made the changes, emptied the cache, closed Safari, reopened Safari, and the icons remain on the right.
I also opened Firefox, which has no cache of the website I'm working on. In Firefox, the icons align to the bottom right.

A little extra info - I now have the social bookmarks code in Display.template.php wrapped in a table cell within it's own table. The table AND the td has align="left" style="float: left;" in the tag, so that should override the CSS stylesheet. But it does not respond. Margin attributes do respond, and I can do positioning with that.

I did try the exact edit to the CSS that you suggested BEFORE I moved the code out of the div tag you had it in (and used a table instead for my custom edit). No luck then either, even before my modification.

I do notice that you have positioning set for each icon in the CSS. Could this have something to do with it?
(oh, by the way, in your CSS, you didn't end each setting with a ; )
             example:    .some_class
                               {
                                     background: #000000;      <-------- you forgot to add the ;
                               }

Here's the icon positioning I was talking about. I did try the layout with this removed, but that did nothing different too.


.delicious { background-position: -0px }
.digg { background-position: -16px }
.diigo { background-position: -32px }
.facebook { background-position: -48px }
.stumbleupon { background-position: -64px }
.reddit { background-position: -80px }
.slashdot { background-position: -96px }
.ask { background-position: -112px }
.barrapunto { background-position: -128px }
.bitacoras-com { background-position: -144px }
.blinkbits { background-position: -160px }
.blinklist { background-position: -176px }
.bus_exchange { background-position: -192px }
.ybuzz { background-position: -208px }
.blogmarks { background-position: -224px }
.care2 { background-position: -240px }
.co-mments { background-position: -256px }
.current { background-position: -272px }
.dealsplus { background-position: -288px }
.delirious { background-position: -304px }
.fark { background-position: -320px }
.faves { background-position: -336px }
.feed_me_links { background-position: -352px }
.fresqui { background-position: -368px }
.friendfeed { background-position: -384px }
.funp { background-position: -400px }
.furl { background-position: -416px }
.google_bmarks { background-position: -432px }
.kirtsy { background-position: -448px }
.linkagogo { background-position: -464px }
.linkedin { background-position: -480px }
.ma-gnolia { background-position: -496px }
.meneame { background-position: -512px }
.mixx { background-position: -528px }
.mister_wong { background-position: -544px }
.windows_live { background-position: -560px }
.myspace { background-position: -576px }
.n4g { background-position: -592px }
.netscape { background-position: -608px }
.netvouz { background-position: -624px }
.newsvine { background-position: -640px }
.oknotizie { background-position: -656px }
.propeller { background-position: -672px }
.rawsugar { background-position: -688px }
.rojo { background-position: -704px }
.simpy { background-position: -720px }
.smarking { background-position: -736px }
.socializer { background-position: -752px }
.sphinn { background-position: -768px }
.spurl { background-position: -784px }
.squidoo { background-position: -800px }
.tailrank { background-position: -816px }
.technorati { background-position: -832px }
.twitter { background-position: -848px }
.xanga { background-position: -864px }
.yigg { background-position: -880px }
.yahoo_bmarks { background-position: -896px }
.yahoo_my_web { background-position: -912px }



Title: Re: Social Bookmarks
Post by: M-DVD on June 10, 2009, 12:07:41 AM
xD

You have used
<td width="70%" id="socialbookmarks_1a" colspan="3">
bla, bla
</td>


Should be
<td width="70%" colspan="3">
<div id="socialbookmarks_1a">
bla, bla
</div>
</td>


<td> tag cannot have float property

:)
Title: Re: Social Bookmarks
Post by: dzinerfusion on June 13, 2009, 08:56:14 PM
H i I would liketo move the web2.0 imgaes here :)

I include a pic and the file to edit.
Title: Why doesn't it work?
Post by: totaltutankoll on June 15, 2009, 08:10:39 PM
I can not seem to install mods after moving my forum. It uploads the ftp-file perfectly but when I try to install is says it's impossible to do cause one of more of my package are not writeable- They're all set in 777 . I tried to upload a temp-file to the package folder and then it works to upload the mods but... they're no where to be seen!

I ran the repaircscript file as I was told to do when moving the forum and that went ok and the forum and Simple Portal works as they should. But new mods won't show. 
Title: Re: Social Bookmarks
Post by: M-DVD on June 15, 2009, 11:28:58 PM
Quote from: bluesinjid on June 13, 2009, 08:56:14 PM
H i I would liketo move the web2.0 imgaes here :)

I include a pic and the file to edit.

Check the attachment

Quote from: totaltutankoll on June 15, 2009, 08:10:39 PM
I can not seem to install mods after moving my forum. It uploads the ftp-file perfectly but when I try to install is says it's impossible to do cause one of more of my package are not writeable- They're all set in 777 . I tried to upload a temp-file to the package folder and then it works to upload the mods but... they're no where to be seen!

I ran the repaircscript file as I was told to do when moving the forum and that went ok and the forum and Simple Portal works as they should. But new mods won't show. 

You can get better help in SMF Support (http://www.simplemachines.org/community/index.php#c3)
Title: Re: Social Bookmarks
Post by: U1NO on June 20, 2009, 04:11:28 AM
Hello, I have tried to install this mod and it works fine in the default theme but not in my custom theme. I have tried to manually modify the Display.template.php but it doesn't work, maybe it's because my custom theme has the code a bit different. Could you please tell me how can I put the code correctly?  I have uploaded the file as attachment. Thank you  ;)
Title: Re: Social Bookmarks
Post by: amkanojia on June 24, 2009, 02:46:53 PM
I am having the same problem as U1NO.
I resolved all of the problems installing Social Bookmarks properly using these forums. Now the problem is that it only works in the default theme.
I am using the BlackDay Theme - the buttons do not appear.

Forgive my ignorance, I am not very familiar with coding.

Attached is a copy of the display.template.php for the BlackDay theme.
Title: Re: Social Bookmarks
Post by: Kencelot on June 26, 2009, 07:11:15 PM
Great mod! Installed flawlessly!

Thank you! :)
Title: Re: Social Bookmarks
Post by: Kencelot on July 22, 2009, 01:58:47 PM
Not sure if anyone is maintaining this mod, but I too would like to do what bluesinjid above did/has done.
Move the icons to the category bg - cat3bg area, right-hand side.

Anyone able to help with this?
Title: Re: Social Bookmarks
Post by: atdforum on July 24, 2009, 08:17:56 PM
Is anyone else having trouble with the info passed to Yahoo buzz?   Specifically, the Summary is filled with "0 Members and 2 Guests are viewing this topic.", or whatever the current stat is.  You can select that, delete it, and replace it in buzz with your own text , but if I knew the cause I'd fix it.

thanks!

p.s.  I posted earlier in this topic on adding buzz code, but I don't use that extra code in the newer version of this mod where you added buzz (and other sites).  so I have this issue with unaltered code.
Title: Re: Social Bookmarks
Post by: backend on August 03, 2009, 04:41:43 PM
I installed this mod, and it appears to be working, but the following piece of text appears on top of the forum:

$txt['socialbookmarks'] = 'Social Bookmarks';

also, I dont see it under Admin/Topics and Posts , to be able to enable or disable it?

Any help is appreciated , thanks a lot
Title: Re: Social Bookmarks
Post by: Frelo21 on August 18, 2009, 03:49:45 AM
I installed it, but its not showing up anywhere (and i know for a fact I didnt install it twice)

been through the whole thread, and couldn't find a possible solution.

Here's my display template
Title: Re: Social Bookmarks
Post by: Frelo21 on August 18, 2009, 08:51:24 PM
is this mod still being supported? :(
Title: Re: Social Bookmarks
Post by: bjraines on August 31, 2009, 12:14:32 PM
is there anyway to separately call each bookmark within the template file

so like a print facebook

print Stumble
Title: Re: Social Bookmarks
Post by: ruipedrola on September 21, 2009, 10:37:58 AM
Hello

I have in my boards your Social Bookmarks 1.1 and Pretty URLs  1.0RC

My problem is: I have a Topic with subject "The Best Board of the World" and Pretty URLs rewrite url to http://www.mydomain.com/forum/The-Best-Board-of-the-World

However inside the topic when i click in one button of Social (example Google Bookmark) it gives:

http://www.google.com/bookmarks/mark?op=edit&bkmk=http://www.mydomain.com/forum/index.php?topic=2593.0


In Display.php, Social call the URL from:

// CREATE URL/TITLE & URLENCODE
$url = urlencode($scripturl . '?topic=' . $topic . '.0');
$title = urlencode($topicinfo['subject']);

// REPLACE $1 AND $2 WITH THE URL AND TITLE
foreach($socialbookmark as $a => $b) {
$b['url'] = str_replace('$1', $url, $b['url']);
$socialbookmark[$a]['url'] = str_replace('$2', $title, $b['url']);



It´s possible to change this to call Pretty URLs rewrite url?

Thanks in advance. Greetings from Portugal and sorry for me English Quality :)

Rui Pedro
Title: Re: Social Bookmarks
Post by: lextalionis on September 25, 2009, 03:13:36 PM
Nice mod...worked great on 1.1.9 TP 1.0 beta 4  I too tried the float="left" deal and it worked but it pushed the next/previous way off into never-never land.
Title: Re: Social Bookmarks
Post by: XcLusive0409 on October 03, 2009, 10:52:03 PM
I installed it in SMF 2.0 RC 1.2 ..its in there but it doesn't show in the post .. how can i make it active and it will show the icon??
Title: Re: Social Bookmarks
Post by: kaamaru on October 18, 2009, 02:17:14 PM
This does not work with Search engine friendly URLs.
Title: Re: Social Bookmarks
Post by: el canadiano on October 22, 2009, 07:59:10 PM
Excellent mod. However, I have one major problem.

I have Crip's Implied theme (SMF 2.0). Though the mod displays fine in the SMF default theme, it does not display the mod at all in the implied theme. If you look in Firefox's source code, however, it still displays the code for displaying my codes.

<a name="msg1"></a><a name="new"></a>
<div id="socialbookmarks_1b">
<a class="yahoo_bmarks" href="http://bookmarks.yahoo.com/toolbar/savebm?opener=tb&amp;u=http%3A%2F%2Fwww.nlarcade.com%2Findex.php%3Ftopic%3D1.0&amp;t=Welcome+to+SMF%21" title="Y! Bookmarks" target="_blank"></a>
<a class="xanga" href="http://www.xanga.com/private/editorx.aspx?t=Welcome+to+SMF%21&amp;u=http%3A%2F%2Fwww.nlarcade.com%2Findex.php%3Ftopic%3D1.0&amp;s=" title="Xanga" target="_blank"></a>

<a class="twitter" href="http://twitter.com/home?status=http%3A%2F%2Fwww.nlarcade.com%2Findex.php%3Ftopic%3D1.0" title="Twitter" target="_blank"></a>
<a class="myspace" href="http://www.myspace.com/Modules/PostTo/Pages/?l=3&amp;u=http%3A%2F%2Fwww.nlarcade.com%2Findex.php%3Ftopic%3D1.0&amp;t=Welcome+to+SMF%21" title="MySpace" target="_blank"></a>
<a class="linkedin" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.nlarcade.com%2Findex.php%3Ftopic%3D1.0&amp;title=Welcome+to+SMF%21&amp;summary=&amp;source=" title="LinkedIn" target="_blank"></a>
<a class="google_bmarks" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.nlarcade.com%2Findex.php%3Ftopic%3D1.0&amp;title=Welcome+to+SMF%21" title="G Bookmarks" target="_blank"></a>
<a class="friendfeed" href="http://friendfeed.com/share?url=http%3A%2F%2Fwww.nlarcade.com%2Findex.php%3Ftopic%3D1.0&amp;title=Welcome+to+SMF%21" title="FriendFeed" target="_blank"></a>
<a class="delirious" href="http://de.lirio.us/rubric/post?uri=http%3A%2F%2Fwww.nlarcade.com%2Findex.php%3Ftopic%3D1.0" title="Delirious" target="_blank"></a>
<a class="ask" href="http://mystuff.ask.com/mysearch/QuickWebSave?v=2.0&amp;t=webpages&amp;title=Welcome+to+SMF%21&amp;url=http%3A%2F%2Fwww.nlarcade.com%2Findex.php%3Ftopic%3D1.0" title="Ask" target="_blank"></a>
<a class="slashdot" href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fwww.nlarcade.com%2Findex.php%3Ftopic%3D1.0&amp;title=Welcome+to+SMF%21" title="Slashdot" target="_blank"></a>
<a class="reddit" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.nlarcade.com%2Findex.php%3Ftopic%3D1.0&amp;title=Welcome+to+SMF%21" title="Reddit" target="_blank"></a>

<a class="stumbleupon" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.nlarcade.com%2Findex.php%3Ftopic%3D1.0&amp;title=Welcome+to+SMF%21" title="Stumbleupon" target="_blank"></a>
<a class="facebook" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.nlarcade.com%2Findex.php%3Ftopic%3D1.0&amp;t=Welcome+to+SMF%21" title="Facebook" target="_blank"></a>
<a class="diigo" href="http://secure.diigo.com/post?url=http%3A%2F%2Fwww.nlarcade.com%2Findex.php%3Ftopic%3D1.0&amp;title=Welcome+to+SMF%21" title="Diigo" target="_blank"></a>
<a class="digg" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.nlarcade.com%2Findex.php%3Ftopic%3D1.0&amp;title=Welcome+to+SMF%21" title="Digg (3)" target="_blank"></a>
<a class="delicious" href="http://del.icio.us/post?url=http%3A%2F%2Fwww.nlarcade.com%2Findex.php%3Ftopic%3D1.0&amp;title=Welcome+to+SMF%21" title="Delicious" target="_blank"></a>
</div><div style="clear:both"></div>


By the way, the two attachments are the two themes.
Title: Re: Social Bookmarks
Post by: lestatminiyo on November 06, 2009, 04:21:25 AM
Quote from: elcanadianoSH on October 22, 2009, 07:59:10 PM
Excellent mod. However, I have one major problem.

I have Crip's Implied theme (SMF 2.0). Though the mod displays fine in the SMF default theme, it does not display the mod at all in the implied theme. If you look in Firefox's source code, however, it still displays the code for displaying my codes.

<a name="msg1"></a><a name="new"></a>
<div id="socialbookmarks_1b">
<a class="yahoo_bmarks" href="http://bookmarks.yahoo.com/toolbar/savebm?opener=tb&amp;u=http%3A%2F%2Fwww.nlarcade.com%2Findex.php%3Ftopic%3D1.0&amp;t=Welcome+to+SMF%21" title="Y! Bookmarks" target="_blank"></a>
<a class="xanga" href="http://www.xanga.com/private/editorx.aspx?t=Welcome+to+SMF%21&amp;u=http%3A%2F%2Fwww.nlarcade.com%2Findex.php%3Ftopic%3D1.0&amp;s=" title="Xanga" target="_blank"></a>

<a class="twitter" href="http://twitter.com/home?status=http%3A%2F%2Fwww.nlarcade.com%2Findex.php%3Ftopic%3D1.0" title="Twitter" target="_blank"></a>
<a class="myspace" href="http://www.myspace.com/Modules/PostTo/Pages/?l=3&amp;u=http%3A%2F%2Fwww.nlarcade.com%2Findex.php%3Ftopic%3D1.0&amp;t=Welcome+to+SMF%21" title="MySpace" target="_blank"></a>
<a class="linkedin" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.nlarcade.com%2Findex.php%3Ftopic%3D1.0&amp;title=Welcome+to+SMF%21&amp;summary=&amp;source=" title="LinkedIn" target="_blank"></a>
<a class="google_bmarks" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.nlarcade.com%2Findex.php%3Ftopic%3D1.0&amp;title=Welcome+to+SMF%21" title="G Bookmarks" target="_blank"></a>
<a class="friendfeed" href="http://friendfeed.com/share?url=http%3A%2F%2Fwww.nlarcade.com%2Findex.php%3Ftopic%3D1.0&amp;title=Welcome+to+SMF%21" title="FriendFeed" target="_blank"></a>
<a class="delirious" href="http://de.lirio.us/rubric/post?uri=http%3A%2F%2Fwww.nlarcade.com%2Findex.php%3Ftopic%3D1.0" title="Delirious" target="_blank"></a>
<a class="ask" href="http://mystuff.ask.com/mysearch/QuickWebSave?v=2.0&amp;t=webpages&amp;title=Welcome+to+SMF%21&amp;url=http%3A%2F%2Fwww.nlarcade.com%2Findex.php%3Ftopic%3D1.0" title="Ask" target="_blank"></a>
<a class="slashdot" href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fwww.nlarcade.com%2Findex.php%3Ftopic%3D1.0&amp;title=Welcome+to+SMF%21" title="Slashdot" target="_blank"></a>
<a class="reddit" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.nlarcade.com%2Findex.php%3Ftopic%3D1.0&amp;title=Welcome+to+SMF%21" title="Reddit" target="_blank"></a>

<a class="stumbleupon" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.nlarcade.com%2Findex.php%3Ftopic%3D1.0&amp;title=Welcome+to+SMF%21" title="Stumbleupon" target="_blank"></a>
<a class="facebook" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.nlarcade.com%2Findex.php%3Ftopic%3D1.0&amp;t=Welcome+to+SMF%21" title="Facebook" target="_blank"></a>
<a class="diigo" href="http://secure.diigo.com/post?url=http%3A%2F%2Fwww.nlarcade.com%2Findex.php%3Ftopic%3D1.0&amp;title=Welcome+to+SMF%21" title="Diigo" target="_blank"></a>
<a class="digg" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.nlarcade.com%2Findex.php%3Ftopic%3D1.0&amp;title=Welcome+to+SMF%21" title="Digg (3)" target="_blank"></a>
<a class="delicious" href="http://del.icio.us/post?url=http%3A%2F%2Fwww.nlarcade.com%2Findex.php%3Ftopic%3D1.0&amp;title=Welcome+to+SMF%21" title="Delicious" target="_blank"></a>
</div><div style="clear:both"></div>


By the way, the two attachments are the two themes.

when you install the packet, you have an option to install in other themes
You can see in the button of page
Title: Re: Social Bookmarks
Post by: ruipedrola on November 06, 2009, 05:11:38 AM
well, nobody know how change the url call?

$url = urlencode($scripturl . '?topic=' . $topic . '.0');

This the lnine makes the url but dont recognize the pretty url. How change this to Social Bookmarks send the URL of prety url or a canonical? Thanks in advance
Title: Re: Social Bookmarks
Post by: coolfx35 on November 19, 2009, 09:17:26 PM
I tried to download the mod, but it said it's corrupted, can you check please?

thanks.
Title: Re: Social Bookmarks
Post by: Eclipse16V on November 24, 2009, 07:47:54 AM
Please update it for SMF 2.0 RC2

Thx
Title: Re: Social Bookmarks
Post by: the_shadow on November 28, 2009, 11:44:34 AM
this work well no SMF 2.0 RC 2

add manually
Title: Re: Social Bookmarks
Post by: spiros on December 18, 2009, 08:18:31 AM
It would not install automatically some portions on default theme RC2 (index.template and display.template) and I had to add it manually.
Title: Re: Social Bookmarks
Post by: diggier on January 15, 2010, 03:38:33 AM
oh!! thank you very much  :D
Title: Re: Social Bookmarks
Post by: Eclipse16V on March 15, 2010, 01:37:24 AM
Nice Mod

Please update it for SMF 2.0RC3  ;)

Thanks
Title: Re: Social Bookmarks
Post by: bobw on March 21, 2010, 09:45:54 PM
I can't upload the package! I get the following error: "The package you tried to upload either is not a valid package or has become corrupted." I have deleted the file and downloaded a fresh one twice. Help?
Title: Re: Social Bookmarks
Post by: Kisschy on May 04, 2010, 09:39:58 AM
I'd like to share this file in Thai language.

//MOD Social Bookmarks
$txt['socialbookmarks_01'] = 'แสดงไอค่อนของหมวดหมู่ที่คั่นหน้าเว็บที่ด้านบนของหน้าแสดงผล';
$txt['socialbookmarks_02'] = 'แสดงไอค่อนของหมวดหมู่ที่คั่นหน้าเว็บที่ด้านล่างของหน้าแสดงผล';
$txt['socialbookmarks_03'] = 'แสดงไอค่อนเหนือหมวดหมู่ที่คั่นหน้าเว็บ';
$txt['socialbookmarks_04'] = 'เพิ่ม "nofollow" ในลิ้งค์';

$txt['manageposts_socialbookmarks_settings'] = 'ตั้งค่าหมวดหมู่ที่คั่นหน้าเว็บ';
$txt['manageposts_socialbookmarks_settings_description'] = 'ที่นี่คุณสามารถตั้งค่าทุกอย่างเกี่ยวกับหมวดหมู่ที่คั่นหน้าเว็บ';


Manual Installation in Thai Version http://simplemachines.in.th/32 (http://simplemachines.in.th/32)
Title: Re: Social Bookmarks "run the following queries manually"
Post by: wburkart on June 17, 2010, 08:01:44 PM
Hello,

I'm new to simple machines. I have installed the 1.1.11 and i am on the last step where i run the install file from my browser.... I am getting the: Hacking attempt... Error I see in the install instructions it says i may have to: "run the following queries manually"

INSERT IGNOREINTO {$db_prefix}settings (`variable`, `value`)VALUES ('$key', '$value')


Could you explain in detail how i "run the queries manually" I'm not sure what to do next ? Do i run run this via command prompt or do i have to insert this code somewhere ? Sorry for my confusion as i am still new to this. I have added all the proper code to each file so i just need to finish this last step.

Thank you in advance for your help, Wayne
Title: Re: Social Bookmarks
Post by: maihannijat on July 22, 2010, 12:28:26 AM
How to add Blogspot.com ?
Title: Re: Social Bookmarks
Post by: TheMortician4 on October 22, 2010, 06:17:48 PM
Can we get a mod version for 1.1.11?
Title: Re: Social Bookmarks
Post by: grashoper on December 12, 2010, 04:39:06 PM
hi

so i installed this mod  and it works great.
i only have one problem... when i post a new topic on fb (from my forum) it says:

Športno Društvo GrabIt
a
Login
forum.grabit.si
Login
.


how can i remove the Login words ?
Title: Re: Social Bookmarks
Post by: tonydang on February 07, 2011, 06:13:33 AM
i install it on smf 2.0 rc4 and it is not showing the bookmark tab on post and topic section. i have look elsewhere but i cannot find it. please help
Title: Re: Social Bookmarks
Post by: Realinfo on June 02, 2011, 01:26:48 AM
Sir
please guide me to change place of icon

I say that place in addthis mod

it's very good place to have social bookmarks

thanks
Title: Re: Social Bookmarks
Post by: mudskipper on June 25, 2011, 12:23:27 PM
HI,

My website is www.blackwateratv.com

I am running SMF 1.1.14 and I have tried installing both the 1.1.X and the V2.0 and I can not get them to work.  Any help would be appreciated.

Thanks
Mike
Title: Re: Social Bookmarks
Post by: Jakobwolff on July 20, 2011, 11:24:13 AM
How do i move the Facebook button down there?

i have installed Google+ Button 1.1 and Social Bookmarks
Title: Re: Social Bookmarks
Post by: bruce86 on August 24, 2011, 03:25:27 PM
Italian translation..;)
Title: Re: Social Bookmarks
Post by: Shades. on January 24, 2013, 05:15:34 PM
Can someone update this mod for 2.0.3?

Thanks! 8)
Title: Re: Social Bookmarks
Post by: puw on March 11, 2013, 08:10:57 AM
install fails for 2.0.4 - any update please?
Title: Re: Social Bookmarks
Post by: Arantor on March 11, 2013, 09:10:07 AM
Given that the author hasn't been online here in years, and no licence was indicated, no-one can take the mod over and just update it.
Title: Re: Social Bookmarks
Post by: puw on March 11, 2013, 10:11:03 AM
Thank you, understood :)