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
  #22  
Old 02-15-2007, 07:59 PM
ZomgStuff ZomgStuff is offline
 
Join Date: Feb 2007
Posts: 469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Correct sir. Post your template, I'll do my best to take a look at it.
Reply With Quote
  #23  
Old 02-15-2007, 08:02 PM
a1whs.com a1whs.com is offline
 
Join Date: Feb 2006
Location: Canada of Course
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Regards
Reply With Quote
  #24  
Old 02-15-2007, 08:04 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #25  
Old 02-15-2007, 08:06 PM
a1whs.com a1whs.com is offline
 
Join Date: Feb 2006
Location: Canada of Course
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RichieBoy67 View Post
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

Well for a noob like myself i think it will help if users posted full complete instructions.
Reply With Quote
  #26  
Old 02-15-2007, 08:11 PM
ZomgStuff ZomgStuff is offline
 
Join Date: Feb 2007
Posts: 469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by a1whs.com View Post
Well for a noob like myself i think it will help if users posted full complete instructions.
Sorry about the confusion, I changed the main instructions now.
Reply With Quote
  #27  
Old 02-16-2007, 01:21 PM
HDT HDT is offline
 
Join Date: Sep 2006
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

73 seconds install this mod,and no problem founded.Thanks
Reply With Quote
  #28  
Old 02-20-2007, 02:03 AM
v12kid's Avatar
v12kid v12kid is offline
 
Join Date: Feb 2006
Location: Washington D.C.
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #29  
Old 02-23-2007, 12:05 AM
edge23 edge23 is offline
 
Join Date: Sep 2006
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works great m8 TY...
easy install and very customizable:up:

Check it out on my site Here BiTTDaily.com

BiTTDaily.com
Reply With Quote
  #30  
Old 02-23-2007, 01:14 AM
ZomgStuff ZomgStuff is offline
 
Join Date: Feb 2007
Posts: 469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by edge23 View Post
works great m8 TY...
easy install and very customizable:up:

Check it out on my site Here b1tt.com

BiTT News
Hah, bad timing I presume?

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

Fatal error: (null)(): Failed opening required '/home/kungfuho/public_html/B1TT/includes/synergy.php' (include_path='.:/usr/local/lib/php') in /home/kungfuho/public_html/B1TT/includes/init.php(319) : eval()'d code on line 3
Reply With Quote
  #31  
Old 02-23-2007, 01:53 AM
mikehawk's Avatar
mikehawk mikehawk is offline
 
Join Date: May 2004
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
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:24 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.04535 seconds
  • Memory Usage 2,308KB
  • 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
  • (4)bbcode_code
  • (3)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