vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - ICash, Simple, stand alone point system. (https://vborg.vbsupport.ru/showthread.php?t=119086)

Blaine0002 07-12-2007 10:59 PM

If you have phpmyadmin, you can go into the user table and change the row that says 'money'

You will see integer(15,2)

just remove the ,2 part and your good to go :)

chandker 07-12-2007 11:10 PM

I tried that and it still seems to be showing up. :confused: Weird.

Blaine0002 07-13-2007 02:21 AM

if you changed it properly i have no clue o.o

Blaine0002 07-13-2007 02:22 AM

are you using the 'money' row?

chandker 07-13-2007 03:05 AM

I'm not too clear on what you mean by "money row". Could you possibly show me step by step (or as close to possible) as you can about how to go about changing it?

I'm confused as to what the phpmyadmin thing is. Sorry.

Blaine0002 07-13-2007 03:18 AM

So did you change integer(15,2) to integer(15)???

chandker 07-13-2007 03:34 AM

Yes I did. In the admin panel where I go to manage products and also in the install xml file.

Blaine0002 07-13-2007 03:40 AM

yea thats not gunna do anything, your going to need to edit the user table in your database.

jahshaka 07-13-2007 11:59 PM

sweet mod - any eta on the new release that works with the new vrsion of vb?

Blaine0002 07-14-2007 12:47 AM

Working on debugging and adding requested features.

JVCode 07-14-2007 06:28 AM

How do i integrate iCash with IBProArcade?

Blaine0002 07-14-2007 10:17 PM

Updated.

whitevans1 07-14-2007 11:12 PM

Database error in vBulletin 3.6.7:

Invalid SQL:
ALTER TABLE user ADD COLUMN money decimal(15,2) DEFAULT '0' NOT NULL;

MySQL Error : Duplicate column name 'money'
Error Number : 1060
Date : Saturday, July 14th 2007 @ 08:11:49 PM
Script : http://www.run3h4x.net/forum/admincp...=productimport
Referrer : http://www.run3h4x.net/forum/admincp...?do=productadd
IP Address :
Username :
Classname : vb_database


I'm getting that error. can someone help me fix it?

Blaine0002 07-15-2007 12:54 AM

Hmm, it seems to not have uninstalled correctly. Do you want to save the points you have in the previous installation of icash?

whitevans1 07-15-2007 01:06 AM

if thats easy then yeah i just want the easiest way to get it working.

iKuro 07-15-2007 02:17 AM

how i update without lose yhe money of the users in my forum???

Blaine0002 07-15-2007 02:38 AM

@ikuro just reimport the XML file and reupload all files..

@whitevans, run the following queries, it will delete everything and start over.

PHP Code:

ALTER TABLE post DROP COLUMN `icash`
ALTER TABLE forum DROP COLUMN `icash_prethread`
ALTER TABLE forum DROP COLUMN `icash_perreply`
ALTER TABLE forum DROP COLUMN `icash_perchar`
ALTER TABLE user DROP COLUMN `money

THEN install the XML, (redownload though)

Scathmere 07-15-2007 03:36 AM

What's the new update?

Please say it sends a PM -_-

whitevans1 07-15-2007 03:56 AM

Error

SQL query:

ALTER TABLE " . TABLE_PREFIX . "post DROP COLUMN `icash` ALTER TABLE " . TABLE_PREFIX . "forum DROP COLUMN `icash_prethread` ALTER TABLE " . TABLE_PREFIX . "forum DROP COLUMN `icash_perreply` ALTER TABLE " . TABLE_PREFIX . "forum DROP COLUMN `icash_perchar` ALTER TABLE " . TABLE_PREFIX . "user DROP COLUMN `money`

MySQL said: Documentation
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '" . TABLE_PREFIX . "post DROP COLUMN `icash`
ALTER TABLE " . TABLE_PREFIX . "fo' at line 1

Blaine0002 07-15-2007 04:02 AM

No it dosent send a pm.... why would you need that??

@whitevans... run them as seperate queries.
and i forgot to delete table prefixes..
try these
PHP Code:

ALTER TABLE post DROP COLUMN `icash`
ALTER TABLE forum DROP COLUMN `icash_prethread`
ALTER TABLE forum DROP COLUMN `icash_perreply`
ALTER TABLE forum DROP COLUMN `icash_perchar`
ALTER TABLE user DROP COLUMN `money


agsguar 07-15-2007 04:24 AM

Sorry, again me.

But how can i view the last 10 donations (to me)??

is this possible??

Thank you!!

jeremyalyea 07-15-2007 05:32 AM

I currently have vbookie installed and I am trying to integrate the icash system into it. Every time I try to import the icash xml file, I get the databse error listed below. I have read through the posts and have changed 'money' to 'vbookie_cash', but I'm still getting errors. I have spent a couple of hours on this and still nothing. Would anyone be willing to shed some light?

Quote:

Invalid SQL:
if not exists (select 'vbookie_cash' from user)
ALTER TABLE user ADD COLUMN 'vbookie_cash' decimal(15,2) DEFAULT '0' NOT NULL;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'if not exists (select 'vbookie_cash' from user)
ALTER TABLE user ADD' at line 1
Error Number : 1064

Caseyjr86 07-15-2007 02:48 PM

What do i need to do? I just tried importing and I get this error.. I've never had I cash before.. either..

Quote:

Database error in vBulletin 3.6.7:

Invalid SQL:
if not exists (select icash_prethread from forum)
ALTER TABLE forum ADD COLUMN icash_perthread DECIMAL(30, 5) NOT NULL DEFAULT '10';

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'if not exists (select icash_prethread from forum)
ALTER TABLE forum ADD COL' at line 1
Error Number : 1064
Date : Sunday, July 15th 2007 @ 10:46:12 AM
Script : http://www.*****.com/admincp/plugin....=productimport
Referrer : http://www.****.com/admincp/plugin.php?do=productadd
And for giggles I reran it, and now get this error..
Quote:

Database error in vBulletin 3.6.7:

Invalid SQL:
ALTER TABLE user ADD COLUMN money decimal(15,2) DEFAULT '0' NOT NULL;

MySQL Error : Duplicate column name 'money'
Error Number : 1060
Date : Sunday, July 15th 2007 @ 10:50:10 AM
Script : http://www.***.com/admincp/plugin.php?do=productimport
Referrer : http://www.****.com/admincp/plugin.php?do=productadd

Blaine0002 07-15-2007 03:16 PM

OOPs! bad column checking on my part!
Redownload and reimport, should work fine now!

whitevans1 07-15-2007 08:56 PM

atabase error in vBulletin 3.6.7:

Invalid SQL:

UPDATE user
SET `money` = `money` + 0
WHERE userid = '1';

MySQL Error : Unknown column 'money' in 'field list'
Error Number : 1054
Date : Sunday, July 15th 2007 @ 05:57:26 PM
Script : http://www.run3h4x.net/forum/newrepl...treply&t=13847
Referrer : http://www.run3h4x.net/forum/showthread.php?t=13847
IP Address :
Username :
Classname : vb_database

Blaine0002 07-15-2007 09:09 PM

Now, you must have just overwritten the product

Uninstall ICASH and THEN import the XML and it will work.

whitevans1 07-15-2007 09:12 PM

when i try to uninstall i get this

Database error in vBulletin 3.6.7:

Invalid SQL:
ALTER TABLE post DROP COLUMN `icash`;

MySQL Error : Can't DROP 'icash'; check that column/key exists
Error Number : 1091
Date : Sunday, July 15th 2007 @ 06:12:31 PM
Script : http://www.run3h4x.net/forum/admincp...do=productkill
Referrer : http://www.run3h4x.net/forum/admincp...uctid=Icash&s=
IP Address :
Username :
Classname : vb_database

Blaine0002 07-15-2007 09:28 PM

Sorry you had to get caught up in that, That SHOULD be the last error you get, NOW.

Re download the current XML, Import/overwrite your previous one since you cant uninstall, THEN uninstall it, you should not recieve any errors. Now that it is uninstalled install it one last time and I think your good to go.

whitevans1 07-15-2007 09:36 PM

It won't unistall for some reason... I get the same error and i downloaded the newest one.


Database error in vBulletin 3.6.7:

Invalid SQL:
ALTER TABLE forum DROP COLUMN `icash_prethread`;

MySQL Error : Can't DROP 'icash_prethread'; check that column/key exists
Error Number : 1091
Date : Sunday, July 15th 2007 @ 06:36:32 PM
Script : http://www.run3h4x.net/forum/admincp...do=productkill
Referrer : http://www.run3h4x.net/forum/admincp...uctid=Icash&s=
IP Address :
Username :
Classname : vb_database

SKULL1985 07-15-2007 09:39 PM

I have installed this on my forum 3.6.7 but when you make a post , thread no one gets any points?

Blaine0002 07-15-2007 09:46 PM

whitevans, make sure you redownload and overwrite your product with the new xml
THEN you should be able to uninstall.

@ skull, make sure you have it configured correctly in the admincp!

SKULL1985 07-15-2007 09:52 PM

Quote:

Originally Posted by Blaine0002 (Post 1292190)
whitevans, make sure you redownload and overwrite your product with the new xml
THEN you should be able to uninstall.

@ skull, make sure you have it configured correctly in the admincp!

Ok its working now it just took a few mins to work is there a way , to edit it so that to make a thread you get 00.10 insted of 10.00 and on a reply insted of 5.00 you get 00.05

whitevans1 07-15-2007 09:53 PM

I did redownload overwrite and reinstall.

and i get this when trying to uninstall.
.
Invalid SQL:
ALTER TABLE forum DROP COLUMN `icash_prethread`;

MySQL Error : Can't DROP 'icash_prethread'; check that column/key exists
Error Number : 1091
Date : Sunday, July 15th 2007 @ 06:36:32 PM
Script : http://www.run3h4x.net/forum/admincp...do=productkill
Referrer : http://www.run3h4x.net/forum/admincp...uctid=Icash&s=
IP Address :
Username :
Classname : vb_database

Blaine0002 07-15-2007 09:59 PM

Stupid spelling errors, thanks for being patient..

Redownload, Overwrite, Reinstall!

whitevans1 07-15-2007 10:02 PM

lol ok thanks :) and its ok its not easy and i feel like im bugging you so not problem, works thanks :)

SKULL1985 07-15-2007 10:09 PM

Ok Blaine0002 scrap my last post , i found how to do it i just have to edit each section and edit the points section.

Nice hack thank you

Blaine0002 07-15-2007 10:11 PM

Glad its finally working :D yay!

Scathmere 07-15-2007 10:20 PM

Why PMs? How else does someone know who sent the money? Or even items?

And is there at least an extended donation log?

I'm just confused about what you updated?

Blaine0002 07-15-2007 10:25 PM

i made it work with new vbulletins, and i made it so points can be taken away when a point is deleted... There is a donation log built into the donation page if you havent noticed that.

SKULL1985 07-15-2007 10:38 PM

Is there a way for the admin to take ponits away from a user ?
Also how can i add it so it deplys the ponits in the user profile?


All times are GMT. The time now is 07:03 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.02218 seconds
  • Memory Usage 1,825KB
  • 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_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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