Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=967)
MOD Social Bookmarks v2.0
===================
| karlbenson (http://custom.simplemachines.org/mods/index.php?action=profile;u=63186) |
| M-DVD (http://custom.simplemachines.org/mods/index.php?action=profile;u=148997) |
| 2.0 |
| (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) |
| 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) |
|
- Update v2.0: Read More (http://www.simplemachines.org/community/index.php?topic=200394.msg2013842#msg2013842)
- You like report an error or new site? Check it (http://www.simplemachines.org/community/index.php?topic=200394.msg2013842#msg2013842)
Features:- With this MOD you can adds icons to social bookmark your topics via up to +50 social bookmarking sites.
- By default the 7 most popular social bookmarking sites are enabled.
- You can enable and disable +50 social bookmarking sites:
Admin > Posts and Topics > Social Bookmarks Settings
- You can add "nofollow" in links
- New XHTML and CSS style more light
==========================
Languages (normal & utf-8)
- English
- English_British
- Spanish_Es
- Spanish_Latin
$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:- Con este MOD puedes añadir iconos de marcadores sociales desde tus temas con más de 50 sitios a elegir.
- Por defecto están activados los 7 más populares.
- También puedes activar y desactivar todos los sitios:
Administración > Mensajes y Temas > Configuración de Marcadores Sociales
- Tiene un XHTML y CSS nuevo y más ligero.
Fin.
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?
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?
the bookmarks look beautiful can you add some more bookmarks to the list hehe.
i think the beta version is the one with 30 bookmarking sites.
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
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
How can I use this in other themes?
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
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).
[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
karlbenson, my hero ! Gread mod
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.
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.
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
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.
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
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.
mission accomplished :D
but you didn't answer : do i get better search engines ranking ?
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.
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
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.
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?
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.
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
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.
Is this easy on a dilber theme?
@Zeri YT!
As far as I can see your template issue is not caused by this mod.
@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.
You can no longer post to furl with this mod
thanks for the information. Any ideas how furl has changed?
I will look into it asap. Right now actually
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)?
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.
It looks like somehow this mod got installed TWICE.
Try uninstalling it. And you will probably have it installed once.
the code was in there twice, deleted one and it works. Thanks
you kick ass. thank you!
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.
Any fix for furl on this yet ?
Sorry to hassle
Another great mod karlbenson!!
Thank you again!
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.
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.
Thanks ApplianceJunk.
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!
Link?
Did you copy the images?
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...
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
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 . '
???
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
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!
Hi Karl,
According to you which is the best book marking site?
dear karlbenson see my site your mod makes it look very beautiful.
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.
How can I add this to my normal web pages?
Hey when I tried to install it, I got a fatal error thingy.
Could you quote what fatal errordid you get? Tha t would help us help you! ;-)
"Fatal error: Call to undefined function: () in /home/athletes/public_html/forum/Packages/temp/install.php on line 16"
The install.php won't work except when called via SMF.
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!!!
cool mod, very usefull, i think can sort the icons like addthis widget
http://www.addthis.com/
Can anyone tell how can i add "IndiaPad.com" to the list
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.
Open Sources/Display.php
FIND
$socialbookmark[] = array('name' => 'SlashDot', 'icon' => 'slashdot', 'url' => 'http://slashdot.org/bookmark.pl?title=$2&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.
When I open the display.php file in notepad the code is everywhere. What program do you recommend I open it in?
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
Indeed, Notepad++ is what I use.
Its free and open source
As I'm going through it, it appears the code is already there. Is this normal?
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/
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?
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.
See Manual Installation of mods
http://docs.simplemachines.org/index.php?topic=402
<deleted>
I had managed to download the wrong package and didn't notice.
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.
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&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');
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&title=$2');
And remove the // at the beginning
eg
$socialbookmark[] = array('name' => 'Co.mments', 'icon' => 'comments', 'url' => 'http://co.mments.com/track?url=$1&title=$2');
hmmm.. i tried that one but there's no changes.. i dont see other social bookmarks icons on my page, only default :(
please attach your display.php so i can take a look
Here it is.
the reason its not working is because somehow you have got it installed twice.
You will need to remove the second set
gee.. Youre right! If you put g.a on your site, i would click them for u. thanks for helping me out^^
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
I'll look at it in future.
Hello ! Can the bookmarks appear on the home page, so that users can bookmark the site ? Would appreciate changes if minor modification is required..
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.
Hi Karl,
Great mod!
Turkish translation:
$txt['socialbookmarks'] = 'Sosyal Yer Imleri';
$txt['socialbookmarks'] = 'Sosyal Yer Imleri';
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.
Yeah I know.
I need to get around to fixing it.
Thank you, Karl.
Long live Karl Benson!
How do i add other sites? I am thinking of having "gmail" , "youtube" , "hotmail" and "friendster"
Karl, I hope the next update would include most of the "dofollow" bookmarks. I found a link of all "dofollow" bookmarks.
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.
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/
Digg is "dofollow"
but reddit, stumble, technorati are "nofollow" i like technorati, stumble and reddit to be there in the bookmark, though.
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.
Found a solution for digg:
$socialbookmark[] = array('name' => 'Digg', 'icon' => 'digg', 'url' => 'http://www.digg.com/submit?phase=2&url=' . $scripturl . '?topic=' . $topic . '.0');
He does not format the url properly with $1.
Cheers.
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.
There is no feature to do it in the mod.
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)
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);
Thanks Karl, it worked :)
Hi, karl, great addition, certain areas of my forums are closed for guests, is there a way to display it only on certain boards?
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
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.
I can't find the display.php file...........
Sources/Display.php
The template version is in
Themes/default/Display.template.php
(and custom themes may also have a Display.template.php)
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&url=$1');
and
$socialbookmark[] = array('name' => 'Mixx', 'icon' => 'mixx', 'url' => 'http://www.mixx.com/submit=$2&url=$1');
but neither work.
any clues?
can someone please upgrade to 1.1.5 please
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&url=' . $scripturl . '?topic=' . $topic . '.0&title=$2&thumbnails=0');
(ignore this text)
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
just wondering if this works with 1.1.6? do i just need to change the xml file to include it?
it should work for 1.1.6 as far as I am aware
Thanks for a great mod, works perfectly on 1.1.6!
Another cool mod by Karl, thanks! 8)
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.
VERY NICE MOD....... THX
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!
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)
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
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?
Bump
Anyone .... ?
Hi Karl,
Sending you the portuguese translation!
$txt['socialbookmarks'] = 'Favoritos Sociais';
Best Regards,
Hugo
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.
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?
there is only one problem with this installing in rc1 man and thats a white space.
nice work its a wonderfull item :P
Can I used this MOD with Version 1.1.8?
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
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
Thanks for the Update works great
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?
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 ::)
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
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.
small issue here M-DVD..
see attached, fresh install.. ;)
1.18
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. :-\
Its working with 1.1.8 ???/
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 :)
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?
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.php2.- Search
?>3.- Cut, and Move at the end of the file.
:)
+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.
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?
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&title=$2Quote 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?
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
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 :)
but mine forum is 1.1.8 ... should i still use v2?
wont that give me problems?
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)
Nice Mod!
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
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?
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...
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>
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?
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.
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.
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 }
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
:)
H i I would liketo move the web2.0 imgaes here :)
I include a pic and the file to edit.
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.
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)
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 ;)
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.
Great mod! Installed flawlessly!
Thank you! :)
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?
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.
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
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
is this mod still being supported? :(
is there anyway to separately call each bookmark within the template file
so like a print facebook
print Stumble
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
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.
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??
This does not work with Search engine friendly URLs.
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&u=http%3A%2F%2Fwww.nlarcade.com%2Findex.php%3Ftopic%3D1.0&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&u=http%3A%2F%2Fwww.nlarcade.com%2Findex.php%3Ftopic%3D1.0&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&u=http%3A%2F%2Fwww.nlarcade.com%2Findex.php%3Ftopic%3D1.0&t=Welcome+to+SMF%21" title="MySpace" target="_blank"></a>
<a class="linkedin" href="http://www.linkedin.com/shareArticle?mini=true&url=http%3A%2F%2Fwww.nlarcade.com%2Findex.php%3Ftopic%3D1.0&title=Welcome+to+SMF%21&summary=&source=" title="LinkedIn" target="_blank"></a>
<a class="google_bmarks" href="http://www.google.com/bookmarks/mark?op=edit&bkmk=http%3A%2F%2Fwww.nlarcade.com%2Findex.php%3Ftopic%3D1.0&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&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&t=webpages&title=Welcome+to+SMF%21&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&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&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&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&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&title=Welcome+to+SMF%21" title="Diigo" target="_blank"></a>
<a class="digg" href="http://digg.com/submit?phase=2&url=http%3A%2F%2Fwww.nlarcade.com%2Findex.php%3Ftopic%3D1.0&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&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.
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&u=http%3A%2F%2Fwww.nlarcade.com%2Findex.php%3Ftopic%3D1.0&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&u=http%3A%2F%2Fwww.nlarcade.com%2Findex.php%3Ftopic%3D1.0&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&u=http%3A%2F%2Fwww.nlarcade.com%2Findex.php%3Ftopic%3D1.0&t=Welcome+to+SMF%21" title="MySpace" target="_blank"></a>
<a class="linkedin" href="http://www.linkedin.com/shareArticle?mini=true&url=http%3A%2F%2Fwww.nlarcade.com%2Findex.php%3Ftopic%3D1.0&title=Welcome+to+SMF%21&summary=&source=" title="LinkedIn" target="_blank"></a>
<a class="google_bmarks" href="http://www.google.com/bookmarks/mark?op=edit&bkmk=http%3A%2F%2Fwww.nlarcade.com%2Findex.php%3Ftopic%3D1.0&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&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&t=webpages&title=Welcome+to+SMF%21&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&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&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&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&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&title=Welcome+to+SMF%21" title="Diigo" target="_blank"></a>
<a class="digg" href="http://digg.com/submit?phase=2&url=http%3A%2F%2Fwww.nlarcade.com%2Findex.php%3Ftopic%3D1.0&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&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
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
I tried to download the mod, but it said it's corrupted, can you check please?
thanks.
Please update it for SMF 2.0 RC2
Thx
this work well no SMF 2.0 RC 2
add manually
It would not install automatically some portions on default theme RC2 (index.template and display.template) and I had to add it manually.
oh!! thank you very much :D
Nice Mod
Please update it for SMF 2.0RC3 ;)
Thanks
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?
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)
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
How to add Blogspot.com ?
Can we get a mod version for 1.1.11?
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 ?
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
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
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
How do i move the Facebook button down there?
i have installed Google+ Button 1.1 and Social Bookmarks
Italian translation..;)
Can someone update this mod for 2.0.3?
Thanks! 8)
install fails for 2.0.4 - any update please?
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.
Thank you, understood :)