vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - vBookie for vBulletin 4 (https://vborg.vbsupport.ru/showthread.php?t=233473)

Sharkyman 11-04-2010 02:00 PM

Quote:

Originally Posted by DS MrSinister (Post 2117883)
I see you are using vBookie 4.0.6. upgrade to 4.0.9 see if that helps.


Under AdminCP

UserGroup and check each gruoup.

What am I checking for? There's no vbookie option. I'm the admin and I have no option to change to an "enable vbookie" or anything like that in the usergroups.

I'll try the 4.09 thing.

DS MrSinister 11-04-2010 02:10 PM

opps that's the old version about usergroup sorry about that.

Sharkyman 11-04-2010 07:57 PM

Got it working after updating to 4.09.

Ta.

DS MrSinister 11-04-2010 07:58 PM

Quote:

Originally Posted by Sharkyman (Post 2118034)
Got it working after updating to 4.09.

Ta.

very welcome sir.

mmacrypt 11-08-2010 04:02 AM

Ok, I need some help. I just updated to 4.0.8 Vbull and as most of you know, that ++++ed some of the styles. I'm using one called Darkness that hasn't been updated yet so I've been changing the Stylevar line by line on my test server to figure out what controls what. I'm not very good at this, just doing what I can to make the live site look better. I think I got the home and forum pages looking pretty good but now I'm to the Bookie part of the site. I went though every line on the Stylevar to try to make it look better. I found 2 changes that change every link on the site including the Vbookie stuff. Not really what I want to do. Now I'm looking at the actual code from Vbookie and know I'm way over my head. :D

This is what I have right now. You can see the fighters names are just too light. I'm trying to figure out how to make this darker so it's actually visible.
https://vborg.vbsupport.ru/external/2010/11/52.png

I also have a few other little things but that's where I would like to start. Any help or a push in the right direction would be greatly appreciated. I'm guessing I need to change one of the Blockrow calls but clueless to which one or even where to start doing that.

thankyou
Brian

dartho 11-08-2010 05:58 AM

The stylevar stuff does my head in. I'd probably just edit the vbookie_resultbits and vbookie_outcomebits templates and change the lines of

<a href="vbookie.php?do=viewitem&amp;item_id={vb:raw item_id}">{vb:raw outcome.outcome}</a>

to

<a style="color:#000000;" href="vbookie.php?do=viewitem&amp;item_id={vb:raw item_id}">{vb:raw outcome.outcome}</a>

so that the links a plain black.

not best practice, but it works in a pinch

mmacrypt 11-08-2010 04:00 PM

thank you Dartho, I'll give it a try. I'm also going to play with a different style that's been updated to .8 and hope this darkness one is also updated. But again, thank you, I'll test it on my dummy site first.

mmacrypt 11-08-2010 10:32 PM

Again, thanks Dartho, with what you have me, I was able to fix just about all of them. I had to change a few more than you listed to make it work for my site but giving me that code did wonders so thanks again.

Robbed 11-08-2010 10:34 PM

1 Attachment(s)
This happens when the event is over. It display fine when the even is active.

Any ideas?

mmacrypt 11-08-2010 10:53 PM

I'm missing something, what does it look like before, that looks fine to me.

This is what mine looks like.
https://vborg.vbsupport.ru/external/2010/11/50.png

mmacrypt 11-09-2010 01:22 AM

Hey Dartho, one more area I need help with if you can. The dropdown for Open, Close...
https://vborg.vbsupport.ru/external/2010/11/48.png

Do you know where the color is being picked up from on either the font or the background. I looked and or played with making changes in the
vbookie_eventresults_table
vbookie_main
vbookie_navbar_link

as those are the three that cover Abandoned but no luck.

Robbed 11-09-2010 01:31 AM

1 Attachment(s)
The whole background should be white.

This is what a non closed event looks like

mmacrypt 11-09-2010 01:48 AM

Oh, gotcha. Are you running Vbull 4.0.8? there are lots and lots of style issues now for me but no clue what you are fighting.

dartho 11-09-2010 07:40 AM

Yeah - sorry robbed, styling ain't my forte, hopefully someone else can help. i can only suggest what I did before for teh fonts, hard code colours if you can't find the relevant stylevars

mmacrypt 11-09-2010 04:16 PM

thanks again Dartho, it looks like the style I use should be updated this week according with the author of it. I'm hoping that fixes the rest of my few issues. If not, I might have to hard code a few other spots on your mod but might need your help again finding the code if that's ok. This mod is one of the biggest reasons why I switched my site from PHPBB to Vbul.

dcuellar 11-11-2010 10:10 PM

Any chance we can get a new feature added? I'd like to see a one-on-one betting option. I want to be able to challenge someone to a bet on an event. That person can be alerted of the challenge and then accept or decline.

Additionally, the user can leave a challenge on the table for anyone to accept. (maybe have a link on our sig saying "bet me on the xx event! 50K")

dartho 11-12-2010 12:14 AM

Sorry - no chance of me adding that and very little chance of me adding much else which isn't trivial to this product.

DS MrSinister 11-12-2010 04:00 AM

Quote:

Originally Posted by Robbed (Post 2119670)
This happens when the event is over. It display fine when the even is active.

Any ideas?

Ok in vbookie_eventresults_table template. make this change.

Find

Code:

class="block"
replace it with this.

Code:

class="blockrow"

PS dartho

Please make this change in the next release thanks.

FReeSTER 11-12-2010 11:35 AM

Quote:

Originally Posted by Robbed (Post 2077906)
Been working with style creators on the same issue. If a style uses additional.css it doesn't display right with a few addons

Fix:

Since version 4.0.1, there has been an additional template variable call (to grab additional.css) in the HEAD.

Please add the following:

{vb:raw headinclude_bottom}

Before </head> in your template and you're all set.

thank you, this code fixed few other templates I had the same problem as well. lol:D

Robbed 11-12-2010 03:39 PM

Quote:

Originally Posted by DS MrSinister (Post 2120806)
Ok in vbookie_eventresults_table template. make this change.

Find

Code:

class="block"
replace it with this.

Code:

class="blockrow"

PS dartho

Please make this change in the next release thanks.


Thanks it worked

dcuellar 11-12-2010 06:00 PM

Quote:

Originally Posted by dartho (Post 2120755)
Sorry - no chance of me adding that and very little chance of me adding much else which isn't trivial to this product.

That's cool. Any chance for a Pro version?

tms433 11-16-2010 05:08 AM

This is a very popular little item, I definitely need to contribute some support to the developer!

I have two small suggestions:

(1) Is there a way to have a "leaderboard" ? a way to quickly list the top10/20 users as far as vCash? IE "Most Successful this weekend" ? That would be a big hit.

And

(2) I've ran into one snag: an admin test, create an event and then deleted the thread; but the "event" stays within the vBookie console, and we can't delete, close or edit it :(

dartho 11-16-2010 07:06 AM

An overall leaderboard would pretty easy, and the stats page altready shows top 5. Top 20 for a time period may also be possible - but I'd have to have a look first.

As for the orphaned event, I'm not sure how that happened. It has been reported once before so isn;t a regular occurence. Was it the same user that created and deleted the thead?

To remove it, you will need to edit the database.

Do you have access to phpMyAdmin? If so, look in the vbookie_items table for item_id n (check the value of item_id in the links to the event on the vbookie home page) and delete that row.

wrestlingv123 11-16-2010 11:47 AM

Got this message when I tried to go to the vBookie on my forum:


Warning: require_once([path]/includes/functions_vbookie.php) [function.require-once]: failed to open stream: No such file or directory in [path]/vbookie.php on line 74

Fatal error: require_once() [function.require]: Failed opening required '/home/*****/public_html/includes/functions_vbookie.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/*****/public_html/vbookie.php on line 74


I'm guessing I've uploaded it wrong or placed the file(s) in a different location. Any help?

Wseries 11-16-2010 12:13 PM

Quote:

Originally Posted by wrestlingv123 (Post 2122414)
I'm guessing I've uploaded it wrong or placed the file(s) in a different location. Any help?

You guessed right. Just start over by uploading the files again to your server.

tms433 11-17-2010 08:22 AM

Ok, I can take care of that. Yes, same user.. a mod was testing the script with vegas odds to see how the payouts worked, and just and an event "X -3 V Y" and then deleted the thread.. but the vbookie event stuck, and you can't go to info/thread on it because they don't exist.

neverstop 11-19-2010 08:13 PM

Quote:

Originally Posted by neverstop (Post 2114129)
had a problem today where someone bet on an event and no credits were removed from their total.

These problems seem to be random and I cant make heads or tails of when or why they happen

Still having a problem with this.

It is completely random but every once in a while the credits are not removed from a user when he makes a wager.

No one else has this prob?

New Joe 11-29-2010 07:28 AM

Quote:

Originally Posted by Robbed (Post 2077906)
Been working with style creators on the same issue. If a style uses additional.css it doesn't display right with a few addons

Fix:

Since version 4.0.1, there has been an additional template variable call (to grab additional.css) in the HEAD.

Please add the following:

{vb:raw headinclude_bottom}

Before </head> in your template and you're all set.

Which Template do you do the above?

mentalageof2 12-10-2010 05:55 AM

Been using this mod for quite a while now and think it's great.

I was wondering if there are any plans to expand the functionality so that creators of the events can accept the responsibility for settling the book, and of course, keep losing bets.

We have a gambling related forum and many of our members fancy themselves amateur bookmakers.

It would add an extra element of realism for the serious gambler :)

dartho 12-10-2010 08:54 AM

You mean that money goes in and out of their own account balances?

mentalageof2 12-10-2010 09:22 AM

Yes, just like that.

This would be optional on the event settings of course, but if a user could create the event and have to float the bets of others from their own cash.

Then they receive losing bets directly in to their account and have to pay the winners once the event is resolved.

I think this would add just the kind of risk/reward structure many gamblers look for.

dartho 12-10-2010 09:36 AM

As it so happens, I have it configured this way on my site - but it applies to ALL books, not as a book by book option. If you like I can work out and put up the instructions for making it work this way, but I'm sorry to say I won't be adding it as a book by book option.

mentalageof2 12-10-2010 10:10 AM

Ah that sounds awesome.

Yes please :)

I was only really considering the optional setting as a mass market inclusion. I'm sure all of our members will much prefer the personal risk element.

Don't put yourself out too much, but I would greatly appreciate the instructions when you get the time.

Cheers!

mmacrypt 12-10-2010 10:02 PM

that's pretty cool. Not sure if I would use that or not since I do all the bookies but I also bet a lot also. I would hate to run out of money if the field does really good. But it is very interesting. Never thought about being the actual bookie. I guess I could front myself some Crypt Cash as needed. :D

dartho 12-11-2010 01:52 AM

My site is under vb3.8 - just tried it on a 4.1 test site and have a few issues (when abandoning events), so will look into it more, but certainly is possible...

mentalageof2 12-12-2010 12:39 AM

Nice one dartho. I've just upgraded to 4.1.

What currently happens on your board if the bookie is not able to cover an events winnings?

dartho 12-12-2010 08:46 AM

my bookies go into negative should things not go their way, but for the most part, they are virtual billionaires!

mentalageof2 12-13-2010 07:12 AM

Quote:

Originally Posted by dartho (Post 2132765)
but for the most part, they are virtual billionaires!

Are they allowed to bet on their own events?

dartho 12-13-2010 07:24 AM

they are, but given teh money comes out of their pocket, and goes back into their own pocket they always have a nett gain/loss of zero as they are betting against themselves :)

Sharkyman 12-13-2010 08:30 PM

Sorry, how do you make their Vbookie amounts appear underneath their post counts (or wherever)? I've clicked the "appear in post bit" to yes in the options section but to no avail.

Thanks.


All times are GMT. The time now is 05:40 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.04329 seconds
  • Memory Usage 1,837KB
  • 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
  • (4)bbcode_code_printable
  • (10)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