Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Download Credit System Details »»
Download Credit System
Version: 1.00, by tnguy3n tnguy3n is offline
Developer Last Online: Sep 2010 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.0.7 Rating:
Released: 03-27-2005 Last Update: Never Installs: 57
DB Changes
 
No support by the author.

Author: tnguy3n (Thinh Nguyen)
Live Demo: http://www.all4actions.net
Description:
This hack allows admin to set a specific amount of credit required to download each attachment. Admin can assign which forums this hack to take effect, excluding usergroups not to be restricted by it, resetting user's credit ...
Users can earn credits by making threads/replies, or sharing their files (upload). This hack may become handy in some ways, it forces members on your board to post more to earn credits, also to prevent leechers.
Default settings of of Download Credit System is off. Go to Admincp -> vBulletin Options -> Download Credit System to activate it.

VERSION v.1.1 is newest release. If you installed previous version, please reverse it (actually, just 3 files: includes/functions_newpost.php, attachment.php, newattachment.php), then re-install new one.

Features:
- Ability to reset users credits
- Exceptional Groups
- Credit System Applied To Specific Forums
- Credits Per Post
- Credit Per Thread
- Credit Per Attachment
- Download Cost (users download their own attachments at no cost)
- Pet Owning Cost **

Planned features: (next release)
- ucash/ushop integration
- paypal integration

Queries (run installer http://yoursite/forum/admincp/credit..._installer.php)
File Modification: 4
Template mod: 2
Installation Time: 3-5 mins
Tested in vb 3.0.3 -> 3.0.7

Pls click INSTALL button if you use it.

Show Your Support

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

Comments
  #42  
Old 03-30-2005, 06:44 PM
ChrisSy ChrisSy is offline
 
Join Date: Mar 2002
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what about a way of limiting how many credits a member can daily use?
Reply With Quote
  #43  
Old 03-30-2005, 06:49 PM
lasto lasto is offline
 
Join Date: Jan 2002
Posts: 1,514
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thats an excellant idea ChrisSy - lets hope its possible - say admin specify in admincp how much each user can use and if they go over that quoto then it will show em the error screen.
Reply With Quote
  #44  
Old 03-31-2005, 06:48 AM
Deaths Deaths is offline
 
Join Date: Oct 2004
Location: Europe, Belgium
Posts: 679
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm, I guess that could be done by adding an extra field, which resets dayly...
Reply With Quote
  #45  
Old 04-01-2005, 09:58 AM
NitroMan NitroMan is offline
 
Join Date: Mar 2005
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can someone help me i have done this hack and
it wont show how many credits that u have
Reply With Quote
  #46  
Old 04-01-2005, 10:03 AM
lasto lasto is offline
 
Join Date: Jan 2002
Posts: 1,514
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it wont show credits m8 till you actually earned some.

Simple test - whatever forum u set up to allow credits in - go in there make a new thread and add a small rar as an attachment then your credits will show up.
Reply With Quote
  #47  
Old 04-01-2005, 10:24 AM
NitroMan NitroMan is offline
 
Join Date: Mar 2005
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i left it balnk like tnguy3n said to do
and still dosent show
Reply With Quote
  #48  
Old 04-01-2005, 10:36 AM
lasto lasto is offline
 
Join Date: Jan 2002
Posts: 1,514
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

u left what blank m8 ?
u still need to select a forum in admincp as to where the credits will be added.without this no credits will be issued.

put a forumid in the credit system in admincp then go do a new thread - it will work then.
Reply With Quote
  #49  
Old 04-01-2005, 10:46 AM
NitroMan NitroMan is offline
 
Join Date: Mar 2005
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lasto i did that also as u suggested and it still didnt work
Reply With Quote
  #50  
Old 04-01-2005, 10:48 AM
NitroMan NitroMan is offline
 
Join Date: Mar 2005
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

and i keep getting this everytime i try to install it

There seems to have been a slight problem with the ###### database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.

Database error in vBulletin 3.0.7:

Invalid SQL: ALTER TABLE user ADD credits INT(10) DEFAULT '0' NOT NULL;
mysql error: Duplicate column name 'credits'

mysql error number: 1060

Date: Friday 01st of April 2005 06:46:36 AM
Script: http://www.############.com/forums/a...php?op=install
Referer: http://www.###########.com/forums/ad..._installer.php
Username:
IP Address:
Reply With Quote
  #51  
Old 04-01-2005, 10:50 AM
NitroMan NitroMan is offline
 
Join Date: Mar 2005
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have went in and removed the columns called credit
in the db and still when it gets to that point it stops
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 08:30 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.05240 seconds
  • Memory Usage 2,302KB
  • 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)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)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