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)

towermatt 11-02-2007 06:32 PM

Thanks Andrew--its not too big a deal so I can wait.

But I appreciate you throwing it on there, we have it figured out now so we won't have to do too much with it in the future.

I am going to strip that file of the "unremarks" tomorrow.

Do I have to do that every time there is an upgrade or can I just save a version of it and upload everytime?

Andrew Green 11-02-2007 06:44 PM

I'm still not really sure what causes the problem you've been having, seems slightly random, so it might need something, might not.

towermatt 11-02-2007 07:29 PM

hahaha

Okay, I don't mind fixing it every time I guess. :)

SVTCobraLTD 11-03-2007 12:43 AM

Is there anything to intergrate vbcredits into this to use as cash?

SVT

Andrew Green 11-03-2007 01:22 AM

Quote:

Originally Posted by SVTCobraLTD (Post 1374533)
Is there anything to intergrate vbcredits into this to use as cash?

SVT


Yes, instructions are in the readme.txt file.

bbchevy396 11-03-2007 03:51 AM

Installed , and a bit hit! Thanks!

One question, it may have been asked, but 97 pages is alot of posts to look through.
How about "no limit", or "All-in" Texas Hold'em?...... It would spice things up a bit. My members have been asking.

thanks again!

Jim

wickedstangs 11-03-2007 06:14 AM

Just installed and got an error when trying to play the card games. Looks like the slots and lottery are working? Also, How do I enable AJAX and Javascript?

Quote:

Warning: require_once(../mkportal/include/VB/vb_out.php) [function.require-once]: failed to open stream: No such file or directory in /includes/functions.php on line 5170

Fatal error: require_once() [function.require]: Failed opening required '../mkportal/include/VB/vb_out.php' (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/generals') in /home/gmntmare/public_html/community/includes/functions.php on line 5170

SVTCobraLTD 11-03-2007 11:55 AM

Where can I fix the coding for the entering of the games?

When I click on a game it is doing /forums/casino/casino.php but needs to be /forums/casino.php

Also when I go into the index of the games, it says "$" but has no amount next to it. I changed the default cash to vbcredits and when I get a game to load, it does show my current amount of credits.

I tried installing
Quote:

<a href="casino.php?$session[sessionurl]">Enter Casino</a></td>
at the top of my arcade but for some reason it is not showing up anywhere on that page. Is that coding incorrect?

SVT

993ti 11-03-2007 01:32 PM

You might want to check this for the arcade thingy:
https://vborg.vbsupport.ru/showpost....postcount=1029

Not sure why it goes to casino/casino.php, it installed perfectly on my board (3.6.8 patch 1).

Twilkey 11-03-2007 01:41 PM

Quote:

Originally Posted by SVTCobraLTD (Post 1374774)
Where can I fix the coding for the entering of the games?

When I click on a game it is doing /forums/casino/casino.php but needs to be /forums/casino.php

Where did you install the casino.php. It should be in your forums root folder. Not in the casino folder.

SVTCobraLTD 11-03-2007 02:16 PM

Quote:

Originally Posted by Twilkey SRT (Post 1374820)
Where did you install the casino.php. It should be in your forums root folder. Not in the casino folder.

casino.php is in the forums folder not in the casino folder. I found out what the problem was... i was trying to access it by going to mysite.com/forums/casino/index.php But if I do mysite.com/forums/casino.php it all is fine. Now I just need to read that other thread about the link in the arcade. Thanks

SVT

towermatt 11-03-2007 02:52 PM

I put on the upgrade, stripped all the remarks out of texasholdum_functions.php--reuploaded that file to my server and I am still getting the javascript error in the Hold Um game.

I went over and over the file to make sure I removed them all so I'm not sure what to do from here.

Also tried uploading that same file (that you fixed for me) in there, still the same thing

Andrew Green 11-03-2007 03:29 PM

Quote:

Originally Posted by wickedstangs (Post 1374676)
Just installed and got an error when trying to play the card games. Looks like the slots and lottery are working? Also, How do I enable AJAX and Javascript?

This looks like something going wrong with the mkportal portion of your site, I'm guessing it had you edit functions.php?


You could try changing it's include functions to point to the full path of the mkportal files rather then "'../mkportal..."

wickedstangs 11-03-2007 04:54 PM

Quote:

Originally Posted by Andrew Green (Post 1374887)
This looks like something going wrong with the mkportal portion of your site, I'm guessing it had you edit functions.php?


You could try changing it's include functions to point to the full path of the mkportal files rather then "'../mkportal..."

Andrew thanks for the quick reply. But, you are way over my head :) when you say try changing its include functions to point to the full path of the mkportal files rather then? Can you give me a little of more info...

Thanks again..

Andrew Green 11-03-2007 05:02 PM

Quote:

Warning: require_once(../mkportal/include/VB/vb_out.php) [function.require-once]: failed to open stream: No such file or directory in /includes/functions.php on line 5170

Fatal error: require_once() [function.require]: Failed opening required '../mkportal/include/VB/vb_out.php' (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/generals') in /home/gmntmare/public_html/community/includes/functions.php on line 5170
I'm just guessing as I'm not sure what it's doing. But looking at this it's trying to grab a mkportal file and can't find it from within the functions.php file.

instead of using "../" to jump to the folder, you could try the full path to the file. Replacing "../" with "/home/gmntmare/public_html/"

wickedstangs 11-03-2007 05:06 PM

which file do I try and change it in?

Andrew Green 11-03-2007 05:13 PM

Quote:

Originally Posted by wickedstangs (Post 1374941)
which file do I try and change it in?

community/includes/functions.php

towermatt 11-03-2007 05:19 PM

Any idea on me Andrew? My holdum is still on the fritz :)

If you could do it one more time to the texasholdum_functions.php file for me, I will make a copy and figure out which ones. Then be able to do it next time.

wickedstangs 11-03-2007 05:21 PM

alot of info in that file. Can I upload it and you just take a look at it.


This is what I found on line 5170
Code:

//added from MKportal
define ( 'IN_MKP', 1 );
require_once "../mkportal/include/VB/vb_out.php";
$output = mkportal_board_out($output);
//end added

SHOULD I CHANGE TO THIS?

Code:

//added from MKportal
define ( 'IN_MKP', 1 );
require_once "/home/gmntmare/public_html/mkportal/include/VB/vb_out.php";
$output = mkportal_board_out($output);
//end added


Andrew Green 11-03-2007 05:37 PM

Quote:

Originally Posted by wickedstangs (Post 1374950)

SHOULD I CHANGE TO THIS?

Code:

//added from MKportal
define ( 'IN_MKP', 1 );
require_once "/home/gmntmare/public_html/mkportal/include/VB/vb_out.php";
$output = mkportal_board_out($output);
//end added


That would be my first guess.

wickedstangs 11-03-2007 05:41 PM

Tried the above code and got this now?

Warning: require(../mkportal/conf_mk.php) [function.require]: failed to open stream: No such file or directory in /home/gmntmare/public_html/mkportal/include/VB/vb_out.php on line 30

Fatal error: require() [function.require]: Failed opening required '../mkportal/conf_mk.php' (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/generals') in /home/gmntmare/public_html/mkportal/include/VB/vb_out.php on line 30

Andrew Green 11-03-2007 05:52 PM

well that's progress :lol:

Same thing in mkportal/include/VB/vb_out.php

find & replace "../" with "/home/gmntmare/public_html/"

wickedstangs 11-03-2007 06:01 PM

Here is the mkportal/include/function.php couldnt find it this time..And thanks again.

Andrew when I click on any of the card games I get this
Code:

This game is AJAX powered and requires javascript to be turned on.
and Start Button

When I click the start button it gives me the message above. How do I know my AJax is powerd and javascript is on?

wickedstangs 11-03-2007 06:27 PM

Quote:

Originally Posted by Andrew Green (Post 1374967)
well that's progress :lol:

Same thing in mkportal/include/VB/vb_out.php

find & replace "../" with "/home/gmntmare/public_html/"

Andrew I found the info you said and it worked but, now I get red x for all my images. We are getting somewhere...:)
http://www.wickedstangs.com/Casino.jpg

SVTCobraLTD 11-03-2007 06:46 PM

Quote:

Originally Posted by Freesteyelz (Post 1367376)
3. Instructions for ibProArcade:

In FTP go to arcade/functions/functions.php and find:

Code:

        global $header, $vbphrase, $vboptions, $stylevar, $headinclude, $bbuserinfo, $session, $show, $pmbox;

And replace it with:

Code:

        global $header, $vbphrase, $vboptions, $stylevar, $headinclude, $bbuserinfo, $session, $show, $pmbox, $inpoker;


I did this code change but still there is nothing in the aracade.

Where the aracade home page says "Arcade ? Tournaments ? Your Settings ? Your Favorites ? Your Rankings ? Leaderboard ? Arcade ModCP" I would like to add "Casino" in there. Where can I edit this?

SVT

Andrew Green 11-03-2007 06:58 PM

Quote:

Originally Posted by SVTCobraLTD (Post 1375011)
I did this code change but still there is nothing in the aracade.

Where the aracade home page says "Arcade ? Tournaments ? Your Settings ? Your Favorites ? Your Rankings ? Leaderboard ? Arcade ModCP" I would like to add "Casino" in there. Where can I edit this?

SVT

The above was just to get the box that shows when someone is in the poker game to work on casino pages, if you want a link from within the arcade you'll have to add one into the Arcade's templates, or directly into the arcade.php file if it doesn't use templates.

Andrew Green 11-03-2007 06:59 PM

Quote:

Originally Posted by wickedstangs (Post 1374991)
Andrew I found the info you said and it worked but, now I get red x for all my images. We are getting somewhere...:)

Did you add anything for mkportal into the casino files or templates?

SVTCobraLTD 11-03-2007 07:43 PM

Quote:

Originally Posted by SVTCobraLTD (Post 1375011)
Where the aracade home page says "Arcade ? Tournaments ? Your Settings ? Your Favorites ? Your Rankings ? Leaderboard ? Arcade ModCP" I would like to add "Casino" in there. Where can I edit this?

Looked in both the template and arcade.php files and I cannot find where to edit this header.

SVT

Andrew Green 11-03-2007 08:59 PM

v 0.60 (Nov 3)
- Added ability to delete event (event must be closed to delete it)
- Reworked Stats pages, more stats shown and page restructured
- Phrased most of the front end (currency marker is "casino_currency_marker")
- Texas Hold'em chatbox should allow non-english characters
- Redid buttons, added table graphic
- Added a bars and 7's slots (based on wheel by csavern)
- Removed the "Loading..." screens after taking action
- Fixed bug with extra line in adding sportspool event

To update overwrite all of the old files and import the product, revert any modified templates and don't forget the files in other folders Also some of the images have changed, those need uploaded again. (as well as the includes and admincp files) You DO NOT need to uninstall the previous version to upgrade, this will cause problems. Just overwrite existing files and import the product again, allowing overwrite.

**Make sure you overwrite ALL existing files and revert ALL templates**

rwilkins108 11-03-2007 09:09 PM

small thing, but getting this on the casino.php page for let 'em ride
Let &apos;em Ride

Andrew Green 11-03-2007 09:12 PM

Quote:

Originally Posted by rwilkins108 (Post 1375118)
small thing, but getting this on the casino.php page for let 'em ride
Let &apos;em Ride

More of a old thing hanging around, should be fixed for anyone installing from scratch, but depending on what version you are updating from that might still be there.

Just change the name of the game in the admincp.

rwilkins108 11-03-2007 09:12 PM

Liking the new update! Lots of little things that make it that much nicer! Plus, I see you made casino.php accessible to guests :D nice!

edit: for dumb brain fart...

Andrew Green 11-03-2007 09:13 PM

what config.php? do you mean casino.php?

wickedstangs 11-03-2007 09:14 PM

Quote:

Originally Posted by Andrew Green (Post 1375023)
Did you add anything for mkportal into the casino files or templates?


No I did not

Andrew Green 11-03-2007 09:19 PM

Quote:

Originally Posted by wickedstangs (Post 1375122)
No I did not

ok, just checking as it is sticking it header into the game window somehow.

Anyways, you'd have to do basically the same thing to get the images back

find where they are and plug the full path in:

so find "atb_home.gif"
which right now is set up like this: "../mkportal/templates/Forum/images/logo.gif"

and remove the ".." so it looks like this: "/mkportal/templates/Forum/images/atb_home.gif"

and same thing for all the other navbar images.

wickedstangs 11-03-2007 09:34 PM

Andrew I can find the images but, I cannot find which .php file they would be listed in? How can I do that?

Andrew Green 11-03-2007 09:38 PM

open files one at a time and CTRL+F -> "images/atb_home.gif" would be your best bet, I can't give you too specific of instructions as I don't use that piece of software.

rwilkins108 11-03-2007 09:43 PM

Quote:

Originally Posted by Andrew Green (Post 1375121)
what config.php? do you mean casino.php?

oh, duh, i've just been installing wordpress forums (bbPress) and been in and out of it's config.php, so I guess I had it on my mind, yes, I meant casino.php :P

Andrew Green 11-03-2007 09:47 PM

Quote:

Originally Posted by rwilkins108 (Post 1375146)
oh, duh, i've just been installing wordpress forums (bbPress) and been in and out of it's config.php, so I guess I had it on my mind, yes, I meant casino.php :P

ok good, had me worried for a second there :D

Dream 11-03-2007 10:06 PM

Does this comes with it's own points system?


All times are GMT. The time now is 07:46 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.07387 seconds
  • Memory Usage 1,845KB
  • 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
  • (20)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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