vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - Casino (w/ 10 player poker) (https://vborg.vbsupport.ru/showthread.php?t=159151)

Andrew Green 11-28-2007 07:53 PM

Quote:

Originally Posted by ezurick (Post 1391118)
I am using IE 6 and it is working fine (.72).

--------------------------------------------------------
I need a way to change the $ (dollar sign) on the Lottery.
I have visitors thinking that it is REAL dollars... lol. I
tried searching through the casino.php but I can not
find what is posting this. I really want to delete it, cause
I use vbcredits on my forum and $ don't equal credits.

Any help?

The phrase casino_currency_maker is what you are looking for. Also the change you made to the postbit said "$$cash", change the first "$" there

peterpigman 11-28-2007 08:54 PM

Quote:

Originally Posted by peterpigman (Post 1390722)
I think the lottery has stopped working in .72, it is active in cpanel but it is saying "No Draw Active at this time, please check back later"
Tried to run it and it said



Any Ideas on this? I have reinstalled and stuff still not working.

dodgeboard.com 11-28-2007 09:12 PM

Yes Peter,

Mine is doing the same thing. I originally thought mine was working as the draw was activated by the previous version. I then installed .72 and after the drawing (9 pm) there are no upcoming draws. Tried to run the scheduled task in admincp, just like you did and got the same error you got.

Quote:

Casino Lottery Draw

Fatal error: Call to a member function on a non-object in /home/*****/public_html/forums/includes/cron/casino_lotto.php on line 127
There are no numbers being drawn in the lottery and the lottery is on. Tried reapplying settings but that did not work.

In Lottery, it just says:

Quote:

No Draw Active at this time, please check back later

Sunray2 11-28-2007 09:23 PM

Quote:

Originally Posted by Andrew Green (Post 1391230)
That's strange, the file that counts on this is slots_ajax.php, if nothing in it has changed then that's likely not it. WOuld you be able to send me a link to your site?

Okay, but it is going to take me a few minutes. I will pm you with a login.

Thanks,

C.

Andrew Green 11-28-2007 09:37 PM

Quote:

Originally Posted by peterpigman (Post 1391276)
Any Ideas on this? I have reinstalled and stuff still not working.

Yes, problem is here:


Line 127 / 128 are now:

Code:

        $settings = $db->query_read($query);
        $setting = $db->fetch_array($settings);

They should be:

Code:

        $settings = $vbulletin->db->query_read($query);
        $setting = $vbulletin->db->fetch_array($settings);


Will be fixed next time I update, or making that change will do it.

peterpigman 11-28-2007 09:42 PM

Quote:

Originally Posted by Andrew Green (Post 1391311)
Yes, problem is here:


Line 127 / 128 are now:

Code:

        $settings = $db->query_read($query);
        $setting = $db->fetch_array($settings);

They should be:

Code:

        $settings = $vbulletin->db->query_read($query);
        $setting = $vbulletin->db->fetch_array($settings);


Will be fixed next time I update, or making that change will do it.

Yeah that fixed it ty, I had to run one through scheduled tasks first but it then worked. :up:

dodgeboard.com 11-28-2007 09:43 PM

Quote:

Originally Posted by Andrew Green (Post 1391311)
Yes, problem is here:


Line 127 / 128 are now:

Code:

        $settings = $db->query_read($query);
        $setting = $db->fetch_array($settings);

They should be:

Code:

        $settings = $vbulletin->db->query_read($query);
        $setting = $vbulletin->db->fetch_array($settings);


Will be fixed next time I update, or making that change will do it.


Yep! That fixed it. Lottery is now working.

Thanks AGAIN Andrew!!

Wild Bronco 11-29-2007 12:19 AM

Some translation is needed in casino.php?do=stats ;)

Wolf Link 11-29-2007 12:24 AM

Do you know if this works with VBCredits?

Andrew Green 11-29-2007 02:09 AM

Quote:

Originally Posted by Geiri (Post 1391382)
Some translation is needed in casino.php?do=stats ;)

Phrasing is not finished, getting there, but still got a fair bit to go


All times are GMT. The time now is 07:34 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.03830 seconds
  • Memory Usage 1,753KB
  • 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
  • (6)bbcode_code_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)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