vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vbBux / vbPlaza (https://vborg.vbsupport.ru/forumdisplay.php?f=171)
-   -   Feature request: wait till end of day to collect tokens (https://vborg.vbsupport.ru/showthread.php?t=119453)

keithsl 06-23-2006 03:23 PM

Feature request: wait till end of day to collect tokens
 
We use points on our forums for a lot of different things besides the forum shop. A lot of users join our forums and just spam topics to get tokens.

Is there anyway that instead of giving points to users as soon as they post, it would wait until the end of the day and give everyone their points at once?

CMX_CMGSCCC 06-28-2006 01:35 PM

The only way to do something like this, would be to add the points accumulated into a different field in the user table and have it award the points in the other userfield in a cron task.

Which imo, doesnt really sound that practical and doesnt warrant having another field in the user table for this, although, u could add support for this on ur own I'd think just by manually adding a new table to ur user table, changing the points table in the vbBux Settings to ur newly created table, and creating a CRON task to transfer the points hourly, nightly, etc..

-CMX

keithsl 07-01-2006 12:51 AM

This works fine except on the postbit template it shows the temp column as how many tokens they have. I found in the template that it is $post[points] but I'm not sure where that get referenced at.

Also this makes everything you spend in the shop use the temp column instead of the regular one. I'm not sure if this would really work out for us. Any ideas?

CMX_CMGSCCC 07-13-2006 07:36 PM

Without seeing what u have modified, I cant really comment further on the situation.

$post[points] is set in the plugins though in the plugins folder in various places.

-CMX


All times are GMT. The time now is 01:08 AM.

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.01121 seconds
  • Memory Usage 1,705KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete