Recent Topics

BAE Social Bookmarks 1.0 -- different Digg icons

Started by on Feb 28, 2008 – Contents updated: Feb 28, 2008

Feb 28, 2008 18:18    

I installed this plugin the other day and customized it to my liking. I'm happy, my bosses are content. At least I was until an hour ago.

This morning two of my co-workers posted blog entries, and the links appeared as expected. Then someone else made a third entry, and for some reason the DIGG icon is now the massive standard digg button, rather than the specified icon.

http://wtnh.tv/blogs/media/20080228-b2_BAE.gif

I'm at a loss as to why it would do this on one post and not the others, especially when they are all on the same page. I tried unckecking and rechecking the plugin on the Write page, but still got the bigger Digg look on that one post.

Feb 28, 2008 18:58

This one looks like it's from the Digg plugin, not the Social Bookmark plugin.
But it may be the Social Bookmark plugin is made out of the Digg plugin.

The large image is from Digg (plugin)

Does this help?

Feb 28, 2008 19:10

Yes and no.

1) I don't have any other digg plugin installed. I did at one point, but I uninstalled that item before my upgrade from 1.10 to 2.4. And I reloaded all the plugins.

2) It's the default that Digg would give you unless you specified

digg_skin = 'compact' or
digg_skin = 'icon'

in the Digg Javascript [url=http://digg.com/tools/integrate](link)[/url] . I have specified 'icon', and since it's in the middle of all the other icons I have in the plugin settings I'm confused asbout how this one, and this one only, is affected.

Feb 28, 2008 19:21

It may have come from Digg, like clicking the tiny icon activated the appearance of the large icon.

But I'm only throwing guesses at you.

Feb 28, 2008 19:54

If there had been a number there, such as 1 Digg, I could understand. But there was no such indicator.

Making matters more confusing, I just now added those bookmarks to a post made three days ago, and got all the icons I expected. Very odd.

Mar 02, 2008 00:48

I've had the same problem exactly, <i>and</i> it slows the whole blog down drastically while it loads. I'd use a text link instead, but I don't know the code.

Mar 04, 2008 18:34

Has anyone resolved this issue with the Digg link? I'm having the same problem. If I use the 'icon' skin it doesn't look anything like the thumbnail that was downloaded, with the little thumb... TIA!

Apr 10, 2008 01:40

I had this too. I made sure the other Digg plugin was uninstalled, but to no avail. Also, I had an iframe in the sidebar that normally showed a shoutbox, but for some reason it became one enormous digg icon! I can only guess that the digg js uses some kind of iframe and they got mixed up. In any case, now I have removed the digg code and just use the others, but whether or not they are written to the document seems arbitrary at best. Some posts, all of them appear. On others, only a few.

What I want to know really is whether or not I could ditch the js altogether and just use php to generate the code for the image links in an external file, and insert the php through an include in a skin file, and switch off the plugin?

Apr 10, 2008 01:40

Oh, hi by the way. Spot the newbie...

Apr 10, 2008 01:47

Hi loup,

Welcome to the forums.

I have even spotted a Digg button in the backoffice. That code is really crude! In the BEA Social Boolmark plugin you can add the code you want. For Digg I currently have:

	<script type="text/javascript">
	digg_skin = 'icon';
	digg_window = 'new';
	digg_url = '$permanent_url$';
	digg_title = '$title$';
	</script>
	<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>


which gives another image, but works fine.

I'll see if I can find taht image again.

Good luck

Apr 11, 2008 17:59

In the end I just replaced that digg code with the following: -

<script type="text/javascript">

document.write(' <li><a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url='+encodeURIComponent('$permanent_url$')+'&amp;title='+encodeURIComponent('$title$')' title="Submit to Digg"><img src="[yourdomain]/blog/plugins/socialbookmarks_plugin/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>');

</script>

It works fine now. (I snagged the idea from a WP plugin, btw. I'd still prefer to use PHP though - I'm trying to cut down on JavaScript as my blog is crammed with it already).


Form is loading...

b2evolution CMS – This forum is powered by b2evolution CMS, a complete engine for your website.