![]() |
Digg.com System Integration
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 Admin CP -> Styles and Templates -> Style Manager -> Edit Template -> postbit_legacy. and Admin CP -> Styles and Templates -> Style Manager -> Edit Template -> postbit Code:
http://digg.com/tools/buttons Screenshot: http://img219.imageshack.us/img219/1613/sn1ow5.jpg http://img292.imageshack.us/img292/5140/sn2rt0.jpg |
For the template code... which template do we put that in?
Thanks |
postbit_legacy... but i can't get this to work, always says "This doesn't look like a valid url!
|
Haha where is t he download link? :D
|
Quote:
|
Quote:
|
Awesome idea for a mod! Nice work. ;)
|
Where "exactly" am I putting that code in my postbit_legacy template? Before/after with a condition? I'm new at this.. sorry. Love the mod idea.
|
You can put it anywhere you want, it depends where on the screen you want it to appear.
I wanted mine appearing before the 'Thanks' button that's part of the thanks hack so I added it before that. If I didn't have the thanks hack I'd have looked for the edit button code and placed it before that. This would have then put the link at the bottom of the post window by the edit and quote buttons. Don't forget to change the image part too so it's a valid image. |
Depends on where you want it. The simplest way is to copy the entire code for the template, paste it in Dreamweaver and place your mouse where you want it to be, then paste the code. Here is where I placed mine (in postbit), although I don't know if it will be the same for you because my template is heavily modded.
After Code:
<div class="normal"> Code:
<if condition="$show['postcount']">(#<a href="showpost.php?$session[sessionurl]p=$post[postid]&postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]">$post[postcount]</a>)</if> |
Ok...I'm lost. In the screenshots, it looks like the digg button is in the sig, or actually in the post.
Does any have any live versions of this? |
Once you dugg the thread you can place the digg bb code anywhere such as [digg]digg.com/article[/digg] anywhere, IE in the post or in your sig. There I have it in my signature AND the tread.
|
You have tons of errors in the code you gave. Here is the corrected one
Code:
<a href="http://digg.com/submit?phase=2&url=http://www.url.net/forum/showthread.php?$session[sessionurl]p=$post[postid]&title=$post[title]" target="_blank"><img src="IMAGEHERE" border="0" /></a> |
Quote:
|
Nice. Thanks.
|
Tried a lot but does not work for me at all.
|
Please elaborate?
|
According to your image : http://img219.imageshack.us/img219/1613/sn1ow5.jpg
It does not work that way, it works only when replying to a post. Not like the one you show in the image on the top right, just like reporting users icons etc. i was expecting it to be there. Totally Different thing. |
Then I think you placed the code in the wrong spot. You can click that link whether you are replying or not.
|
Strange i followed your instructions, this is valid for 3.6.4 right?
|
Correct sir. Post your template, I'll do my best to take a look at it.
|
Fixed it, your instructions were wrong.
Here is the new set of instructions: Admin CP -> Styles and Templates -> Style Manager -> Edit Template -> postbit_legacy. and Admin CP -> Styles and Templates -> Style Manager -> Edit Template -> postbit Code:
<a href="http://digg.com/submit?phase=2&url=http://www.url.net/forum/showthread.php?$session[sessionurl]p=$post[postid]&title=$post[title]" target="_blank" title="Digg it"><img src="$stylevar[imgdir_misc]/digg.gif" border="0"></a> |
Some people use Postbit and some use postbit legacy. I think he meant to just place the code in which ever one you use...
Thanks, Nice mod... simple and it does what it is meant to do :) |
Quote:
Well for a noob like myself i think it will help if users posted full complete instructions. |
Quote:
|
73 seconds install this mod,and no problem founded.Thanks
|
I am a nub so please excuse me :)
my friend installed it for me so I am unsure if it was done right but I only see the Digg post button in the postbit wysiwyg menu next to the php tags icon. I would like the feature to work where users would be able to click an icon or some text to digg the article/thread automatically currently I have to encode a url in my thread with the digg bb code. any input is appreciated |
works great m8 TY...
easy install and very customizable:up: Check it out on my site Here BiTTDaily.com BiTTDaily.com |
Quote:
Code:
Warning: Unknown(/home/kungfuho/public_html/B1TT/includes/synergy.php): failed to open stream: No such file or directory in /includes/init.php(319) : eval()'d code on line 3 |
So do you type a message in a thread, and if you want to digg it, you add a black [digg][/digg] at the end of it?
My "Digg" it icon shows when making a new thread... |
To create a new digg article you click the digg link
Code:
<A HREF="http://digg.com/submit?phase=2&url=http://www.url.net/forum/showthread.php?$session[sessionurl]p=$post[postid]&title=$post[title]" target="_blank"><img src="IMAGEHERE" border=0></A> Then if you wanan embed the the already dugg story so it can be dugg, you put the url int he digg tags. |
Quote:
Then I realized I transfered the wrong directory from the backups, was a long nite... Anyway its up again BiTT Daily Heres a link to this mod in action TY again :) Post Link The Digg button is in the upper right... Great Mod... |
Hah, nice to know!
|
Would it be possible to set this up so that only an Admin or Moderator could initially "Digg" the thread and then once done, and rest of the forum members could "Digg" the thread?
I think this would be useful as i've heard that a few forums have already been banned from digg.com for spamming (30+ digg articles per day) and this would allow the forum Admin and Moderators to choose which threads are worthy for submission so as to not get banned. |
Use this
Code:
<if condition="is_member_of($bbuserinfo, 5,6)"><b><u><a href="URL">Name</a></u></b></if> |
since there is no import of downloads. Can it be applied for 3.5.x users?
|
Were should the code be placed in posbit & postbit legacy?
|
Quote:
Quote:
|
Quote:
thanks. wonderful. Ill be trying it out soon. |
Quote:
Can someone post the entire code with this added in? Thanks a lot Rob |
All times are GMT. The time now is 06:38 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|