Thread: Major Additions - [DBTech] vBCredits II Deluxe
View Single Post
  #124  
Old 07-29-2010, 07:58 PM
Darkwaltz4's Avatar
Darkwaltz4 Darkwaltz4 is offline
 
Join Date: Oct 2002
Location: Chicago
Posts: 1,538
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by x9751 View Post
After i made an event to give my users Credits when ever they posted one of them informed me their was a glitch (i had to threaten to IP ban him if he didn't tell me) and to get credits without posting they can edit one of their post and click save and it gives them more. How do i fix that?
Quote:
Originally Posted by Sarcoth View Post
Ahhh. That may explain it then. I have a couple users stating that they have more credits than they should. And, I went through their transaction log and I am noticing that problem. One of my users have 23 credits and their transactions say they should only have 9 credits.
Both of you need to set negation amounts on the post events. The way it works is that during editing, it negates the event and then reissues it, so that any different in credits will be realized. So if you didnt put a negation, then you effectively get a new reward by just editing your post.

Quote:
Originally Posted by Sarcoth View Post
Oooo, oooo! I got another suggestion. For the transferring of credits to someone else, the admin can set a charge to the users sending the credits, receiving, or both. In addition to that, can we have something that allows us not only to charge an certain amount, but a percentage of the amount sent? For instance, I'd like to set mine up to charge 5 credits to the sender as a flat rate when sending credits to someone else. Then, on top of that, I want them to get charged an additional, say 5% on the amount they send.
You can already do this. Set the event to Charge, then if you put a value on the Donate Amount = flat fee, Currency Amount = percentage fee (entered as a decimal). both work together, and you select who to apply it to (sender or receiver). You could, if you wanted, also award for donating at the same time

Quote:
Originally Posted by mattpist View Post
how do you uninstall this? i get database errors when uninstalling:

Code:
Database error in vBulletin 4.0.5:

Invalid SQL:
DELETE FROM vb_credits_display WHERE displayid IN ('postbit', 'memberlist', 'navbar', 'profile');

MySQL Error   : Table 'squattheplanet.vb_credits_display' doesn't exist
Error Number  : 1146
Request Date  : Wednesday, July 28th 2010 @ 04:39:43 PM
Error Date    : Wednesday, July 28th 2010 @ 04:39:43 PM
Script        : http://squattheplanet.com/community/admincp/plugin.php?do=productkill
Referrer      : http://squattheplanet.com/community/admincp/plugin.php?do=productdelete&productid=credits_vbulletin&s=
IP Address    : 69.20.181.226
Username      : Matt Pist
Classname     : vB_Database
MySQL Version : 5.1.39-log
Import the product for vbcredits again, then run the uninstall. Looks like you are missing a table somehow, but importing will restore that for you so you can complete the uninstall. Let me know how that goes.

Quote:
Originally Posted by kartik786 View Post
any plans of integrating this with facebook credits?
Where is that?
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01087 seconds
  • Memory Usage 1,783KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete