vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   New Posting Features - Download Credit System (https://vborg.vbsupport.ru/showthread.php?t=78953)

tnguy3n 03-27-2005 10:00 PM

Download Credit System
 
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.

lasto 03-28-2005 03:48 PM

installed and works fine - was real easy installation as well.

One problem - it costs us our own credit to download any attachments we have uploaded.Should`nt anything we upload be free for us to download - but besides that it does what it says on the can :)

Well done m8 - quick and easy way to make people be active if they want something

nexialys 03-28-2005 03:48 PM

hum... we win points by posting etc... good thing, but would it be handy to compare with the other point systems (uShop etc) so there is no double points anywhere?!

or making this system compatible with the uShop would be even better... no need to edit all the files, just the download part...!!!
(these are suggestions thought!)

tnguy3n 03-28-2005 03:55 PM

good points, lasto. and thanks for the feedbacks guys. making it compatible with uCash system is on my todo list already. :)

lasto 03-28-2005 03:56 PM

you know for posts - 0.25

they never add up

i did four replys in suscession so should of got 1 point after the fifth reply it still never showed up

infact something aint right

i set it so u get 1 point for new thread and 1 point for each attachment

now just done a new thread and added an attachment with it but i only got 1 point altogehter ??

tnguy3n 03-28-2005 03:59 PM

Quote:

Originally Posted by lasto
you know for posts - 0.25

they never add up

i did four replys in suscession so should of got 1 point after the fifth reply it still never showed up

infact something aint right

i set it so u get 1 point for new thread and 1 point for each attachment

now just done a new thread and added an attachment with it but i only got 1 point altogehter ??

sorry, i use int type in that column, so it rounds up .25 = 0 . I forgot to change that value back in my installer.

lasto 03-28-2005 04:05 PM

tnguy3n i would actually use this but at moment im using it local on me comp.

Is this possible - if attachment is RAR then credit to download

if attachment is jpeg or gif its free so no credit needed - as i run a map forum for RTCW and ET and people upload maps as rars but they also add a preview pic and dont want to start charging people to view a preview pic.

Also this needs fixing badly

Quote:

Originally Posted by lasto

infact something aint right

i set it so u get 1 point for new thread and 1 point for each attachment

now just done a new thread and added an attachment with it but i only got 1 point altogehter ??

as you will penaliseing people who add attachments to their first post in a thread.

tnguy3n 03-28-2005 04:12 PM

another great suggested feature. You can just put an if...else statement in newattachment to check whether the uploaded file is within "credit-up" extensions.
I'll look into it later of the day (run for class now).

lasto 03-28-2005 04:16 PM

cheers m8 not sure how to do the statement so any help appreciated on that - catch u laters when u back from class.

Lionel 03-28-2005 10:21 PM

I would love to see this integrated with ushop


All times are GMT. The time now is 08:11 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01486 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete