vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   require refered members to make x posts before increasing referal # (https://vborg.vbsupport.ru/showthread.php?t=93963)

jroy 08-09-2005 11:48 PM

require refered members to make x posts before increasing referal #
 
Hi, I am looking for a hack that requires refered members to make atleast x amount of posts before the person who refered them gets forum points and before their referal number gets increased. I am trying to stop people from referring members who wont post in order to earn forum points.

Logikos 08-10-2005 03:52 AM

Hmmm, this is a pretty good idea.

Notes for me: The way this could be done is to create a new row in the user table 'int(5)'. upon registering if a user enters a referer, then it will query the database with '1' in the new user row. A cron can check all users that have been refered to see there postcount. If there post count is '=< X': Run Query.

Sorry thats some notes of how this can be done. If I have some time tomorrow I can see about doing this.

vBintense 08-10-2005 05:35 AM

Could add it to nightly cron job, or hourly depends how fast it really matters if it shows.

But I like the idea as well.

jroy 08-10-2005 09:10 AM

glad you guys like it

EricaJoy 08-10-2005 12:21 PM

i would say check out the referral statistics hack as well to see if that could somehow be used to help in this as it SORT OF does this already.

https://vborg.vbsupport.ru/showthread.php?t=64469


All times are GMT. The time now is 09:07 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.00985 seconds
  • Memory Usage 1,713KB
  • 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
  • (5)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