View Single Post
  #2430  
Old 02-27-2006, 12:11 PM
CMX_CMGSCCC CMX_CMGSCCC is offline
 
Join Date: Sep 2003
Posts: 1,218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by X-Files
1. Reporting. We need reports on what has been purchased and a full report on the admin donate. Is this type of information available?
2. Deleting a thread removes points. This is important because users are charged to use a certain forum and if they do not have enough points we will delete their thread and we want the points added back. So if we subtract a negative number it should add points and if we subtract positive point for other threads that they get points for posting in it will remove points. I hope I am making sense.
3. What about restricting the total points users are allowed to accumulate in a 24 hour period?


Thanks for all your hard work. We are looking into both products to decide which is best for us.

We are using ucash 1.1.1 now.
1) There is a fully viewable Item History on the eStore page itself. It shows the top 5 sold items on the main page. Then when you view a category, it shows all items in the category with a View button on the right to view the history for that item. The Item History page itself is fully paged and everything so if there are 10000 entries, it will show 1,2,3, etc.. pages just like vB shows pages for the Threads. Also there is a fully searchable Admin CP feature for Item History as well.

2) The only reason I do not wish to look at removing points upon deleting posts is for the simple reason that u have to first get everyone who posted in the thread, and how many times they have posted in that thread and then calculate the amount of points to remove per post, amount of points to remove per character, amount of points to remove per views, amount of points to remove per thread creation, and then update each individual user in the database. And everyone will have posted a different amount of times so u cant even do a simple query for "IN (1,2,3,)" for the MySQL command. So it could be 1000 queries if 1000 different people posted in a single thread. If u know a way to do it in 1 query let me know

3) This would be a difficult item to achieve, it would have to basically add a second points column and increase it every time the points gets increased from actions. And inside the WHERE clause where it updates the users points, it would have to do "AND (pointstoday < $maxpointsperday)" which is plausible I guess, but thats a pretty big change since it changes the WHERE clause as well as adds another field to SET for every MySQL query. In other words, I'm not sure the amount of time put into it and making sure everything is working properly as well as On/Off variable for it as well, is worth it at this time.

-CMX
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01365 seconds
  • Memory Usage 1,770KB
  • 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_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