vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - vbBux / vbPlaza v1.5.8 (Points + Store System) (https://vborg.vbsupport.ru/showthread.php?t=106953)

shaynehammy 02-13-2006 11:07 PM

Got this error when trying to admin donate

"The amount you are trying to transfer is invalid."

Although the amunts gets transferred to the user... how do i rectify this?

lordofgun 02-13-2006 11:54 PM

Regarding vbookie integration:

It's so much easier just to change all instances of "ucash" to "ebux" in functions_vbookie.php

No queries or anything need to be run.

Rickie3 02-14-2006 12:10 AM

Quote:

Originally Posted by lordofgun
Regarding vbookie integration:

It's so much easier just to change all instances of "ucash" to "ebux" in functions_vbookie.php

No queries or anything need to be run.

i'm a little confused here,i have vbookie installed but am using the built in vcash,i dont have ucash installed,so what you are saying if i edit functions_vbookie.php i can integrate this to work with ebux?,if this is so would you care to give some more details please

Frugal 02-14-2006 12:15 AM

Quote:

Originally Posted by lordofgun
Regarding vbookie integration:

It's so much easier just to change all instances of "ucash" to "ebux" in functions_vbookie.php

No queries or anything need to be run.

Apparently this does not work, that was my initial suggestion for people that didn't want to run the query, not tried myself but the person that did try reported that the result was vbookie complained that ucash was not installed when the ucash integration option was chosen.

Personally I'm guessing that is because both vbookieucash and ucash were changed. I suspect that if you leave vbookieucash untouched and only change ucash to eBux it should work. But on the other hand 1 query is far easier than selectively changing multiple instances of ucash in the functions_vbookie.php then reuploading it. Remember a straight "find and replace all" will get both vbookieucash and ucash so you have to selectivey replace them.

The version listed in my earlier post is far longer to explain than to do and really if ucash is not installed it comes down to 1 query and you get a seamless integration that needs no further upkeep. You can have the query done in the time that it takes to find the functions_vbookie file and open it let alone make the changes, save it, then reupload it, only to have to do it all over again when vbookie updates. So nope, it's not easier, just less frightening for those that don't like to run queries.

Frugal

Rickie3 02-14-2006 12:21 AM

Quote:

Originally Posted by Frugal

Section 1 (vbbokie installed ucash not installed)
Ok here is how to integrate ebux and vbookie without having to edit the vbookie files.

Install eBux as per the readme.

Search for and remove the following if it exists in postbit and postbit_legacy templates

Code:

<if condition="$vboptions['vbookiecashon']">
                                                <br />vCash: $post[vbookie_cash]
                                                </if>

Go to AdminCP >> eBux Options >> Manage Settings and change Points Field Name to ucash (this option should be just over half way down the list.)

Go to ACP >> Maintenance >> Execute SQL Query

Execute the following query

Code:

ALTER TABLE `user` CHANGE `ebux` `ucash` DECIMAL( 30, 5 ) NOT NULL DEFAULT '0.00000'
Then go to ACP >> vBulletin Option >> vBookie Settings and set Enable uCash to yes

eBux and vBookie will now work together.



Frugal

so if i choose to do this ebux will work ok with vbookie, i just want to be sure

Frugal 02-14-2006 12:24 AM

Quote:

Originally Posted by Rickie3
i'm a little confused here,i have vbookie installed but am using the built in vcash,i dont have ucash installed,so what you are saying if i edit functions_vbookie.php i can integrate this to work with ebux?,if this is so would you care to give some more details please

See section 1 of this post

https://vborg.vbsupport.ru/showpost....postcount=1389

This will integrate vbookie and eBux far with less hassle than editing your vbookie files. Editing the vbookie files is only part of it, you still have to follow all of the steps in the post I linked to except the sql query. The main difference between the sql query method and the editing the functions_vbookie method is that the sql method you do once and it is done for good, the file editing method has to be done every time vbookie is updated.

Well the other difference is that the sql method is tried tested and confirmed, the file editing works in theory but hasn't worked in practice (likely due to the person changing too many instances of ucash).

Frugal

Frugal 02-14-2006 12:26 AM

Quote:

Originally Posted by Rickie3
so if i choose to do this ebux will work ok with vbookie, i just want to be sure

Yes, if you have followed the eBux install options correctly including all the template edits and you follow these steps correctly vbookie will work ok with ebux. I should know, I won 7000 eBux points on a vbookie event today when the global flyer broke the record :D

Frugal

TTG 02-14-2006 12:32 AM

I can confirm it works .. just added a vbookie event and had the points deducted from my ebux points for my bet on the new event.

Rickie3 02-14-2006 12:36 AM

Quote:

Originally Posted by Frugal
Yes, if you have followed the eBux install options correctly including all the template edits and you follow these steps correctly vbookie will work ok with ebux. I should know, I won 7000 eBux points on a vbookie event today when the global flyer broke the record :D

Frugal

i'm having problems executing the query from the adminCP

Query
ALTER TABLE `user` CHANGE `ebux` `ucash` DECIMAL( 30, 5 ) NOT NULL DEFAULT '0.00000'

vBulletin Message
An error occurred while attempting to execute your query. The following information was returned.
error number: 1146
error desc: Table 'satsfge_.user' doesn't exist

what would be causing this please

caimakale 02-14-2006 12:46 AM

Quote:

Originally Posted by Rickie3
i'm having problems executing the query from the adminCP

Query
ALTER TABLE `user` CHANGE `ebux` `ucash` DECIMAL( 30, 5 ) NOT NULL DEFAULT '0.00000'

vBulletin Message
An error occurred while attempting to execute your query. The following information was returned.
error number: 1146
error desc: Table 'satsfge_.user' doesn't exist

what would be causing this please

Do you have a table prefix such as vb3_ ???


All times are GMT. The time now is 03:21 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.02829 seconds
  • Memory Usage 1,756KB
  • 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
  • (2)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
  • (6)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