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)

basilrath 05-04-2008 05:23 PM

Quote:

Originally Posted by darkilla2 (Post 1507068)
admincpcasino>>game setting>> than find the game and replace "'" with " ' "

Cheers for that

msworld 05-05-2008 07:01 AM

Installed, and working like a charm. thank you.

sstrayer 05-05-2008 07:07 PM

Works great, thank you. any possibility of getting an all in feature on hold'em?

Doctor Death 05-06-2008 01:07 AM

How do I turn OFF the casino cash balance in the postbit since I am using VBCredits?

Thanks!

doogie88 05-06-2008 04:48 AM

Is there a way to put "Total money won" in the posbit for the user?
Also, any way to add a "Who's in Poker now" to the bottom of the forum?

Keyser S?ze 05-06-2008 09:21 AM

this was done in 3.6, to make a dropdown called "Games" with the selection of Casino or Arcade

heres the code that was used

Code:

</if>
<!-- your Games menu -->

<div class="vbmenu_popup" id="Games_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">Games</td></tr>

<tr><td class="vbmenu_option"><a href="casino.php?$session[sessionurl]">Casino</a></tr>

<tr><td class="vbmenu_option"><a href="arcade.php$session[sessionurl_q]">Arcade</a></td></tr>

could anyone make it for 3.7? thanks :)

lauxanh 05-06-2008 04:30 PM

Any plan on VB3.7?

Gimmick 05-06-2008 05:06 PM

think Andrew has this in his thoughts from what I have read from him, but he is busy at mo

It is working fine on 3.7.0 though, I installed the old casino and then upgraded to .92 then and it works fine

----------------------------------------

My question is, I have the casino using vbcredits which works fine. But how do I get rid of the $ sign when you click into the Casino and it shows your balance. Either get rid or replace with £ for my currency.

Thanks

dancue 05-06-2008 08:39 PM

Any way we can get a different layout for the main page?

casino_index_main is the template that I'm referring to. I just don't know how to do it myself.

I'd like to see the stats on the left side and the games on the right. I want to give it the same look as the usercp...

any ideas how to do it?

dancue 05-07-2008 12:59 AM

Quote:

Originally Posted by dancue (Post 1510939)
Any way we can get a different layout for the main page?

casino_index_main is the template that I'm referring to. I just don't know how to do it myself.

I'd like to see the stats on the left side and the games on the right. I want to give it the same look as the usercp...

any ideas how to do it?

Nevermind. I figured it out finally.

For those of you interested this is what I changed it to:

Replace the contents of the "casino_index_main" template with this
Code:

$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
                        <title>$vboptions[bbtitle] - $vbphrase[casino_casino]</title>
                        $headinclude

                </head>
<body >
        $header

        $navbar
       
<table class='tborder' align='center' border='0' cellpadding='6' cellspacing='1' width='100%'>
                <thead>
       
                        <tr align='center'>
                                  <td class='tcat'>$vboptions[bbtitle] $vbphrase[casino_casino]</td>
 
                        </tr>
                </thead>
                <tbody>
        <tr>
                <td class='alt1'>
$abovetable
                <div class='info' width='100%' style='text-align:center;font-size:16pt;font-weight:bold'>$vbphrase[casino_youhave]: $vbphrase[casino_currency_marker]$cash</div>
<if condition="$donate">
<div style='text-align:center'><a href='casino.php?do=donate'>$vbphrase[casino_donation_link]</a></div>
</if><br/>
                <table style='width:100%;'>
                        <tr>
                          <td style='vertical-align:top;'> $abovestats
                           
                            $mainstats
                            <p style='text-align:center'><a href='casino.php?do=stats'>$vbphrase[casino_more_stats]</a></p>
                      $bellowstats </td>
                          <td width="100%" style='vertical-align:top;'>

$topleftcol



$abovegames

                                  <table class='tborder' align='center' border='0' cellpadding='6' cellspacing='1' width='100%;'>
                                          <thead>
                                                  <tr align='center'>
                                                            <td class='tcat' colspan='3'>$vbphrase[casino_games]</td>
                                                  </tr>
                                          </thead>
                                          <tbody>

$topgames

$t_games

$bottomgames

                                                </tbody>
                                  </table>


$bellowgames                          </td>
                        </tr>
                </table>
$bellowtable
               
                       
                </td>
  </tr>

</tbody>
</table>
<br/>

       

$footer



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