Version: 1.00, by ZomgStuff
Developer Last Online: May 2012
Category: New Posting Features -
Version: 3.6.4
Rating:
Released: 02-14-2007
Last Update: Never
Installs: 57
No support by the author.
Well I haven't seen this posted yet so I'll give it a crack.
Digg.com will bring your site huge traffic, trust me.
A friend and I made this where you can click "digg this" in a thread and then embed the "digg me" button in a thread.
Screenshots are below.
Admin CP -> Custom BB Code -> Add New BB Code
Code:
Title: Digg
Tag: digg
Replacement: <script>
digg_url = '{param}';
</script>
<script src="http://digg.com/api/diggthis.js"></script>
Example: [digg]http://digg.com/programming/Xfire_Game_Spoofing[/digg]
Description: [digg]URL TO ARTICLE[/digg]. Allows you to enter a counter for digg.
Button Image: You can borrow mine. http://www.zomgstuff.net/forum/images/techtwo/editor/digg.gif
Now for the template edit for your submit link to be on the thread.
Admin CP -> Styles and Templates -> Style Manager -> Edit Template -> postbit_legacy.
and
Admin CP -> Styles and Templates -> Style Manager -> Edit Template -> postbit
Since this one wasn't working for me, I simply used the easy way that Digg offers
One very simple edit in postbit/postbit_legacy
Find
Code:
<!-- controls -->
and just above that add this
Code:
<div><if condition="is_member_of($bbuserinfo,1,2,3,4,5,6,7) and (($post[postcount]==1) and !$GLOBALS['vbulletin']->GPC['ajax'])">
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script></if></div><br />
Thanks for few helpful tips over here..
Here is the result with URL being automatically submitted on Digg, and counter increases after a digg..
I have private forums and don't want any of those threads "dugg". Since they're private, I assume that even if someone did "digg it", it wouldn't show up anywhere, right?
I cant get this to work well, the diggit.gif link works fine, but the embeded bbcode always shows 0 diggs even when its been submitted. Also, when you click on digg in the post it says that the URL is invalid. The first link itself works fine to submit the post however.
So I did what the person above mentioned, and used the following after the controls line
Code:
<div><if condition="is_member_of($bbuserinfo,1,2,3,4,5,6,7) and (($post[postcount]==1) and !$GLOBALS['vbulletin']->GPC['ajax'])">
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script></if></div><br />
I get the same result there, it always says 0 diggs even when there are some, when you click on digg there it doesnt say that its an invalid URL at least, but it doesnt populate the title, etc like the other digg link did.
I cant get this to work well, the diggit.gif link works fine, but the embeded bbcode always shows 0 diggs even when its been submitted. Also, when you click on digg in the post it says that the URL is invalid. The first link itself works fine to submit the post however.
So I did what the person above mentioned, and used the following after the controls line
Code:
<div><if condition="is_member_of($bbuserinfo,1,2,3,4,5,6,7) and (($post[postcount]==1) and !$GLOBALS['vbulletin']->GPC['ajax'])">
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script></if></div><br />
I get the same result there, it always says 0 diggs even when there are some, when you click on digg there it doesnt say that its an invalid URL at least, but it doesnt populate the title, etc like the other digg link did.
I cant get this to work well, the diggit.gif link works fine, but the embeded bbcode always shows 0 diggs even when its been submitted. Also, when you click on digg in the post it says that the URL is invalid. The first link itself works fine to submit the post however.
So I did what the person above mentioned, and used the following after the controls line
Code:
<div><if condition="is_member_of($bbuserinfo,1,2,3,4,5,6,7) and (($post[postcount]==1) and !$GLOBALS['vbulletin']->GPC['ajax'])">
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script></if></div><br />
I get the same result there, it always says 0 diggs even when there are some, when you click on digg there it doesnt say that its an invalid URL at least, but it doesnt populate the title, etc like the other digg link did.
Two things: 1) I also can't get the # of Diggs to show properly. I get "0" on each page. 2) I'm a noob to BBC code, I coudlnt' get it to work at all, any suggestions?