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)

caimakale 02-13-2006 09:53 PM

Quote:

Originally Posted by JsnakeJ
Well there must be some error with my eBux then. When I don't use uCash it gives out no points to my users yet the forums settings are set to multiply 1 times x for replys yet it gives them no points.

Did you upgrade to 1.1.2 yet? There was a bug that should have been fixed in the new version. I will double check on my site to see if it was.

caimakale 02-13-2006 10:02 PM

Quote:

Originally Posted by caimakale
Did you upgrade to 1.1.2 yet? There was a bug that should have been fixed in the new version. I will double check on my site to see if it was.

It is all fixed on my site. Now when they post, not only do they get points per character, but they also get points for starting the thread and replying to it. Works as designed.

JsnakeJ 02-13-2006 10:03 PM

Going for the upgrade now.

shaynehammy 02-13-2006 10:08 PM

Quote:

Originally Posted by Ignignokt
Change the eBux field to ucash and then run the following SQL code:

Code:


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



Sorry, a little confused. Change what ebux field to ucash? In where?

I

caimakale 02-13-2006 10:11 PM

Quote:

Originally Posted by shaynehammy
Sorry, a little confused. Change what ebux field to ucash? In where?

I

In your AdminCP >> eBux Options >> Manage Settings. Towards the bottom you can change ebux to ucash.

JsnakeJ 02-13-2006 10:20 PM

My problems solved now. All I needed to run was that datastore option. :D

Sooner95 02-13-2006 10:25 PM

Quote:

Originally Posted by caimakale
Its the unix time stamp. Basically in a nutshell it's the amount of seconds since 1/1/1970 and is a standard that is used when coding.

There is a simple conversion utility here. http://www.onlineconversion.com/unix_time.htm Just punch in the date and time you want and it will spit out the unix time stamp.

Ah, ok sweet. Thanks for the info and bookmarked the link. Works for me!

docvader 02-13-2006 10:49 PM

Quote:

Originally Posted by caimakale
In your AdminCP >> eBux Options >> Manage Settings. Towards the bottom you can change ebux to ucash.

Now I'm confused, :)
If you have ucash, and you want to install ebux, I thought ebux was going to take the amount of points that already existed in the ucash tables, and put them into new ebux tables.

With that said, if you're also using vbookie, we now should keep the ucash tables, and not use the ebux system? Doesn't that interfere with the new estore hack?

Wouldn't it be "safer" to take the ucash points, put them into ebux, and then get rid of ucash, and change the vbookie hack to use the ebux tables?

I think, LOL. Now I'm lost! Glad you guys understand this. :speechless:

Frugal 02-13-2006 10:57 PM

Ok as it still keeps coming up and my original instructions are buried about 50 pages back here is a complete guide to making vbookie work with ebux. Section 1 assumes vbookie is already installed and ucash is not installed. If ucash is already installed go straight to section 2.

Maybe CMX can add this to the readme as it is such a common question.

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>


At this point you have 2 options which I will highlight bold and green, the bold option is for advanced users who are comfortable with running sql queries, if this does not describe you skip past this onto the green section. Once past the chosen section continue the normal text instructions.

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'



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.)



If you used the bold option skip past this green text. If you didn't feel comfortable messing with the sql then open /includes/functions_vbookie.php change all instances of ucash to eBux BEING CAREFUL NOT TO CHANGE ANY instance of vbookieucash. Remember to make these changes anytime a new version of vbookie is released.


Then go to ACP >> vBulletin Option >> vBookie Settings and set Enable uCash to yes

eBux and vBookie will now work together.

Section 2 ucash is already installed.

First remove ucash and vbookie edits to the postbit and postbit_legacy templates (or simply revert them if ucash and vbookie are your only postbit changes you have made).

Install eBux as per the readme

Go to AdminCP >> eBux Options >> uCash Integration >>click process

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 the ucash settings and turn ucash off (don't uninstall it as this will remove the ucash field from the databse). If you really want to uninstall it you can but after you uninstall ucash you will need to run the SQL query mentioned in the bold section or make the file edits in the green section. If you don't uninstall ucash there is no need to run the query or edit the files.

(If you haven't installed vbookie yet you can install it now but don't do the postbit edits)

Then go to ACP >> vBulletin Option >> vBookie Settings and set Enable uCash to yes

eBux and vBookie will now work together

Hope this helps, although I fear at the speed this thread moves this post will be buried within 48 hours.

Frugal

evenmonkeys 02-13-2006 11:07 PM

It's allowing you to buy lottery tickets even if you don't have enough for one. It sent me 900 eBux into the negative integers.


All times are GMT. The time now is 01:20 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.04415 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
  • (3)bbcode_code_printable
  • (6)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