Social Bookmarks

Started by M-DVD, October 14, 2007, 04:06:46 PM

Previous topic - Next topic

Richard Wing

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

karlbenson

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.

Chachafance

I can't find the display.php file...........

karlbenson

Sources/Display.php

The template version is in
Themes/default/Display.template.php
(and custom themes may also have a Display.template.php)

- danny

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?

Sun11

can someone please upgrade to 1.1.5 please

atdforum

#106
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)...

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)


renlok

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
WeLink Directory
How Do I? - Get help with anything.
WeBid - Free auction script.

Bec

just wondering if this works with  1.1.6? do i just need to change the xml file to include it?

karlbenson

it should work for 1.1.6 as far as I am aware

Bec

Thanks for a great mod, works perfectly on 1.1.6!

RoarinRow

Another cool mod by Karl, thanks!   8)

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

atdforum

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.  It's still in beta, but according to this link it's the 2nd highest traffic rating among social bookmark sites.

vmgamer


The Saviour

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!

MonoTiz

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

Save this icon in Themes/default/images/socialbookmarks

africangreys

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 />';
}


hxxp:www.african-grey-parrots.co.uk/parrot-forum/index.php?topic=4.0 [nonactive]

Hope this helps  :D

fgoc

Installed this fine on my forum (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= 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?

fgoc


Hugo Francisco

Hi Karl,
Sending you the portuguese translation!

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

Best Regards,
Hugo




Advertisement: