View Single Post
  #76  
Old 08-23-2005, 09:51 PM
micheal332001 micheal332001 is offline
 
Join Date: Apr 2004
Posts: 1,112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi there

The way i got all the phrases to work was to take them out and put my own in.
You would have to edit all the templates and main lottery.php file.
Also on the install file one of the templetes is named wrong so you will have to update that. The template that is wrong is missing a y at the end.

Here is my LOTTERY template
PHP Code:
 $stylevar[htmldoctype]
<
html id="moooo" dir="$stylevar[textdirection]lang="$stylevar[languagecode]">
<
head>
<
title>$vboptions[bbtitle] - $pagetitle</title>
$headinclude
<if condition="$alert">
<
script type="text/javascript">
    
alert("$alert");
</
script>
</if>
</
head>
<
body onLoad="if(history.length>0)history.go(+1)">
$header
$navbar
<table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
<
tr>
<
td class="tcat">
    <
span class="smallfont"><a href="lottery.php?$session[sessionurl]">$vboptions[bbtitle]'s Casino</a></span>
</td>
</tr>
<tr align="left">
    <td class="alt1"><span clas="smallfont">Welcome To $vboptions[bbtitle]'
s CasinoPlay a Game and maybe you 'll win the big jackpot!!</span>
<div class="smallfont">
<a href="lottery.php?do=home">Casino Index</a>&nbsp;&nbsp;&nbsp;
<if condition="$lotterysettings[lotteryactive]==1">
<a href="lottery.php?do=main">Lottery</a>&nbsp;&nbsp;&nbsp;
</if>
<a href="lottery.php?do=winners">Winners</a>&nbsp;&nbsp;&nbsp;
<if condition="$lotterysettings[slotsactive]==1">
<a href="lottery.php?do=slots">Slots</a>&nbsp;&nbsp;&nbsp;
</if>
<if condition="$lotterysettings[guessactive]==1">
<a href="lottery.php?do=guess">Higher/Lower</a>&nbsp;&nbsp;&nbsp;
</if>
<if condition="$lotterysettings[rouletteactive]==1">
<a href="lottery.php?do=playroulette">Roulette</a>&nbsp;&nbsp;&nbsp;
</if>
<if condition="$lotterysettings[pickactive]==1">
<a href="lottery.php?do=pick">Pick 3</a>
</if>
</div>
</td>
</tr>
</table>
<div style="padding: 5px 5px 5px 5px;"></div>
$current
<div style="padding: 5px 5px 5px 5px;"></div>
$footer
</body>
</html> 
as you can see from this line <a href="lottery.php?do=pick">Pick 3</a>

I have taken out the phrase for the pick 3 link.
If you want me to post all the templates with out the phrases please just let me know and ill make a txt file up with all the templates with out the phrases.

If i can help anyone i will do so just ask.

Mike

P.S

Im just finishing oh an updated slots stats page whitch is made in flash.
here is a screen shot of it.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01178 seconds
  • Memory Usage 1,792KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete