![]() |
I'm new to vbulletin, so please be gentle with me if I did something stupid here. I installed this exactly as specified, but I hit "run now" for the update invites count" in the scheduled task manager, and got this error:
Warning: Division by zero in /includes/cron/update_invitecounts.php on line 79 It hasn't given any invites out at all. What did I do? |
download the hack again and reupload the file update_invitecounts.php
|
Quote:
|
Do you have 0 set for number of posts to recieve 1 invite? That would do it.
|
Quote:
That is exactly what I did. :speechless: Thank you for helping. Edit, oops, I made sure nothing is set to zero anymore, and I am still getting the same error. Apparently, that wasn't the fix I needed. |
works on 3.5.3 ?
|
i upgrade my testboard to 3.5.3 and mail function is working
but invite mails not working i donno maybe im too newbie here and need surfing forum more :D Edit: works fine on 3.5.3 |
Is no one else having this problem with people getting too many or negative invitations?
|
Negative invitations are by design :)
As for too many, you need to set up the minimum amount of reputations and/or posts to receive new invitations. |
Look man, I do have the settings configured properly. My settings are:
Invite System: Enabled Registration by Inivites Only: Enabled Mutual Buddies: Enabled Image Verification: Enabled Invite Expiration: 7 Min Posts to recieve changes in invites: 24 Min Reputation to Recieve Invites: -1 Invite Changes on Reputation: 1 Posts required to recieve One invite: 50 Now, people who have more than 24 posts are recieving 7 invites, when they should be recieving zero. This is due to your code, which starts invite_increment at 7 and subtracts 1 for every day inactive. So people that are active every day, yet make no posts or have any reputation changes are recieving 7 invites!! Also, the user who recieved -11 invites had 3 posts in the last week and had NO reputation changes. This is obviously not right; I have redownloaded your update_invitecounts.php file and verified that I am using the exact same file... |
All times are GMT. The time now is 10:53 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|