Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Template Modifications

Reply
 
Thread Tools
Digg Display & Digg Count Details »»
Digg Display & Digg Count
Version: 1.01, by ericgtr ericgtr is offline
Developer Last Online: Feb 2022 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.7.0 Beta 3 Rating:
Released: 12-28-2007 Last Update: Never Installs: 54
Template Edits
 
No support by the author.

Get your users to Digg more threads with this simple modification. It's more visible and will promote more Diggs.

What this does differently from the stock Bookmarks is put the Digg button on top of the post in a nice little box and displays how many diggs the post has gotten. This uses javascript provided by Digg. The background color can also be defined.

Update: Fixed the javascript so it will now show the thread title if it has special characters in it.

In SHOWTHREAD find:
Code:
<td class="vbmenu_control" id="threadtools" nowrap="nowrap">
Add this just above: (be sure to add your forum URL so it Digg can grab the title, you may optionally remove that line if you have an SEO mod installed but the title will have to be submitted manually)
Code:
<!-- Digg -->
<td class="vbmenu_control" id="digg" nowrap="nowrap">
<script type="text/javascript">
digg_url = 'SITE URL/showthread.php?t=$thread[threadid]';
digg_title = "$threadinfo[title]";
digg_skin = 'compact';
digg_window = 'new';
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</td>
<!-- / Digg -->
Please click install if you use this.

Show Your Support

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

Comments
  #32  
Old 07-23-2008, 10:01 PM
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
Posts: 1,360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by youradhere4222 View Post
When an article is dugg, the link to the diggs is dark blue on my dark red color (#990000)

Is there anyway to fix this? Thanks.
Weird mine is dark grey?
Reply With Quote
  #33  
Old 07-24-2008, 06:13 PM
vwdforum vwdforum is offline
 
Join Date: Jun 2006
Posts: 179
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've added this to my forum and it does work however the forum post page now takes about 10 seconds to load when it was only about 1 second before adding this.

is there any way to improve this?
Reply With Quote
  #34  
Old 07-24-2008, 07:57 PM
cynthetiq's Avatar
cynthetiq cynthetiq is offline
 
Join Date: Jul 2005
Location: NYC
Posts: 190
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vwdforum View Post
I've added this to my forum and it does work however the forum post page now takes about 10 seconds to load when it was only about 1 second before adding this.

is there any way to improve this?
I did the same thing...
Reply With Quote
  #35  
Old 07-31-2008, 04:41 PM
vwdforum vwdforum is offline
 
Join Date: Jun 2006
Posts: 179
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is this mod supported at all now as I was hoping I would receive a reply regarding if its possibly to speed up the thread appearing,.
Reply With Quote
  #36  
Old 07-31-2008, 04:56 PM
cynthetiq's Avatar
cynthetiq cynthetiq is offline
 
Join Date: Jul 2005
Location: NYC
Posts: 190
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not sure how someone would support this as looking at the code it is no different than the widget you can put in your blog/myspace/facebook. In other words, I think that it is a process of how the digg code works and not how the mod works.

I settled my needs by creating a digg bbcode that I use by placing the URL into a redited button.

name: digg
bbcode tag: digg
[digg]http://www.tfproject.org/tfp/hall-fame/911-mass-media-mind-control-16.html#post2495425[/digg]
replacement code:
Code:
<script>
digg_url = '{param}';
digg_window = 'new';
</script>
<script src="http://digg.com/api/diggthis.js"></script>
no for all selections

this spead up my showthread response and only slowed down the ones where the digg code was embeded.
Reply With Quote
  #37  
Old 08-20-2008, 12:14 AM
Brother Malachi Brother Malachi is offline
 
Join Date: Jun 2008
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*Hammer clicks Installed*

Is there a way to change the font color?
Reply With Quote
  #38  
Old 08-20-2008, 12:53 PM
nick-harper nick-harper is offline
 
Join Date: Jun 2008
Posts: 163
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to get this to work with tfSEO?
Reply With Quote
  #39  
Old 08-24-2008, 07:25 PM
masterweb's Avatar
masterweb masterweb is offline
 
Join Date: Aug 2007
Location: Italy
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and working, thanks :up:
Reply With Quote
  #40  
Old 09-01-2008, 01:18 AM
SBlueman SBlueman is offline
 
Join Date: Jan 2006
Posts: 717
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any way to get this to work with vblogetin? This is what I have been able to do so far:

Code:
<!-- Digg -->
<td class="vbmenu_control" id="digg" nowrap="nowrap">
<script type="text/javascript">
digg_url = '$entry[url]';
digg_title = "$entry[title]";
digg_skin = 'compact';
digg_window = 'new';
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</td>
<!-- / Digg -->
but the urls are coming out:
http://gridironfans.com/forums/blogs...521&;entry=420

instead of:
http://gridironfans.com/forums/blogs...=521&entry=420

It seems to be throwing a ";" between the user id and entry id.
Reply With Quote
  #41  
Old 09-01-2008, 06:50 PM
SBlueman SBlueman is offline
 
Join Date: Jan 2006
Posts: 717
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmmm....seems like I am having issues with Digg...

Some members are getting this message:
Quote:
An unknown fatal exception has occurred
Whoa! Something blew up. If you think you reached this error in error please do not hesitate to contact support.
And others are getting:
Quote:
This domain has been consistently flagged as violating the Digg Terms of Service and cannot be submitted at this time. Please refer to our Terms of Service (digg.com/tos) for more information.
Reply With Quote
Reply

Thread Tools

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 06:25 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05165 seconds
  • Memory Usage 2,304KB
  • 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
  • (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
  • (3)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