The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vBookie for vBulletin 3.5 Details »» | |||||||||||||||||||||||||
vBookie
Introduction This is a Port of the original vBookie Hack created by tdjrico; full credits to him for the idea and the kind permission to port his work A t t e n t i o n This Hack is unsopported and incompatible with vBulletin 3.6+ You are hereby advised to not use it. Please do not ask me about support and/or updates - there will be none. Supporters / CoAuthors Show Your Support
|
Comments |
#172
|
|||
|
|||
Can I get some help? Preview works but when I hit submit I get's nothing but the text.
|
#173
|
|||
|
|||
Quote:
|
#174
|
||||
|
||||
Quote:
Could I just update the table in the database in the meantime? What are they, and what should they be changed to? |
#175
|
|||
|
|||
I'm just looking for any help. I have had the same issue for the longest with no help or ideas...
|
#176
|
|||
|
|||
I made several changes to the basic templates and I added a footer to most of the templates, like I do with all the other hacks to make them look more streamlined with the forums. Screenshots are included.
Phrase Manager -> Add New Phrase Varname: vbookie_footer Text: Powered by <b></b> v1.0 by <a href="http://www.infernotechnologies.net/" target="_blank">Zero Tolerance</a> Style Manager -> Choose the Style to Edit -> "vbookie_confirm_abandon_event" Replace entire template with: Code:
<form action="vbookie.php" method="post">
<input type="hidden" name="item_id" value="$item_id">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">$vbphrase[vbookie_abandon_event]</td>
</tr>
<tr>
<td class="alt1" align="center">
$vbphrase[vbookie_confirm_abandon_event]<br />
</td>
</tr>
<tr>
<td align="center">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="t" value="$threadid" />
<input type="hidden" name="do" value="confirmedabandon" />
<input type="submit" class="button" name="preview" value="Yes, I Want To Abandon This Event" accesskey="p" tabindex="1" />
</td>
</tr>
</table>
</form>
Replace entire template with: Code:
<form action="vbookie.php" method="post">
<input type="hidden" name="item_id" value="$item_id">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">$vbphrase[vbookie_delete_event]</td>
</tr>
<tr>
<td class="alt1" align="center">
$vbphrase[vbookie_confirm_delete_event]<br />
</td>
</tr>
<tr>
<td align="center">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="t" value="$threadid" />
<input type="hidden" name="do" value="confirmeddelete" />
<input type="submit" class="button" name="preview" value="Yes, I Want To Delete This Event" accesskey="p" tabindex="1" />
</td>
</tr>
</table>
</form>
Replace entire template with: Code:
<!-- vbookie welcome --> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%"> <tr align="center"> <td class="tcat" width="40%">$vbphrase[welcome_to_the_bookie]</td> <td class="tcat" width="40%">$vbphrase[bookie_news_and_events]</td> </tr> <tr align="center"> $welcomeblock <td class="alt1" width="40%" valign="top">$bookienews</td> </tr> <tr> <td class="tcat" align="right" colspan="2"><span class="smallfont">$vbphrase[vbookie_footer]</span></td> </tr> </table> <!-- /vbookie welcome --> <!-- small space --> <span class="smallfont"><br /> </span> <!-- /small space --> <!-- bet items --> <form action="vbookie.php" method="get"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%"> <tr align="center"> <td class="tcat" colspan="6"><phrase 1="$type">$vbphrase[currently_showing_x_events]</phrase> $vbphrase[switch_to] <select name="type"> <option value="OPEN">$vbphrase[event_open]</option> <option value="CLOSED">$vbphrase[event_closed]</option> <option value="SETTLED">$vbphrase[event_settled]</option> <option value="ABANDONED">$vbphrase[event_abandoned]</option> </select> $vbphrase[events] <input type="submit" class="button" name="selecttype" accesskey="g" value="Go" style="font-weight:normal" tabindex="1" /></td> </tr> <tr align="center"> <td class="thead">$vbphrase[item]</td><td class="thead">$vbphrase[group]</td><td class="thead">$vbphrase[status]</td><td class="thead">$vbphrase[added]</td><td class="thead">$vbphrase[open_until]</td><td class="thead">$vbphrase[payouts_after]</td> </tr> $betitembits </table> <if condition="$show['pagenav']"><br /><div align="$stylevar[right]">$pagenav</div></if> </form> <!-- /bet items --> Replace entire template with: Code:
<tr> <td class="$bgclass">$item[item_title]<span class="smallfont"><br /><a href="showthread.php?t=$item[threadid]">$vbphrase[thread]</a> | <a href="vbookie.php?do=viewitem&item_id=$item[item_id]">$vbphrase[info]</a> <if condition="$can_delete"> | <a href="vbookie.php?do=deleteitem&item_id=$item[item_id]">$vbphrase[delete]</a></if></span></td> <td class="$bgclass" align="center"><span class="smallfont">$item[group_title]</span></td> <td class="$bgclass" align="center"><span class="smallfont">$item[item_status]</span></td> <td class="$bgclass" align="center"><span class="smallfont">$item[created]</span></td> <td class="$bgclass" align="center"><span class="smallfont">$item[openuntil]</span></td> <td class="$bgclass" align="center"><span class="smallfont">$item[payafter]</span></td> </tr> Replace entire template with: Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%"> <tr> <td class="tcat" colspan="8"> $vbphrase[vbookie_stats] </td> </tr> <tr align="center"> <td class="thead"><b>$vbphrase[event_totals]</b></td> </tr> <tr align="left"> <td class="alt1"><span class="smallfont">$system_totals_bits</td> </tr> <tr align="center"> <td class="thead"><b>$vbphrase[most_popular_events]</b></td> </tr> <tr align="left"> <td class="alt1"><span class="smallfont">$most_popular_event_bits</span></td> </tr> <tr align="center"> <td class="thead"><b>$vbphrase[top_paying_events]</b></td> </tr> <tr align="left"> <td class="alt1"><span class="smallfont">$top_paying_event_bits</span></td> </tr> <tr align="center"> <td class="thead"><b>$vbphrase[top_paying_outcomes]</b></td> </tr> <tr align="left"> <td class="alt1"><span class="smallfont">$top_paying_outcome_bits</span></td> </tr> <tr align="center"> <td class="thead"><b>$vbphrase[top_paying_bets]</b></td> </tr> <tr align="left"> <td class="alt1"><span class="smallfont">$top_paying_bet_bits</span></td> </tr> <tr align="center"> <td class="thead"><b>$vbphrase[top_winners]</b></td> </tr> <tr align="left"> <td class="alt1"><span class="smallfont">$top_winners_bits</span></td> </tr> <tr align="center"> <td class="thead"><b>$vbphrase[richest_people]</b></td> </tr> <tr align="left"> <td class="alt1"><span class="smallfont">$richest_people</span></td> </tr> <tr> <td class="tcat" align="right"><span class="smallfont">$vbphrase[vbookie_footer]</span></td> </tr> </table> Replace entire template with: Code:
<tr> <td class="$bgclass">$bet[username]</td> <td class="$bgclass" align="center">$bet[bet_amount_placed]</td> <td class="$bgclass">$bet[bet_odds_against]/$bet[bet_odds_for]</td> <td class="$bgclass" align="right">($bet[odds_decimal])</td> <if condition="$bet[bet_settled]=='N'"> <td class="$bgclass" align="center">-</td> <else /> <td class="$bgclass" align="center">$bet[bet_amount_won]</td> </if> </tr> Replace entire template with: Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat" colspan="8"> $vbphrase[vbookie_view_my_bets] </td> </tr> <tr> <td class="thead" align="center">$vbphrase[event]</td> <td class="thead" align="center">$vbphrase[group]</td> <td class="thead" align="center">$vbphrase[vbookie_outcome]</td> <td class="thead" align="center">$vbphrase[status]</td> <td class="thead" align="center">$vbphrase[vbookie_stake]</td> <td class="thead" colspan="2" align="center">$vbphrase[vbookie_odds]</td> <td class="thead" align="center">$vbphrase[amount_won]</td> </tr> $betbits <tr> <td class="tcat" align="right" colspan="8"><span class="smallfont">$vbphrase[vbookie_footer]</span></td> </tr> </table> <if condition="$show['pagenav']"><br /><div align="$stylevar[right]">$pagenav</div></if> Replace entire template with: Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat">$vbphrase[vbookie_event]<span class="normal">: $eventinfo[question] ($eventinfo[group])</span></td> </tr> <tr> <td class="thead">$vbphrase[vbookie_event_info]</td> </tr> <tr valign="top"> <td class="panelsurround" align="center"> <div class="panel"> <div align="$stylevar[left]"> <div class="fieldset"> <table cellpadding="0" cellspacing="$stylevar[formspacer]px" border="0"> <tr> <td><span class="smallfont">$vbphrase[vbookie_this_event_is] <strong>$eventinfo[item_status]</strong>.</span></td> </tr> <tr> <td><span class="smallfont">$vbphrase[vbookie_this_event_will_accept_bets_until] <strong>$eventinfo[openuntil_date] at $eventinfo[openuntil_time]</strong>.</span></td> </tr> <tr> <td><span class="smallfont">$vbphrase[vbookie_this_event_will_pay_out_after] <strong>$eventinfo[payafter_date] at $eventinfo[payafter_time]</strong>.</span></td> </tr> <tr> <td><span class="smallfont"><strong>$vbphrase[vbookie_event_n_bets]</strong>: $eventinfo[item_n_bets_placed]</span></td> </tr> <tr> <td><span class="smallfont"><strong>$vbphrase[vbookie_event_total_staked]</strong>: $eventinfo[item_amount_staked]</span></td> </tr> <if condition="$eventinfo[item_status]=='SETTLED'"> <tr> <td><span class="smallfont"><strong>$vbphrase[vbookie_event_total_won]</strong>: $eventinfo[item_amount_won]</span></td> </tr> </if> </table> </div> </div> </div> </td> </tr> </table> <br /> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="thead">$vbphrase[vbookie_outcomes]</td> </tr> <tr valign="top"> <td class="panelsurround" align="center"> <div class="panel"> <div align="$stylevar[left]"> <div class="fieldset"> <table cellpadding="0" cellspacing="$stylevar[formspacer]px" border="0" width="100%"> $outcomebits </table> </div> </div> </div> </td> </tr> <tr> <td class="tcat" align="right"><span class="smallfont">$vbphrase[vbookie_footer]</span></td> </tr> </table> Replace entire template with: Code:
<tr>
<td class="$bgclass">$bet[item_title]<span class="smallfont"><br /><a href="showthread.php?t=$bet[threadid]">Thread</a> | <a href="vbookie.php?do=viewitem&item_id=$bet[item_id]">Info</a></span></td>
<td class="$bgclass" align="center"><span class="smallfont">$bet[group_title]</span></td>
<td class="$bgclass" align="center"><span class="smallfont">$bet[option_title]</span></td>
<td class="$bgclass" align="center"><span class="smallfont">$bet[item_status]</span></td>
<td class="$bgclass" align="center"><span class="smallfont">$bet[bet_amount_placed]</span></td>
<td class="$bgclass" align="center"><span class="smallfont">$bet[bet_odds_against]/$bet[bet_odds_for]</span></td>
<td class="$bgclass" align="center"><span class="smallfont"> ($bet[odds_decimal]) </span></td>
<if condition="$bet[bet_settled]=='N'">
<td class="$bgclass" align="center"><span class="smallfont">-</span></td>
<else />
<td class="$bgclass" align="center"><span class="smallfont">$bet[bet_amount_won]</span></td>
</if>
</tr>
Replace entire template with: Code:
<tr> <td class="thead" colspan="2"> <strong>$outcome[outcome]</strong> </td> </tr> <tr> <td> <table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" align="left" width="50%"> <tr> <td class="thead" colspan="2"> <strong>$vbphrase[vbookie_event_outcome_info]</strong> </td> </tr> <tr> <td class="alt1"> <strong>$vbphrase[vbookie_event_current_odds]</strong>: </td> <td class="alt1"> $outcome[odds_against]/$outcome[odds_for] ($outcome[odds_decimal]) </td> </tr> <tr> <td class="alt1"> <strong>$vbphrase[vbookie_event_n_bets]</strong>: </td> <td class="alt1"> $outcome[n_bets_placed] </td> </tr> <tr> <td class="alt1"> <strong>$vbphrase[vbookie_event_total_staked]</strong>: </td> <td class="alt1"> $outcome[amount_staked] </td> </tr> <if condition="$eventinfo[item_status]=='SETTLED'"> <tr> <td class="alt1"> <strong>$vbphrase[vbookie_event_total_won]</strong>: </td> <td class="alt1"> $outcome[amount_won] </td> </tr> </if> </table> <table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" align="left" width="50%"> <tr> <td class="thead" colspan="6"> $vbphrase[vbookie_event_bets_placed] </td> </tr> <tr> <td class="thead"> $vbphrase[vbookie_bet_placed_by] </td> <td class="thead" align="center"> $vbphrase[vbookie_bet_placed_amount] </td> <td class="thead" colspan="2" align="center"> $vbphrase[vbookie_bet_placed_odds] </td> <td class="thead" align="center"> $vbphrase[vbookie_bet_amount_won] </td> </tr> $bets </table> </td> </tr> |
#177
|
||||
|
||||
Quote:
@all those having Problems setting the Permissions Do you get Errors when hitting Save by any chance? Do you have other bitfield_xxx.xml Files, and which? |
#178
|
||||
|
||||
Quote:
Quote:
|
#179
|
||||
|
||||
includes/xml
Which bitfield_xxx.xml Files do you have there? |
#180
|
||||
|
||||
Quote:
Does that help? [he asked hopefully] |
#181
|
||||
|
||||
Ok, that means no other Bitfields, eg. no reason why it should not work.
Feel free to send me a PM with an ACP Login, otherwise I can't help much - sorry. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|