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
  #732  
Old 03-17-2006, 05:13 AM
djwins djwins is offline
 
Join Date: Jan 2005
Posts: 167
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mclark2112
Is there any way to retain my users old vCash from before the 3.5 upgrade? I haven't updated vBookie yet, so I'm sure it is still in the database.
Quote:
Originally Posted by xug
Yeah, any info for people who have this already in their database?
Any upgrade path for people using the pre-3.5vB version?
Reply With Quote
  #733  
Old 03-17-2006, 09:23 AM
Adam21 Adam21 is offline
 
Join Date: Apr 2005
Location: In The Network!
Posts: 299
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks to psybernaut,i've vbookie events paying out from the vbookies themselves.works great!thanks alot!
Reply With Quote
  #734  
Old 03-18-2006, 02:38 AM
Baudman Baudman is offline
 
Join Date: Jan 2006
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just installed this hack and can't get it to except my attempts to change the usergroups permissions. I click on a usergroup and set everything to yes and then save it. It says it saves but then I check to see if its set to yes and they arn't. Has anyone else had this proble? or am I doing something wrong?
Reply With Quote
  #735  
Old 03-18-2006, 03:05 AM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

> Has anyone else had this proble?
Everyone has because the install code is "broken".
Just import the XML again and select override
Reply With Quote
  #736  
Old 03-18-2006, 03:23 AM
Baudman Baudman is offline
 
Join Date: Jan 2006
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Andreas
> Has anyone else had this proble?
Everyone has because the install code is "broken".
Just import the XML again and select override
thanks I acually found another thread that said to rebuild the bitfields and it worked. My only other question is how do I delete an event from the event list? I have deleted the original thread but it still shows on the list.
Reply With Quote
  #737  
Old 03-18-2006, 12:25 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Should have been deleted too, though as it has not been deleted ... not possible.
Reply With Quote
  #738  
Old 03-18-2006, 03:43 PM
VodkaFish VodkaFish is offline
 
Join Date: Oct 2003
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

On the main vbookie page, the dropdown to show different events:
Currently showing * Events. Switch to * Events
If you choose "settled", it brings my forum down. mysql gets a too many connections error. I do have a lot of settled events, but I can't understand why one query would bring it down. Either way, just thought I'd report it. I took the option off of my forums for the meantime. I'm using the latest version of vbookie.
Reply With Quote
  #739  
Old 03-18-2006, 04:18 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Edit vbookie.php and replace
PHP Code:
LEFT JOIN " . TABLE_PREFIX . "thread AS thread ON thread.vbookie_item_id item.item_id 
with
PHP Code:
LEFT JOIN " . TABLE_PREFIX . "thread AS thread ON (thread.threadid item.threadid
[sql]ALTER TABLE vbookie_items ADD INDEX (item_status);
UPDATE vbookie_items, thread SET vbookie_items.threadid=thread.threadid WHERE thread.vbookie_item_id=vbookie_items.item_id;
[/sql]
Execute these queries and check if it does help.
Reply With Quote
  #740  
Old 03-18-2006, 11:15 PM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm currently testing this mod. I think you've done an awesome job, Andreas. Is it possible to add (either in XML or SQL Query) variance in the amount of cash (default 500) by Usergroup upon registration and current registries? This is what I'm thinking:

In XML:

Code:
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "user ADD vbookie_cash BIGINT UNSIGNED DEFAULT '500' AFTER pmunread WHERE usergroupid='x'");
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "user ADD vbookie_cash BIGINT UNSIGNED DEFAULT '1500' AFTER pmunread WHERE usergroupid='y'");
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "user ADD vbookie_cash BIGINT UNSIGNED DEFAULT '5000' AFTER pmunread WHERE usergroupid='z'");
And:

Code:
	$db->query_write("UPDATE " . TABLE_PREFIX . "user SET vbookie_cash=500" WHERE usergroupid='x');
	$db->query_write("UPDATE " . TABLE_PREFIX . "user SET vbookie_cash=1500" WHERE usergroupid='y');
	$db->query_write("UPDATE " . TABLE_PREFIX . "user SET vbookie_cash=5000" WHERE usergroupid='z');
Where "x", "y" and "z" are the specified UserIDs will be set. I realize that there isn't a "usergroupid" TABLE but I'm not sure of the workaround.

------------------------

EDITED: I modified the code bit and this part worked in SQL Query. Well, sort of. It only changes curent registered members upon usergroupid definition. New registries still inherit default vcash settings:

Code:
UPDATE user SET vbookie_cash='500' WHERE usergroupid='x';
UPDATE user SET vbookie_cash='1000' WHERE usergroupid='y';
UPDATE user SET vbookie_cash='5000' WHERE usergroupid='z';
For ALTER TABLE in SQL Query I'm trying to figure out this:

Code:
ALTER TABLE vbtest_user ADD vbookie_cash BIGINT UNSIGNED DEFAULT '5000' WHERE usergroupid='z' AFTER pmunread;
I'm getting a syntax error at "WHERE usergroupid='z'". Then again, do I need this portion for new and current registries to work properly?

------------------------

Edited Again: I could set SQL Query for userids such as:

Code:
UPDATE vbtest_user SET vbookie_cash='5000' WHERE userid='z';
Although I'd prefer doing it mass in XML or SQL Query. If it's not possible, by setting individual variance in SQL Query will it create a DB problem?
Reply With Quote
  #741  
Old 03-19-2006, 11:35 AM
majoreyeswater majoreyeswater is offline
 
Join Date: Jan 2006
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Love this mod, adds such value to my board.

Wondering if might be able to get a bit of help.

A member created an event in vBookie, then my some mistake, they deleted the thread before they had closed the event.

The event is now still listed in vBookie, and can't be closed or deleted.

Any help appreciated.
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 04:25 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.06128 seconds
  • Memory Usage 2,324KB
  • 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
  • (5)bbcode_code
  • (2)bbcode_php
  • (3)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
  • (5)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