Status
Not open for further replies.

RedSpades

Customer
Would like to disable Bank. No use for it nor the Stealing feature. Weird how the Stealing feature has a Disable option but the Bank doesn't. >_<

Also, I was getting a Database error with Bank when depositing funds from my vbCredits Deluxe currency to the bank.

Code:
Database error in vBulletin 4.0.4:

Invalid SQL:

				UPDATE tokens
				SET tokens = tokens - 1
				WHERE userid = 1;

MySQL Error   : Table 'redspade_forums.tokens' doesn't exist
Error Number  : 1146
Request Date  : Friday, July 16th 2010 @ 07:22:17 PM
Error Date    : Friday, July 16th 2010 @ 07:22:17 PM
Script        : http://www.redspadeslive.com/vbshop.php
Referrer      : http://www.redspadeslive.com/vbshop.php?do=bank
IP Address    : 66.31.43.72
Username      : RedSpades
Classname     : vB_Database
MySQL Version : 5.1.47-community-log
 
Did you accidentally set Points Table setting to the same as the Points Field setting?

Err.. yes, actually.

I thought I had to change BOTH of those fields to 'tokens' in order for it to work...

Sorry, what was I supposed to have in the Points Table setting?
 
user

Points table is the database table, as you probably discerned from that error message :)
 
Weird how the Stealing feature has a Disable option but the Bank doesn't.

Open
dbtech_vbshop template

find

Code:
                                            <li class="{vb:raw navclass.bank}"><a href="vbshop.php?{vb:raw session.sessionurl}do=bank">{vb:rawphrase dbtech_vbshop_bank}</a></li>
<vb:if condition="$vboptions['dbtech_vbshop_steal_enabled']">
change to

Code:
<vb:if condition="$vboptions['dbtech_vbshop_steal_enabled']">
                                            <li class="{vb:raw navclass.bank}"><a href="vbshop.php?{vb:raw session.sessionurl}do=bank">{vb:rawphrase dbtech_vbshop_bank}</a></li>
This will hide the bank link if stealing is disable :)
 
Last edited:
Status
Not open for further replies.

Similar threads

Legacy vBShop

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
1,261
Customer rating
0.00 star(s) 0 ratings
Back
Top