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)

jonty 01-19-2010 07:04 AM

fantastic <clicks install> :up:

GreigM 01-19-2010 07:22 AM

How can we change the starting value for vcash? I am sure it was a DB query on the old mod would it still be the same?

Also on the main forum display a vbookie thread displays the poll icon, thread view shows the vbookie icon, would that be able to be changed?

Also when a bet is settled it does not seem to give the details of who won etc

http://i68.photobucket.com/albums/i3...7/39c6cdb7.jpg

other than that all seems great, so nice to see this mod back, thanks :-)

dartho 01-19-2010 07:36 AM

Quote:

Originally Posted by ti07shadow (Post 1959937)
There is a template issue in alignment.
the private betting check mark is on the far left while the rest is centered.

As an initial release, there are bound to be a few things like this. I'll look into this.

Quote:

Originally Posted by GreigM (Post 1959978)
How can we change the starting value for vcash? I am sure it was a DB query on the old mod would it still be the same?

The DB query would be the same, as the DB structure is the same. If you find it before I get around to looking, post it here and I'll link to it in the first post and try and implement at some time.

Quote:

Originally Posted by GreigM (Post 1959978)
Also on the main forum display a vbookie thread displays the poll icon, thread view shows the vbookie icon, would that be able to be changed?

I see that - I'll look into it. :up:

I've notice one or two other "small things" which I'll fix up soon also.

dartho 01-19-2010 07:41 AM

actually - the small things are a little obtrusive, although they won;t affect any data - just look odd to your users, I'll fix up tonight (next few hours) and get a new release out.

If you want to manually get rid of the most obvious one in the mean time, edit the vbookie_eventresults_table template, scroll to the end and you'll see a table with data such as "Hello World" etc. Delete that whole table block :o

To see who won, click on the winning "Outcome" in the thread

GreigM 01-19-2010 07:48 AM

Quote:

Originally Posted by msu2k (Post 1321015)
For people wondering how to reset all user's vCash to 500, you need to execute this SQL query:

UPDATE user SET vbookie_cash=500;

If you totally want to clear all past events as well, execute these SQL queries:

DELETE FROM vbookie_news;
DELETE FROM vbookie_bets_placed;
DELETE FROM vbookie_item_options;
DELETE FROM vbookie_items;
DELETE FROM vbookie_groups;

Run these at your own risk...you may want to backup your DB first before running them. I run these once each year and have not had any problems with them.

from the old thread, just ran it on my install and it set everyone to 1000 which is what I set the vcash too :)

edit: actually this will work for members currently registered but anyone new would still start with 500, would it be possible to add a admincp option to set the default vcash value? I guess the 500 default is set in the xml import, maybe we could just change it in there?

TimberFloorAu 01-19-2010 08:35 AM

Note:

The postbit icon isnt displaying for us.

Also wish to change title of navbar menu name from vbookie to The Bookies

TimberFloorAu 01-19-2010 08:49 AM

Okies Icon is displaying lol ( thought it would be in the postbit ...duhhh)

Ste

btw love the roman numerals postcount on twf

dartho 01-19-2010 08:57 AM

Quote:

Originally Posted by TimberFloorAu (Post 1960014)
Also wish to change title of navbar menu name from vbookie to The Bookies

Edit the vbookie_navbar_link template and change the 2 occurences (currently on 3rd line and 2nd last lines) of {vb:rawphrase vbookie} with what you want...

Other wise you can just change teh phrase "vbookie" to be what you want and this will change all occurences


Quote:

btw love the roman numerals postcount on twf

see here: https://vborg.vbsupport.ru/showthread.php?t=222213 Should work under 4.0 also :up:

dartho 01-19-2010 09:00 AM

Quote:

Originally Posted by GreigM (Post 1959987)
edit: actually this will work for members currently registered but anyone new would still start with 500, would it be possible to add a admincp option to set the default vcash value? I guess the 500 default is set in the xml import, maybe we could just change it in there?

You could edit your database with phpmyadmin and set teh default value for user.vbookie_cash then all new users will start with the default

TimberFloorAu 01-19-2010 09:35 AM

Changed navbar link plugin to:

Code:

if (defined('The Bookies') )
{
    $vbulletin->options['selectednavtab'] = 'The Bookies';
}
$template_hook['navtab_middle'] .= vB_Template::create('vbookie_navbar_link')->render();

Didnt change anything. Will look at phrases


All times are GMT. The time now is 05:52 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.01388 seconds
  • Memory Usage 1,746KB
  • 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
  • (1)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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