vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Add-On Releases - vBulletin Raffles (https://vborg.vbsupport.ru/showthread.php?t=262901)

socialteenz 08-08-2012 09:57 PM

Hello, i am getting this error When i try to enter/view a raffle.

Quote:

Warning: mysql_num_rows() expects parameter 1 to be resource, object given in [path]/raffles.php on line 337
Running 4.2

nhawk 08-09-2012 09:49 AM

Quote:

Originally Posted by socialteenz (Post 2355669)
Hello, i am getting this error When i try to enter/view a raffle.



Running 4.2

What do you have 'Maximum Entries Permitted', 'Time Between Entries' and 'Entries in Time Period' set to for that raffle?

socialteenz 08-09-2012 04:28 PM

Quote:

Originally Posted by nhawk (Post 2355761)
What do you have 'Maximum Entries Permitted', 'Time Between Entries' and 'Entries in Time Period' set to for that raffle?


Thank you, i changed the values & it worked great.

morrow 08-10-2012 11:20 AM

Nice mod... Installed with no issue for me. The only things... Why have the option to require a Paypal account if when you purchase a raffle ticket, it doesn't do anything?

Maybe have it send the user to paypal so they can submit a payment immediately after purchasing a ticket. Don't give the user the option to "get around to it". People do things spontaneously. Once the paypal payment has been made, email the ticket number.

Also, why not give the option when purchasing a raffle ticket to purchase 3 or 10 at a time rather than 1 per entry?

Finally, How about a navbar option? I know I can add this myself but it's always nice when the developer inserts an option into the CP to be able to include it.

Just my thoughts. Otherwise, nice mod.

nhawk 08-10-2012 12:27 PM

Quote:

Originally Posted by morrow (Post 2355967)
Nice mod... Installed with no issue for me. The only things... Why have the option to require a Paypal account if when you purchase a raffle ticket, it doesn't do anything?

Maybe have it send the user to paypal so they can submit a payment immediately after purchasing a ticket. Don't give the user the option to "get around to it". People do things spontaneously. Once the paypal payment has been made, email the ticket number.

Also, why not give the option when purchasing a raffle ticket to purchase 3 or 10 at a time rather than 1 per entry?

Finally, How about a navbar option? I know I can add this myself but it's always nice when the developer inserts an option into the CP to be able to include it.

Just my thoughts. Otherwise, nice mod.

The PayPal account is so the admin knows where to send cash prizes. It's not for purchasing tickets.

Purchasing tickets for cash is not handled by this add-on. It is handled by other add-ons available on vb.org. So, you can give them the options to purchase as many as you like.

A member CAN enter multiple times with one click. See the 'Maximum User Entries Permitted', 'Time Between Entries' and 'Entries in Time Period' settings for the raffle.

There are options to put the raffles in the community menu, the forum sidebar and in what's going on.

zapiy 08-28-2012 04:39 PM

Quote:

Originally Posted by nhawk (Post 2352706)
I can't duplicate this. Can you post all of the settings for your raffle and the raffle system itself?

What shows in the the vBcredits log for the transaction?

The deduction is a vBCredits function. In raffle.php, locate this code near the end php file and be sure it's identical to what is shown..

Code:

case 2:
        VBCREDITS::action('adjust', intval($vbulletin->userinfo['userid']), null, false, array('message' => $vbphrase['raffle_vbcredit_log'], 'currencyid' => $vbulletin->options['raffle_vbcredit_currency'], 'multiplier' => -(intval($cost * $usetickets))));
        break;


Fixed it cheers.. i had a small setting wrong.

Is there a vbadvanced block for this?

Cheers

nhawk 08-28-2012 04:59 PM

Quote:

Originally Posted by zapiy (Post 2360737)
Fixed it cheers.. i had a small setting wrong.

Is there a vbadvanced block for this?

Cheers

No there isn't. I don't have vbadvanced to be able to create and test one.

zapiy 09-05-2012 12:05 PM

That's a shame, bloody fantastic mod.

hakkuo23 10-12-2012 03:02 AM

Can you make a way so we can allow moderators to create raffles via the ModCP?

nhawk 10-12-2012 10:50 AM

Quote:

Originally Posted by hakkuo23 (Post 2372445)
Can you make a way so we can allow moderators to create raffles via the ModCP?

Not at this time.

But if you trust your moderators enough to create raffles to give away items on your site, you could give them limited admin access to the ACP and allow them to create raffles there.


All times are GMT. The time now is 04: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.01571 seconds
  • Memory Usage 1,745KB
  • 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_code_printable
  • (7)bbcode_quote_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