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)

SA_TGAZ 10-18-2007 03:53 PM

Is there a max amount that can be bet??? or any limitations on the size?

DS MrSinister 10-18-2007 07:10 PM

Quote:

Originally Posted by SA_TGAZ (Post 1363145)
Is there a max amount that can be bet??? or any limitations on the size?

yes


https://vborg.vbsupport.ru/showpost....&postcount=775

SA_TGAZ 10-18-2007 07:54 PM

Quote:

Originally Posted by DS MrSinister (Post 1363279)

Thanks! I had tried to search for it but didn't have much like... I guess my keywords suck! :)

slickdawg 10-20-2007 01:06 PM

First, I want to thank Sblueman and Kylek for their help !!!

I got vbookie running just fine on vb 3.6.7 PL1 - I uninstalled, and reinstalled, and the things that WERE supposed to be there WERE THERE, they were not before.

Now I have two questions:

1) On each user it lists their vcash total twice. How do I get rid of one of them?

2) How can I increase all the users vcash?

Thanks again for your help !

gatorenvy 10-22-2007 12:00 PM

I had a Moderator wrongly settle bets.

I can't find any way to go back and edit the the settled bets? Anything I'm missing, or is it once the bets are settled that's it?

Maxman1544 10-22-2007 12:29 PM

Can anyone tell me the mysql syntax to use if I want to bump everyones vcash by x amount. I see the command to reset everyone to 500. WHat do I need to do if I want to keep everyone at the same level but add 2,500 to it?

Any help would be appreciated.

Thanks!

timnp 10-24-2007 01:22 PM

Quote:

Originally Posted by bobster65 (Post 1293292)
This is what I came up with. It involves 1 file edit and 2 template edits. The result is vcash showing up in the member list and is sortable...

Step 1: Edit memberlist.php

PHP Code:

================================
File Editmemberlist.php
================================
FIND:
--------------------------------
        case 
'posts':
            
$sqlsort 'user.posts';
            break;
--------------------------------
ADD BELOW:
--------------------------------
        case 
'vbookie_cash':
            
$sqlsort 'user.vbookie_cash';
            break; 


Step 2: Edit memberlist Template

PHP Code:

================================
Template Editmemberlist
================================
FIND:
--------------------------------
    <if 
condition="$show['postscol']"><td class="thead" nowrap="nowrap"><a href="$sorturl&amp;order=DESC&amp;sort=posts&amp;pp=$perpage$usergrouplink">$vbphrase[posts]</a$sortarrow[posts]</td></if>
--------------------------------
ADD BELOW:
--------------------------------
    <if 
condition="$vboptions['vbookiecashon']"><td class="thead" nowrap="nowrap"><a href="$sorturl&amp;order=DESC&amp;sort=vbookie_cash&amp;pp=$perpage$usergrouplink">$vbphrase[vbookie_vcash]</a$sortarrow[vbookie_cash]</td></if> 


Step 3: Edit memberlist_resultsbit Template

PHP Code:

================================
Template Editmemberlist_resultsbit
================================
FIND:
--------------------------------
    <if 
condition="$show['postscol'] AND exec_switch_bg()"><td class="$bgclass">$userinfo[posts]</td></if>
--------------------------------
ADD BELOW:
--------------------------------
    <if 
condition="$vboptions['vbookiecashon'] AND exec_switch_bg() "> <td class="$bgclass">$userinfo[vbookie_cash]</td></if> 


Tested on my site and works perfectly...

Hi. Thanks for this info. It was enough for me to write a product that does this task. You still need to make the two template changes that you mentioned but there is no need to edit the hard code. Attached is the product that you need to import.

Don't forget, you still need to edit the templates as you detailed above. This product just replaces having to edit the hard code.

Regards,

Tim.

(my first product so please be kind :D )

mathias 10-25-2007 07:27 AM

someone release a 3.6.8 come on...

timnp 10-25-2007 07:53 AM

Quote:

Originally Posted by Maxman1544 (Post 1365853)
Can anyone tell me the mysql syntax to use if I want to bump everyones vcash by x amount. I see the command to reset everyone to 500. WHat do I need to do if I want to keep everyone at the same level but add 2,500 to it?

Any help would be appreciated.

Thanks!

Try:

UPDATE user SET vbookie_cash = vbookie_cash + 2500

:)

TTG 10-25-2007 08:52 AM

Quote:

Originally Posted by mathias (Post 1368132)
someone release a 3.6.8 come on...

Would be appreciated :up:


All times are GMT. The time now is 10: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.02327 seconds
  • Memory Usage 1,763KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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