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)

MorrisMcD 02-04-2006 11:39 PM

Quote:

Originally Posted by caimakale
I don't run a Dolphins forum, however the thought has crossed my mind to start one up. I am only rooting for the Steelers because Rothlisberger reminds me alot of a young Marino. Plus you have to root for the AFC when your team is in it!

I liked Big Ben when he was with Miami of Ohio, but he is just another Black and Yellow turd to me now.. lol I cant root for that team.. No matter who they are playing... :D Besides.. Peter Warrick is with the Seahawks.. And Alexander grew up across the river from cincy... That outweighs lil ben being a local boy.. :D

Sorry... Back to your regularly scheduled program now :)

P.S. finheaven.com is a vBulletin board that has 1000s of members already.. I wouldnt bother starting one up. I was actually kinda wondering if you were from there

Frugal 02-04-2006 11:50 PM

Quote:

Originally Posted by MorrisMcD
I am presented with this same scenario, but I would like to integrate them into one monetary system... EBux.. Not VCash... Anyone? I know VBookie allows you to use UCash.. Can I alter something in the VBookie files to make that same radio button choose to use EBux instead of the ever dying

You could either follow the method I posted earlier (set the fieldname to ucash in the ebux settings then use phpmyadmin to rename the ebux field to ucash). Or you could try doing a find and replace in functions_vbookie.php and change every instance of ucash to ebux. The first method definately works because that is what I did. The second works in theory but haven't tried it in practice so make a backup first ;)

Frugal

MorrisMcD 02-05-2006 12:05 AM

Quote:

Originally Posted by Frugal
You could either follow the method I posted earlier (set the fieldname to ucash in the ebux settings then use phpmyadmin to rename the ebux field to ucash). Or you could try doing a find and replace in functions_vbookie.php and change every instance of ucash to ebux. The first method definately works because that is what I did. The second works in theory but haven't tried it in practice so make a backup first ;)

Frugal

The 2nd way seems like I could do less damage if I tried it, so I did... However, some lines in the functions_vbookie had references to vbookieucash as well as ucash.. I changed the ucash to ebux and the vbookieucash to vbookieebux

I tested a few things like adding an event and betting on it.. The postbits still display the vcash (which I am sure I just have to remove that from the template) but the vbookie event still made me bet from the vcash.. I am guessing I have to do the UCash integration option in the ebux options now? A tad worried to do it without asking since I never installed ucash ever on my 3.5 board (maybe I should just do the first option, but I am not 100% confident I would do it right :))

Sorry for being clueless, but thanks for the response.. :)

Frugal 02-05-2006 12:10 AM

In theory if you change all the references from ucash to ebux you will need to use the ucash integration option in vbookie then it "should" work.

Frugal

MorrisMcD 02-05-2006 12:23 AM

Quote:

Originally Posted by Frugal
In theory if you change all the references from ucash to ebux you will need to use the ucash integration option in vbookie then it "should" work.

Frugal


Getting this

Quote:

You do not have a form of uCash installed.
I guess there is more to the integration than just that.

I also noticed another possible bug. I set my thread view multiplier to .25, reply to .5 and thread to 1.. Well.. I was on a thread and was just clicking refresh.. Each time, the cash would go up .065 it appears. Well.. .06 once, then .07, then .06, then .07, etc. I changed the thread view back to 1. Then it goes up .25 at a time as I had desired. Then I changed it 20 just to see what what happen.. Still.. It goes up in increments of .25 like something got stuck. So I changed it back to .25. It started doing .065 at a time again.

FURTHERMORE

I had reply to .5.. Well.. I tried that. It goes up .25 each reply.. I change it to 1 and it goes up .5 each time. I changed it to 20.. It went up 10.. (very confused at this point.)

Changed everything back to 1... As default... replys going up .5 at a time, thread views going up .25 at a time... New threads 1 at a time.. as I had originally wanted.. But I would still like to change it down the road maybe... :D

I guess using the decimals broke something I guess... Anyone else run into the issue or willing to try it on theirs??? haha

Frugal 02-05-2006 12:26 AM

Ok here is how to integrate ebux and vbookie without having to edit the vbookie files.

If you have ucash installed then just go into ebux options in ACP select Manage Settings and change Points Field Name to ucash (it should be the 4th option up from the bottom.)

If you didn't have ucash installed then you will also need to run the following query (go to ACP maintenance Execute SQL Query)

Code:

ALTER TABLE `user` CHANGE `ebux` `ucash` DECIMAL( 30, 5 ) NOT NULL DEFAULT '0.00000'
Then select ucash integration option in vbookie.

That should be it.

Frugal

inkpassion 02-05-2006 12:32 AM

CMX - I just threw a little cash your way. For some reason it added shipping and handling but hey I guess its a little bonus ;)

I would like to put up some bountys for addons like the gifts/ribbions and what not. If you know of a service let me know. I cant belive how quickly this project is growing and money make it grow faster ;)

I know Im not the only one stuck on 3 wanting to upgrade to 3.5 and the gifts thing is the onlything holding me back.

JohnnyClark 02-05-2006 01:06 AM

lovin it thanxs alot...works good so far

MorrisMcD 02-05-2006 01:13 AM

Quote:

Originally Posted by Frugal
Ok here is how to integrate ebux and vbookie without having to edit the vbookie files.

If you have ucash installed then just go into ebux options in ACP select Manage Settings and change Points Field Name to ucash (it should be the 4th option up from the bottom.)

If you didn't have ucash installed then you will also need to run the following query (go to ACP maintenance Execute SQL Query)

Code:

ALTER TABLE `user` CHANGE `ebux` `ucash` DECIMAL( 30, 5 ) NOT NULL DEFAULT '0.00000'
Then select ucash integration option in vbookie.

That should be it.

Frugal

:banana:

You are the man... I do appreciate the help bro!

If I ever upgrade, will I need to do anything special? I guess not since the money table is like a wildcard able to be set in acp?

kofoid 02-05-2006 01:37 AM

Quote:

.. good man..
LOL woman


All times are GMT. The time now is 01:24 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.02441 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
  • (4)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