vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Add-On Releases - Jujubins Lottery (https://vborg.vbsupport.ru/showthread.php?t=201437)

jujubins 10-31-2009 09:05 AM

Quote:

Originally Posted by kalisekj (Post 1908554)
Although Ticket # is still not showing to the left of usernames that have a ticket. Unless Tickets Column is supposed to be Ticket Number and not Number of tickets the user has, for in case a person enabled Multiple tickets allowed per user in a month.

You're saying about "Your status?
To switch the side of the columns you need to edit the template jlottery_alltickets and jlottery_alltickets_bit.

Quote:

Originally Posted by NTMID8 (Post 1908575)
I have a formatting issue with the footer as seen in the attached screen shot. The time stamp is not wrapping correctly. Though this phrase is part of the footer template, it only has this issue on the lottery.php page, so I'm sure it is formatting with this mod. I've looked, but don't seem to see the issue.

This problem occurs in your skin. You need to adjust the mods templates according to your skin.

NTMID8 10-31-2009 12:20 PM

Quote:

Originally Posted by jujubins (Post 1908631)
This problem occurs in your skin. You need to adjust the mods templates according to your skin.

The templates are setup the same as all of my other pages. Unless there is something in lottery.php throwing it off, I can't figure it out. I would have assumed it would be in lottery_SHELL template, but it is fine. I can't seem to get this formatting error fixed.

kalisekj 11-01-2009 06:12 PM

Ok Just an FYI My First Lottery completed yesterday and I have Thread ID and Posters ID set and no Post Was created in the thread. :( Although it does say to see the post on the winner check here and lists the thread for the Lottery.

MagicThemeParks 11-02-2009 10:43 AM

Definitely watching this one :)

What does the thread that is automatically started supposed to say or display?

kalisekj 11-02-2009 01:42 PM

Magic,
You create a thread giving your rules to the contest, then you place the thread id of your thread within the JUJUBins Lottery ACP options. In There you also Have Winner Post Msgs which you can modify to your liking.

Jhonnydc 11-04-2009 08:19 AM

1 Attachment(s)
I have some problems...

1 - If I set One ticket for a day....I take a ticket, but the system answer like photo...

https://vborg.vbsupport.ru/attachmen...1&d=1257329706

https://vborg.vbsupport.ru/attachmen...1&d=1257329706

2 - I have set all details but the system not post in the select 3ead the post's winner.

https://vborg.vbsupport.ru/attachmen...1&d=1257329706

https://vborg.vbsupport.ru/attachmen...1&d=1257329706

The forum section for this try is locked to register member...is this the problem?
because the poster userd ID is of the staff member... allowed for that forum section.

Jhonnydc 11-17-2009 01:09 PM

News?

Welshy2008 11-17-2009 03:12 PM

Quote:

Originally Posted by JTS2005 (Post 1882044)
anyway to incorporate paypal system so that we can charge per # of tickets bought? I think this would be a great idea for those that need a way to sell lottery tickets.

Is it possible for you to do the above mention quote, please?

What is the latest on this Please?

Just read through 6 pages. (Will install as soon as it is fixed).

isatice 11-18-2009 12:23 AM

so what's the award ?

kaderith 12-02-2009 11:47 PM

The lottery script is sort of working, when I run the drawing it will pick a winner and display the winner but..

At the same time I'm getting an SQL error as follows:

MySQL Error : Unknown column 'lastedit' in 'field list'
Error Number : 1054
Request Date : Wednesday, December 2nd 2009 @ 06:44:47 PM
Error Date : Wednesday, December 2nd 2009 @ 06:44:47 PM
Script : http://www.thegatheringroom.org/foru...cron&cronid=45
Referrer : http://www.thegatheringroom.org/foru....php?do=modify
IP Address : 68.0.17.55
Username : admin
Classname : vB_Database
MySQL Version : 5.0.81-community-log

jimsflies 12-08-2009 02:19 PM

Quote:

Originally Posted by kalisekj (Post 1909081)
Ok Just an FYI My First Lottery completed yesterday and I have Thread ID and Posters ID set and no Post Was created in the thread. :( Although it does say to see the post on the winner check here and lists the thread for the Lottery.

Same issue here...no post was created after drawing complete.

Also would it be possible to modify the script to allow multiple drawings concurrently...for different user groups?

Yehoshua Sofer 12-14-2009 12:09 AM

Since the task scheduler does not seem to have a month option does that mean we can only set the lottery to run within the month and not span say two months? If anyone can help I would greatly appreciate it. Thanks

Yehoshua

Yehoshua Sofer 12-31-2009 11:27 PM

Last month I ran the lottery on my forum and it worked perfectly. Now I am trying again but I get the error message below


Warning: Cannot use a scalar value as an array in [path]/lottery.php on line 86

Anyone know what I am doing wrong?

Yehoshua Sofer 01-01-2010 05:29 AM

It appears no one is supporting this mod. I guess I will uninstall it. Does anyone know of a similar mod.

kaderith 02-14-2010 08:38 PM

Any news on whether or not this mod will be updated for compatibility with vB 4.x?

It's a huge favorite with the members of my board.. I really want to to upgrade to use vB 4.x but if I was to do so and loose the drawings we run every month I think our members might mutiny ...

:)

bgg 02-21-2010 05:09 PM

Quote:

Originally Posted by kaderith (Post 1982424)
Any news on whether or not this mod will be updated for compatibility with vB 4.x?

It's a huge favorite with the members of my board.. I really want to to upgrade to use vB 4.x but if I was to do so and loose the drawings we run every month I think our members might mutiny ...

:)


I also would be interested in it's migration... I may be forced to attempt it myself but I'm not exprienced with VB mods yet... Is updating it just a matter of remapping fields and finding new templates and all that... or is it more complicated then that?

I'd be willing to pay someone... I need a mod to allow my to give away a board game once a month to active/subscribing/purchsining members...

James

bada_bing 06-30-2010 02:52 AM

I am getting an error when my lottery cron job runs, does anyone know how to fix this

Code:

Warning: array_fill() [function.array-fill]: Number of elements must be positive in [path]\includes\cron\lottery.php on line 17

Warning: array_rand() [function.array-rand]: First argument has to be an array in [path]\includes\cron\lottery.php on line 18
Winner created.

Done


clubcivic.com 07-13-2010 05:42 PM

I just installed this on my 3.8.5 board and had these issues as well. I posted how I fixed them below if you didn't figure it out yet.

Quote:

Originally Posted by kaderith (Post 1924420)
The lottery script is sort of working, when I run the drawing it will pick a winner and display the winner but..

At the same time I'm getting an SQL error as follows:

MySQL Error : Unknown column 'lastedit' in 'field list'
Error Number : 1054
Request Date : Wednesday, December 2nd 2009 @ 06:44:47 PM
Error Date : Wednesday, December 2nd 2009 @ 06:44:47 PM
Script : http://www.thegatheringroom.org/foru...cron&cronid=45
Referrer : http://www.thegatheringroom.org/foru....php?do=modify
IP Address : 68.0.17.55
Username : admin
Classname : vB_Database
MySQL Version : 5.0.81-community-log

On line 31 and 32 of includes/cron/lottery.php replace the $create = $vbulletin->db->query_write("INSERT INTO .... ");

with

$create = $vbulletin->db->query_write("INSERT INTO `".TABLE_PREFIX."post` (`postid`, `threadid`, `parentid`, `username`, `userid`, `title`, `dateline`, `pagetext`, `allowsmilie`, `showsignature`, `ipaddress`, `iconid`, `visible`, `attach`, `infraction`, `reportthreadid`)
VALUES (NULL, '".$vbulletin->options['jlottery_topic']."', '".$thread['firstpostid']."', '".$user['username']."', '".$vbulletin->options['jlottery_userid']."', '', '".$time."', '".$congratulationpost."', '1', '0', '127.0.0.1', '0', '1', '0', '0', '0')");

Quote:

Originally Posted by NTMID8 (Post 1908575)
I have a formatting issue with the footer as seen in the attached screen shot. The time stamp is not wrapping correctly. Though this phrase is part of the footer template, it only has this issue on the lottery.php page, so I'm sure it is formatting with this mod. I've looked, but don't seem to see the issue.

In the 'jlottery_SHELL' template.

before:
$footer

add:
<div style="clear:both;"></div>

fevredsuk 12-17-2010 09:43 AM

would be brilliant edition to vb4 this, says hes going to update it, but nothing yet :(

WEBDosser 03-06-2011 05:54 PM

interesting

KProjects 04-14-2011 04:50 PM

tagged


All times are GMT. The time now is 05:27 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.01354 seconds
  • Memory Usage 1,777KB
  • 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
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (21)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