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
  #112  
Old 06-24-2005, 09:30 AM
Skyline_GT Skyline_GT is offline
 
Join Date: May 2003
Location: Vancouver, BC
Posts: 482
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ushkand
What am I doing wrong? I did all the modifications, ran the installer but I don't see any options in admincp.
the query that you ran has some problems... that's why it doesn't show.. just go to your phpmyadmin and fix it there...
Reply With Quote
  #113  
Old 06-24-2005, 03:13 PM
ushkand ushkand is offline
 
Join Date: Dec 2003
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Skyline_GT
the query that you ran has some problems... that's why it doesn't show.. just go to your phpmyadmin and fix it there...
Thanks. For some reason my settings columns are not in the same order and hence had to manually change the values. But its working now. Thanks again.
Reply With Quote
  #114  
Old 07-07-2005, 03:59 PM
Adam21 Adam21 is offline
 
Join Date: Apr 2005
Location: In The Network!
Posts: 299
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ran into the following errors when editing the postbit_legacy template.after i click "save",this comes out
************************************************** ********
The following error occurred when attempting to evaluate this template:

Quote:
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/myforum/public_html/includes/adminfunctions_template.php(3096) : eval()'d code on line 201

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
************************************************** ********

So,i did a check on the "/includes/adminfunctions_template.php",this is what is put in the file

This is on line 3096
Code:
eval('$devnull = "' . $template . '";');
This is on line 201
Code:
UPDATE " . TABLE_PREFIX . "style
After i ignore,and go ahead and save this template,i tried to upload a attachment.All i see is the words in red "Need 5 credits to download" .Did not see user's own credits,posts to dates and others.however,i still can view my own attachment.
Can someone who have successfully uploaded this hack,or anyone with this problem before or just about anyone,can help me solve this problem please?
Reply With Quote
  #115  
Old 07-14-2005, 05:37 AM
bryan09 bryan09 is offline
 
Join Date: May 2005
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If I want to uninstall this script, what are the proper ways to do so?
Reply With Quote
  #116  
Old 07-20-2005, 09:13 AM
csidlernet csidlernet is offline
 
Join Date: Apr 2003
Location: sydney
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks. exactly what i've been looking for!
Reply With Quote
  #117  
Old 07-28-2005, 12:23 AM
johnmmichael johnmmichael is offline
 
Join Date: Jun 2005
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed the hack is showing ,everything ok but do Ineed to put tags or something like that ?
Reply With Quote
  #118  
Old 08-01-2005, 05:21 PM
bryan09 bryan09 is offline
 
Join Date: May 2005
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If I want to uninstall this script, what are the proper ways to do so?
Reply With Quote
  #119  
Old 08-05-2005, 10:30 AM
Xalibur Xalibur is offline
 
Join Date: Sep 2004
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone done a port for this to 3.5 yet ?
Reply With Quote
  #120  
Old 08-05-2005, 05:30 PM
xtreme-mobile xtreme-mobile is offline
 
Join Date: Jul 2004
Posts: 366
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

haveing small probelm here

if i download an attachment ot create a thread etc its awarding or taking credits away from all my members not just me, any ideas how to fix this lol

regards

dean
Reply With Quote
  #121  
Old 08-05-2005, 05:34 PM
xtreme-mobile xtreme-mobile is offline
 
Join Date: Jul 2004
Posts: 366
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

also it still allows you to download even though you have no credits
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 07:04 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.06695 seconds
  • Memory Usage 2,309KB
  • 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
  • (2)bbcode_code
  • (3)bbcode_quote
  • (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
  • (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