![]() |
Ahhh, I thought you could not see his site. Well you need to be a member to see the raffles, then you will see the raffles link it the community dropdown, http://snogssite.com/raffles.php
|
Quote:
Thanks Ozzy! |
Getting white screen when trying to view in default mobile style
|
Quote:
It should not even be showing any information for the raffle in the mobile style. |
I know this mod isn't supported anymore, so I'm hoping someone that has it installed can help.
I have the mod up and running and am trying to use it with vBCredits. The setup appears to be correct as it finds the right data as it'll show how many credits people have when they attempt to purchase a ticket. However the problem is, it's not deducting the credits at all. So basically everything is free. I've checked the vBCredits logs and there's no entry for any deductions at all. I've run the scheduled tasks, etc. Nothing at all. So, hopefully someone out there has an idea of what might be happening. Thanks for any help! |
Ok, after this I was digging in the code and figured it out.
Incase anyone else has a similar issue: I'm using another currency than the default currency in vBCredits. I had to credit another event "Adjust" for the currency I use for the raffles. Once I did that, it worked perfectly. |
Quote:
|
Quote:
|
Quote:
https://vborg.vbsupport.ru/attachmen...1&d=1408815708 If it's not deducting credits, then either something has changed in vBCredits or I need to look into why it's not deducting them. EDIT: I just checked with the version I have (version 2.1.0) and credits are being deducted for raffles using a custom currency. And it is being logged in the vBCredits log. https://vborg.vbsupport.ru/attachmen...1&d=1408816105 |
Yes, if you're using the default currency type, there is no issue and it works exactly as you said.
However, if you switch to another currency type from the default (aka create another new currency), there are no events for it. So there is no "Adjust" event and the credits can't be adjusted until that event is created for that new currency. This isn't a problem with your mod, or even vBCredits. But if someone does the same thing (creates a new currency), they'll need to add a new Adjust event, which is why I posted how to make it work here. |
All times are GMT. The time now is 01:23 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:
|