View Full Version : Major Additions - ICash, Simple, stand alone point system.
Blaine0002
03-31-2007, 02:21 PM
if you want to, you dont have to, because the only one your users are seeing is the one you have set in the vboptions.
deezelpope
03-31-2007, 02:23 PM
Oh, ok, thank you, Blaine!:up: :)
snapplekid13
03-31-2007, 02:26 PM
Ok... Ive tried and tried to figure out how to take away points! I can't find it in admincp or anything!
Also the donate button isn't working!
Black Tiger
03-31-2007, 02:26 PM
because the only one your users are seeing is the one you have set in the vboptions.
In vboptions? I thought postbit and postbit legacy was always shown.
Blaine0002
03-31-2007, 02:27 PM
one or the other, the one on vborg is postbit, the one along the left side is legacy
@ snapple, have you uploaded all files in the upload directory?
deezelpope
03-31-2007, 02:28 PM
I was kinda hoping this would show in postbit legacy...:confused: :(
deezelpope
03-31-2007, 02:29 PM
Ohhhh, so it can and will if I make the changes to legacy...thanks for explaining this, Blaine!!:up:
LisaD1
03-31-2007, 02:30 PM
@lisa its a setting in your vbulletin options, forum url it should say, you probably should already have it set if your forum has been running for some time, but if its new you might have missed this, and its most likely whats causing you the problem.
I have that set. But it is still showing wrong. I mean I know I can move the folder, but I don't want too LOL
Blaine0002
03-31-2007, 02:31 PM
hmm, ill look into this. it SHOULD be working, but knowing me i missed somthing.
LisaD1
03-31-2007, 02:35 PM
hmm, ill look into this. it SHOULD be working, but knowing me i missed somthing.
OK and now that I am thinking about this, I think this post should be in the IShop thread, not this one. SORRY!!! :o
Black Tiger
03-31-2007, 02:52 PM
Problem found. Reuploaded all the files and reimported product (set overwrite to yes).
Now when trying to change the postbit_legacy template I get this error:
Parse error: syntax error, unexpected '"', expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/satfun/domains/myforums.org/public_html/bbs/includes/adminfunctions_template.php(3596) : eval()'d code on line 59
Help?
deezelpope
03-31-2007, 02:52 PM
Boy, I dunno...keep getting a strange error message...is this coding right?
$vboptions: $post[$vboptions[icashf]]
<br>
<a href="donate.php?$session[sessionurl]to=$member[username]">Donate</a>
Here's the error message...
vBulletin MessageThe following error occurred when attempting to evaluate this template:
[I]Parse error: parse error, unexpected '\"', expecting T_STRING or T_VARIABLE or T_NUM_STRING in /community/includes/adminfunctions_template.php(3596) : eval()'d code on line 86
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
Blaine0002
03-31-2007, 02:57 PM
sorry it should be
$vboptions[icashn]: $post[money]
<br>
<a href="donate.php?$session[sessionurl]to=$member[username]">Donate</a>
deezelpope
03-31-2007, 02:58 PM
LOL! Thank you once again, Blaine!
DJ Teac
03-31-2007, 03:00 PM
How can i change the "donate" text in that Text under the navbar.
You know that
Communityname > donate > donate money....
Because it looks some kind of strange to have that 1 english word left in a german board.
Everything else in icash i managed to do myself:)
deezelpope
03-31-2007, 03:01 PM
UH OH!!! New problem!!!
Database error in vBulletin 3.6.4:
Invalid SQL:
UPDATE user SET money=money+ WHERE userid='2';
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 'WHERE userid='2'' at line 1
Error Number : 1064
Date : Saturday, March 31st 2007 @ 04:00:08 PM
Script : http://badgirljammieclub.com/community/newreply.php?do=postreply&t=1
Referrer : http://badgirljammieclub.com/community/newreply.php?do=newreply&noquote=1&p=1683
DJ Teac
03-31-2007, 03:22 PM
sorry it should be
$vboptions[icashn]: $post[money]
<br>
<a href="donate.php?$session[sessionurl]to=$member[username]">Donate</a>
Shouldn't that be
$vboptions[icashn]: $post[money]
<br>
<a href="donate.php?$session[sessionurl]to=$post[username]">Donate</a>
Because on my vB it didn't work with "$member[username]"
deezelpope
03-31-2007, 03:24 PM
@DJ Teac...which version of vb do you have?
Nevermind...I found it...I'm having the same Database error messages you did...guess I'll keep trying.:(
deezelpope
03-31-2007, 03:28 PM
Changed it...still got the Database error message.:( But I don't think it's the coding...I think it's gotta be one of the files I uploaded...:(
Database error in vBulletin 3.6.4:
Invalid SQL:
UPDATE user SET money=money+ WHERE userid='2';
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 'WHERE userid='2'' at line 1
Error Number : 1064
Date : Saturday, March 31st 2007 @ 04:27:05 PM
Script : http://badgirljammieclub.com/community/newreply.php?do=postreply&t=1
Referrer : http://badgirljammieclub.com/community/newreply.php?do=newreply&noquote=1&p=3523
deezelpope
03-31-2007, 03:30 PM
Your coding did fill in the member's name on the donation form...thanks, DJ!
Blaine0002
03-31-2007, 03:46 PM
oops! updating.
Zagis
03-31-2007, 04:06 PM
I lost all points from every user after the update :(
Do you know whats wrong Blaine?
deezelpope
03-31-2007, 04:13 PM
Lemme know when the update is complete, so I can try again, k, Blaine?
Marko777
03-31-2007, 04:27 PM
Update:
Reduced thread queries to 0! Make sure you re-apply template change!!!!!!
Can you explain more?
deezelpope
03-31-2007, 04:28 PM
Marko, we're all kinda hangin' around, waiting...:rolleyes:
Black Tiger
03-31-2007, 04:33 PM
Hmmz.. that's strange... Deezelpope had the same error as I got, and several reply's already followed but I did not get my email from vbulletin yet and I did subscribe (instant email), earlyer today I did get them, just checked again a few secs ago.
Anyway, I'll will come and have a look manually then.:)
Good luck fixing Blaine0002!
deezelpope
03-31-2007, 04:55 PM
I got that error whenever I'd post to test it out. Guess I'll just hafta uninstall and wait and see what kinda fix Blaine can come up with. Was hoping to get this done today...still have iBank and iStore yet to install afterwards, and today's a nice, quiet day.:)
Black Tiger
03-31-2007, 05:07 PM
I just did not do the template changes, no failure now, but also no display of how many money the user has, that's not so big a problem.
When ready I think I'm going to test Ibank too, seems nice.;)
LisaD1
03-31-2007, 05:08 PM
I got that error when I had ICash and the other point system installed. Deleted one and the problem went away. I don't think you can have 2 point systems at once. At least that is what fixed it on mine.
deezelpope
03-31-2007, 05:30 PM
Ok, BT, I will try installing without the template change. Keep your fingers crossed! LOL!
Lisa, I can see how having more than one point system might not be such a hot idea...confuses things. BTW, I checked out your site, and it's lovely.:)
Zagis
03-31-2007, 05:35 PM
I lost all points from every user after the update :(
Do you know whats wrong Blaine?
I didn't do the template edits in the right way :rolleyes:
Work fine now ;)
deezelpope
03-31-2007, 05:36 PM
Nope...still get that database error message...:(
DJ Teac
03-31-2007, 06:03 PM
@deezelpop: Just keep Trying, after the 5.th or 7.th time of reinstall it worked for me.
Still its a very strange Problem. :D
LisaD1
03-31-2007, 06:07 PM
Ok, BT, I will try installing without the template change. Keep your fingers crossed! LOL!
Lisa, I can see how having more than one point system might not be such a hot idea...confuses things. BTW, I checked out your site, and it's lovely.:)
Awe thank you very much!!
Hummm weird about the error. I wonder why? Everything is up to date, but I remember reading that someone else was getting an error like that too, and they just reinstalled the plug in a coouple of times and it worked. At least I think it was for this thread. There is so many I am watching right now!! LOL.
Blaine0002
03-31-2007, 06:24 PM
so it does work now? is there any OTHER addons you reinstalled in that time? this is very odd.
Blaine0002
03-31-2007, 06:30 PM
Can somone send me the file that was in the plugins directory? im thinking that might be part of the problem, and i already deleted it.
deezelpope
03-31-2007, 06:32 PM
I've tried several times...keep getting that error message.:confused:
Haven't tried anything since your other one with the items...
Let me check my recycle bin, ok, Blaine?
deezelpope
03-31-2007, 06:36 PM
Ok, here it is, Blaine...
Black Tiger
03-31-2007, 07:09 PM
At this time it works here. Changed the code to: $vboptions[icashn]: $post[money]
And it's working again.
deezelpope
03-31-2007, 07:22 PM
Good for you, BT...I'm really happy for you! I hope this will work for me at some point, too! I tried that change earlier...still got that &%$* error message. LOL!! Can't tell you how much I hate seeing that! Makes my head spin!:p
Black Tiger
03-31-2007, 07:49 PM
Strangely enough it worked for my only the 2nd time I tried. Maybe it goes wrong when users make a post at the same moment you reinstall things?
You could try to uninstall the complete Icash or update again, when you reinstall users will lose their money. Then close you forums, install icash again and edit the templates with the above string.
Maybe then it works? I really hope so. If not, I hope you get it fixed soon. Good luck!
deezelpope
03-31-2007, 07:55 PM
I'm the only one present in the forum today...it's very small and quiet. When I post to test the cash system, I get the error message...no one's getting any money anyway...at least nothing showed up when I'd post. I'll just leave it for now, and hopefully Blaine will be able to figure out what's going on. Thanks for trying to help, BT!
tehPARADOX
03-31-2007, 10:18 PM
Thanks for the update, this reduced tons of queries ;]
Blaine0002
04-01-2007, 01:47 AM
No problem,
These are some really strange and akward errors, there seems to be no problem with my script, and about half the people that have updated have recieved it, but they have seemed to fix it by reinstalling.
The only real thing i can suggest is to reapply your template changes. (just check!) and reimport your xml file, make sure its the correct one and not an older one! maybe try this multiple times, checking each time.
other than that i really have no clue o.O
Black Tiger
04-01-2007, 02:04 AM
Suggestion: rename the distro file every time it is updated with a version number.
Now everytime it's named icash.zip or ibank.zip which could lead to user-errors.
You could make something like icashv100a.zip, icashv100b.zip etc. Same for Ibank. Several mods do that when they update things and it's easy to keep track of older and newer versions that way.:)
Blaine0002
04-01-2007, 02:29 AM
i suppose, im really bad at organization, i should probably start sometime :)
milsirhc
04-01-2007, 04:13 AM
lisa you have to set your forum url in your vbulletin options
mils you set the stuff in each individual forum settings
sorrry! but how do I set the allocated decimal points in the forum setting?
I'm new to this so please guide me gently.
Thanks mate!
deezelpope
04-01-2007, 09:23 AM
No problem,
These are some really strange and akward errors, there seems to be no problem with my script, and about half the people that have updated have recieved it, but they have seemed to fix it by reinstalling.
The only real thing i can suggest is to reapply your template changes. (just check!) and reimport your xml file, make sure its the correct one and not an older one! maybe try this multiple times, checking each time.
other than that i really have no clue o.O
I agree, Blaine! This is mind-boggling! But I will keep trying...I really want this, ibank, and ishop for my members!
Thank you for trying to help.
deezelpope
04-01-2007, 10:11 AM
Well, is that ever bizarre! Re-imported the product, and now it works! LOL!! WHOO HOO!!!! AWESOME!! Thanks again!!:D
ThreeD
04-01-2007, 10:12 AM
where can I change the amount of money per post / new thread from 5 to 1 coins/bux? It has to be in the product-icash.xml file somewhere, but even when I changed it, it didn't help :(
Blaine0002
04-01-2007, 01:30 PM
Three, make sure you imported the XML file, then go to forum manager in your Admincp, and edit the forum you want to change the amount given for.
ThreeD
04-01-2007, 01:44 PM
ahhhh Blaine the saviour :P I didn't know I could go into each forum and edit the amount there hehe...I kept looking in the source code and in the iCash options hehe...thanks!!!!
Blaine0002
04-01-2007, 02:10 PM
No problem! and remember to click install! :)
ThreeD
04-01-2007, 02:22 PM
hey Blaine, can I make the coin amount appear in the userprofile as well?
PS: I clicked install and I nominated your hack :P
deezelpope
04-01-2007, 05:20 PM
Been wondering that myself...:confused:
Blaine0002
04-01-2007, 06:08 PM
you can, it will require an aditional template edit, ill look into it.
Marko777
04-02-2007, 03:26 AM
Blain, could you also post what each new version fixes in the main mod description? Otherwise everyoneneeds to read 5-10 pages to see what's new.
Thanks.
deezelpope
04-02-2007, 10:42 AM
you can, it will require an aditional template edit, ill look into it.
Thank you, Blaine!!
EDIT: All you need to do is edit the member info template...use the same coding that's in your instructions! I've done it with iCash and iBank...working on iShop next!:D
auctionguy
04-02-2007, 02:25 PM
I-Cash and I-Bank are the addons I have installed. Can I install IBPro arcade on top of them?? Will they integrate with each other??
Black Tiger
04-02-2007, 02:30 PM
You can install IBPro Arcade next to them, they will not integrate automatically.
dale sr
04-03-2007, 03:04 PM
Great hack!!
I've succesfully installed ICash and Vbookie and converted all points to vbuck, I still get a value of :0.00 for Icash that I'm trying to remove.
Any suggestions?
Black Tiger
04-03-2007, 03:13 PM
Where do you get that value? Did you remove the lines in postbit / postbit-legacy?
Why having vbuck when using icash? Aren't they bot cash systems?
dale sr
04-03-2007, 04:11 PM
postbit did it.......thx
Blaine0002
04-03-2007, 07:57 PM
Remember to click install :D
auctionguy
04-03-2007, 11:25 PM
How do you access the donation log? I love this system but does it integrate with ibPro Arcade in 3.6.5? if so, will there ever be an automated way to sell cash points to people via Pay Pal??
I am actually testing the I-cash on devhunters.com , a new site that I am just trying to figure out the best way to sell points to customers before I officially launch!! that is all I need for that site for now until there are some cool store addons or features down the road!
I actually installed VBay and Ibpro arcade on yobux.com in which I was considering the nexia's point system because of an addon to integrate with it coming out soon but it would be nice to possibly integrate the I-Cash and then figure out a bank or a Pay Pal Point Dispenser. Hmmmmm. decisions, decisions!!!
Can you offer me some advice on my new sites Blaine??
Any advice from anyone would be well appreciated on this as well!!!!!
Replicators
04-04-2007, 02:14 AM
I wanna be able to move the postbit cash display, but instead of on the postbit, i want it under the pm box in the navbar. I know in order to do this you need to make the money value to be a global variable or something like that.
For example.. I added the postbit code http://img99.imageshack.us/img99/3026/navbarsf2.jpg I renamed money to StarCredz, and i already knew the value wouldn't show.
Could you give me instructions on how to make it show up? I would rather have it here, than in the postbit.
Black Tiger
04-05-2007, 10:39 PM
I've got a little problem with postnr. #392.
Installed like explained and is working but if somebody has no money it says this:
Could not find phrase 'arcade_nomoney'.
Made a new phrase, have choosen phrasetype Global and product Ibpro-arcade. Also have tried to use product icash, but every time this message comes back.
Then I tried the same but with phrase type "plugin system" and both ibpro arcade and icash, same problem.
Could it be this? In the help of vbulletin it says:
To call the phrase from the templates, use
$vbphrase[variablename]
But in post #392 it's done like this:
eval(standard_error(fetch_error('your_error')));
I changed your_error with arcade_nomoney
What is going wrong? Is this a problem or did I do something wrong?
sinisterpain
04-06-2007, 12:44 AM
I've got a little problem with postnr. #392.
Installed like explained and is working but if somebody has no money it says this:
Could not find phrase 'arcade_nomoney'.
Made a new phrase, have choosen phrasetype Global and product Ibpro-arcade. Also have tried to use product icash, but every time this message comes back.
Then I tried the same but with phrase type "plugin system" and both ibpro arcade and icash, same problem.
Could it be this? In the help of vbulletin it says:
But in post #392 it's done like this:
I changed your_error with arcade_nomoney
What is going wrong? Is this a problem or did I do something wrong?
The phrase needs to go under standard error not global
ktutorials
04-06-2007, 06:45 AM
does it work with vB3.6.5
Black Tiger
04-06-2007, 03:01 PM
@Sinisterplain: Thanks!!!
ThreeD
04-06-2007, 03:52 PM
does it work with vB3.6.5
yes it does!
ktutorials
04-06-2007, 05:38 PM
but after i installed... i am getting no points displayed in postbit and also when a post is made it tells don't duplicate post... so help me mate reg this..
chikkoo
04-07-2007, 05:25 AM
Donation log, see who has donate to you and who you have donated to
Hi Blaine0002,
1) Thanks a lot for adding this Donation log feature, It helps a lot.
However, is there a way to see others log by Admin?
2) Some of my members have Username in Unicode, and your mod does not show their username properly. All non-latin usernames are shown as "?????" (question marks). Are you changing Encoding or CHARSET anywhere in your Mod?
3) Finally, Any chance for getting an answer for my question at post #171?
MThornback
04-07-2007, 09:21 PM
This doesn't seem to agree with my board...but it seems like a decent mod, good work :D
deezelpope
04-07-2007, 09:24 PM
That's what I thought, too, but I kept trying...and it works flawlessly now...took me like 3 or 4 tries. Strange, I know, but it was worth it to me.
Blaine0002
04-08-2007, 09:34 PM
i think its time for me to renew my vbulletin liscense and upgrade from vbulletin 3.5.0 beta to vbulletin 3.6 :)
Replicators
04-08-2007, 10:36 PM
i think its time for me to renew my vbulletin liscense and upgrade from vbulletin 3.5.0 beta to vbulletin 3.6 :)
That is a great idea, 3.6 offers many new stuff, and i myself like it better than 3.5.
Could you answer my Q from here (https://vborg.vbsupport.ru/showpost.php?p=1219406&postcount=566), it would really help if it was not in postbit. For what i wanna use this for, other people don't need to know how much others have earned.
Black Tiger
04-08-2007, 11:18 PM
Would be nice if you upgraded indeed. Still some questions in queu, maybe it's easyer to solve then.:)
Blaine0002
04-09-2007, 12:31 AM
since all my systems work perfectly on 3.5 im guessing its an upgrade issue.
@ replicators, try moving the hook that was creating the query in the thread, to the forumhome hook.
Replicators
04-09-2007, 02:57 AM
since all my systems work perfectly on 3.5 im guessing its an upgrade issue.
@ replicators, try moving the hook that was creating the query in the thread, to the forumhome hook.
Didn't work, i put it on forumhome_complete, wouldn't work, got aggitated and put it at init_startup, messed up my board lol. No worries though, i just backed up the db, and changed it back through that, and restored it.
I think this might require another mod to do this, idk, or a code change.
chikkoo
04-09-2007, 06:37 AM
i think its time for me to renew my vbulletin liscense and upgrade from vbulletin 3.5.0 beta to vbulletin 3.6 :)
yes please... it would help all of us too.
vhero
04-09-2007, 08:06 AM
well can you at least change the donate.php file to a new filename as it clashes with nearly every donate mod out there and I cannot install this mod because of it :(
Replicators
04-09-2007, 07:15 PM
well can you at least change the donate.php file to a new filename as it clashes with nearly every donate mod out there and I cannot install this mod because of it :(
Thats not hard to do yourself if you wanna give it a try, you can use either notepad or textpad (http://www.textpad.com/) Recommended. Rename the donate.php to what you want it named. Go through all files in this mod, .php and .xml files and replace all donate.php with the name of the new donate.php. If you use textpad, click search, and go to replace, Find What: donate.php Replace with: (newdonate.php) and click replace all.
vhero
04-09-2007, 07:36 PM
yeah i guess i could XD
Blaine0002
04-09-2007, 08:44 PM
then make sure you make the change in the template edit as well.
Replicators
04-10-2007, 05:05 AM
Blaine, do you think next version you could have the credits capable of being displayed in the navbar? Personally, i feel thats the best place, as all pages show it, so you don't have to go into a thread to see how much $$$ you have.
deezelpope
04-10-2007, 09:17 AM
If you have Blaine's iBank installed, that will tell you too...much faster than searching out your posts.;)
Yours Truly
04-10-2007, 02:50 PM
Blaine, do you think next version you could have the credits capable of being displayed in the navbar? Personally, i feel thats the best place, as all pages show it, so you don't have to go into a thread to see how much $$$ you have.
Surely you can just take the code from the postbit and pop it into your navbar template?
Replicators
04-10-2007, 10:13 PM
Surely you can just take the code from the postbit and pop it into your navbar template?
Unfortunantly no, i tried, showed Credits: but didn't show how much you have.
Yours Truly
04-11-2007, 11:39 AM
Unfortunantly no, i tried, showed Credits: but didn't show how much you have.
Hmm i'll try and take a peek at this.
Blaine0002
04-14-2007, 09:13 PM
Hi Blaine0002,
1) Thanks a lot for adding this Donation log feature, It helps a lot.
However, is there a way to see others log by Admin?
2) Some of my members have Username in Unicode, and your mod does not show their username properly. All non-latin usernames are shown as "?????" (question marks). Are you changing Encoding or CHARSET anywhere in your Mod?
3) Finally, Any chance for getting an answer for my question at post #171?
Sorry it took so long, no as of right now there is no donation log for admins..
You can though look in phpmyadmin to see who has donated to whom.
Anyways, which username display are you speaking of?
vhero
04-15-2007, 08:10 AM
you never thought of doing your own paid cash/bank/shop mod blaine? as i would pay a small fee for it if it had more features. VBPlaza aint ever gonna get an upgrade and is a security risks plus i fine your mods better anyway
Blaine0002
04-15-2007, 12:19 PM
I already have individual Cash Bank and Shop mods that work in conjunction with each other :)
giovannicosta
04-15-2007, 12:47 PM
Hi Blaine, i have a question, how do i set how many points per post/thread?
Blaine0002
04-15-2007, 12:57 PM
Edit each individual forum.
Queball_Beast
04-15-2007, 08:03 PM
Getting error when trying to donate Items
Anyone know how to fix this?Database error in vBulletin 3.6.5:
Invalid SQL:
select s.*,i.* from gpitemshop_stock s left join itemshop_items i on(i.id=s.item_id) where s.member_id='1' and i.id=4;
MySQL Error : Table '********.itemshop_items' doesn't exist
Error Number : 1146
Date : Sunday, April 15th 2007 @ 03:41:12 PM
Script : http://www.gamerspride.com/phpBB2/is...o=dodonateitem
Referrer : http://www.gamerspride.com/phpBB2/ishop.php?do=donate
Blaine0002
04-15-2007, 09:00 PM
that belongs in the ishop thread.
vhero
04-16-2007, 11:20 AM
nah blaine what i mean is the shop does stuff like VBplaza but anyways I love ya cash mod as it is right now.
vhero
04-16-2007, 11:40 AM
ok i have a problem blaine
1)i created a new usergroup called full members and after a certain posts people get promoted to that group the prob i have is all full members do not show there total points theres nothing there...
2) with the mod enabled i get a strange posting error saying its a duplicate post even though i know its not
can you please help?
ktutorials
04-16-2007, 11:55 AM
blaine ...... big help mate...
-can we have any option for getting nex system to Icash....
-is there any problem with this mod with ajax enabled...
vhero
04-16-2007, 12:59 PM
OK an update blaine I re-installed an xml off older verion of the mod i had 1.01 and it works fine except for it still not showing points for full members :( all my staff and new members show theres fine but promoted members it does not show it for...
Blaine0002
04-16-2007, 10:37 PM
Okay, im working on fixing some issues, i currently know of the Duplicate post issue in 3.6.5 and am putting all efforts into fixing this.
Vhero, i will look at it, if you have told me everything there should be nothing wrong, but i will test out custom usergroups in a bit.
@ anyone trying to upgrade from nexas point system, Install icash, and disable the nexas point system (!DO NOT UNINSTALL IT!)
Go into the Icash options and change the money row to: nex_points_hand
Good luck, and know I am working hard at fixing the bugs.
Black Tiger
04-16-2007, 10:53 PM
Good luck, and know I am working hard at fixing the bugs.
Ah that's good to hear, I presume you also look at the bug I presented before (several pages ago).:)
Blaine0002
04-16-2007, 11:10 PM
Hmm, not sure, might have missed it. Point me to the post.
chikkoo
04-17-2007, 05:37 AM
icash is given based on username, such as "donate.php?to=username", it has some disadvantages, and problems.
Is it possible to change it as "donate.php?to=userID", if so it would be much much easier.
ktutorials
04-17-2007, 07:17 AM
yeah chikkoo.... hope u are right... but anyway it needs unique values... both id and name are unique... even if username is changed... no probs.. it will take the current user...
hope i am not wrong....
Blaine0002 all the best mate... :) Hope to see a iCASH for 3.6.5 soon... :)
Black Tiger
04-17-2007, 09:05 AM
Hmm, not sure, might have missed it. Point me to the post.
Hmmz... in a remember notice you told me you knew I posted it but would look at it if you had more time.:confused:
Anyway, I had to search myselve.:)
There were several posts I mad, these were the ones with the bug and the suggesion in another one I just copy here.
The bug is in post #419.
Next to that, the problem I described to "all" in the same post, is also a question for you. If you reset the database so everybody has 0 cash, how can you rebuild again so users get the amounts of cash they earned by the number of posts/reply's they did since... well whatever. At this moment, when you reset cash, all is gone definitly.
And there was the following suggestion in another post: Can there be made an option to set the value for the amount of points per thread/reply and per character globally?
So you don't need to have to edit every forum by hand. Even better would be an option where you could select the forums by a selectsquare or by forumid or something.
Blaine0002
04-17-2007, 01:25 PM
Thanks blacktiger..
Did any other cash mods have this feature to recount posts? if they did which one, maybe i can study their code and get an idea where to start.
@ chickoo, i am using username because in order to get a username from an id, a query has to be run, in order to get a username from a username nothing has to be done :D
You mentioned disadvantages? what are some?
Black Tiger
04-17-2007, 09:40 PM
You're welcome. I presume this thanks points to the giving usergroup money bug.:)
Did any other cash mods have this feature to recount posts? if they did which one, maybe i can study their code and get an idea where to start.
Well to be honest, I wouldn't know because I never used any other cashmod.
However, there is a way the get the post counters out of the database. The forumsoftware itself does it to when resetting and recalculating postcounts, so maybe that points a bit in the right direction.
However... Users postcounts are also mentioned in the postbit, in your's it says as i write this reply: "Posts: 746", so maybe you can fetch the needed command form the postbit template. Maybe that's easier.
I'm no programmer or coder so I can't help you there any further.
Blaine0002
04-17-2007, 09:50 PM
it would be easy to do that, except for you wouldnt be able to tell if they are posts or topics.
Replicators
04-17-2007, 10:18 PM
Blaine, i know you already have alot of stuff to do to this mod, but could you look into the ability of having points being showed in the navbar? I know i have already asked this b4, and not trying to annoy in anyway, but this would be important to me, cause i do not want it to be in the postbit, i think it will be better in the navbar.
Black Tiger
04-17-2007, 10:24 PM
it would be easy to do that, except for you wouldnt be able to tell if they are posts or topics.
Ehmz... hmmz.. indeed you are correct, I didn't think about it that way and since you have seperate points for reply's and new threads this could become a problem.
However, another idea then, there is a hack called the "my posts/my threads" hack, this hack seems to know the way how to get the threads started by a user, and the posts the user made in other threads (or reply's in his own thread).
Maybe this hack could point to a solution for you to get the postcounts and threadcounts?
ktutorials
04-19-2007, 11:09 AM
Hi mates.... :)
can i get any rough estimate reg the release of ICash for vB 3.6.5 ... hope its in a finishing stage...
Blaine0002
04-19-2007, 01:29 PM
I am studying bitfields. there should be a release in the not so far off future.
ktutorials
04-20-2007, 01:19 AM
nice mate... hope to see icash for vb 3.6.5 very soon.... also can u find any solution for moving points from nex cash to iCash system.... :)
Blaine0002
04-20-2007, 02:03 AM
i explained earlier how it works :)
@ anyone trying to upgrade from nexas point system, Install icash, and disable the nexas point system (!DO NOT UNINSTALL IT!)
Go into the Icash options and change the money row to: nex_points_hand
ktutorials
04-20-2007, 07:56 AM
oh... thanks blaine... :) i didnt read tat line actualy...
vhero
04-20-2007, 08:54 PM
well hope you fix the custom usergroups problem i am having i cant use ishop yet either its a tad annoying I know its not your fault though and your doing your best :)
iHogwarts.com
04-21-2007, 05:31 AM
I installed this on vB3.6.5 and so far it's working good. One quick question. Is there a way to remove the .00 (the decimal point and the 00 afterwords) So it just says Points: 5555 ect.?
Thanks in advance.
/me clicks install.
VBUsers
04-21-2007, 07:41 AM
if i install this and icash can i make it so my members can buy templates ? like a download link?
Replicators
04-21-2007, 05:59 PM
if i install this and icash can i make it so my members can buy templates ? like a download link?
Anything is possible, just need someone to code it is all, and that is like a very great idea for a shop item!
khmh06
04-21-2007, 06:07 PM
I installed this on vB3.6.5 and so far it's working good. One quick question. Is there a way to remove the .00 (the decimal point and the 00 afterwords) So it just says Points: 5555 ect.?
Thanks in advance.
* iHogwarts.com clicks install.
You can do it with a small edition of Number Format in XML File then reinstall the mod with Overwrite checked !
iHogwarts.com
04-22-2007, 02:49 AM
You can do it with a small edition of Number Format in XML File then reinstall the mod with Overwrite checked !
What do I have to edit in the XML file? I can't find what your talking about. What should I look for?
SNaReX
04-23-2007, 05:26 AM
I am running a VB forum with vBux and vBplaza installed !!
Now I want to make the switch to Icash, is there any way I can save the present settings like User points and Import them back to ICash ?? I cant afford to lose present user point settings !!!
deezelpope
04-23-2007, 09:38 AM
Sure...it's here in this thread...use the search feature on this thread and you will find it.:)
SNaReX
04-23-2007, 04:03 PM
Thank you for the reply... but i am unable to find it.. !! :( can any one help me by telling the steppes to migrate to ICash from vBux ???
4newbies
04-25-2007, 02:28 AM
I have installed this mod to my forum and it seems to work well. A few questions though:
1) How or where can I adjust the number of points a user gets per post, per topic creation, per character of post? All I can adjust in the admin panel is "Ammount of points a user gets for signing up" and "Ammount of points a user gets for referring another user"
2) Is there any way to set a maximum cap of points per post? Like if someone writes up an extremely long article in one post, I don't want them to be able to get a million points for it. Thus the necessity for a cap.
3) Is there any way to integrate awarding points for everytime someone visit's a member's referral link?
4) What code would I need to add or edit in order to have Member's points show up within theor profile page?
5) Is there any way to reset all member's points?
6) If I delete a post, the member retains the points earned from that post. How do i get the mod to remove these points automatically when a post has been removed?
ktutorials
04-25-2007, 09:17 AM
What do I have to edit in the XML file? I can't find what your talking about. What should I look for?
iHogwarts can u work with iCASH in 3.6.5.... great.. did u make any changes...
chickadee
04-26-2007, 08:09 PM
I have installed this mod to my forum and it seems to work well. A few questions though:
1) How or where can I adjust the number of points a user gets per post, per topic creation, per character of post? All I can adjust in the admin panel is "Ammount of points a user gets for signing up" and "Ammount of points a user gets for referring another user"
I'm pretty sure you adjust that in the Forum manager.
Robbed
04-27-2007, 11:08 PM
Can you have it so when you create new forums you don't have to enter the post and new thread amount each time.
Have the default entered.
giovannicosta
04-28-2007, 04:35 PM
I uninstalled it, now I keep getting vb database errors emailed to em saying:
Database error in vBulletin 3.6.5:
Invalid SQL:
select * from vb_icash_donations WHERE `to`='Unregistered' order by time;
MySQL Error : Table 'compzorg_vbulletin.vb_icash_donations' doesn't exist
Error Number : 1146
Date : Saturday, April 28th 2007 @ 01:24:39 PM
Script : http://www.computerforumz.org/donate.php?to=Mike%20O
Referrer :
IP Address : 66.249.72.80
Username : Unregistered
Classname : vb_database
chikkoo
04-30-2007, 03:14 AM
@ chickoo, i am using username because in order to get a username from an id, a query has to be run, in order to get a username from a username nothing has to be done :D
You mentioned disadvantages? what are some?
1) when you donate iCash to "non-english" usernames, all the usernames are being displayed "???????" and the uniqueness goes. Therefore userID (membership no.) will be bestway to use.
2) In some cases, few people use "spaces" and special characters in their usernames (leading, trailing and middle ). Occassionally, it gives error messages.
3) Since username is displayed on the URL address bar, I suspect it will pave a way for future exploitations.
4newbies
04-30-2007, 05:55 AM
I'm pretty sure you adjust that in the Forum manager.
Are you talking about the iCash panel in the Admin Panel? All I see is the following:
http://www.valcaimages.com/4newbies_iCash.gif
Adjustment for "Points on registration" and "Points per referral"..
Any help :confused:
kingvillain
04-30-2007, 08:36 AM
thanks for this, but I have a little problem. I already have a .php file titled donate.php which is assosiated with my paypal donation system, since this system also uses a donate.php file which is expected to go in the same directory I can`t use it. Can the php file not be renamed to icash.php or something? I know some code would have to be changed like but at least it would not want to overwrite my donate system. Also will this work with rpg inferno? I`m thinking of buying it.
I'm pretty sure you adjust that in the Forum manager.
Yep, forum manager
Err0r404
04-30-2007, 09:36 PM
where do i choose how many points a certain usegroup gets when he posts?
EDIT:
nvm i got it
kylek
05-01-2007, 12:25 AM
Question on replacing vbux/vbplaza with ICash.
Is it possible to import the settings from vbux to ICash so we can use the members points amount that they have now? I have searched but will go through the posts here again. If there is should iCash be installed first and then vbux/vbplaza removed?
Thanks in advance.
dadster
05-01-2007, 04:16 PM
Total Newbie to Vbulletin here!
Need advice on mod in following instructions:
1. Upload files as is to forum directory
*does that mean upload them in the folder they are in named "Upload"?
or ?
2. Import Product - I am assuming it is referring to file Product_Icash.xml, correct?
Import it to where though? As a plugin? Product? Where do I import it to while I am in admincp?
Help Please - Greatly Appreciated!
Thanks,
Frank
kylek
05-01-2007, 05:34 PM
Total Newbie to Vbulletin here!
Need advice on mod in following instructions:
1. Upload files as is to forum directory
*does that mean upload them in the folder they are in named "Upload"?
or ?
2. Import Product - I am assuming it is referring to file Product_Icash.xml, correct?
Import it to where though? As a plugin? Product? Where do I import it to while I am in admincp?
Help Please - Greatly Appreciated!
Thanks,
Frank
1 - No. Click on the upload folder to open it and you will then see the files that need to be uploaded to your forum directory. So the admincp folder to your forum admincp folder, includes to your forum includes folder, and donate.php to your forum directory.
2 - Import product by going to your vb admincp > plugins and product > manage product > and go to bottom of prodicts that you may have installed all ready and click on add/import product, and follow the instructions.
ktutorials
05-01-2007, 06:25 PM
is ICASH ready for vB 3.6.5... :)
Black Tiger
05-01-2007, 06:49 PM
No, sorry, it's just for version 2.3.0.:D
webstop
05-02-2007, 05:34 AM
It's possible to deduct points from users that download an attachment, and transfer the points to the uploader?
kylek
05-02-2007, 09:27 AM
ok try this, make a new plugin, hook location ibproarcade_play_game
contents somthing like this
$amount = '1';
if (($vbulletin->userinfo[$vbulletin->options['icashf']] - $amount) < 0) {
eval(standard_error(fetch_error('your_error')));
}
$vbulletin->db->query("update " . TABLE_PREFIX . "user set {$vbulletin->options['icashf']}={$vbulletin->options['icashf']}-'{$amount}' where userid='{$vbulletin->userinfo['userid']}'");
you will need to make a phrase called whatever you want saying somthing like 'you dont have enough to play this game'
heres what each individual thing does
$amount is set to whatever you want your games to cost, you need to set this
if (($vbulletin->userinfo[$vbulletin->options['icashf']] - $amount) < 0) {
eval(standard_error(fetch_error('your_error')));
}
this checks the money row, and sees if they have enough to play the game, if not, ERROR!
of course you will need to make a new error phrase and edit the code to whatever you named your phrase.
$vbulletin->db->query("update " . TABLE_PREFIX . "user set {$vbulletin->options['icashf']}={$vbulletin->options['icashf']}-'{$amount}' where userid='{$vbulletin->userinfo['userid']}'");
if the error passes this updates their settings and minuses the $amount from their points :D
have fun !
So far this is working for me except for the phrase I made. What is the exact way to make the phrase?
We made a phrase that says "You do not have enough stars to play a game." - phrase type - global, varname - no_stars and saved. Then switched your_error in the above code with no_stars and saved.
Now when someone doesn't have enough stars ( our points) this pops up - Could not find phrase 'no_stars'.
Thanks!!
kylek
05-02-2007, 08:37 PM
Finally got it working with Ibproarcade and it is great. However I noticed that it does not seem to work for the games that are played in a new window. Would this need to be another plugin?
4newbies
05-02-2007, 11:08 PM
Yep, forum manager
Please look at my post and image below to see what I am talking about:
https://vborg.vbsupport.ru/showthread.php?p=1238037#post1238037
Is this the "Forum Manager" I need to be looking at? If so, I can only adjust "Points for Registering" and "Points Per Referral"
I need to adjust the following as well:
Points per reply
Points per new topic
Points per character of reply (Length of Post)
kylek
05-02-2007, 11:16 PM
Please look at my post and image below to see what I am talking about:
https://vborg.vbsupport.ru/showthread.php?p=1238037#post1238037
Is this the "Forum Manager" I need to be looking at? If so, I can only adjust "Points for Registering" and "Points Per Referral"
I need to adjust the following as well:
Points per reply
Points per new topic
Points per character of reply (Length of Post)
To set those three items go to vbadmincp > forums and moderators > forum manager, and then click on one of your forums as you would when you edit them. Should be down towards the bottom is where you will find those 3 settings.
Black Tiger
05-03-2007, 12:22 AM
@Kylek:
Finally got it working with Ibproarcade and it is great.
What exactly do you have working?
I have it working that playing a game costs an x amount of cash, and if a user gets the all-time-highscore of a game, he wins an x amount of cash.
Do you have the same or do you have more options working?
4newbies
05-03-2007, 12:42 AM
To set those three items go to vbadmincp > forums and moderators > forum manager, and then click on one of your forums as you would when you edit them. Should be down towards the bottom is where you will find those 3 settings.
Thanks for the clarification. I was able to find it now. I have over 70 boards set up on my forum. Is there any way to globally customize point rewards so that I don't have to spend hours editing each indiviual forum? Also, has anyone found a way to cap the amount of points a user can get total per post?
kylek
05-03-2007, 12:57 AM
@Kylek:
What exactly do you have working?
I have it working that playing a game costs an x amount of cash, and if a user gets the all-time-highscore of a game, he wins an x amount of cash.
Do you have the same or do you have more options working?
Dam, you are one up on me, don't have the high score one yet. Took awhile to figure out how to get it to charge cash when a game was opened in a new window.
@4newbies - nothing yet so have fun doing your forums. I dont know about the cap as I dont use that.
incurable
05-03-2007, 02:14 AM
works smoothly. thank you.
BozzaJos
05-03-2007, 02:44 PM
I know this has been asked a lot of times but the search function isn't working probably (searching for 3.6 is probably not enough characters). I am upgrading my forum from 3.5 to 3.6 and installing a whole new layout but I've got a problem when installing iCash. Installing goes like normal but when I want to post a new thread it gives a database error. I can remember reading about this somewhere along the 44 pages so I guess/hope there is a simple solution for this...
Could anyone point me to the right page/post? Many thanks in advance!
*edit*
Okay, im working on fixing some issues, i currently know of the Duplicate post issue in 3.6.5 and am putting all efforts into fixing this.
I've noticed this post after I replied but is there any update on this? Post is from somewhere halfway April!? I'm using 3.6.5 but I guess besides my mysql error there is also a duplicate post issue.
do you have Top Statics for iCash, iBank, iShop
Black Tiger
05-03-2007, 11:22 PM
Dam, you are one up on me, don't have the high score one yet. Took awhile to figure out how to get it to charge cash when a game was opened in a new window.
Ah oke, then you already have something I don't have.
For the all-time-highscore, it's about the same as when starting a game, only the use the highscore hook and set it up that people get + amount when reaching a all time topscore.
Maybe you can tell me how to charge the game when it's opened in a new window?
Scathmere
05-04-2007, 07:47 AM
I can't find the logs for the cash mod.
Is there any PM feature, where it alerts them?
kylek
05-05-2007, 01:31 AM
Ah oke, then you already have something I don't have.
For the all-time-highscore, it's about the same as when starting a game, only the use the highscore hook and set it up that people get + amount when reaching a all time topscore.
Maybe you can tell me how to charge the game when it's opened in a new window?
So with the all time score is it so when a person gets top score in say Snake, they get what ever you have set for the price? If it is I will have to search for this in this thread.
I used the same same code that was in post 392? by Blaine0002 but just make a different plug in called ibproarcade_play_game_popup so it charges for games opened in a new window.
It worked for me.
deezelpope
05-05-2007, 09:50 AM
I can't find the logs for the cash mod.
Is there any PM feature, where it alerts them?
Nope...my members either send PMs or reputation to notify the recipient.
Black Tiger
05-05-2007, 02:27 PM
So with the all time score is it so when a person gets top score in say Snake, they get what ever you have set for the price? If it is I will have to search for this in this thread.
Yes that is correct. The way to do this I've found in this thread too. It's just 1 page before posting #392, depending on how you have the pages set.
I Just took over the example and that worked it's in post #390.
just make a different plug in called ibproarcade_play_game_popup
Cool. Which code did you put in there to have Icash recognize it's the "new window" version of the game and not the normal version?
spaceman33
05-05-2007, 05:34 PM
I went through 20 pages of the forum looking for assistance but couldn't find any assistance.
I got the error by email:
Database error in vBulletin 3.6.5:
Invalid SQL:
UPDATE vb_user SET money=money+ WHERE userid='1';
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 'WHERE userid='1'' at line 1
Error Number : 1064
Date : Saturday, May 5th 2007 @ 11:09:00 AM
Script : http://www.hborea.us/forums/newreply.php?do=postreply&t=1254
Referrer : http://www.hborea.us/forums/showthread.php?t=1254
IP Address : 86.155.241.104
Username : [Hborea]Spaceman
Classname : vb_database
I think it happened when I added a post of 10 characters, it didn't add to points, I deleted it, then got the above.
Also, if I make a post, and delete it, the points are deducted.
Anyone know why to the above 2?
Apologies if this had been answered in pages 21 to the end, eyes started going funny reading all the posts, and need to get some food.
Cheers.
PS. Thanks for the mod, by the way. Wanted to install a points mod, and this seemed to be the best available.
JimmDaBimm
05-05-2007, 05:45 PM
Dam, you are one up on me, don't have the high score one yet. Took awhile to figure out how to get it to charge cash when a game was opened in a new window.
@4newbies - nothing yet so have fun doing your forums. I dont know about the cap as I dont use that.
Can you explain how i can give the User Points for getting a highscore ?
And.. i want to display the points under the PN Info in the Navbar.. but $post[money] doesn't work :\
Black Tiger
05-05-2007, 06:12 PM
@JimmdaBimm
Can you explain how i can give the User Points for getting a highscore ?
Look in this thread, postnumber #390, it's explained in there.
@Spaceman33
UPDATE vb_user SET money=money+ WHERE userid='1';
I thing there is missing the amount here. Set money=money+.... should this not be money+5 or something like that?
However I don't know what's causing this so hopefully Blaine0002 can help you here.
spaceman33
05-05-2007, 06:17 PM
@Spaceman33
I thing there is missing the amount here. Set money=money+.... should this not be money+5 or something like that?
However I don't know what's causing this so hopefully Blaine0002 can help you here.
That's what I noticed. I presume it should be -xx points, not a blank. I saw someone else with a similar problem but that was because they renamed their points system. That's not the problem here so hopefully someone has a fix :)
Scathmere
05-05-2007, 07:15 PM
Nope...my members either send PMs or reputation to notify the recipient.
Well I'm wondering where there is a log. It says on the first page there is. =/
deezelpope
05-05-2007, 07:31 PM
Ok, I found it. When you donate to a member, and afterward, if you go to their postbit/profile page, and click on where it says Donate, the log will come up. Even if you go to your own postbit/profile page, and click on your "Donate" the log will come up.
kylek
05-05-2007, 08:23 PM
Yes that is correct. The way to do this I've found in this thread too. It's just 1 page before posting #392, depending on how you have the pages set.
I Just took over the example and that worked it's in post #390.
Cool. Which code did you put in there to have Icash recognize it's the "new window" version of the game and not the normal version?
Charge game price in new window:
Create a new plugin called ibproarcade_play_game_popup
Use Blaine0002 code, just change the amount and your_error message to what you did for the ibproarcade_play_game plugin @ post 392
$amount = '1';
if (($vbulletin->userinfo[$vbulletin->options['icashf']] - $amount) < 0) {
eval(standard_error(fetch_error('your_error')));
}
$vbulletin->db->query("update " . TABLE_PREFIX . "user set {$vbulletin->options['icashf']}={$vbulletin->options['icashf']}-'{$amount}' where userid='{$vbulletin->userinfo['userid']}'");
Scathmere
05-05-2007, 09:16 PM
Ok, I found it. When you donate to a member, and afterward, if you go to their postbit/profile page, and click on where it says Donate, the log will come up. Even if you go to your own postbit/profile page, and click on your "Donate" the log will come up.
The only problem is, it only shows the last one. Not a history. ><
deezelpope
05-05-2007, 09:22 PM
Hm...yeah, I guess you're right. We don't usually donate cash/points...just gifts. Sorry I couldn't help more.
Black Tiger
05-05-2007, 11:20 PM
Charge game price in new window:
Create a new plugin called ibproarcade_play_game_popup
Use Blaine0002 code, just change the amount and your_error message to what you did for the ibproarcade_play_game plugin @ post 392
Hmmz... i don't understand yet. Which hook you use then? The new-game hook?
The only thing which I see different then is the amount and the error message. Must the amount be different?
But where is the difference in code that points to a new window game in stead of the normal game?
There should be a lign somewhere that points to the different way of calling the game, isn't there?
In any case thanks very much so far for helping me with this!
kylek
05-05-2007, 11:38 PM
Just do the same thing you did to create the first plugin except this plugin use the ibproarcade_play_game_popup hook when adding a new plugin.
The one I made;
Product - ibank (dont think it matters but I put them under IBank)
Hook location - ibproarcade_play_game_popup
title - new window (just my name for it)
Code:
$amount = '1';
if (($vbulletin->userinfo[$vbulletin->options['icashf']] - $amount) < 0) {
eval(standard_error(fetch_error('stars')));
}
$vbulletin->db->query("update " . TABLE_PREFIX . "user set {$vbulletin->options['icashf']}={$vbulletin->options['icashf']}-'{$amount}' where userid='{$vbulletin->userinfo['userid']}'");
The only thing I changed from the original code from post 392 is your_error to stars as that is the name of the phrase I used to say you do not have enough stars to play a game.
If a members clicks on play a game the other one from post 392 charges the game cost, if they click on play game in new window this one charges them the cost of the game.
SilverVice
05-06-2007, 01:14 AM
$amount = '1';
Is it possible to charge 0.25 cent?
I've try:
$amount = '0.25';
and
$amount = '.25';
and it's not working, any idea?
Black Tiger
05-06-2007, 02:02 PM
Kylek:
Hook location - ibproarcade_play_game_popup
That was the one I was looking for, thanks a million!!!
@Silvervice:
I don't think it will help, but did you try 0,25?
However I'm afraid it only works with full numbers.
SilverVice
05-06-2007, 02:12 PM
but did you try 0,25?
Thanks Black Tiger, but it didn't work also.
It would be so much more realistic to charge 0.25 cents :D
Philipaclayton
05-11-2007, 08:16 PM
does this work with vb 3.6.5?
CyberSpatium
05-11-2007, 10:34 PM
does this work with 3.6.6?
Black Tiger
05-12-2007, 01:39 AM
LoL.:D
Black Tiger
05-12-2007, 08:06 PM
Well... just upgraded, 3.6.6 is giving a problem:
Parse error: syntax error, unexpected '"', expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home//mydomain.org/public_html/forums/includes/adminfunctions_template.php(3596) : eval()'d code on line 70
I get this error when editing the postbit and/or postbit legacy template adding this string:
$vboptions[icashn]: $post[$vboptions[icashf]]
What's causing this?
CyberSpatium
05-12-2007, 08:18 PM
does this work with vb 3.6.5?
just installed it on 3.6.5 and it worked fine.
Black Tiger
05-12-2007, 08:26 PM
3.6.5 is no problem that's why I wrote "lol:D" because this was asked in numerous threads already and answered with yes.
There is a little problem in 3.6.6 or at least I've got a problem there.:)
Black Tiger
05-12-2007, 09:36 PM
Found the solution to my problem:
The line should be:
$vboptions[icashn]: $post[money]
Blaine... Maybe you can update your instructions.txt before you forget this one?:)
kennethsia
05-16-2007, 09:35 AM
it doesnt work on my 3.6.5 wahh! i duno whats wrong ive installed everything correctly i need a money mod. ive uploaded to all the correct suff. and even added the donate thing
Stephen3
05-16-2007, 07:00 PM
3.6.7 is released, does anyone test on it?
rabbits slayer
05-16-2007, 07:50 PM
Mine work fine on 3.6.7
kylek
05-16-2007, 09:23 PM
Works fine also on 3.6.7PL, cause we just know someones going to ask this!!! LOL.
kennethsia
05-17-2007, 03:23 AM
hmm can someone help me? ive gotten it to work already u have to add the 2nd line in the instructions to the post bit legends. now the thing i cannot see the points!
Black Tiger
05-17-2007, 01:08 PM
The second line in the instructions is wrong, it says:
$vboptions[icashn]: $post[$vboptions[icashf]]
but it should be:
$vboptions[icashn]: $post[money]
You have to change this in both postbit and postbit_legacy templates.
kennethsia
05-17-2007, 04:22 PM
no the 2nd line says what u just told me to replace changing nothing..
where do i add it in the postbit part?
SBlueman
05-18-2007, 06:01 AM
Thanks for the clarification. I was able to find it now. I have over 70 boards set up on my forum. Is there any way to globally customize point rewards so that I don't have to spend hours editing each indiviual forum? Also, has anyone found a way to cap the amount of points a user can get total per post?
I was wondering if there was a way to globally make the change as well.
Black Tiger
05-18-2007, 03:38 PM
no the 2nd line says what u just told me to replace changing nothing..
Where you should put it? Where the instructions say.
This is what the instructions say:
Find:
----------
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
Add after:
----------
$vboptions[icashn]: $post[$vboptions[icashf]]
<br>
<a href="donate.php?$session[sessionurl]to=$member[username]">Donate</a>
Now change that first line to:
$vboptions[icashn]: $post[money]
<br>
<a href="donate.php?$session[sessionurl]to=$member[username]">Donate</a>
Do that both at the same place in the postbit and in postbit_legacy template.
If that won't work, something else is wrong, maybe you can try first in a standaard template set.
kennethsia
05-20-2007, 02:51 AM
omg its working!! thanks blacktiger!!! =)
btw for the post bit legacy i couldnt use the search function i had to look out for it myself
btw is there a possibility to PM notify the donatee of the donators' donation. would be nice to let them know if they really donated stuff
Black Tiger
05-20-2007, 01:28 PM
You're welcome.:)
btw for the post bit legacy i couldnt use the search function i had to look out for it myself
Sometimes that happens if some text is spread amongst multiple lines.
In that case I normally use the find function with part of the text to look for, for example I use "<div>$post[icqicon] $post[aimicon" and then find, in stead of the complete line. That works. However in that case you do have to check if you have the right part.
Some lines do look a lot alike.
A PM notify is not present, but it would be a nice suggestion for future release, I second that.
joethong
05-22-2007, 11:52 AM
Phew, just finished reading from page 1 to page 46 in one go! Blaine, thanks for this nice mod I've it installed and its working fine. How do I go about localizing the languages to my own language? Do I just open up the xml file and edit any messages that I come across? It would be great if you make the points-accumulated-after-voting hack into your standard release. I saw you mentioning it in of the posts of this thread. In addition to that, I closed the donation method since the logging method could not reveal detail donation activities. Since I will be giving out cash for points accumulated, I think I will err on not allowing donations in fear that they are fradulent members opening up new accounts and donating to their main account. Well keep up the good work, this is the only point system mod alive, a lot of vbulletin owners are counting on you!
Thanks a lot.
Joe
joethong
05-23-2007, 01:09 AM
Hi all,
I've to retract my statement saying that icash does not have a donation log. It does have a donation log in the vb_icash_donations table. However there's a bug, the time value is always "{time()}". There's a fix somewhere among these posts of this thread. I will try to find it.
Joe
sinistergaming
05-23-2007, 11:05 PM
Nevermind
kennethsia
05-24-2007, 03:41 AM
question does anyone know how to increase the transactions log to more than 1? maybe like the last 10 logs/transactions.
baddude
05-27-2007, 02:29 AM
Database error in vBulletin 3.6.6:
Invalid SQL:
UPDATE user SET money=money+ WHERE userid='2';
Can somone tell me why im geyying this error... It looks to me like its not wanting to update my points when I post.. Thanks
Pc 1203
05-27-2007, 06:15 PM
When I posted a new thread, I got this:
Database error in vBulletin 3.6.7:
Invalid SQL:
UPDATE vB_user SET money=money+ WHERE userid='1';
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 'WHERE userid='1'' at line 1
Error Number : 1064
Date : Sunday, May 27th 2007 @ 01:11:00 PM
Script : http://**************.net/*******************/newthread.php?do=postthread&f=2
Referrer : http://**************.net/*******************/newthread.php?do=newthread&f=2
IP Address : **.**.**.***
Username : Pc1203
Classname : vB_Database
I edited out my test board URL + My IP Address.
Same Problem Above ^^
Works now. All I did was re-upload the product file. The only thing is that I don't get any points for each thread.
reebok008
05-31-2007, 05:22 AM
Can someone tell me how to recount points when there are deleted posts?
When I delete a post that user got points for, they are not deducting from the entire amount of points :(
7OXIC
06-01-2007, 03:14 AM
I'm getting the same error as Pc 1023 and after I refresh the posts shows up but I still have 0 points.
Conspiracy
06-01-2007, 10:31 AM
This may have been asked before, and be rather a stupid question, but nevertheless, is there a way to refresh the points system, so everyone begins from zero again? Without having to uninstall and then reinstall the hack?
I've uninstalled this as I found I wasn't going to use it. But I keep getting SQL errors.
Database error in vBulletin 3.6.7:
Invalid SQL:
select * from vb_icash_donations WHERE `to`='stickman373' order by time;
MySQL Error : Table 'justpres_v4.vb_icash_donations' doesn't exist
gingery
06-04-2007, 12:47 AM
The second line in the instructions is wrong, it says:
$vboptions[icashn]: $post[$vboptions[icashf]]
but it should be:
$vboptions[icashn]: $post[money]
You have to change this in both postbit and postbit_legacy templates.
I tried this and it still isn't working for me on 3.6.7PL Was this the only change that needed made?
Magicgfx
06-04-2007, 11:39 PM
I ahve a few questions:
Where are the logs?
Can I add more than 1 transaction at a time to the log?
Where do I set my points per post per forum permissions?
AsianKid
06-05-2007, 05:46 AM
error here 3.6.5
VBUsers
06-06-2007, 05:18 AM
so is this working for 3.6.7 or not?
VBUsers
06-06-2007, 05:44 AM
cant get this feature to work.
Activate points per thread/post
can anyone help?
WarDoGG
06-08-2007, 09:13 AM
I am getting this error in installing many mods even while installing icash.
my vb version is 3.6.4
Please help me out here.
A conflict was detected in the bitfields. You cannot continue with the installation of this product until this has been fixed. The conflicts found were:
* Bitfield Collision: can_view_ratestats = can_see_whorated_others
SilverVice
06-09-2007, 03:56 PM
Ok I?ve connected everything with ibProArcade and it work great. But I have a question. Can I let the guests play at the arcade? Because when they play it says ?you don?t have enough
money?
Any ways to give guests some money or buypass the plugin?
The plugin looks like this.
$amount = '1';
if (($vbulletin->userinfo[$vbulletin->options['icashf']] - $amount) < 0) {
eval(standard_error(fetch_error('error_cash_arcade ')));
}
$vbulletin->db->query("update " . TABLE_PREFIX . "user set {$vbulletin->options['icashf']}={$vbulletin->options['icashf']}-'{$amount}' where userid='{$vbulletin->userinfo['userid']}'");
Can you suggest me a conditional too ignore the plugin if ?guest? ?
Thanks
epsol
06-10-2007, 12:38 AM
I am getting the database errors when people post.... the exact error is described on the page before this... just curious if anyone has found a fix.... I have tried re-uploading the product file a few times, but still getting the errors.
I fixed it. I just edited all the forums and re-inputted the amounts given per post....
yingzhou
06-10-2007, 10:39 AM
How can I have the Log of who I have traded with. When 2 poeple donate the point to me, I cant see the log of who donate to me. :(
deezelpope
06-10-2007, 10:45 AM
Code one.:rolleyes:
JVCode
06-10-2007, 01:52 PM
When I posted a new thread, I got this:
Database error in vBulletin 3.6.7:
Invalid SQL:
UPDATE vB_user SET money=money+ WHERE userid='1';
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 'WHERE userid='1'' at line 1
Error Number : 1064
Date : Sunday, May 27th 2007 @ 01:11:00 PM
Script : http://**************.net/*******************/newthread.php?do=postthread&f=2
Referrer : http://**************.net/*******************/newthread.php?do=newthread&f=2
IP Address : **.**.**.***
Username : Pc1203
Classname : vB_Database
I edited out my test board URL + My IP Address.
Same Problem Above ^^
Works now. All I did was re-upload the product file. The only thing is that I don't get any points for each thread.
I'm getting this same error, tried the 'fix' you posted, and i'm still recieving the error, can anyone else help please? i'm using vbulletin 3.6.7 PL1
epsol
06-10-2007, 08:22 PM
I'm getting this same error, tried the 'fix' you posted, and i'm still recieving the error, can anyone else help please? i'm using vbulletin 3.6.7 PL1
i was having that issue too, what I did was edit the forum in question and re-entered the points section within each forum..... seemed to fix it for me
SilverVice
06-11-2007, 02:29 AM
Ok I?ve connected everything with ibProArcade and it work great. But I have a question. Can I let the guests play at the arcade? Because when they play it says ?you don?t have enough
money?
Any ways to give guests some money or buypass the plugin?
The plugin looks like this.
$amount = '1';
if (($vbulletin->userinfo[$vbulletin->options['icashf']] - $amount) < 0) {
eval(standard_error(fetch_error('error_cash_arcade ')));
}
$vbulletin->db->query("update " . TABLE_PREFIX . "user set {$vbulletin->options['icashf']}={$vbulletin->options['icashf']}-'{$amount}' where userid='{$vbulletin->userinfo['userid']}'");
Can you suggest me a conditional too ignore the plugin if ?guest? ?
Thanks
Any idea will be appreciated. :D
JVCode
06-11-2007, 03:46 AM
i was having that issue too, what I did was edit the forum in question and re-entered the points section within each forum..... seemed to fix it for me
Ah thankyou! that seems to have worked!
yingzhou
06-14-2007, 01:02 AM
How can I have the Log of who I have traded with. When 2 poeple donate the point to me, I cant see the log of who donate to me. :(
Anyone help?
Where can I set the amount of points people get per post?
All I see is:
Activate points per thread/post
Points a user gets for posting or creating a new thread.
Yes / No
There is no place to set this number though.
deezelpope
06-14-2007, 09:26 PM
<i>It's in your forum manager in your AdminCP.</i>
Carlos2
06-15-2007, 07:04 AM
How can i separate by comas the big numbers of points? Now somebody have more than one million of points. Can i separate like that 1,000,000 ???
deezelpope
06-15-2007, 10:37 AM
Not sure what you're asking.:confused:
Vinyljunky
06-15-2007, 11:06 AM
Im in the process of seting up a VB test site. I have dumped my DB and Im trying to import it on another host using phpMYadmin.
However part way through the import I get the error below
Error
SQL query:
--
-- Dumping data for table `holiday`
--
--
-- Table structure for table `icash_donations`
--
CREATE TABLE icash_donations(
id int( 11 ) NOT NULL AUTO_INCREMENT ,
FROM text NOT NULL ,
TO text NOT NULL , I get an error icon on this line
amount int( 11 ) NOT NULL default '0',
time text NOT NULL ,
PRIMARY KEY ( id )
) TYPE = MYISAM ;
MySQL said:
#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 'from text NOT NULL,
to text NOT NULL,
amount int(11) NOT NULL default '0',
' at line 3
Can anybody help?
Many Thanks
VJ
Carlos2
06-16-2007, 09:06 PM
Not sure what you're asking.:confused:
In the post put something like that
USER: CARLOS2 EUROS(or what you called):30000000 Its difficult to know how much euros have the user, can be like that?
USER: CARLOS2 EUROS(or what you called):3,000,000
Now you know easy that are 3 million.
Thanks for your answer ;)
gibgaming.com
06-18-2007, 09:56 PM
hey guys can any one help ?? iam gettign this error
Database error in vBulletin 3.6.7:
Invalid SQL:
UPDATE user SET money=money+ WHERE userid='3';
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 'WHERE userid='3'' at line 1
Error Number : 1064
Date : Monday, June 18th 2007 @ 11:56:06 PM
Script : http://www.gibgaming.com/Forums/newreply.php?do=postreply&t=441
Referrer : http://www.gibgaming.com/Forums/newreply.php?do=newreply&noquote=1&p=4583
IP Address : 195.166.202.214
Username : Gib|G
Classname : vb_database
deezelpope
06-18-2007, 10:03 PM
<i>I remember a lot of us had this error...do a search in this thread for 1064...I just kept overwriting and eventually it worked. Odd, I know, but I haven't had trouble since.</i>
gibgaming.com
06-18-2007, 10:11 PM
i did a search no help really didnt find anything
deezelpope
06-18-2007, 10:43 PM
<i>Yeah, right...I did it myself right before I advised you to do it. Try again.</i>
epsol
06-19-2007, 05:11 AM
hey guys can any one help ?? iam gettign this error
Database error in vBulletin 3.6.7:
Invalid SQL:
UPDATE user SET money=money+ WHERE userid='3';
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 'WHERE userid='3'' at line 1
Error Number : 1064
Date : Monday, June 18th 2007 @ 11:56:06 PM
Script : http://www.gibgaming.com/Forums/newreply.php?do=postreply&t=441
Referrer : http://www.gibgaming.com/Forums/newreply.php?do=newreply&noquote=1&p=4583
IP Address : 195.166.202.214
Username : Gib|G
Classname : vb_database
edit all your forums within the adminCP and re-enter the amount of points given for posts.... it should clear it right up for you.....
Hey thanks for this mod !
Please where can I see the Log of all the donations please !?
Thanks
Olgi
pixel2528
06-19-2007, 04:16 PM
i am getting this error
Database error in vBulletin 3.6.7:
Invalid SQL:
UPDATE user SET vbookie_cash=vbookie_cash+ WHERE userid='1';
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 'WHERE userid='1'' at line 1
Error Number : 1064
Date : Tuesday, June 19th 2007 @ 12:14:49 PM
Script : http://www.pixelinsanities.com/forum/newreply.php?do=postreply&t=186
Referrer : http://www.pixelinsanities.com/forum/newreply.php?do=newreply&noquote=1&p=572
IP Address :
Username :
Classname :
any help
deezelpope
06-19-2007, 04:56 PM
<i>Read through...this is answered in the thread.</i>
BigDog56
06-19-2007, 05:43 PM
Got the same error, did as was suggested, all works fine now. Trying to find how to reset someones' points..?
BigDog56
06-19-2007, 05:55 PM
How can you edit, take away someone's money?
deezelpope
06-19-2007, 06:08 PM
I don't think you can...unless you have the Admin log-in as user hack...
https://vborg.vbsupport.ru/showthread.php?t=122939
BigDog56
06-19-2007, 06:15 PM
I don't think you can...unless you have the Admin log-in as user hack...
https://vborg.vbsupport.ru/showthread.php?t=122939
Thanks, I got it figured out. Just put a negative amount in the donate area.
Posted on page 2 or 3, something like that. Great mod, love it!
deezelpope
06-19-2007, 06:16 PM
Oh good!!! Duh, that didn't occur to me...hehehe...sorry!:rolleyes:
BigDog56
06-19-2007, 07:26 PM
Oh good!!! Duh, that didn't occur to me...hehehe...sorry!:rolleyes:
LOL.Disn't occur to me, either! I read it and thought, simple enough! And it works too! Now to try and find a "Gifts" mod...
deezelpope
06-19-2007, 07:30 PM
There's this author's iShop...that's what I use...plus, iBank, for the interest...;)
BigDog56
06-19-2007, 08:21 PM
There's this author's iShop...that's what I use...plus, iBank, for the interest...;)
I'll check it out! Thank you!
deezelpope
06-19-2007, 08:31 PM
No problem!
BTW, I like the homepage of your site...just gorgeous!
BigDog56
06-19-2007, 08:54 PM
No problem!
BTW, I like the homepage of your site...just gorgeous!
Thank you! I can't take credit for the artwork, but the animation I can. ;)
deezelpope
06-19-2007, 09:02 PM
Well, good job!! The fairy is very beautiful!:)
redtailboa
06-20-2007, 11:53 PM
Ok i installed this mod and this is what i get.. some times i get an error but the post is posted
This post is a duplicate of a post that you have posted in the last five minutes. You will be redirected to that thread.
3.6.7
I will deactivate it until there is a fix.
redtailboa
06-21-2007, 12:13 AM
nm.. fixed.. re edit icash settings and its working now.
donal
06-21-2007, 12:21 AM
Will this hack work for VB 3.6
deezelpope
06-21-2007, 08:20 AM
Read over this thread...your answer lies within.:)
MadKad
06-21-2007, 04:43 PM
Is there any way that I can change the points system to say
0.01 for posts
and
0.02 for new threads
or if this cant be done, just changing the 5.00 per post to 0.01 :)
deezelpope
06-21-2007, 04:48 PM
You set all the money in your forum manager in your AdminCP.:)
Why so cheap?
MadKad
06-21-2007, 06:13 PM
You set all the money in your forum manager in your AdminCP.:)
Why so cheap?
ok np, I will look at it :)
it might not be that cheap, the reason for it being lower is because its going to be real cash :D
EDIT: sorry one last question, is there no way of making say one usergroup have all the points in say double the standerd?
deezelpope
06-21-2007, 08:01 PM
Ohhh, I see. Cool.
I don't think so, considering payment is forum-based.
MadKad
06-21-2007, 09:56 PM
no payment will not be forum bassed
====
This does really need a usergroup option so that say my V.I.P. members can earn more points.
Is there no way of doing this?
deezelpope
06-21-2007, 10:18 PM
No, no...I mean the points system (payment) is forum/post based...they get paid for posting...that's what I meant.
I dunno.:confused:
MadKad
06-21-2007, 10:22 PM
No, no...I mean the points system (payment) is forum/post based...they get paid for posting...that's what I meant.
I dunno. :confused:
Yer i know lol getting me very confused now lol, we are just going to do it so they can cash the point in if they want (some how)
this way it will make them want to earn lots :D but apart from that is there a way for \/
====
This does really need a usergroup option so that say my V.I.P. members can earn more points.
Is there no way of doing this?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.