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

Reply
 
Thread Tools
tDigg - Digg like system for threads Details »»
tDigg - Digg like system for threads
Version: 1.00, by Coders Shack Coders Shack is offline
Developer Last Online: Sep 2013 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.7 Rating:
Released: 06-26-2007 Last Update: 06-26-2007 Installs: 215
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: < 1 mins
Product: 1
File: 1
VB Version: 3.6.X


Description: [hr]value[/hr]
Creates a digg-like system that runs alongside your threads, stuck threads always stay on top but threads with more than one "digg" will show up before threads with 0 or less than zero "diggs"

[DEMO]

Installation Instructions: [hr]value[/hr]
  1. Install Product
  2. Upload the misc folder to your style directory
[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 06-27-2007, 11:17 PM
rootnik rootnik is offline
 
Join Date: Jun 2002
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Coders Shack,

I finally got to play around with this again tonight. It only seems to work for me if I set more than 1 forum. If I only set 1 forum, the array is ignored.

I *THINK* I read somewhere a while back about php5 (at least some versions) handling some array functions differently than php4, where these versions of php expect the array to be a true array (more than 1 item).

Or maybe that was in a dream. Anyhow, it works for me (php 5.2.1) if I have more than 1 forum listed.
Reply With Quote
  #33  
Old 06-27-2007, 11:18 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 rootnik View Post
Coders Shack,

I finally got to play around with this again tonight. It only seems to work for me if I set more than 1 forum. If I only set 1 forum, the array is ignored.

I *THINK* I read somewhere a while back about php5 (at least some versions) handling some array functions differently than php4, where these versions of php expect the array to be a true array (more than 1 item).

Or maybe that was in a dream. Anyhow, it works for me (php 5.2.1) if I have more than 1 forum listed.
hmm so if i just added 0, to the array it would be fine?
Reply With Quote
  #34  
Old 06-27-2007, 11:20 PM
edenx edenx is offline
 
Join Date: Nov 2006
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Doesn't work for me...
Reply With Quote
  #35  
Old 06-27-2007, 11:32 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 edenx View Post
Doesn't work for me...
enter more than one forum ID?
Reply With Quote
  #36  
Old 06-27-2007, 11:53 PM
edenx edenx is offline
 
Join Date: Nov 2006
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Coders Shack View Post
enter more than one forum ID?
neither. nothing happens when pressing the thumbs up button
Reply With Quote
  #37  
Old 06-27-2007, 11:54 PM
rootnik rootnik is offline
 
Join Date: Jun 2002
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Coders Shack View Post
hmm so if i just added 0, to the array it would be fine?
Yes, I just tested 0 in my array and it worked as expected.
Reply With Quote
  #38  
Old 06-28-2007, 12:34 AM
dope15gd dope15gd is offline
 
Join Date: Jan 2006
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by edenx View Post
I dont want to rate by "diggs" I want to be able to do this when viewing a forum

"show me only the threads that have 10+ digg votes"
"show me only the threads that have 5+ digg votes"

I like this idea. I'd also like it if there was a setting where a thread with x amount of negative votes would be locked automatically.
Reply With Quote
  #39  
Old 06-28-2007, 12:43 AM
subnet_rx subnet_rx is offline
 
Join Date: Mar 2005
Posts: 294
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think this is an excellent idea, I too would like to see different things happen based on how a thread is modded. Or maybe a algorithm where diggs and replies both come into play when judging what is on the first page of a forum.
Reply With Quote
  #40  
Old 06-28-2007, 02:22 AM
rootnik rootnik is offline
 
Join Date: Jun 2002
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It may be useful to have an option to not allow 'sticky' threads to be 'dugg'.
Reply With Quote
  #41  
Old 06-28-2007, 02:27 AM
glorify's Avatar
glorify glorify is offline
 
Join Date: Aug 2004
Posts: 376
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works great now in postbit legacy

If you did something that grabbed the latest digs or most dugg, then added them to the forumhome somewhere, it would be fairly easy to do for vb advanced. I'd replace my current vba news module with this.
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 02:01 PM.


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.13156 seconds
  • Memory Usage 2,314KB
  • 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
  • (5)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