Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBookie for vBulletin 3.5 Details »»
vBookie for vBulletin 3.5
Version: 1.0.7, by Andreas Andreas is offline
Developer Last Online: Jan 2023 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 08-11-2005 Last Update: 02-17-2006 Installs: 633
DB Changes Uses Plugins Template Edits
Additional Files Is in Beta Stage  
No support by the author.

vBookie

Introduction

This is a Port of the original vBookie Hack created by tdjrico; full credits to him for the idea and the kind permission to port his work

A t t e n t i o n
This Hack is unsopported and incompatible with vBulletin 3.6+
You are hereby advised to not use it.
Please do not ask me about support and/or updates - there will be none.

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #1352  
Old 02-08-2007, 07:27 PM
stuc stuc is offline
 
Join Date: Mar 2003
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AdamB View Post
Hello,

When I go to enable usergroups for each vbookie permission and hit save, and go back it's always disabled. How do I fix this?
I've got the same problem, anybody got any ideas?
Reply With Quote
  #1353  
Old 02-09-2007, 12:24 PM
Bacon Butty Bacon Butty is offline
 
Join Date: Jun 2005
Posts: 309
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AdamB View Post
Hello,

When I go to enable usergroups for each vbookie permission and hit save, and go back it's always disabled. How do I fix this?
I have the same problem.
Reply With Quote
  #1354  
Old 02-09-2007, 12:33 PM
stuc stuc is offline
 
Join Date: Mar 2003
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stuc View Post
I've got the same problem, anybody got any ideas?
Mine is now working
Reply With Quote
  #1355  
Old 02-09-2007, 10:26 PM
bobster65's Avatar
bobster65 bobster65 is offline
 
Join Date: Mar 2006
Location: Montana
Posts: 1,169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AdamB View Post
Hello,

When I go to enable usergroups for each vbookie permission and hit save, and go back it's always disabled. How do I fix this?
You need to rebuid your bit fields. This should be added to the instructions, cause its the most asked question in this thread.
Reply With Quote
  #1356  
Old 02-09-2007, 11:09 PM
Kleptomaniac Kleptomaniac is offline
 
Join Date: Jan 2007
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the mod. Is there a way to disable betting on an event for the user who posts the vbookie event only?
Reply With Quote
  #1357  
Old 02-10-2007, 01:13 AM
gizmo01 gizmo01 is offline
 
Join Date: Mar 2006
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It would be really handy if the main vbookie display showed times as well as dates under the Added, Open Until and Payouts After.

Actually, even better, if it's today's date, it should only show the time, otherwise it should show the date.

Anybody know which template I'd need to play with to get this done? I'd be willing to give it a try myself and post my findings here.


UPDATE: Ok, I'm 99% sure I'd need to edit the vbookie.php file to accomplish this and this is where I believe it needs to be done:

Code:
$item['created'] = vbdate($vbulletin->options['dateformat'],$item['item_created']);
$item['openuntil'] = vbdate($vbulletin->options['dateformat'],$item['item_open_until']);
$item['payafter'] = vbdate($vbulletin->options['dateformat'],$item['item_pay_after']);
eval('$betitembits .= "' . fetch_template('vbookie_main_items_bit') . '";');
That starts at line 355 in the file. I think that my next step would be an IF statement to evalutate $today and compare it to $item['openuntil'], etc...

Any help here?


2ND Update: Ok, I was on a mission. This is what I came up with. I really was only interested in showing the Open Until time on open items.

It may not be elegant, but I replaced line 356 which was this:

Code:
$item['openuntil'] = vbdate($vbulletin->options['dateformat'],$item['item_open_until']);
with this:

Code:
		if ($item['item_open_until'] < TIMENOW)
		{
			$item['openuntil'] = vbdate($vbulletin->options['dateformat'],$item['item_open_until']);
		}
		else
		{
			$item['openuntil'] = vbdate($vbulletin->options['dateformat'],$item['item_open_until']) . " @ " . vbdate($vbulletin->options['timeformat'],$item['item_open_until']);
		}

Well, it does the job that I wanted, but it kinda messes up the spacing a bit, which I can live with. Also, it doesn't bother to show the time unless the item is still open.

I hope someone else can find this to be a useful modification. Any and all suggestions are more than welcome.

giz
Reply With Quote
  #1358  
Old 02-11-2007, 01:54 PM
Bacon Butty Bacon Butty is offline
 
Join Date: Jun 2005
Posts: 309
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bobster65 View Post
You need to rebuid your bit fields. This should be added to the instructions, cause its the most asked question in this thread.
How do I do that?
Reply With Quote
  #1359  
Old 02-11-2007, 05:17 PM
gizmo01 gizmo01 is offline
 
Join Date: Mar 2006
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bacon Butty View Post
How do I do that?
http://yoursite/yourforumfolder/admi...buildbitfields

Replace yoursite and yourforumfolder obviously.
Reply With Quote
  #1360  
Old 02-15-2007, 07:10 PM
iamme1 iamme1 is offline
 
Join Date: Jan 2006
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there a hack or plugin that will automatically move settled bet threads into a separate forum (like an "archived bets forum")?
Reply With Quote
  #1361  
Old 02-15-2007, 07:40 PM
bandare bandare is offline
 
Join Date: Nov 2004
Location: Derby, UK
Posts: 221
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can anyone help... I really need a command to be able to set every users vcash back to 500 or a number.... anyone??????????????

seems stupid that wasnt included....
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06657 seconds
  • Memory Usage 2,318KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete