Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Digg.com System Integration Details »»
Digg.com System Integration
Version: 1.00, by ZomgStuff ZomgStuff is offline
Developer Last Online: May 2012 Show Printable Version Email this Page

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
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>
You can get the images for the thread here:
http://digg.com/tools/buttons

Screenshot:

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 03-12-2007, 08:18 AM
Spinball's Avatar
Spinball Spinball is offline
 
Join Date: Feb 2002
Location: Telford, England
Posts: 705
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,
I think this could be a very important hack. I want to put the digg button down the bottom near the edit button. I have edited postbit_legacy and put the code in there (available only to moderators) but it appears after PMs as well as posts. What am I doing wrong?

I think both the main digg it button and the bbcode counter and button should be placable only by mods, supermods and admin. How would you edit the bbcode so normal users can't see the bbcode button?

I think the OP needs to put a little help with template editing in there for utter newbies so this hack is a little more accessible.

I have attached a diggit button I made.
Reply With Quote
  #43  
Old 03-13-2007, 03:27 PM
fishhub fishhub is offline
 
Join Date: Aug 2006
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

would be great if there could be a forum id to view all digg threads.
Reply With Quote
  #44  
Old 03-13-2007, 04:01 PM
The Bish's Avatar
The Bish The Bish is offline
 
Join Date: Aug 2006
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This interests me very much but I am wondering if anyone would be able to help me integrate Digg with vBArticles. I really have no interest in having my members "Digg" the posts on my site and to be honest I am not sure I have the traffic to compete with the items on the Digg site. What does interest me, and what I do think will get "Dugg" the most, are the Blogs on my site.

http://prosper-living.com

Thoughts anyone?

The Bish
Reply With Quote
  #45  
Old 03-14-2007, 03:20 AM
ZomgStuff ZomgStuff is offline
 
Join Date: Feb 2007
Posts: 469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry I've been extremely busy lately dealing with the end of 3rd quarter in high school and setting up my new forum. Thursday I'll post a very detailed tutorial on how to get it where you want.
Reply With Quote
  #46  
Old 03-14-2007, 03:17 PM
The Bish's Avatar
The Bish The Bish is offline
 
Join Date: Aug 2006
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ZomgStuff View Post
Sorry I've been extremely busy lately dealing with the end of 3rd quarter in high school and setting up my new forum. Thursday I'll post a very detailed tutorial on how to get it where you want.

Thank you Sir!
Reply With Quote
  #47  
Old 03-22-2007, 11:16 PM
afmarko99's Avatar
afmarko99 afmarko99 is offline
 
Join Date: Jan 2007
Location: Louisiana
Posts: 153
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok so when I use the digg embed tags I put the article name there but it doesnt show the correct amount of digs.

http://www.thepublicenemy.net/showthread.php?t=436

The story = http://www.digg.com/gaming_news/Batt...25_Update_Beta
Reply With Quote
  #48  
Old 04-15-2007, 08:02 PM
Devil Woman Devil Woman is offline
 
Join Date: Jul 2005
Location: England
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi there, I have just installed this on my forum and when I add the digg url into the thread when I go to click to digg it, it comes up with error on the page and will not allow me to digg it.

Could this be something I have done wrong?

Thanks.
Reply With Quote
  #49  
Old 04-17-2007, 05:07 PM
Prince Prince is offline
 
Join Date: Oct 2001
Posts: 333
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What wold the link code be if you have vbSEO installed?

I don't like using their version of "digg", I just want a simple image and link like this.
Reply With Quote
  #50  
Old 04-17-2007, 05:17 PM
anywares anywares is offline
 
Join Date: Dec 2006
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I dont use Digg on my board.
Reply With Quote
  #51  
Old 04-17-2007, 06:53 PM
ZomgStuff ZomgStuff is offline
 
Join Date: Feb 2007
Posts: 469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by EaglezEye View Post
Ok so when I use the digg embed tags I put the article name there but it doesnt show the correct amount of digs.

http://www.thepublicenemy.net/showthread.php?t=436

The story = http://www.digg.com/gaming_news/Batt...25_Update_Beta
If the name of the article is too long, sometimes it wont show right and will be an error. I don't know why, but it's something to do with digg.

Quote:
Originally Posted by Devil Woman View Post
Hi there, I have just installed this on my forum and when I add the digg url into the thread when I go to click to digg it, it comes up with error on the page and will not allow me to digg it.

Could this be something I have done wrong?

Thanks.
Can you provide a screenshot? I'm not realyl following what you are saying.

Quote:
Originally Posted by Prince View Post
What wold the link code be if you have vbSEO installed?

I don't like using their version of "digg", I just want a simple image and link like this.
I don't have this installed, but you would somehow have to know the link of the thread. I don't know how the name of the URL is formed, or how it can be found using variables.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:20 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
  • Page Generation 0.07973 seconds
  • Memory Usage 2,312KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete