vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Store Birthday Money? (https://vborg.vbsupport.ru/showthread.php?t=52388)

Koutaru 04-30-2003 09:31 PM

Store Birthday Money?
 
I was wondering if someone could make a hack where a user will get a certain amount of (lesane) store points on their birthday.

Of course, this hack needs to be protected. I don't want a user to keep changing his/her birthday every day in order to get the store points.

Maybe for protection, user can only be awarded with these points once a year. Once awarded points, they won't get another batch until a year later. If they change their birthday, they won't get their points until after a year later of the last date it was awarded but it will be then again rewarded on the specified new date.

I hope I haven't confused you ;)

Also, along the same lines I'd like to award store points for anniversaries of being on the board. As in year by year on the date they joined, they'll earn a certain amount of points

:) *smiles sweetly* Can someone please make this hack? It would be a nice addon

Koutaru 05-02-2003 10:22 PM

;) no one for this hack? It would be a nice addon for your members. Oo; you do like to give presents on birthdays right?

bharvey42 05-02-2003 10:41 PM

Thats a good idea

Koutaru 05-04-2003 08:04 PM

:) See someone agrees.. anyone up for this?

monstergamer 05-23-2003 07:44 PM

i agree too
and have it pm them saying (ex)happy birthday or some thing

Koutaru 05-24-2003 03:01 AM

^^ Of course --- anyone?

Erwin 05-24-2003 04:49 AM

The problem with this is that users can keep changing their birthday everyday to get points everyday. :)

Koutaru 05-25-2003 03:24 AM

Quote:

04-30-03 at 05:31 PM Koutaru said this in Post #1

Maybe for protection, user can only be awarded with these points once a year. Once awarded points, they won't get another batch until a year later. If they change their birthday, they won't get their points until after a year later of the last date it was awarded but it will be then again rewarded on the specified new date.


I thought about that earlier ;) my explaination might be a bit confusing though

007 05-25-2003 03:40 AM

Or you could just make it so everybody gets it on Christmas or New Years or some holiday. I mean if they're only getting it once a year, why not make it one day and call it good? :)

It would be cool to have it based on B-Day's too though I guess. No idea how to code this though..

Koutaru 05-25-2003 03:43 AM

I guess I could live with Christmas or even an anniversary of them joining the boards

But B-day would be cool :)

What would be even better is.. a hack that will allow you to imput dates or anniversaries you would like to award points towards

That probably would be very hard

Cyricx 05-25-2003 05:00 AM

I like this idea too,

as far as a fix for the changing bday, would it be difficult to code in a "check" to see if they have received the reward in the last year?

Koutaru 05-25-2003 06:02 PM

I think it would just add a column in a table -- like "lastrecieved" and if lastrecieved is within a year, it will stop the script from giving points

007 05-26-2003 04:50 AM

Anniversary of them joining the board would be best I think, since they can't change that date... ;)

Koutaru 05-26-2003 07:33 PM

I don't think anniversary will be as hard -- anyone? When I have the time I'll look into it but I'm currently in the middle of a few other projects

Koutaru 06-03-2003 02:02 AM

No one ???? :( Hmm guess I'll have a look when I have time

Steve W. 06-03-2003 05:54 PM

I think that would be an excellent hack!

MUG 06-03-2003 06:54 PM

People could exploit this by creating new accounts, setting the birthday to today and then donating the points to their main account.

Koutaru 06-03-2003 07:09 PM

As I said before, maybe just anniversary of registered date :)


All times are GMT. The time now is 07:52 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.01116 seconds
  • Memory Usage 1,743KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (18)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