vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vBookie for vBulletin 3.5 (https://vborg.vbsupport.ru/showthread.php?t=94128)

visitangeles 03-16-2009 09:43 PM

Is there another vbookie like product?

I have casino .92 - is that it out there?

Hiranmanu 03-17-2009 07:52 PM

I have this working for 3.8.1 PL1. This works for any forum version with the right modifications done. I will write up exactly what you guys need to do to get it working.


1: Upload all files in upload folder
2: Import product-bookiehack.xml
3: Goto ACP > Plugins & Products > Plugin Manager
4: Edit Redirect to vbookie.php when posting new Event by replacing the entire code with this
PHP Code:

if ($newpost['postvbookieevent'])  
{  
    
$vbulletin->url 'vbookie.php?' $vbulletin->session->vars['sessionurl'] . "t=$newpost[threadid]&vbookieeventoptions=$newpost[vbookieeventoptions]&do=newevent";  
    eval(
print_standard_redirect('redirect_postthanks_moderate'truefalse)); 


5: In template Newthread find
PHP Code:

$threadmanagement 

. Above that add the following code
PHP Code:

<if condition="$show['vbookieevent']">
    <
fieldset class="fieldset">
        <
legend>$vbphrase[post_a_vbookieevent]</legend>
        <
div style="padding:$stylevar[formspacer]px">
            <
div><label for="cb_postvbookieevent"><input type="checkbox" name="postvbookieevent" value="yes" id="cb_postvbookieevent" tabindex="1" $checked[postvbookieevent] />$vbphrase[yes_post_a_vbookieevent_thread]</label></div>
        </
div>
    </
fieldset>
   </if> 

6: Download ICash and install
7: Change ICash Options. Change the Money Row to vbookie_cash


This will definately work for you. I have left off showing the points in the postbit and the link in the navbar. If you need to add these the code is the same as the original.

visitangeles 03-18-2009 03:05 AM

i must be the only knucklehead on here that didnt figure out that you have to make a bet by making it in a thread! lol.

i thought u set up an event at vbookie homepage.

it works now if i go to forum and then make a new thread.

i must have missed that in the directions or maybe that was common sense.

anyway, thanks. it is working now. :)

plazzman 03-19-2009 01:38 AM

Does anyone know when Vbookie for 3.8 will be available?

Thanks

JJ the Fox 03-19-2009 05:00 AM

Quote:

Originally Posted by plazzman (Post 1771564)
Does anyone know when Vbookie for 3.8 will be available?

Thanks

Read the top of the thread. There will never be another version. The mod is abandoned.

Hiranmanu 03-19-2009 06:52 AM

Quote:

Originally Posted by plazzman (Post 1771564)
Does anyone know when Vbookie for 3.8 will be available?

Thanks

Just follow my instructions and it will work mate,

https://vborg.vbsupport.ru/showpost....postcount=2152

plazzman 03-23-2009 06:36 AM

Quote:

Originally Posted by Hiranmanu (Post 1771672)
Just follow my instructions and it will work mate,

https://vborg.vbsupport.ru/showpost....postcount=2152

Awesome thanks. Everything seems to be working fine except for one thing.

It won't let me do #4, the page just blanks out. I've tried it with other computers, and its still the same.

Also, I can't get the function to appear when I'm making a new thread. Could it be because of that?

Hiranmanu 03-23-2009 09:25 PM

Quote:

Originally Posted by plazzman (Post 1774839)
Awesome thanks. Everything seems to be working fine except for one thing.

It won't let me do #4, the page just blanks out. I've tried it with other computers, and its still the same.

Also, I can't get the function to appear when I'm making a new thread. Could it be because of that?

Yeah that is the reason why it does not work. Try to disable your hooks and then try to edit that file, you might have a plugin conflicting that may not allow you to edit the details. To disable hooks just do a search here and you will find out how to do it.

plazzman 03-23-2009 10:03 PM

Thanks alot, really appreciate it

opsman 03-26-2009 05:41 AM

Hi All

I have got it working but unless I make registered users able to post vbookie events thay cannot bet at all, is there a way of making them able just to bet without creation, I ticked the option in group permissions but it does not work unless i do the above....

Thanks


All times are GMT. The time now is 08:58 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.03637 seconds
  • Memory Usage 1,754KB
  • 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
  • (3)bbcode_php_printable
  • (4)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