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)

tjdrico 03-27-2009 01:34 PM

Quote:

Originally Posted by JJ the Fox (Post 1771648)
Read the top of the thread. There will never be another version. The mod is abandoned.

Ah, that's a shame. I wrote the original mod 5 years ago, but I don't have the latest version of vBulletin (my forum is 3.6.8).

Still, never say "never".

bobster65 03-27-2009 01:45 PM

Quote:

Originally Posted by tjdrico (Post 1778234)
Ah, that's a shame. I wrote the original mod 5 years ago, but I don't have the latest version of vBulletin (my forum is 3.6.8).

Still, never say "never".

well, enough people want this mod updated that I am positive that you would receive more than enough in donations to purchase the latest version of vb ;)

btw, thank you for the original mod.. it is by far my favorite all time mod. It deserves a spot in the Hall of Fame of Modifications :up:

blue6995 03-31-2009 04:48 PM

I have this working with vb 3.8.1, but it won't let me move past Page 1 of the Settled bets or the Closed bets. When I select say Page 2 it just remains on the first page. I am sure I found the solution to this somewhere in here, but can't for the life of me find it again! Any ideas

jonah1892 03-31-2009 06:14 PM

Quote:

Originally Posted by Hiranmanu (Post 1770679)
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.

that worked a treat, and i'm using vbcredits without any issues

DS MrSinister 04-01-2009 01:24 PM

Quote:

Originally Posted by blue6995 (Post 1781178)
I have this working with vb 3.8.1, but it won't let me move past Page 1 of the Settled bets or the Closed bets. When I select say Page 2 it just remains on the first page. I am sure I found the solution to this somewhere in here, but can't for the life of me find it again! Any ideas

to fix that you need to edit vbookie.php file.

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

blue6995 04-01-2009 03:01 PM

Quote:

Originally Posted by DS MrSinister (Post 1781723)
to fix that you need to edit vbookie.php file.

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

Worked a treat. Thank you so much

opsman 04-02-2009 05:46 AM

Quote:

Originally Posted by jonah1892 (Post 1781220)
that worked a treat, and i'm using vbcredits without any issues

Higot one small issue I have a member named L'Raine and she can earn points but when someone tries to donate we get a database error with the username having the @ in it, see error below

Invalid SQL:
update frmuser set vbookie_cash = vbookie_cash + '500' where username = 'l'raine';

you can see the ' is causing a problem, this happened when I tried donating manually from admincp

plazzman 04-03-2009 06:28 AM

Yes, finally got this working. Excellent.

Last question, if I want to write a plugin for richest users (by using vbookie_get_richest), what exactly do I have to write?

merk_aus 04-06-2009 10:17 AM

Thanks hopefully we can convince a coder to come up with a new version of this so we do not have to continue to edit files

fly 04-06-2009 12:02 PM

Quote:

Originally Posted by merk_aus (Post 1784932)
Thanks hopefully we can convince a coder to come up with a new version of this so we do not have to continue to edit files

Apparently, Andreas won't allow it for some reason.

Strik3 04-06-2009 04:01 PM

Bei mir kommt immer dieser Fehler:
You may not bet on this event. You have placed 0 bet(s) on this Event.

Obwohl ich eingestellt hab des diese Gruppe Wetten darf? An was liegt des?
Ich hab 3.7.4

Andreas 04-09-2009 05:43 PM

Quote:

Originally Posted by flypaper (Post 1784967)
Apparently, Andreas won't allow it for some reason.

The reason is pretty simple: Code Quality.

In order to rework this into a decent quality modification, a major refactoring (ending up in a total rewrite) would be necessary.

Unfortunately I do not have the time to do so.

merk_aus 04-10-2009 06:50 AM

I meant finding a coder to start one from scratch, they cant stop people from coding one from scratch and it is what im looking into at the moment

merk_aus 04-11-2009 10:28 AM

Good Evening Ladies and Gentlemen,
It is a fantastic day for those of us who love this fantastic mod, with soooo many downloads and installs it is shame that the mod is no longer ongoing.

In the past I have spoken to a number of coders about recreating this, coding from scratch, and have even paid some deposits however the coders have run off with the money and never done anything about this being set up and updated.

Well after much deliberations, and a number of private messages to Andreas we may have some movement on an update to this product finally.

Despite in the first thread saying that this code will not be ongiven, and there will be no updates from him I must have caught Andreas on a good day because I have been given permission from Andreas to create an updated ported version of vbookie...

Quote:

I'm fine if you are going to build a free version if it will fully follow vBulletin Code standards, etc. - but I will definitly not give permission for a commercial version.

If you want to build a free version, send me the code when you are done so I can take a look at it - if it meets the conditions set above you'll get permission to release it, otherwise you won't.
Is what I was sent in the Private Message, and although I do not like sharing private messages I thought this shows that we can continue to work on this to port it and add new features.

I am only a beginner when it comes to coding, but can do things it just takes a while and therefore I would like to put the call out there for ideas you would like to see in a new version of vbookie ONLY For 3.8.x - and also put the call out for any coders who would like to help out in the recreation of it.

Reply to this thread or send me a pm to discuss future and hope it gives us all hope of a new improved vbookie - if I am coding myself (to the standards) we are probably looking at a couple of months before its done but if more coders come on and we do our part it could be slightly quicker.

EDIT: I forgot to mention it will be a major code rewrite for it however working of the base of Andreas version.

hexor 04-11-2009 01:16 PM

Whenever i SET THE USERGROUP OPTIONS FOR A USERGROUP IN VBOOKIE TO YES ..(ALL 3) WHEN I SET ALL 3 OPTIONS OF VBOOKIE TO YES ON THE USERGROUP PERMISSIONS THEY DONT GET SET TO YES ..IT SAYS SAVED SUCCESSFULLY BUT THE NEXT TIME I VIEW THE OPTIONS THEY ARE BACK TO NO OTHER THAN YES AUTOMATICALLY ....IT HAPPENS ONLY ON THE VBOOKIE OPTIONS ..CAN SOMEONE PLEASE HELP ME HERE ? I HAVE INSTALLED VBOOKIE ON 3.8.1 AND EDITED THE PLUGIN CODE AS WELL AND DONE ALL TEMPLATE EDITS PERFECCTLY ...PLEASE HELP ME GUYS ...

Sooner95 04-11-2009 09:14 PM

Cool merk, I look forward to the next version that works with 3.8

merk_aus 04-12-2009 08:13 AM

Quote:

Originally Posted by hexor (Post 1788874)
Whenever i SET THE USERGROUP OPTIONS FOR A USERGROUP IN VBOOKIE TO YES ..(ALL 3) WHEN I SET ALL 3 OPTIONS OF VBOOKIE TO YES ON THE USERGROUP PERMISSIONS THEY DONT GET SET TO YES ..IT SAYS SAVED SUCCESSFULLY BUT THE NEXT TIME I VIEW THE OPTIONS THEY ARE BACK TO NO OTHER THAN YES AUTOMATICALLY ....IT HAPPENS ONLY ON THE VBOOKIE OPTIONS ..CAN SOMEONE PLEASE HELP ME HERE ? I HAVE INSTALLED VBOOKIE ON 3.8.1 AND EDITED THE PLUGIN CODE AS WELL AND DONE ALL TEMPLATE EDITS PERFECCTLY ...PLEASE HELP ME GUYS ...

Rebuild the bitfields it is mentioned approx 134 times within the 146 pages

onlinejalsa 04-16-2009 08:39 PM

hello can anybody tell me how can i assign 500000 points to all the members in the site

merk_aus 04-17-2009 02:08 PM

Mass Credit Update

Regs 04-17-2009 04:23 PM

That's assuming vb credits integration though doesn't it?

onlinejalsa 04-18-2009 01:06 AM

hello,

i have one problem. only admin and super mods can do betting. but normal users cant do any betting. i have given permissions for each and every usergroup but still normal user cant bet . how can i make certain user groups to make bet

merk_aus 04-18-2009 03:06 PM

Same sort of thing you can update through user panel, you didn't specify what credits system you were using so i only said the one i was using - unless you be specific people can't help.

- Does anyone have this actually working 100% properly on 3.8.2?

- Onlinejalsa - have you looked through usergroup permissions and rebuilt the bitfields?

powerful_rogue 04-18-2009 05:18 PM

Quote:

Originally Posted by merk_aus (Post 1788805)
Good Evening Ladies and Gentlemen,
It is a fantastic day for those of us who love this fantastic mod, with soooo many downloads and installs it is shame that the mod is no longer ongoing.

In the past I have spoken to a number of coders about recreating this, coding from scratch, and have even paid some deposits however the coders have run off with the money and never done anything about this being set up and updated.

Well after much deliberations, and a number of private messages to Andreas we may have some movement on an update to this product finally.

Despite in the first thread saying that this code will not be ongiven, and there will be no updates from him I must have caught Andreas on a good day because I have been given permission from Andreas to create an updated ported version of vbookie...



Is what I was sent in the Private Message, and although I do not like sharing private messages I thought this shows that we can continue to work on this to port it and add new features.

I am only a beginner when it comes to coding, but can do things it just takes a while and therefore I would like to put the call out there for ideas you would like to see in a new version of vbookie ONLY For 3.8.x - and also put the call out for any coders who would like to help out in the recreation of it.

Reply to this thread or send me a pm to discuss future and hope it gives us all hope of a new improved vbookie - if I am coding myself (to the standards) we are probably looking at a couple of months before its done but if more coders come on and we do our part it could be slightly quicker.

EDIT: I forgot to mention it will be a major code rewrite for it however working of the base of Andreas version.

How about trying to link it up with Ladbooks, William Hill? A bit like the "About Today" mod where you can see the list of sporting events and then just click "Create Vbookie event" and it will automatically create an event using the current odds offered on their webiste.

Also when you go to create a new event in a vbookie forum, abolish the need to create a title, write something and then click on the "Yes, post a vbookie event with this thread" - Make it so it goes straight to the vbookie page - If that makes sense.

merk_aus 04-19-2009 10:54 AM

it makes sense yes - I will look into it all thanks for the suggestions

shaynehammy 04-22-2009 09:00 AM

How do igo about getting Vbux to appear in the Vbookie settings? I've purchased VBplaza and cant remember how i got this working last time!

Any help appreciated!

DanielN24 04-22-2009 06:48 PM

Does anybody have this installed on Version 3.8.2?

DanielN24 04-24-2009 04:37 AM

I installed this in 3.8.2 but my only problem is that when you check the box "Yes, post a vBookie Event with this thread" it sends you back to the page like you just created a regular thread...

DS MrSinister 04-26-2009 10:52 PM

Quote:

Originally Posted by DanielN24 (Post 1797927)
I installed this in 3.8.2 but my only problem is that when you check the box "Yes, post a vBookie Event with this thread" it sends you back to the page like you just created a regular thread...

i have it installed.

this post here should help you..

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

DanielN24 04-27-2009 12:01 AM

Thanks!

Now I would like to know how to remove "iCash" from the navbar.. When I went to the navbar template, and did a search for "iCash" it said "not found"...

I would like to replace "icash" to "vbookie"

DanielN24 04-27-2009 02:28 AM

Nevermind I got it working. Thanks for the help.

DanielN24 04-27-2009 06:41 AM

Only problem I have now is where the image should be next to the thread it just says "vBookie" the money sign isn't there...

DS MrSinister 04-27-2009 05:18 PM

Quote:

Originally Posted by DanielN24 (Post 1799781)
Only problem I have now is where the image should be next to the thread it just says "vBookie" the money sign isn't there...

for each style you have installed upload vbookie_posticon.gif to each misc folder.

uprentiss 04-29-2009 06:12 PM

is this available for 3.8.1???

id really love to have this add-on

uprentiss 04-30-2009 12:53 AM

ok i read where u got to edit something before it works for 3.8.1

can someonbe be more specific on what im posed to edit n where

DanielN24 04-30-2009 01:53 AM

Quote:

Originally Posted by uprentiss (Post 1801549)
ok i read where u got to edit something before it works for 3.8.1


can someonbe be more specific on what im posed to edit n where

Read the posts, I did it and it worked fine.. If you need further help send me a link to your forum or your msn and I will gladly help you.

Dribbles 05-10-2009 07:28 PM

Hi. I got everything working fine, but when I cancel a bet out, no one who bet gets their money back. Anyone know how to fix this?

markhendo1986 05-11-2009 09:20 AM

Hi there,

Got this installed and all is up and running. Members are able to post a new event to bet on and are able to bet/settle bets.

However, when members are betting, their vCash doesn't go down and automatically returns to 500 vCash even after betting and losing their cash.

Any ideas how to fix this? I've not been 'giving to the poor' or anything like that...

highblue 05-14-2009 09:19 PM

Quote:

Originally Posted by merk_aus (Post 1788805)
Reply to this thread or send me a pm to discuss future and hope it gives us all hope of a new improved vbookie - if I am coding myself (to the standards) we are probably looking at a couple of months before its done but if more coders come on and we do our part it could be slightly quicker.

EDIT: I forgot to mention it will be a major code rewrite for it however working of the base of Andreas version.

If you'd add an option to settle bets with more than one Winner checked in the winning column, then it could be fairly effective for horse racing. We've been using it for horse racing in my forum, but the only bet that can be made is Win. There's no payout for Place or Show unless you create three separate events for the same race, and then there's the issue of three horses paying Show money. If there was an option to click "Number of Winners" and select a number, then I'd click "3" and it would calculate the Show payouts for all three... in the Place event I'd click "2" to get the payouts. Actually, if it had an option to calculate the odds by a percentage like "Pay 50% odds" or "Set Percentage Payout", that would be perfect for the Place or Show payouts in a horse racing event.

Our currency of choice is Reputation Points and it works only if the vCash option or one of the other cash options is selected in CP Admin. If one of those options isn't selected, it doesn't do the calculations. Of course that means having the "vCash 500" icon sitting there useless and meaningless, but it does deduct or add Reputation Points.

There are lots of other options I'd like to see, but this could be a really popular add-on if it's done right and has enough available options. It's got the foundation of one.

EDIT: Another option that needs to be added - desperately needs to be added - is the option to change your bet before the bet cut-off expires. Several people in my forum have accidentally placed the wrong bet and wanted to change it, but they're basically out of luck if they do make the wrong bet. To me it seems that's a necessary option.

CLF 05-20-2009 12:08 AM

Not lazy at all but this thread has 147 pages and I just need short answer:

Does this great mod work on 3.6.7?

THANK YOU! :)

JJ the Fox 05-20-2009 02:14 AM

Yes.


All times are GMT. The time now is 01:20 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.03340 seconds
  • Memory Usage 1,857KB
  • 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
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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