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)

Bacon Butty 04-03-2010 01:55 PM

Finally got around to upgrading the forum to 4, and have upgraded vBookie.

Just a quick question. Is there any chance to remove 'vBookie' from the navbar, but still have the sub tab accessible the "/forum/vbookie.php" link?

dartho 04-03-2010 10:24 PM

it's either all or none for vbookie, unless you make manual edits to your navbar templates I guess ...

Bacon Butty 04-04-2010 08:36 AM

Ah okay, thanks for your prompt reply and thanks again for porting this mod.

will555559 04-05-2010 06:26 PM

Quote:

Originally Posted by Bacon Butty (Post 2015148)
Finally got around to upgrading the forum to 4, and have upgraded vBookie.

Just a quick question. Is there any chance to remove 'vBookie' from the navbar, but still have the sub tab accessible the "/forum/vbookie.php" link?

If you want to do this, go to the Plugin Manager in your admincp and disable "vBookie: Insert Navbar Link."

Delilahs 04-25-2010 01:51 PM

anyone now unable to add a new event?

Th box is there to tick, but it doesn't then direct me to the correct page. but just goes as a normal post, I've checked the readme file and everything appears to be in order.

dartho 04-25-2010 09:44 PM

what (if anything) changed that you know of to cause this?

Delilahs 04-26-2010 02:25 AM

i've installed couple of mods this week, but I went through the whole lot and disabled them all apart from vbookie, but to no avail.

the box is still there when I create a new thread to include a vbookie event, but it doesn't then direct to the vbookie ner event page

dartho 04-26-2010 09:28 AM

it's a plugin that does the redirect when a new vBookie thread is posted.

Check teh newthread_post_complete plugiun is enabled, also try changing its execution order to say 10

Delilahs 04-26-2010 09:58 AM

done that, still no good, this is the code for it.

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));



dartho 04-26-2010 11:00 AM

after creating a thread, take a note of th threadid and try manually entering the following URL:

http://......./vbookie.php?t=threadid&do=newevent Does this let you then add a vBookie event?

If so, you'll need to do some testing to see what the issue is. I'm happy to do this if you can give me admin access I'll happily look - it may cause some odd text for users for a few minutes while I run over things, but shouldn't take long.

Delilahs 04-26-2010 03:05 PM

Tried that and it does let me add a new event. the original url was..

http:///forum/showthread.php/1581-this-is-a-test

I changed it to. http:///forum/vbookie.php?t=1581&do=newevent

and it works no problem, so it looks like a rewrite url problem

gone through the url rewrite options in vbulletin, and changing them doesn't rectify it either.

share4vn.com 04-30-2010 06:17 PM

I dont know why the events always CLOSED although the end date is not yet expired.

Please help

FrankieGersnet 05-06-2010 12:55 PM

Hmmm... tried to install this today and have followed all the instructions but no VBookie link on the navbar or the option to add events in new threads? :(

We did have a previous install on 3.8x that worked fine.

4.0.7 used.

TheBish 05-06-2010 03:11 PM

As simple an install as they come.

I do have a minor issue where on the vBookie page my style gets a touch messed up. Top right corner links pushed over right, top spacing gone, and spacing beneath the navbar / breadcrumbs is gone.

http://www.localgolflinks.com/vbookie.php

If I could be pointed in the right direction to fix this I would greatly appreciate it. When we launch next week and begin placing sponsor banners this will be an issue.

Thanks again and I just love this mod!

dartho 05-06-2010 09:40 PM

@Frankie - when you upgrade to vBulletin 4, did you disable the vBookie plugins or product, and is it still disabled after installling the new vBookie?

@TheBish - Sounds like you are viewing using Internet Explorer in "Compatibility Mode" - try turning this off

TheBish 05-07-2010 01:29 AM

Quote:

Originally Posted by dartho (Post 2032818)
@Frankie - when you upgrade to vBulletin 4, did you disable the vBookie plugins or product, and is it still disabled after installling the new vBookie?

@TheBish - Sounds like you are viewing using Internet Explorer in "Compatibility Mode" - try turning this off

Man I wish that were the case. I am viewing the same issue in all browsers (IE8, FF, Chrome, Opera, Safari).

I am almost positive it is my custom design. I cannot tell if there is a difference in the vb base style although it does shift to the right a touch. However, due to the style it does not really do much. I just cannot tell what is causing the issue.

dartho 05-07-2010 01:58 AM

Ah - I see now - didn't notice the up top links.

Try this:

edit your VBOOKIE template and replace everything between the <head> and </head> tags with
Code:

        {vb:raw headinclude}
        <title>{vb:raw vboptions.bbtitle} - {vb:raw title}</title>
        {vb:raw headinclude_bottom}


TheBish 05-07-2010 02:37 AM

Quote:

Originally Posted by dartho (Post 2032893)
Ah - I see now - didn't notice the up top links.

Try this:

edit your VBOOKIE template and replace everything between the <head> and </head> tags with
Code:

        {vb:raw headinclude}
        <title>{vb:raw vboptions.bbtitle} - {vb:raw title}</title>
        {vb:raw headinclude_bottom}


Did the trick... You absolutely rock!

FrankieGersnet 05-07-2010 06:16 AM

Quote:

Originally Posted by dartho (Post 2032818)
@Frankie - when you upgrade to vBulletin 4, did you disable the vBookie plugins or product, and is it still disabled after installling the new vBookie?

Thanks for the prompt reply mate... :)

In the product manager, the following message is displayed:

'Warning: Plugins are currently globally disabled via config.php.'

As such, I've removed the appropriate line in the config file and all seems to be fine now!

Many thanks for taking the time to re-release and upgrade this software! :)

dartho 05-07-2010 08:07 AM

woot - 2 for 2!

share4vn.com 05-07-2010 02:22 PM

My settings: start day < end day > current time
but all events can't bet >'<
Can you help me make an event without CLOSED please :(

dartho 05-07-2010 09:44 PM

@share4vn - can you give me a link to your site? PM if needed

nonstoprob 05-08-2010 12:55 PM

I read here that people have similar bugs with vbookie stats. (4.0.7)

I get a database error with: Query was empty

What is the workaround??

And is there a way to show your vcash-amount near your posts? (like joindate, location an no. of posts)

dartho 05-08-2010 08:27 PM

I'm suprised that issue is happening - but the way to get around it would be to create an event.

vCash should already be showing in your postbit template.

Delilahs 05-12-2010 05:50 AM

Quote:

Originally Posted by Delilahs (Post 2027647)
Tried that and it does let me add a new event. the original url was..

http:///forum/showthread.php/1581-this-is-a-test

I changed it to. http:///forum/vbookie.php?t=1581&do=newevent

and it works no problem, so it looks like a rewrite url problem

gone through the url rewrite options in vbulletin, and changing them doesn't rectify it either.

Dartho, is there a work around for this problem? < I've tried all sorts of things and it just isn't having any of it

BF777 05-14-2010 04:15 AM

I just upgraded to VB 4.03 and now the "Post New Event" button is missing. I'm no longer provided with the option to post an event. I've checked the settings. I'm authorized to create an event and all the plug ins are active. Why am I still not able to post an event?

BF777 05-14-2010 02:48 PM

Update: I figured out the problem. When I upgraded, I reverted the newthread template. Adding the additional code noted in the readme.txt file solved the issue. I can now post events again!

Delilahs 05-15-2010 07:25 AM

BF77, where abouts did you add the code because the readme text says to remove it, I'm having trouble adding new events so this could solve it for me

nonstoprob 05-17-2010 01:10 PM

We still have a (big) problem with vCash / vBookie on our forum.

I have hacked it so far, that it shows the ammount of vCash near the users.. but the statistics and the betting doesnt work!!

Where do I have to look to fix this? Or what do I have to change??

Quote:

MySQL Error : Query was empty
Error Number : 1065
Request Date : Monday, May 17th 2010 @ 03:01:47 PM
Error Date : Monday, May 17th 2010 @ 03:01:47 PM
Script : http://www.mixfight.nl/forum/vbookie.php?do=stats
Referrer : http://www.mixfight.nl/forum/vbookie.php

dartho 05-17-2010 09:44 PM

Try editing vbookie.php and replace: (line 613 - 619)

PHP Code:

    $result vbookie_get_richest();
    
$richest_people '';
    while (
$bit $db->fetch_array($result)) 
    {
        
$user $bit['username'];
        
$richest_people .= construct_phrase($vbphrase['x_has_a_total_of_y'], $user$bit['cash']);
    } 

with

PHP Code:

//    $result = vbookie_get_richest();
    
$richest_people '';
//    while ($bit = $db->fetch_array($result)) 
//    {
//        $user = $bit['username'];
//        $richest_people .= construct_phrase($vbphrase['x_has_a_total_of_y'], $user, $bit['cash']);
//    } 

and let me know how it goes

SliceofLife 05-18-2010 09:11 AM

Hi. Just wondering, I created a 'test event' and gave a date and time for it to close, and that has now passed. How do I now settle the event? There is no option to settle the event that I can see?

dartho 05-18-2010 04:10 PM

check the tick boxes for the winning outcomes

SliceofLife 05-18-2010 08:25 PM

Quote:

Originally Posted by dartho (Post 2039316)
check the tick boxes for the winning outcomes

There are no tick boxes at all available. It's move itself to a closed event. But either in the vBookie area, or the thread, there is no option to settle?

dartho 05-18-2010 10:46 PM

check the date for bets can be settled after - it may not be teh same as teh accept bets until date ...

jpwilliams 05-20-2010 05:04 PM

Get the following database error when clicking on vCash utilities in admincp. I want to be able to reset funds monthly.

Database error in vBulletin 4.0.3:

Invalid SQL:

SHOW Columns
FROM phpbb3_user
WHERE Field = "vbookie_cash";

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE Field = "vbookie_cash"' at line 3
Error Number : 1064
Request Date : Thursday, May 20th 2010 @ 02:03:32 PM
Error Date : Thursday, May 20th 2010 @ 02:03:32 PM
Script : http://www.blickees.com/admincp/vbookie_admin.php
Referrer : http://www.blickees.com/admincp/opti...ogroup=vbookie
IP Address : 216.215.192.134
Username : Fe1on1ous Monk
Classname : vB_Database_MySQLi
MySQL Version : 4.1.18-nt

dartho 05-20-2010 10:04 PM

I would guess it's because you are running an old MYSQL version...

Try editing the /admincp/vbookie_admin.php file, search for
PHP Code:

    $types $db->query_read('
        SHOW Columns 
        FROM ' 
TABLE_PREFIX 'user
        WHERE Field = "vbookie_cash"
    '
); 

and replace with
PHP Code:

    $types $db->query_read('
        SHOW Columns 
        FROM ' 
TABLE_PREFIX 'user
        LIKE "vbookie_cash"
    '
); 


Adam H 05-23-2010 07:22 PM

Is there anyway to get a leader board of the how much cash each member has ?

dartho 05-23-2010 09:57 PM

In the bet statistics it has the 10 richest people. Otherwise you can always run a query like:

Code:

select username, vbookie_cash from user order by vbookie_cash desc

Adam H 05-23-2010 10:07 PM

Quote:

Originally Posted by dartho (Post 2042407)
In the bet statistics it has the 10 richest people. Otherwise you can always run a query like:

Code:

select username, vbookie_cash from user order by vbookie_cash desc

Sorry i meant something all members can see ? like the richest members ?

dartho 05-24-2010 12:18 AM

all members can see richest members in teh stats page can't they?


All times are GMT. The time now is 02:55 AM.

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.04612 seconds
  • Memory Usage 1,849KB
  • 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
  • (5)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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