Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
diggTopic - Full Integration with Digg (OMG) Details »»
diggTopic - Full Integration with Digg (OMG)
Version: 1.08, by Coders Shack Coders Shack is offline
Developer Last Online: Sep 2013 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 3.6.7 Rating:
Released: 05-26-2007 Last Update: 05-31-2007 Installs: 133
DB Changes Uses Plugins
 
No support by the author.

[hr]value[/hr]
. . . . . . . . Brought to you by

. . . http://www.Scriptasy.com
[hr]value[/hr]
Installation Time: [error] number too small
Products: 1
VB Version: 3.6.X
  • v1.02
    • added on/off in admincp
    • added digg image/link if you haven't added the url to the thread
    v1.04
    • forgot to add the database field
    • forgot a hook/plugin
    v1.05
    • checks HTTP_REFERER, for digg.com then looks up the thread URL if it returns a digg_url then it will add it to the thread.
    • threadadmins can also manually add the url. The manual edit overrides the auto add url.
    v1.06
    • enable/disable users digg counts
    • disable per-forum option
    • enable/disable auto add digg url option
    v1.07
    • custom placements
    • custom digg image
    v1.08
    • fixed autoadd (which will make user counts work)
Example: [live demo]

Description:
[hr]value[/hr]
This has evolved into full digg integration, when someone diggs someone elses topic. And someone on digg.com clicks on the link, the thread poster gets credited with 1 digg. Plus the digg button with the current digg count gets added to the threads postbit.


Installation:
[hr]value[/hr]
  • Install product

Upgrading:
[hr]value[/hr]
if your upgrading from a version less than 1.06 you will need to uninstall the product then re-install it. If the version is 1.06 then you can just install the product with Allow Overwrite on.


Custom postbit placements:
[hr]value[/hr]
  • <!-- diggTopic_diggit --> - For the digg button
  • <!-- diggTopic_userdiggcount --> - For the user digg count
[hr]value[/hr]
If you like then [Mark As Installed]
[hr]value[/hr]

Show Your Support

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

Comments
  #32  
Old 05-28-2007, 03:53 PM
nanaimobar nanaimobar is offline
 
Join Date: Nov 2005
Location: Canada
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Congratulations on all the updates so quickly. Much appreciated.

I seem to have a problem with the postbit bg colour, or maybe it's my understanding of a postbit.

I changed the bg colour for the postbit in the admincp but the "Digg this story" button background stayed the same. I tried several different bg colours and the button background didn't change.

Granted, I'm an impatient fellow and immediately went to forum page and refreshed it to see if bg had changed.

I simply wanted the "Digg this story" button bg to stand out a tad more in both IE and Firefox.

Does the postbit bg line in admincp change the bg on the "Digg this story" button?
Reply With Quote
  #33  
Old 05-28-2007, 04:30 PM
Panagioths Panagioths is offline
 
Join Date: Feb 2004
Location: Greece
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The "diggs" in postbit after I dugg some threads from my forum remained 0. When there is a number in the postbit changes?
Reply With Quote
  #34  
Old 05-28-2007, 05:10 PM
pcoskat pcoskat is offline
 
Join Date: Apr 2002
Location: atlanta
Posts: 423
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Coders Shack View Post
install the new one its better, automatically adds the digg url.
Well that answers my question. From the current description in the OP, the process sounded manual.

Now that it's automatic, I'm digging your digg!

Clicks install.
Reply With Quote
  #35  
Old 05-28-2007, 05:22 PM
Coders Shack Coders Shack is offline
 
Join Date: Apr 2007
Location: Culver City, CA
Posts: 807
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nanaimobar View Post
Congratulations on all the updates so quickly. Much appreciated.

I seem to have a problem with the postbit bg colour, or maybe it's my understanding of a postbit.

I changed the bg colour for the postbit in the admincp but the "Digg this story" button background stayed the same. I tried several different bg colours and the button background didn't change.

Granted, I'm an impatient fellow and immediately went to forum page and refreshed it to see if bg had changed.

I simply wanted the "Digg this story" button bg to stand out a tad more in both IE and Firefox.

Does the postbit bg line in admincp change the bg on the "Digg this story" button?
the postbit bg only apply's after the story has been dugg, if you would like to be able to change the digg image i may be ables to do something.

Quote:
Originally Posted by Panagioths View Post
The "diggs" in postbit after I dugg some threads from my forum remained 0. When there is a number in the postbit changes?
you forum needs to update the count, it isn't instant.

see digg.com takes time to register you url as dugg, even though you see your story. Also the digg count only changes when your topic gets automatically dugg, so the manually adding the digg url will avoid adding a digg to your account.
Reply With Quote
  #36  
Old 05-28-2007, 05:26 PM
Coders Shack Coders Shack is offline
 
Join Date: Apr 2007
Location: Culver City, CA
Posts: 807
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Fireproof View Post
I'm a newbie, so go easy on me.

I have a custom skin that changes the look of postbit_legacy. When I enable DiggTopic, the Diggs count for the users doesn't look great. (See attached screenshot).

What would I need to edit to get it to display like my Location and Posts boxes in the postbit?
hmm, i really want to avoid template changes. I guess i can add a option in the ACP like postbit diggs CLASS or somthing the reason why it shows up like that is because the <div has a custom class.
Reply With Quote
  #37  
Old 05-28-2007, 05:30 PM
Fireproof Fireproof is offline
 
Join Date: Apr 2007
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Coders Shack View Post
hmm, i really want to avoid template changes. I guess i can add a option in the ACP like postbit diggs CLASS or somthing the reason why it shows up like that is because the <div has a custom class.
Well, it might look better if it were added under the Instant Messaging icons, and maybe with a space in front of Diggs, so that is a little better aligned. Just a thought.

Good work so far.


If I wanted to play with the code, can you tell me what DiggTopic code I'd need to manually insert into the Postbit_legacy template? I can play around with it manually to see if I can come up with some better placement.

But I agree with you - I was attracted to your Mod specifically because of no template changes required.
Reply With Quote
  #38  
Old 05-28-2007, 05:33 PM
Coders Shack Coders Shack is offline
 
Join Date: Apr 2007
Location: Culver City, CA
Posts: 807
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lol dont bother messing with the plugin code its very complex.

i might create postbit template hooks, like:

<!-- diggTopic_digg -->
<!-- diggTopic_usercount -->

for custom positioning.
Reply With Quote
  #39  
Old 05-28-2007, 05:41 PM
Fireproof Fireproof is offline
 
Join Date: Apr 2007
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Coders Shack View Post
lol dont bother messing with the plugin code its very complex.

i might create postbit template hooks, like:

<!-- diggTopic_digg -->
<!-- diggTopic_usercount -->

for custom positioning.
That would be awesome. Much like some of the other mods out there (Billspaypal comes to mind). Most of the automatically placed things don't work for my custom skin, so it's nice to be able to manually place some code-bits where I need them.

:up:
Reply With Quote
  #40  
Old 05-28-2007, 06:22 PM
Coders Shack Coders Shack is offline
 
Join Date: Apr 2007
Location: Culver City, CA
Posts: 807
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Fireproof View Post
That would be awesome. Much like some of the other mods out there (Billspaypal comes to mind). Most of the automatically placed things don't work for my custom skin, so it's nice to be able to manually place some code-bits where I need them.

:up:
added all your suggestions

also fireproof for the custom digg user count placement it will just product a number so you can do this:

HTML Code:
<div class="info">
	Diggs: <!-- diggTopic_userdiggcount -->
</div>
Reply With Quote
  #41  
Old 05-28-2007, 06:29 PM
Coders Shack Coders Shack is offline
 
Join Date: Apr 2007
Location: Culver City, CA
Posts: 807
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if you can think of anything else to add I'm open to suggestions

also if your upgrading from 1.05, 1.04 , 1.02 then uninstall the product and re-install it. If your upgrading from 1.06 then just update the product.
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 10:57 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.04794 seconds
  • Memory Usage 2,317KB
  • 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
  • (1)bbcode_html
  • (7)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
  • (1)pagenav_pagelinkrel
  • (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