Back to vBulletin 3.7 Template Modifications

Digg Display & Digg Count
Mod Version: 1.01, by ericgtr

This modification is in the archives.
vB Version: 3.7.0 Beta 3 Rating: (1 vote - 5.00 average) Installs: 54
Released: 29 Dec 2007 Last Update: Never Downloads: 26
Not Supported Template Edits  

Get your users to Digg more threads with this simple modification. It's more visible and will promote more Diggs.

What this does differently from the stock Bookmarks is put the Digg button on top of the post in a nice little box and displays how many diggs the post has gotten. This uses javascript provided by Digg. The background color can also be defined.

Update: Fixed the javascript so it will now show the thread title if it has special characters in it.

In SHOWTHREAD find:
Code:
<td class="vbmenu_control" id="threadtools" nowrap="nowrap">
Add this just above: (be sure to add your forum URL so it Digg can grab the title, you may optionally remove that line if you have an SEO mod installed but the title will have to be submitted manually)
Code:
<!-- Digg -->
<td class="vbmenu_control" id="digg" nowrap="nowrap">
<script type="text/javascript">
digg_url = 'SITE URL/showthread.php?t=$thread[threadid]';
digg_title = "$threadinfo[title]";
digg_skin = 'compact';
digg_window = 'new';
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</td>
<!-- / Digg -->
Please click install if you use this.

Download

No files for download.

Screenshots

Click image for larger version
Name:	digg.jpg
Views:	1995
Size:	9.2 KB
ID:	73939  


vblts.ru supports vBulletin®, 2022-2024