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..
My boards were banned from Digg because they went a bit Digg happy after it was installed. Does anyone know of a way to get this resolved because I love this mod and want to keep it, but Digg does not seem to return emails too well. Anyone know how to actuallt contact them?
I added this and it al appears ok, but when you click the "Digg this story button" I added, it takes you to the digg page and says: "This link does not appear to be a working link. Please check the URL and try again." any ideas?
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 hope someone finds this useful.
Best regards,
Val.
Thanks bro! I used your code! It's working great right now!