vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Invites System (https://vborg.vbsupport.ru/showthread.php?t=101801)

evenmonkeys 11-28-2005 08:19 PM

I know. Like... how many posts do they make to get one invite? I'm trying to figure this out because I don't want them getting one invite per post.

akanevsky 11-28-2005 08:31 PM

They get one invite for every 5 posts they made during last week.

evenmonkeys 11-28-2005 08:36 PM

Okay... In the update_invitecounts.php file... can I change the amount in the following line to a new number?

PHP Code:

$invitescount_change += floor($postcount['cnt'] / 5); 

Can I change the number five to say... thirty... and it will give one invite for every thirty posts?

akanevsky 11-28-2005 08:38 PM

Yes, that's right.
Should that be configurable in the next release?

evenmonkeys 11-28-2005 08:41 PM

I think it should be. Forums with a lot of active posting may not want to be giving out that many invites. For example, a site with 400,000 users who are each making 200+ posts per week would probably either kill the sites bandwidth that next Monday, or never have the time to use all of their invites. Yeah, I believe it should be added in the next update.

I appreciate your help. =D Great hack!

puertoblack2003 11-28-2005 08:46 PM

well written and like your style and something i was looking for **INSTALLED** :rolleyes:

Okanka 11-28-2005 08:51 PM

Thanks more good work ;) Clicked install :)

FleaBag 11-28-2005 08:59 PM

Hey this is a GREAT hack! Thanks a lot. :D

evenmonkeys 11-28-2005 09:09 PM

I'm back!!! ._.

I have a few users saying that the email is not being sent after they make the invite out and submit it. It's been half an hour and nothing. What could the problem be?

Revpolar 11-28-2005 09:30 PM

Can I add a usergroup to the list of those who cannot use this?


All times are GMT. The time now is 05:55 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.01219 seconds
  • Memory Usage 1,731KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete