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)

dartho 02-21-2011 10:14 AM

I said unsupported, but ...

I think I see what the problem is there, you've obviously lost and gone into negative but the vcash column is unsigned. You need to make teh vbookie_cash column on the user table signed. Make it a bigint(20) and you should have plenty of scope for growth ...?
SQL Command:

Code:

ALTER TABLE `user` CHANGE `vbookie_cash` `vbookie_cash` BIGINT( 20 ) NULL DEFAULT '500'
or do it via PhpMyAdmin

BenWCF 02-21-2011 10:36 AM

Quote:

Originally Posted by dartho (Post 2164905)
I said unsupported, but ...

I think I see what the problem is there, you've obviously lost and gone into negative but the vcash column is unsigned. You need to make teh vbookie_cash column on the user table signed. Make it a bigint(20) and you should have plenty of scope for growth ...?
SQL Command:

Code:

ALTER TABLE `user` CHANGE `vbookie_cash` `vbookie_cash` BIGINT( 20 ) NULL DEFAULT '500'
or do it via PhpMyAdmin

thanks for your help.

where do I find vbookie_cash within the admincp?

dartho 02-21-2011 10:39 AM

not in your admincp - in your database

BenWCF 02-21-2011 10:41 AM

Quote:

Originally Posted by dartho (Post 2164911)
not in your admincp - in your database

can i not access the database through the admincp or is it something i have to do through ftp?

I apologise for all the questions - I've never dealt with anything like this before.

BenWCF 02-21-2011 11:34 AM

right, I've been looking around on here, logged onto my hosts cpanel and put that bit of code into the Phpmyadmin section.

I now have a total of 9223372036854775807.

Where have I gone wrong now?

dartho 02-21-2011 08:54 PM

That sounds right - that number is half of the previous balance as a bit is now use for the sign. Now change your balance to what you want by editing the 'user_cash' figure against your name in the user table of your database. You could manually work out how much people won against you if you want it to be accurate, or just start with 500 again

BenWCF 02-21-2011 09:25 PM

where is the user table situated so i can edit it?

dartho 02-21-2011 10:30 PM

In your database - use phpmyadmin in cPanel

nickk96 05-20-2011 06:23 PM

Removed.

nickk96 05-23-2011 06:58 PM

Removed.

cowboyznut 06-16-2011 02:06 AM

can you use it with 3.7?

bobster65 06-17-2011 02:58 AM

Quote:

Originally Posted by cowboyznut (Post 2208325)
can you use it with 3.7?

yes

Chase 07-18-2012 06:58 PM

wow no talk in here for a year...

I am still using 3.8.7 and have a question...

I have been using vbcredits for the points system for vbookie... however I am getting rid of vbcredits altogether... what exactly do I need to do in order to use the native vcash system in vbookie.

What template edits and all other essential steps?

dartho 07-18-2012 10:36 PM

just change vbookie settings in admioncp to use vcash - you can do this without removing vbcredits to test it and then switch back if needed

Chase 07-19-2012 07:31 PM

Thanks.

Chase 09-03-2012 11:54 PM

Is there a way to reset the bookie bet statistics?

blind-eddie 09-04-2012 12:03 AM

Yes, but it can only be done via cpanel/phpMyadmin/database.

Chase 09-04-2012 01:27 AM

Ok, how would I do that?

FCDobbs 10-22-2012 04:56 AM

I know it is unsupported, but maybe someone can help me.
I have vBulletin 3.8.7 Beta.
I have installed this vBookie for 3.5

I have made all the template changes, and gotten all the privileges set, etc.

But it won't give me a checkbox to set up a betting for a newthread.
It just won't show at all.

Can anyone advise what I am doing wrong ?

Thanks

blind-eddie 10-22-2012 09:52 AM

Quote:

Originally Posted by Chase (Post 2362407)
Ok, how would I do that?

I didn't see this post, sorry. I am sure you figured it out by now.

Quote:

Originally Posted by FCDobbs (Post 2374965)
I know it is unsupported, but maybe someone can help me.
I have vBulletin 3.8.7 Beta.
I have installed this vBookie for 3.5

I have made all the template changes, and gotten all the privileges set, etc.

But it won't give me a checkbox to set up a betting for a newthread.
It just won't show at all.

Can anyone advise what I am doing wrong ?

Thanks

Took a bit to get it to work properly in 3.8.4 but, it will work.
I edited it quite a bit to suit my needs. I will share with you my edits & tweeks when I get home later today if no one else replies to your request.
I have it installed on my dead/live test site, link in sig. You wont see the many edits unless you are logged in sorry. Send me your email address & I will send you an invite.

FCDobbs 10-23-2012 01:08 AM

Thanks blind-eddie,
you helped to get me up and running.

FCDobbs 10-27-2012 06:59 PM

So, it was working just fine.
Now, for some reason, it has stopped working.
When you go to create a new thread, and check that it is a "vbookie" event,
then save the thread, it merely saves the post/thread.
It does not prompt you for the betting info, nor does it give the thread a "$" icon.

Nothing has been changed since it was working yesterday.

It is still enabled, and all forum permissions are still correct.

Any ideas on what could be causing this, and/or how I can fix it ?

Thanks (again) from whomever can help.



Edit/Update: 20121030

So after much searching, I figured out that the hook for 3.6 must be the problem
(see here) https://vborg.vbsupport.ru/showthrea...92#post1035092

So I made that hook change, and it seems to work now.

But... now I have to figure out why it worked before, but then it didn't.
Maybe someone changed that hook back (reverted).

Justin M 02-12-2013 05:56 PM

I have 3.8.7, if anyone can help me with installing vBookie by Private Message it would be greatly appreciated!

blind-eddie 02-13-2013 01:28 PM

Quote:

Originally Posted by Justin M (Post 2403817)
I have 3.8.7, if anyone can help me with installing vBookie by Private Message it would be greatly appreciated!

Works fine with 3.8.7


Install as per readme. (newthread template edit below.)

Once that is complete, rebuild bitfields.
To do that, go to
Code:

http://yoursite.com/forum/admincp/index.php?do=buildbitfields
Edit Usergroup permissions
I would not allow all members the ability to create/edit bookie events, only admin usergroup.

I would recommend creating a new child forum of an existing forum to pick up permissions & Name it Bookie Bets (Or whatever). Remember the forum id, you will need it later.

Next replace plugin contents as per instructions of the following post.
https://vborg.vbsupport.ru/showpost....&postcount=946

============================================

In Template newthread use the following.

Code:

  <if condition="$foruminfo[forumid] == xx">
  <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></if>

Only difference from readme to this is I added conditionals to only allow bookie threads to be created in one forum.
Change the xx to the forum id of your newly created child forum. Click Save.

Also, if you use vbadvanced and find the navbar link throws up a 404 error when clicked, go to vBa CMPS/Default Settings/Global vBadvanced Settings, add vbookie.php to the Navbar Replacements Section.

Happy editing....

Storer 03-26-2013 12:51 PM

Sorry for a bit of a bump, but I have a couple of questions to ask.

I am running vBulletin v3.8.7 and thanks to the above posts I've been able to install it fine.

However, when I post the vCash doesn't go +1. How do I go about fixing this?

Cheers.

blind-eddie 03-26-2013 02:59 PM

Quote:

Originally Posted by Storer (Post 2412366)
Sorry for a bit of a bump, but I have a couple of questions to ask.

I am running vBulletin v3.8.7 and thanks to the above posts I've been able to install it fine.

However, when I post the vCash doesn't go +1. How do I go about fixing this?

Cheers.

What do you mean by "when I post the vCash doesn't go +1"

Would you please give more details so I can help you fix your issue? Thank you

Storer 04-19-2013 08:52 AM

Quote:

Originally Posted by blind-eddie (Post 2412395)
What do you mean by "when I post the vCash doesn't go +1"

Would you please give more details so I can help you fix your issue? Thank you

When each member posts, they don't get a +1 in their vCash department. Not sure if this add-on gives that option.

jesus likes pie 07-20-2013 03:38 AM

Hi, are there any known severe exploits for this plugin running on 3.8.2? It is showing version number 1.0.7.

My forum has been compromised a few times with .js and .php files being edited. My main suspect is ibProArcade (see this thread: https://vborg.vbsupport.ru/showthread.php?p=2434523) but figured I would ask here anyways.

Chase 09-12-2013 02:23 PM

Hey guys... I don't know if anyone still reads this thread but I have a question. I've got this mod running on 3.8.7 and I have a "bookie" usergroup... for mods who wish to run the bookie events. How can I make it so any member of the "bookie" group can edit/add bookie lines to existing open events?

As it stands right now only the bookie event creator can add new lines to the event. However any member of the bookie usergroup can edit a line.

It would be great if any bookie usergroup member could add a new line to an open event.

Thanks and let me know!

Chase 09-15-2013 02:49 PM

bump?

Chase 09-26-2013 07:18 PM

Any ideas?

blind-eddie 09-26-2013 11:23 PM

I believe that can be set via usergroup permissions.

Code:

Can Post vBookie Events  Yes No 
Can Edit other people's vBookie Events  Yes No 
Can Bet on vBookie Events  Yes No

I have been using this for years on a few sites & I think that is all you have to do... but then again I have done so much to it that I can't remember all that I have done or added to it.

Chase 09-27-2013 06:51 PM

Thanks for the reply Eddie. Those are all set to yes in the permissions.

blind-eddie 09-27-2013 11:00 PM

I will compare default vbookie files/product to my to see what all I did & post back here.
It will be later tonight or in the morning before I can get to it, I am in the middle of remodeling my kitchen.

Chase 10-05-2013 02:30 PM

Hey Eddie just curious if you've had time to take a look at this yet?

blind-eddie 10-05-2013 05:53 PM

I don't see any changes I have done that would effect bookie usergroup from being able to edit or add new bookie events. I will pm you login details to my 3.8 test board later today so you can try there while in the bookie usergroup...

blind-eddie 10-06-2013 01:37 PM

I sent you a pm Chase.


All times are GMT. The time now is 04:28 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.02973 seconds
  • Memory Usage 1,819KB
  • 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
  • (5)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (37)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