View Full Version : Major Additions - ICash, Simple, stand alone point system.
sinisterpain
01-31-2007, 11:29 PM
Hello sinisterpain. I'd like to see what you did, if possible. I might install vbookie on my icash-enabled forum, and had the idea that it wouldn't require editing of vbookie code.
I will post it over at the Vbookie thread
hitboy
02-01-2007, 01:10 PM
it is easily do-able with a simple hook i could whip up for you once i get home.
As for logging things, i dont really have any reason to add any more to this modification, but if you do figure it out, feel free to post it here.
were you talking to me? cause I really need it to be able to charge points to post in certain forums if you can do this that would be REALLY GREAT! I know it was possible with ucash i am just hoping it will be in icash hehe
Black Widow
02-03-2007, 02:42 PM
Should i believe that no one is willing to add a logging to this hack?
hitboy
02-04-2007, 05:16 AM
also it would be cool if there was an option for choosing how many points to give in each specific forum is this possible too?
Black Widow
02-05-2007, 07:38 AM
Should i believe that no one is willing to add a logging to this hack?
Even if i pay?
dartho
02-05-2007, 09:55 AM
there is a logging modification in this thread somewhere...
brb - I'll search
back
Check post # 196 in this thread. Read posts eitehr side of it to get more info
nsusa
02-06-2007, 12:50 AM
Can this be used with the normal "paid subscriptions" feature in vBulletin?
Chris
Blaine0002
02-06-2007, 01:36 PM
I guesse when i get some free time i can look into adding a logging thing, but it might not be soon.
As for paid subscriptions, it should work modified, but its not built in.
waller99
02-08-2007, 01:31 AM
Does anyone have a fix to the wrong points when you type in the quick reply and then go advanced? Then once you click submit in advanced mode it gives you the amount of points you should get for a new thread instead of points for a post. Thanks..
winlya
02-08-2007, 05:58 AM
I have improve your hack.
Example to +/- point only staff.History if any staff +/-.List top people get more point,....
But I have problem with this hack.
if any people creat new theard alot and messiger "waiting 60 second".If they submit with messiger the point with be add alot.How to fix this problem ?.
+ I want to add it with forum :
example : forum A open thread : 10 point,reply : 5 point .But forum B open thread : 0 point,reply :0 point
+ I want to add access forum with this point.Example :
this forum require 100 point to view it.
+ I want to add on post (a post when staff donate) this messiger " you has been donate ??? Point by staff username".
can you do that man ?.I realy like your hack ^^.
Zagis
02-08-2007, 07:00 AM
Does anyone have a fix to the wrong points when you type in the quick reply and then go advanced?There is also another issue... every time you hit "Preview Post" you get the amount of points for "Submit Post". So, if you hit "Preview Post" 10 times, you get 50 points if "Points per reply" is set to 5.
hitboy
02-08-2007, 07:43 AM
I have improve your hack.
Example to +/- point only staff.History if any staff +/-.List top people get more point,....
But I have problem with this hack.
if any people creat new theard alot and messiger "waiting 60 second".If they submit with messiger the point with be add alot.How to fix this problem ?.
+ I want to add it with forum :
example : forum A open thread : 10 point,reply : 5 point .But forum B open thread : 0 point,reply :0 point
+ I want to add access forum with this point.Example :
this forum require 100 point to view it.
+ I want to add on post (a post when staff donate) this messiger " you has been donate ??? Point by staff username".
can you do that man ?.I realy like your hack ^^.
I want to do that too except i want to be able to charge to post in some of the forums
Rickeo
02-08-2007, 08:11 AM
Awwwwww sweet hack thanks m8
~Rick~
Rickeo
02-08-2007, 09:12 AM
Actually am having a problem having to disable it now it says when I try donating to someone you dont have this much when I do
~Rick~
sinisterpain
02-08-2007, 09:42 PM
Actually am having a problem having to disable it now it says when I try donating to someone you dont have this much when I do
~Rick~
You have to have the money on hand not in the bank to donate
Rickeo
02-09-2007, 01:01 PM
No I do have it on hand cant install the bank because for some reason it doesnt let u open ur account when I installed the bank it kept saying my bank account was closed and I cudnt find ut how to open it.
So I do have the points on hand just wont let me donate full stop.
~Rick~
Blaine0002
02-09-2007, 03:17 PM
wow, you seem to be having a lot of problems with my mods. How many other addons do you have installed? Are you using an up to date version of vbulletin?
JustinBr
02-09-2007, 05:02 PM
I'd like to have an option in the admincp that lets me select a certain usergroup/usergroups, to which I can reset/override each member's money to whatever I want it to be.
I'm using icash as my money system on vb 3.6.4.
I see that icash already has a feature that lets you donate to certain members/usergroups from the admincp. The difference being is that with the current feature you are "adding to" the users current money, rather than "overriding with" the new value.
Is this possible?
Blaine0002
02-09-2007, 10:33 PM
with simple math you can easily add negatives, giving users a certain point total.
As for logs, i have somthing good going here, expect it tomorrow.
JustinBr
02-10-2007, 12:20 AM
yeah but each user is going to have a different "money" value that will be constantly changing.
without such a feature i would have to go through and do each one individually, correct?
Blaine0002
02-10-2007, 01:23 AM
im not quite sure i understand what you are asking, what do you mean the money value will be changing....
eLetHe
02-10-2007, 07:24 PM
Is it not possible to take away points from spammers?
If not, then this hack is pretty useless to use for serious things, like collect points and get a free domain. Or collect points and win cash?
Pretty darn useless..
Or am i wrong? Is it possible to remove points from a user?
Elethe
dartho
02-10-2007, 07:43 PM
donating a negative value to them will remove points form a user
JustinBr
02-10-2007, 11:30 PM
but how about entire usergroups? subtracting points from each individual user is tedious and impractical for my particular application.
And more to the point, how about "resetting" the points value to 0 or whatever value the admin chooses, for each user within a certain usergroup?
Kyerme
02-11-2007, 03:29 AM
How do I import it?
Rickeo
02-11-2007, 11:29 AM
I am running the latest version of VB and am running about 10 other mods any help on my quetions now please??
~Rick~
hitboy
02-11-2007, 12:19 PM
How do I charge points to post in certain forums? Is this not possible in Icash if it isnt just say so please thanks! ( I REALLY need this feature)
Blaine0002
02-11-2007, 02:03 PM
Rickeo, i have no clue what is causing this for you, but it is working for everyone else, try disableing your other mods one by one to see what one is causing the problem.
@ hitboy, it is possible, but with an additional plugin.
waller99
02-12-2007, 01:05 AM
There is also another issue... every time you hit "Preview Post" you get the amount of points for "Submit Post". So, if you hit "Preview Post" 10 times, you get 50 points if "Points per reply" is set to 5.
Does anyone have a fix to the wrong points when you type in the quick reply and then go advanced? Then once you click submit in advanced mode it gives you the amount of points you should get for a new thread instead of points for a post. Thanks..
Any suggestions on this?
hitboy
02-12-2007, 03:26 AM
Rickeo, i have no clue what is causing this for you, but it is working for everyone else, try disableing your other mods one by one to see what one is causing the problem.
@ hitboy, it is possible, but with an additional plugin.
could you create this plugin? If you dont want to do it for free let me know how much etc. Thanks
OrangeFlea
02-12-2007, 07:19 AM
I want to run monthly lottery contests in conjunction with this hack. Is it possible that an add-on could be included where the points of each member could be collected after X number of days and converted into tickets for a lottery?
For example:
1 point = 1 ticket
100 points = 2 tickets
500 points = 3 tickets
Blaine0002
02-12-2007, 03:54 PM
I will fix the submission bug and release it in addition to the donation log. Im having some problems with the arrays but it will hopefully be soon.
Black Widow
02-12-2007, 06:16 PM
I will fix the submission bug and release it in addition to the donation log. Im having some problems with the arrays but it will hopefully be soon.
thanks man.
i am waiting for this...
Blaine0002
02-13-2007, 12:32 AM
its updated.
hitboy
02-13-2007, 02:16 AM
Hey blaine can you actually make this plugin for charging for threads and maybe letting the admin decide how many points to specifiy to each forum. This would be very helpful for me thanks!
What exactly was updated?
Blaine0002
02-13-2007, 10:09 AM
yeah ill make that plugin next,
and i added point donation log.
waller99
02-13-2007, 12:25 PM
so no luck with the submit and preview post problem?
Blaine0002
02-13-2007, 04:07 PM
i havent tested it out, but try changing the hook location to Newpost_complete
Post your results :D
waller99
02-13-2007, 05:32 PM
i havent tested it out, but try changing the hook location to Newpost_complete
Post your results :D
I have no problem with that but I have no idea where to find that. I am no expert... :confused: :confused: :D
Blaine0002
02-13-2007, 07:57 PM
Go to your edit plugins in your admincp, you should see one that says icash money system or somthing. click edit, and then hook location click the drop down, newpost_complete should be only a few down from what its at.
waller99
02-13-2007, 09:38 PM
Go to your edit plugins in your admincp, you should see one that says icash money system or somthing. click edit, and then hook location click the drop down, newpost_complete should be only a few down from what its at.
Worked like a charm. I tested it and i previewed my post a few times and clicked submit. It gave me the correct points. Thanks again. :up:
Blaine0002
02-13-2007, 09:42 PM
ok cool, ill update the default value and reupload the mod :D
JustinBr
02-14-2007, 01:17 AM
I'd like to have an option in the admincp that lets me select a certain usergroup/usergroups, to which I can reset/override each member's money to whatever I want it to be.
I'm using icash as my money system on vb 3.6.4.
I see that icash already has a feature that lets you donate to certain members/usergroups from the admincp. The difference being is that with the current feature you are "adding to" the users current money, rather than "overriding with" the new value.
Is this possible?
Any comments on this?
hitboy
02-14-2007, 02:48 PM
yeah ill make that plugin next,
and i added point donation log.
thats great news I am new to vbulletin and the reason i bought it was to use all the great plugins lol my new forum will revolve around a point system so I really need that plugin lol. Vbbux and ebux are messed up I just want something that works or isnt full of hacks.. Can you give me any idea when this new plugin will arrive?
By the way nice job on the donation log it looks good!
slipondajimmy
02-16-2007, 01:33 AM
Hey I just installed this it was a breeze. Thanks a bunch
Blaine0002
02-16-2007, 03:20 PM
Yes justin i will add that with my next update.
JustinBr
02-17-2007, 12:12 AM
Blaine - thx much, I actually got someone here form the community to help with it. (Dankness) He made a few changes to the icashadmin.php file. If you'd like to implement these changes you are more than welcome to do so.
<?php
/*================================================= =====================*\
|| ################################################## ################## ||
|| # ICash # ||
|| # Copyright Blaine0002(C) 2005 All rights reserved. # ||
|| # Modifyed by Dankness to Override Money Values # ||
|| # ---------------------------------------------------------------- # ||
|| # For use with vBulletin Version 3.5.3 # ||
|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
|| # Discussion and support available at # ||
|| # https://vborg.vbsupport.ru/showthread.php?t=100344 # ||
|| ################################################## ################## ||
\*================================================ ======================*/
error_reporting(E_ALL & ~E_NOTICE);
define('THIS_SCRIPT', 'icashadmin');
require_once('./global.php');
// ###################### Donate To All Members ########################
if ($_GET['act'] == "donate_to_all")
{
print_cp_header("Donate To Members");
$uoption="<option value='All'>All Usergroups</option>";
$usergroups = $db->query("SELECT * FROM " . TABLE_PREFIX . "usergroup ORDER BY title");
while ($usergroup = $db->fetch_array($usergroups))
{
$uoption.="<option value='{$usergroup['usergroupid']}'>{$usergroup['title']}</option>";
}
print_form_header('icashadmin', 'do_donate_all');
print_table_header("Donate To Members");
print_input_row("Amount of {$vbphrase['money']} to donate", 'amount','0');
print_label_row("Choose Usergroup<dfn>Will only donate to members within this usergroup</dfn>", '<select name="usergroup" class="bginput">'.$uoption.'</select>');
print_submit_row("Donate {$vbphrase['money']} To Members", 0);
//member
print_form_header('icashadmin', 'do_donate_member');
print_table_header("Donate To Member");
print_input_row("Amount of {$vbphrase['money']} to donate", 'amount2','0');
print_input_row("Choose Username", 'username','');
print_submit_row("Donate {$vbphrase['money']} To Member", 0);
//member
print_form_header('icashadmin', 'do_set_member');
print_table_header("Set Member Cash");
print_input_row("Amount of {$vbphrase['money']} to set to", 'amount2','0');
print_input_row("Choose Username", 'username','');
print_submit_row("Set {$vbphrase['money']} To Member", 0);
print_form_header('icashadmin', 'do_set_all');
print_table_header("Set Money of Usergroups");
print_input_row("Amount of {$vbphrase['money']} to set", 'amount','0');
print_label_row("Choose Usergroup<dfn>Will only donate to members within this usergroup</dfn>", '<select name="usergroup" class="bginput">'.$uoption.'</select>');
print_submit_row("Set {$vbphrase['money']} To Members", 0);
print_cp_footer();
exit;
}
// ###################### Do Donate To All Members ########################
if ($_POST['do'] == "do_donate_all")
{
print_cp_header("Donate To Members");
if($_POST['usergroup']!="All")
{
if(!$db->query_first("SELECT * FROM " . TABLE_PREFIX . "usergroup where usergroupid='{$_POST['usergroup']}'"))
{
echo "Invalid Usergroup Specified. [ <a href='javascript:history.go(-1)'>Back</a> ]";
exit;
}
}
$_POST['amount']=(int)$_POST['amount'];
if($_POST['usergroup']=="All")
{
$db->query("update " . TABLE_PREFIX . "user set {$vbulletin->options['icashf']}={$vbulletin->options['icashf']}+'{$_POST['amount']}'");
} else {
$mcol=$db->query("select * from ".TABLE_PREFIX."user where usergroupid='{$_POST['usergroup']}'");
$membersc=array();
while($them = $db->fetch_array($mcol))
{
$membersc[]=$them;
}
if($membersc[0])
{
foreach($membersc as $the_memberg){
$db->query("update " . TABLE_PREFIX . "user set {$vbulletin->options['icashf']}={$vbulletin->options['icashf']}+'{$_POST['amount']}' where userid='{$the_memberg['userid']}'");
}
}
}
define('CP_REDIRECT', 'icashadmin.php?act=donate_to_all');
print_stop_message('icash_donate_members');
}
// ###################### Do Donate To Member ########################
$_POST['amount2']=(int)$_POST['amount2'];
if ($_POST['do'] == "do_donate_member")
{
print_cp_header("Donate To Member");
$_POST['amount2']=(int)$_POST['amount2'];
$db->query("update " . TABLE_PREFIX . "user set {$vbulletin->options['icashf']}={$vbulletin->options['icashf']}+'{$_POST['amount2']}' where username='{$_POST['username']}'");
define('CP_REDIRECT', 'icashadmin.php?act=donate_to_all');
print_stop_message('icash_donate_members');
}
if ($_POST['do'] == "do_set_member")
{
print_cp_header("Set Members Cash");
$_POST['amount2']=(int)$_POST['amount2'];
$db->query("update " . TABLE_PREFIX . "user set {$vbulletin->options['icashf']}='{$_POST['amount2']}' where username='{$_POST['username']}'");
define('CP_REDIRECT', 'icashadmin.php?act=donate_to_all');
print_stop_message('icash_donate_members');
}
if ($_POST['do'] == "do_set_all")
{
print_cp_header("Set Usergroups Moneys");
if($_POST['usergroup']!="All")
{
if(!$db->query_first("SELECT * FROM " . TABLE_PREFIX . "usergroup where usergroupid='{$_POST['usergroup']}'"))
{
echo "Invalid Usergroup Specified. [ <a href='javascript:history.go(-1)'>Back</a> ]";
exit;
}
}
$_POST['amount2']=(int)$_POST['amount2'];
if($_POST['usergroup']=="All")
{
$db->query("update " . TABLE_PREFIX . "user set {$vbulletin->options['icashf']}='{$_POST['amount']}'");
define('CP_REDIRECT', 'icashadmin.php?act=donate_to_all');
print_stop_message('icash_donate_members');
}
else
{
$grp = $_POST['usergroup'];
$grpa = $grp . ',';
$mcol=$db->query("select * from ".TABLE_PREFIX."user where usergroupid='{$_POST['usergroup']}'");
$membersc=array();
while($them = $db->fetch_array($mcol))
{
$membersc[]=$them;
}
if($membersc[0])
{
foreach($membersc as $the_memberg)
{
$db->query("update " . TABLE_PREFIX . "user set {$vbulletin->options['icashf']}='{$_POST['amount']}' where userid='{$the_memberg['userid']}'");
}
}
$mcol =$db->query_read("SELECT * FROM ".TABLE_PREFIX."user as a WHERE FIND_IN_SET('{$_POST['usergroup']}', a.membergroupids) ");
$membersc=array();
while($them = $db->fetch_array($mcol))
{
$membersc[]=$them;
}
if($membersc[0])
{
foreach($membersc as $the_memberg)
{
$db->query("update " . TABLE_PREFIX . "user set {$vbulletin->options['icashf']}='{$_POST['amount']}' where userid='{$the_memberg['userid']}'");
}
}
define('CP_REDIRECT', 'icashadmin.php?act=donate_to_all');
print_stop_message('icash_donate_members');
}
}
?>
Blaine0002
02-17-2007, 02:18 AM
Thx for the contribution!
Remember to click install!
2meplie
02-17-2007, 08:09 AM
Really great hack! I posted a thread looking for this just yesterday and found this this morning! YAY! I just read all the pages and I was wondering if it is possible, like it was asked earlier in this thread, to receive points for specific clicking on certain URL. I also too use the thank you hack and I would like peoples getting points when they receive a thank you. And also when they vote.
Is it possible?
Thanks again for this hack. :D
2meplie
02-17-2007, 11:45 AM
Me again,
I was wondering something. When people are donating points to others, are these point remove from their points? Also, is it possible to disable the donate function so that only the admin can give points?
Thanks.
Blaine0002
02-17-2007, 05:20 PM
yes, it removes points, and if you dont want them to donate, simply remove all links to donate.php :)
gingery
02-17-2007, 05:26 PM
I love this hack!
If I load the recent update that includes the log, it won't erase the point totals already accumulated will it?
Blaine0002
02-17-2007, 06:05 PM
nope :)
gingery
02-17-2007, 06:20 PM
Great!
Thanks much! :)
WiiBeyond
02-18-2007, 12:44 AM
Hi, I am slightly confused on how to import this. I have all the files uploaded on my server, where do i go from here?
sinisterpain
02-18-2007, 02:25 AM
Hi, I am slightly confused on how to import this. I have all the files uploaded on my server, where do i go from here?
You need to import the product-icash.xml through your admincp
WiiBeyond
02-18-2007, 02:43 AM
Under what do I do so? Plug-ins/Products --> Download/Upload?
WiiBeyond
02-18-2007, 02:47 AM
Never Mind i think i might have it
sinisterpain
02-18-2007, 02:49 AM
Under what do I do so? Plug-ins/Products --> Download/Upload?
Plug-ins/Products --> Manage Products->add/import
2meplie
02-18-2007, 10:03 AM
I was wondering if it is possible, like it was asked earlier in this thread, to receive points for specific clicking on certain URL. I also too use the thank you hack and I would like peoples getting points when they receive a thank you. And also when they vote.
Is it possible?
Thanks again for this hack. :D
Great thanks Blaine and what about these?
Kleptomaniac
02-19-2007, 05:21 AM
Got it working with vbookie, thanks for the mod. /installed.
chubzilla
02-19-2007, 03:47 PM
how do i get it to work with vbookie
sinisterpain
02-19-2007, 07:46 PM
how do i get it to work with vbookie
I posted the files in the vbookie thread that adds icash to admin cp
BozzaJos
02-19-2007, 08:19 PM
This is a great hack! I love it on my forums. I'm going to install VBookie soon and I'm so glad that it works in combination with ICash.
Got one question tho. Could someone give me some advice on what numbers to fill in @ Points per character, Points per thread and Points per reply? I don't want users to get thousands of posts in no time. With this in mind, could anyone give me some tips on what to fill in? Would really appreciate it, many thanks in advance.
@ Blaine0002 -> Great job mate! Really love your hack and hope to see some more improvements/extras in it. Keep it up!
Kleptomaniac
02-20-2007, 01:54 AM
I posted the files in the vbookie thread that adds icash to admin cp
Those files came in handy, thanks.
sinisterpain
02-20-2007, 02:02 AM
Glad you could use them
Rickeo
02-20-2007, 06:21 PM
Is there a way you can buy points via paypal if so how and how do you make it so people have to pay for a game with IBP :)
Thanks
~Rick~
Rickeo
02-20-2007, 08:47 PM
ohhh also I how do u set it to charge per game for v3arcade :)
Thanks
Rick
Marko777
02-22-2007, 12:00 PM
thats great news I am new to vbulletin and the reason i bought it was to use all the great plugins lol my new forum will revolve around a point system so I really need that plugin lol. Vbbux and ebux are messed up I just want something that works or isnt full of hacks.. Can you give me any idea when this new plugin will arrive?
By the way nice job on the donation log it looks good!
Yes justin i will add that with my next update.
We are waiting for that plugin too. With those two changes this mod can be a full replacement for vbbux.
Question: If member made 5 points by posting a reply, will the system remove those 5 points if that reply is deleted by that user or mod/admin?
Hi Guys
Can I get some urgent help.
Whenever I donate money, I keep getting a message that I do not have enough money,
I also installed Ishop, and when I want to buy it says I don't have enough money.
I can donate money to users from the Admincp but the system does not recognoze it.
Any help?
Blaine0002
02-22-2007, 04:18 PM
are you sure you have your money table set to 'money'?
Thank you Blaine
I had money with a capital 'M'. Just changed it to a lower case and it now seems to work :)
Rian
Marko777
02-22-2007, 05:30 PM
1) In product-icash.xml:
From:
<phrase name="error_icash_sendmsomthing"><![CDATA[You must donate somthing!]]></phrase>
To:
<phrase name="error_icash_sendmsomthing"><![CDATA[You must donate something!]]></phrase>
1.5) You need to change the amount to be a fload, not an int.
2) In donate.php:
Find:
$db->query("insert into " . TABLE_PREFIX . "icash_donations (`id` ,`from`, `to`, `amount`, `time`) VALUES ('', '{$vbulletin->userinfo['username']}', '{$doname}', '{$amount}', '{time()}')");
Change:
$db->query("insert into " . TABLE_PREFIX . "icash_donations (`id` ,`from`, `to`, `amount`, `time`) VALUES ('', '{$vbulletin->userinfo['username']}', '{$doname}', '{$amount}', now())");
hitboy
02-23-2007, 11:50 AM
is there a way to exclude forums so that users dont get points for posting in certain forums???
I installed it, is it possible that the hack counts posts that have already been made? Since there are 6000+ posts on my board, but everyone has 0 points.
marshill
02-23-2007, 05:50 PM
how do i make it so that the donate link in the postbit is only visible to the administrator? (not the group, but the sole admin)
waller99
02-23-2007, 07:26 PM
This isn't the "proper" way to do things but I just added what is in red around the donate link. I changed it on postbit and postbit_legacy...
<if condition="$show['admincplink']">
<a href="donate.php?$session[sessionurl]to=$member[username]">Donate</a>
</if>
FIVE539
02-23-2007, 08:27 PM
is there any way to set it to give a certain ammount for a post and the characters in the post?
example: 5 points for a post + .03 for each character
sinisterpain
02-23-2007, 09:54 PM
is there any way to set it to give a certain ammount for a post and the characters in the post?
example: 5 points for a post + .03 for each character
admincp->icash
FIVE539
02-23-2007, 11:48 PM
yeah but its either giving ONLY per character or posts/threads...not both.
sinisterpain
02-24-2007, 01:07 PM
yeah but its either giving ONLY per character or posts/threads...not both.
I do not use the per character so I was not aware of it I only use the per post.
djchris
02-25-2007, 03:57 AM
Hi Blaine0002, I'd like to show the points in my forum main page but I tried to copy the same codes given in the instruction in another template but the $member[money] failed to show.
Can you share with me how this can be done?
Many thanks.
Has anyone installed this with 3.6.4???
Has anyone installed this with 3.6.4???
I installed with 3.6.4 earlier tonight with only very minor wrinkles, mostly related to postbit templates and skins. There's some behavior I'm yet to understand, but I suspect it's my unfamiliarity with the mod and that it is working fine. The install ran flawlessly.
Came here looking for integration to ibProarcade and see there's lots to wade through. Could anyone direct me to a post providing direction on this. I see something has been in the works, but haven't found anything definitive.
Good luck with 3.6.4 install.
Blaine0002
02-27-2007, 01:51 PM
thats a built in with ibproarcade, you would need to ask the author of that for instructions on how.
Thx much.
Could you please tell me why the next interest payment shows as like 13xxx days? I've look through here and the code, but can't put a finger on it. I saw the same thing on your Web site's version. Can I correct that somwhere? thx again.
Blaine0002
02-27-2007, 08:17 PM
interest? there is no interest in icash o.o
...and that would explain why I haven't found anything here! I'll take a look at the IBank forum.
Thx.
Marko777
02-28-2007, 07:52 AM
Blaine,
Do you know when the next update (with separate point settings for each forum folder) is going to be published?
Keep up the good work :)
mustangdotcom
02-28-2007, 04:37 PM
Is there a way of finding out who has the most points over a particular time period?
Can the points be reset without clearing all of the post statistics?
nsanden
03-01-2007, 08:45 AM
Didn't get a chance to read this whole thread yet but shouldn't points be deducted from a user when one of his threads is deleted?
Blaine0002
03-01-2007, 11:20 AM
quite possibly, but that would cause many issues with the modification, such as if they spend all their points in a shop mod, there is nothing to take away from. the main thing you should do in that case is go in and donate them a negative ammount of points to take some away, and if they repedadly (sp?) spam your forum, maybe a longer lasting punishment should be taken into consideration.
Zagis
03-01-2007, 12:45 PM
quite possibly, but that would cause many issues with the modification, such as if they spend all their points in a shop mod, there is nothing to take away from. the main thing you should do in that case is go in and donate them a negative ammount of points to take some awayIt is easier to do that only for users who have no points than every time you delete a post...
Any way Blaine, if you don't fix this issue:
... every time you hit "Preview Post" you get the amount of points for "Submit Post". So, if you hit "Preview Post" 10 times, you get 50 points if "Points per reply" is set to 5., I think this mod is useless, even if its great as an idea ;)
waller99
03-01-2007, 12:57 PM
yeah but its either giving ONLY per character or posts/threads...not both.
Is there any solution to this? I would like to use both but when the per character is selected, it only adds the points for the per character and not per character and per new post. Thanks.
Blaine0002
03-01-2007, 05:27 PM
Zagis, i posted earlier in the thread that you simply need to change the hook location to newpost_complete instead of newpost_process
waller i can add that in the next version
waller99
03-01-2007, 05:42 PM
That sounds good Blaine. That would be great.
Marko777
03-01-2007, 08:36 PM
quite possibly, but that would cause many issues with the modification, such as if they spend all their points in a shop mod, there is nothing to take away from. the main thing you should do in that case is go in and donate them a negative ammount of points to take some away, and if they repedadly (sp?) spam your forum, maybe a longer lasting punishment should be taken into consideration.
We had this feature in vbbux and in some cases user balances did become negative. It didn't brake anything. It just didn't let those users to buy anything in vbplaza until they earned enough points by posting to cover the negative balance.
Please let me know if you can add this option to your plugin. With this option your add-on will become the perfect and secure alternative to vbbux.
PS
1. Does your system allow negative balances?
2. Does your system check if a balance is negative before donating/buying items in ishop?
Thank you.
Blaine0002
03-01-2007, 08:47 PM
yes it checks, and yes it allows negative balances. i will most likely add this in another update today. already updated today once >_< lol
djchris
03-01-2007, 11:24 PM
Hi Blaine0002,
Any info on how to show the $member[money] in CMPS?
Blaine0002
03-01-2007, 11:39 PM
does the cmps use the hook system?
Black Tiger
03-02-2007, 12:34 AM
I think I have a problem, maybe it's a bug, maybe I'm doing something wrong. I upgraded from 1.01 to this 1.02 version.
Now I go to my admincp in ICASH and see the following
Activate points per thread/post which can be switched to yes or no.
In the previous version, when switched to yes, I could set the amount of cash to be given for each new thread/post. This options is gone with 1.02.
Same problem goes for "Activate points per character".
The only amount which can be set is for registration and referral.
How can this be fixed?
Furthermore I read in the update mail:
and added system to where you can edit the amount of points a person can get for each individual forum.
Can't find this anywhere in the Admincp.
Black Tiger
03-02-2007, 12:44 AM
Never mind, found it already in the forums themselves.
Nice option but if you want different value's, you have to edit every forum part there is, that could be a whole lot of work.
Can there be made an option to set the value for the amount of points per thread/reply and per character globally?
hitboy
03-02-2007, 04:12 AM
Never mind, found it already in the forums themselves.
Nice option but if you want different value's, you have to edit every forum part there is, that could be a whole lot of work.
Can there be made an option to set the value for the amount of points per thread/reply and per character globally?
lol dont ask that ive been waiting for weeks on this lol
Blaine0002 thanks for making the update this is KL from msn haha
djchris
03-03-2007, 03:57 AM
does the cmps use the hook system?
I believe it does.
I'm trying to show the amount of money in the user's ibank & icash account.
As well as a page that shows the top 30 richest users.
aceofspades
03-03-2007, 07:11 AM
Id also like a 'most points' page. One thing ive been wondering is, would it be possible to tie this into other mods so that there is a function to add points.
I.e When a user does X then give X points to that user. can you do this in Icash?
It is possible if you mod the php code, I myself am a newb at php but am getting there! I am trying to make it work with vbPortal :) so far you get points if you add an article or downloads or any of those things :) Now I want to make it take away points if you download something :)
Shazz
03-03-2007, 08:27 AM
Only point system left,
Glad to see its still up :)
eLetHe
03-03-2007, 10:43 AM
Hello :)
Great points system!
Just a little thing to the ones out there!
You don't need to edit every single forum if you want the same amount on every forum! If you just edit the categories, then the same amount of points will go the forum below it :)
Good Luck
I installed with 3.6.4 earlier tonight with only very minor wrinkles, mostly related to postbit templates and skins. There's some behavior I'm yet to understand, but I suspect it's my unfamiliarity with the mod and that it is working fine. The install ran flawlessly.
Came here looking for integration to ibProarcade and see there's lots to wade through. Could anyone direct me to a post providing direction on this. I see something has been in the works, but haven't found anything definitive.
Good luck with 3.6.4 install.
Thanks :)
hippiesimz
03-04-2007, 12:48 PM
hi there.. im running vb 3.63 , no problem with the installation, everything works perfectly, but i had some problem, i tried to give people point everytime they make a thread its working, but it doesnt work when they post a reply. can anyone help me or does anybody have the same problem with me ? thanks.
Blaine0002
03-04-2007, 12:50 PM
it is actually very easy to add points for different actions people do ont he forums, i am going to cover voting on a poll.
Create a new plugin and call it : ICash Poll
The hooklocation should probably be : pollvotedata_postsave
and the code should look somthing like this
$amount = '1';
$vbulletin->db->query("update " . TABLE_PREFIX . "user set {$vbulletin->options['icashf']}={$vbulletin->options['icashf']}+'{$amount}' where userid='{$vbulletin->userinfo['userid']}'");
now just set the $amount variable to the amount you want to give to the voter.
simple as that, you simply have to know what hook is located where.
if you wanted to subtract points all you would need to do is change + to - in the php code.
Have fun and feel free to post your plugins :)
Zagis
03-04-2007, 01:35 PM
Zagis, i posted earlier in the thread that you simply need to change the hook location to newpost_complete instead of newpost_processSorry Blaine, I didn't noticed that you answered earlier.
Any way, the hook location is newpost_complete but the main problem now is that ICash does not work after the vB 3.6.5 upgrade...
Blaine0002
03-04-2007, 01:58 PM
great.... are you sure about this? i dont have a renewed liscense so i can not investigate further >_<
Zagis
03-04-2007, 03:29 PM
I had a few complains so I tested a couple of times. If someone else has the same prob with ICash on vB 3.6.5, please post...;)
razor69
03-04-2007, 11:48 PM
Is there any way to import UCash users and their points?
Blaine0002
03-05-2007, 01:31 AM
no need to import, just find out the row that ucash used for it and change the settings to it in the admincp
razor69
03-05-2007, 01:37 AM
no need to import, just find out the row that ucash used for it and change the settings to it in the admincp
Thanks for the quick reply! I am trying to ensure that users keep all their points they have acrued in Ucash.
fitnesshealth
03-05-2007, 06:00 AM
Hi,
I've upgraded from 1.01 to 1.02.
Any idea why points still remain the same after replying in a thread when "points per character" is disabled?
My settings:
- Points per thread/post is activated in Icash settings.
- Points per reply has also been set under Forum manager.
- Nothing in the code is modified.
Please advise.
Zagis
03-05-2007, 12:31 PM
Any way, the hook location is newpost_complete but the main problem now is that ICash does not work after the vB 3.6.5 upgrade...
:rolleyes: I've upgraded vB to 3.6.5 and right after ICash from 1.01 to 1.02 so I'm not quite sure what exactly is the reason that I'm having the same problem with "fitnesshealth"
Marko777
03-05-2007, 11:25 PM
Blaine,
Any news about the deletion of posts/points?
Thank you.
Detomah
03-06-2007, 12:07 PM
:rolleyes: I've upgraded vB to 3.6.5 and right after ICash from 1.01 to 1.02 so I'm not quite sure what exactly is the reason that I'm having the same problem with "fitnesshealth"
I'm having the same thing, just to add another confirmation that something aint quite right now.
Black Tiger
03-06-2007, 01:50 PM
Any idea why points still remain the same after replying in a thread when "points per character" is disabled?
Maybe it's the forums setting, I had this with 1 forum too.
I looked and the forum was setup to not count posts made in that forum to the users postcount. If the forum is setup that way, not only the post are not counted to the postcount but also Icash points are not given for characters, reply's, new threads in that forum.
Seems logic to me.
But maybe your problem is caused by something else.
Blaine0002
03-06-2007, 02:36 PM
I'm having the same thing, just to add another confirmation that something aint quite right now.
Hmm, are you guys gettin any error at all? or are you just not getting points added.
Check to make sure inthe Icash settings that points per thread/reply is enabled, then go into each individual forum under forum manager to ensure that the correct amount ot points is set per forum.
fitnesshealth
03-06-2007, 04:27 PM
Hmm, are you guys gettin any error at all? or are you just not getting points added.
Check to make sure inthe Icash settings that points per thread/reply is enabled, then go into each individual forum under forum manager to ensure that the correct amount ot points is set per forum.
Yes, points per thread/reply is enabled in "ICash settings" and points are set as per forum under "Forum Manager".
Points per character, points for referring, points for registration all work fine.
The only problem is when points per character is disabled and points per thread/reply is enabled. The points just don't get added and there is no error at all.
Screenshot of Icash settings: here (http://img404.imageshack.us/img404/1263/1stbr0.gif)
Screenshot of Forum manager settings: here (http://img444.imageshack.us/img444/3231/2ndui0.gif)
fitnesshealth
03-06-2007, 04:30 PM
Maybe it's the forums setting, I had this with 1 forum too.
I looked and the forum was setup to not count posts made in that forum to the users postcount. If the forum is setup that way, not only the post are not counted to the postcount but also Icash points are not given for characters, reply's, new threads in that forum.
Seems logic to me.
But maybe your problem is caused by something else.
I have no idea either. My forum is 3.6.5 and only has ICash, visitors for the last 24 hours and multiple account detector mods installed.
Black Tiger
03-06-2007, 04:36 PM
It's working fine here with characters disabled and post/reply and newthread enabled.
So if your postcount for the forums are active, I don't know what's going wrong.
I run vB 3.6.5.
fitnesshealth
03-06-2007, 04:39 PM
Ok, i upgraded vbulletin from 3.6.4 to 3.6.5 and then ICash 1.01 to ICash 1.02.
These are my settings. Anything i did wrongly?
Screenshot of Icash settings: here (http://img404.imageshack.us/img404/1263/1stbr0.gif)
Screenshot of Forum manager settings: here (http://img444.imageshack.us/img444/3231/2ndui0.gif)
Black Tiger
03-06-2007, 04:55 PM
Looks fine to me, I have it setup the exact same way as in your screenshots, just have another (original) name for the "Name of points" but that should not make any difference.
I presume you used the "overwrite" option when upgrading to 1.02, if you did, then all should be fine, settings are OK. In that case I hope the coder can help you with the problem.
fitnesshealth
03-06-2007, 05:13 PM
Looks fine to me, I have it setup the exact same way as in your screenshots, just have another (original) name for the "Name of points" but that should not make any difference.
I presume you used the "overwrite" option when upgrading to 1.02, if you did, then all should be fine, settings are OK. In that case I hope the coder can help you with the problem.
Yes, i did overwrite. And I just tried overwriting every files and importing/overwriting with 1.02 again and the same problem still exists.
Thanks for your help though. :)
Black Tiger
03-06-2007, 05:23 PM
Hmmz... may you will be more happy now because more users have the same problem.
Because I only tested by making a new thread and I thought I had tested with reply too.
I just reply'd to another thread and guess what? Points did not get added at my forums either so I have the same problem as you have.
New thread works, reply does not work.:(
fitnesshealth
03-06-2007, 05:27 PM
Black Tiger,
Thanks! At least now i can confirm it's not my fault.
I just hope that Blaine0002 can have it fixed soon when he has the time. :)
Black Tiger
03-06-2007, 05:34 PM
Thanks! At least now i can confirm it's not my fault.
You're welcome!
Confirmation is the reason why I went and tested it again because I did definately did not see any mistake on your side and since I had the same setup, I thought of the fact that I might still have forgotten to test the reply option.
Hope he will have time soon indeed.:)
Blaine0002
03-06-2007, 10:05 PM
i seem to have fixed it, it works on my board at least :D download latest zip.
Black Tiger
03-06-2007, 10:44 PM
Downloaded, tried and fixed indeed.:)
Thanks for your quick support Blaine!!
Blaine0002
03-06-2007, 11:36 PM
Glad its finally working for you ^^
fitnesshealth
03-07-2007, 04:48 AM
Now it works great. Thanks a lot Blaine0002 for the fix. :)
Yes, thank you for that, Blaine!
Regarding integration to ibProArcade, Marcel at vBHacks provided the following information:
"all hooks are present in ibProArcade to place PlugIns for any cash-system in it.
check /includes/xml/hooks_ibproarcade.xml for more details..."
So I looked in that file and found:
<?xml version="1.0" encoding="ISO-8859-1"?>
<hooks>
<hooktype type="ibProArcade">
<hook>ibproarcade_global_start</hook>
<hook>ibproarcade_navbar_complete</hook>
<hook>ibproarcade_play_game</hook>
<hook>ibproarcade_play_game_popup</hook>
<hook>ibproarcade_play_game_tourney</hook>
<hook>ibproarcade_new_champ</hook>
<hook>ibproarcade_tourney_won</hook>
<hook>ibproarcade_register_tourney_start</hook>
<hook>ibproarcade_do_create_tourney_start</hook>
<hook>ibproarcade_gamebit</hook>
</hooktype>
</hooks>
Could you suggest or offer any ideas on how to use this to enable members to use their points to play arcade games that permit wagering? The integration would pass points both ways: points wagered from member's iCash account to ibProArcade and then any game winnings from ibProArcade back into member's iCash account.
As always, your help is appreciated.
:)
Been gone a couple days and trying to catch up here.
Looks like we are good to upgrade to 3.6.5 now?
:o
Blaine0002
03-08-2007, 12:39 AM
would be simple enough, like just put the following code in whatever hook you want to take action for
$amount = '1';
$vbulletin->db->query("update " . TABLE_PREFIX . "user set {$vbulletin->options['icashf']}={$vbulletin->options['icashf']}+'{$amount}' where userid='{$vbulletin->userinfo['userid']}'");
for example giving points on arcade champ would be the hook ibproarcade_new_champ
Black Tiger
03-08-2007, 12:54 AM
I had posted the same question as Mys has posted here, in the ibProarcade support area, so in fact I have the same question.:)
But I don't have a clue how to work with hooks or how to implement them.
I can understand a little what the db query does you wrote Blaine, but I don't have a clue how to implement it nore where. I would need screenshot examples or a product.xml file or something like that, cause on this territory I'm really a noob.
I would already be very glad if I (for starters) only had a way that users had to pay to play with Icash credits and that I could setup in the ACP the amound of credits needed to play a game. Any help is VERY appreciated!
Blaine0002
03-08-2007, 01:01 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 !
would be simple enough, like just put the following code in whatever hook you want to take action for
$amount = '1';
$vbulletin->db->query("update " . TABLE_PREFIX . "user set {$vbulletin->options['icashf']}={$vbulletin->options['icashf']}+'{$amount}' where userid='{$vbulletin->userinfo['userid']}'");
for example giving points on arcade champ would be the hook ibproarcade_new_champ
Thank you, sir!
I will try to work with that.
really looking forward to hear how Black Tiger makes out with that....
Thanks, again, Blaine!
:up:
2meplie
03-08-2007, 01:08 PM
I installed the update a first time. But it was not working correctly (we got points for a new thread but not for a reply). I tried to reinstall it and I got this:
Database error in vBulletin 3.6.4:
Invalid SQL:
ALTER TABLE user ADD COLUMN money decimal(15,2) DEFAULT '0' NOT NULL;
MySQL Error : Duplicate column name 'money'
Error Number : 1060
???
2meplie
03-08-2007, 02:05 PM
ok I found the way.
nvm
mcqwert
03-08-2007, 02:13 PM
So is this working on v3.6 yet?
Blaine0002
03-08-2007, 02:20 PM
yes, this has always been working on 3.6..
2mepile was it a problem with my code?
Black Tiger
03-08-2007, 02:22 PM
Working fine on 3.6.x mcqwert, no problem.
@Blaine0002: Thanks very much! This evening I have to go out, but I will try to do it like you said later tonight (around 02.00 GMT+1). I'll let you all know how it worked out.
2meplie
03-08-2007, 02:29 PM
it is actually very easy to add points for different actions people do ont he forums, i am going to cover voting on a poll.
Create a new plugin and call it : ICash Poll
The hooklocation should probably be : pollvotedata_postsave
and the code should look somthing like this
$amount = '1';
$vbulletin->db->query("update " . TABLE_PREFIX . "user set {$vbulletin->options['icashf']}={$vbulletin->options['icashf']}+'{$amount}' where userid='{$vbulletin->userinfo['userid']}'");
now just set the $amount variable to the amount you want to give to the voter.
simple as that, you simply have to know what hook is located where.
if you wanted to subtract points all you would need to do is change + to - in the php code.
Have fun and feel free to post your plugins :)
I did this and it does not work. It say:
Fatal error: Call to a member function on a non-object in .../public_html/forum/includes/class_dm_pollvote.php(138) : eval()'d code on line 2
2meplie
03-08-2007, 02:30 PM
yes, this has always been working on 3.6..
2mepile was it a problem with my code?
No, since the tables was already created, it was not working. I deleted the tables it created the first time and the installation went perfectly.
AuroraStorm
03-08-2007, 02:31 PM
Does this have a gifts system like vbPlaza? My members liked that more than anything. If I can get this to work on my site, that'll be real cool since it's looking like the vbPlaza isn't coming back any time soon...
Blaine0002
03-08-2007, 02:57 PM
thanks ill need to add a checker to that query.
AuroraStorm
03-08-2007, 08:29 PM
Blaine can I upload my own gifts to the Ishop?
Blaine0002
03-08-2007, 08:43 PM
yes, that is what it is for :)
Black Tiger
03-08-2007, 11:36 PM
I'm very happy, thanks again very much Blain0002! I'm going to push the MOTM button now for your great support on this.
Implemented like you said.
Product: Icash. Then set the hook to ibproarcade_play_game and did the rest you said.
Working perfectly here, after playing a game, the amount of icash is substracted from my account. I did not tested yet if one has 0 credits left, but I presume that will work fine too, so again a VERY happy customer.:D
Black Tiger
03-08-2007, 11:43 PM
Well... since we're busy, I'm back with another question or rather a suggestion.:)
I have a suggestion for future Icash updates, the following things would be nice.
1.) An option do disable the possibility for members to donate money to each other, so only admin can donate money to an account.
2.) An option to edit users credits, which means substract credits from a users account or change the amount. There is already an option to donate in the ACP so an option to subtract or edit should not be that hard I guess.;)
Would be nice if this could also be done per usergroup like the donate option.
That's it for now.:)
Blaine0002
03-09-2007, 12:23 AM
black tiger, thanks for your suggestions, number 2 is already implimented, you simply need to donate a negative amount (EX. -100) to the user and it will subtract that amount.
AuroraStorm
03-09-2007, 12:36 AM
Hey Blaine, I'm not a designer or coder like most of you and I have mad respect for what you've done so please bear with me...
I think I got this uploaded right but when I click "member donate", it gives me "page not found." Was I supposed to upload each file to different sections i.e., admincp to the admincp of the forum directory, xml file to the xml file, donate.php to the main directory? Or should I have uploaded the entire Upload file to my forum directory?
Black Tiger
03-09-2007, 12:40 AM
Ah I did not know that, so I presume I can do that per usergroup as well.
A question then. Different users have different amounts of money. Now I would like to reset all to zero, some have 100 cash, some 3000. Suppose I would use the usergroup option and set it to -4000 (which would mean that would be 1000 more then a user has), would this reset all credits for the usergroup to 0?
And if yes can I build it up again from scratch? Let's say buy giving everybody a standard of 50 credits and then have the postcounters rerun to let the forum calculate how much credits are added for the amount of posts they alraedy made?
Blaine0002
03-09-2007, 12:41 AM
you upload the contents of the upload directory making sure you keep the file structure in-tact.
also make sure you import the plugin.xml file to your product manager in your admincp :)
AuroraStorm
03-09-2007, 01:02 AM
Okay that totally worked...thank you!
Now I'm gonna work with Ishop and Ibank...
Black Tiger
03-09-2007, 01:12 AM
Hmz... oops... I tried to set everybody to 0 just by using the option I said giving everybody -5000 credits, now this happened:
Money: -1585
And so on with other values, everybody got substracted 5000.:(
Etc. because everybody has different amounts of money. How can I set it now so everybody has 0 Money? Is there a Mysql command I can use for that?
FYI...
Used Sinisterpain's iCash enabled files for vBookie... seems to be working perfectly.
Kudos to Sinisterpain for posting the files. Unlike a few of the hack forums, there's a strong positive spirit of support and cooperation here.
With the other cash, banking and shop hacks seeming to be dead, Blaine and others have really stepped up in support of the vB user community. This hack should be a shoe-in for motm.
Many thanks to Blaine and everyone who helps out!
:D
Blaine0002
03-09-2007, 04:16 PM
and thanks for your strong support :D
eLetHe
03-09-2007, 06:03 PM
Black Tiger: You can properbly go into the database and reset it from there :) As i guess its only one table for the points itself!
I am not sure, but take a look!
shaunh
03-09-2007, 06:45 PM
I use vbookie and want to switch from using it's own vcash to Icash.
Is there a way to import my users' vCash totals into Icash so they don't lose what they have already earned?
sunrainme
03-09-2007, 10:12 PM
Where do you decide how much per post and new topic?
Black Tiger
03-09-2007, 10:43 PM
@eLetHe: Thanks i backupped the database and executed the following command:
UPDATE user SET money = 0
That was enough.
@Sunrainme: In your Admincp->forums and moderators->forums then edit the forums in each forum (probably the last setting) you can set it.
At this time there is no option to set it globally as far as I know.
@All: I've got another problem now. I reset the money, now I gave everybody a certain amount let's say 100 money.
But everybody also get money when starting a thread, replying to a post etc.
I already updated the post counters but the moneyrow did not grow, still at 100 money.
What do I have to do, so the user get's also the money he has earned by starting threads and replying to them in the past?
@Blaine002: found a bug. When donating from the ACP to users, let's say 50 money to all usergroups, all goes well. This goes for multiple usergroups except at least the following one.
When donating 50 money to the usergroup "registered" the screen is turning blank and no money is given.
Demon fox
03-10-2007, 06:06 PM
Ok on my site im having the problem where when users post a thread or post the points arent being counted, ive set it all up in the forums and turned it on so points count for posts and threads etc.
But it still doesnt add points for people who are posting. They still having 0 points its bazaar I cant figure out this problem.
Whenever I post now after installing iCash it comes up with this when it redirects me to the new post i made. It still posts fine, but why does it come up with this msg?
http://i9.photobucket.com/albums/a87/Aaron_69/Error.jpg
Blaine0002
03-12-2007, 01:56 AM
are you posting the same thing in the message?
Black Tiger
03-12-2007, 02:07 AM
@Blaine0002: Could you please help me with msg #413? My users are teasing me that they want their money back.
You also seen the bug I mentioned a few posts lower in #419?
btb_webmaster
03-12-2007, 09:23 AM
Does anyone know the appropriate SQL statement to execute os that users who have referred other users get points from the start instead of referrals occuring after I installed this feature?
I know it should be something like UPDATE user set money = 50*(count(ReferralID)) where ReferralID is not null
Any ideas?
btb_webmaster
03-12-2007, 11:19 AM
Also, I wonder if it is possible to only give referral points for users with 20 or more posts.
Is that possible through this product?
Vinyljunky
03-12-2007, 12:25 PM
I had posted the same question as Mys has posted here, in the ibProarcade support area, so in fact I have the same question.:)
But I don't have a clue how to work with hooks or how to implement them.
I can understand a little what the db query does you wrote Blaine, but I don't have a clue how to implement it nore where. I would need screenshot examples or a product.xml file or something like that, cause on this territory I'm really a noob.
I would already be very glad if I (for starters) only had a way that users had to pay to play with Icash credits and that I could setup in the ACP the amound of credits needed to play a game. Any help is VERY appreciated!
Have you got iCash working on VB 3.6 with ibProArcade v2.6.1+ ?
I really need to have something like that :)
Regards
VJ
Blaine0002
03-12-2007, 01:00 PM
Yes, i have seen all your guys bugs, and am looking into it, but it cant be done immediately as I am on spring break :D
Black Tiger
03-12-2007, 01:48 PM
@Blaine0002: Thanks, I'm already happy with you read-confirmation.
@Vinyljunkie: Yes I have it running with Icash on VB 3.6.5 and IbproArcade 2.6.1+. Works great with the example Blaine has given here.
The only thing needed now is a command a bit like it, to have users win credits when they reach a score.
At this time I only have it that users pay 5 money to play and that works fine thanks to Blaine!
Blaine0002
03-12-2007, 03:56 PM
that would be really tough hard coding each score for each game, it would be much eaiser if it was a built in to ibproarcade.
btb_webmaster
03-12-2007, 04:34 PM
Blaine,
Would you know how I could set it so that users only get credit for referrals if the referrals have "x" amount of posts. This is because anyone can refer someone but referring a good solid and loyal user is something else. We are trying to build brand loyalty at BringTheBlitz.com Community and thing that this would be a great way to do so.
Let me know.
Thanks!
Black Tiger
03-12-2007, 04:54 PM
that would be really tough hard coding each score for each game, it would be much eaiser if it was a built in to ibproarcade.
Oke thanks I will ask over there for the special score addition, but for now, just a "if game won then + credits", with a game_won hook would be nice.:)
Vinyljunky
03-13-2007, 02:52 PM
@Blaine0002: Thanks, I'm already happy with you read-confirmation.
@Vinyljunkie: Yes I have it running with Icash on VB 3.6.5 and IbproArcade 2.6.1+. Works great with the example Blaine has given here.
The only thing needed now is a command a bit like it, to have users win credits when they reach a score.
At this time I only have it that users pay 5 money to play and that works fine thanks to Blaine!
Great, but, Im nervous as Im not a coder:o
The simplier it is the better for me ;) Feel free to spell it out for me, maybe create a "How To ..." in the notes?
Incidently: I just installed iCash but then get a VB Error Page after posting anything on my site. I disabled it, then enabled it and it seems OK now. Weird eh?
Many Thanks for your time
VinylJunky
Black Tiger
03-13-2007, 08:49 PM
Well I'm not a coder either and don't understand a lot about it, but the howto is explained by Blaine0002 in message number 492 a few pages back. I did it that way.
Ofcourse first of all Icash has to be running in a good way before applying this.
Maybe if you post what the error page says, then we will know how to fix that problem.
Deadly Assassin
03-14-2007, 08:40 AM
how can i get this to work along side V3 Arcade.
thanks for the hack, installed and working fine :up:
BozzaJos
03-14-2007, 11:57 AM
I was hoping someone could answer my question which I submitted a couple of weeks back but never got a reply. I was wondering what the best settings are for how much points a user gets for posting, making threads etc. etc. The way things are going now is way too much... users are getting buckets of points when doing a couple of replies. Could anyone share me their settings?
Blaine0002
03-14-2007, 01:09 PM
well i just stick with 10 points per topic and 5 per reply, you can always change the amount that items cost in the itemshop in relationship to what users get over a period of time.
Black Tiger
03-14-2007, 03:39 PM
Yep, I have it like that too, 10 per new thread and 5 per reply and characters disabled.
Because there is no global setting yet in the new version, you must change forum per forum if you want to change things so you can better leave them standard for the time being.
If you want, you can exclude some forums from giving points, like for example the chat forum or off-topic section. Or edit those and set the amount to 0 money to give.
Vinyljunky
03-14-2007, 07:36 PM
Yep, I have it like that too, 10 per new thread and 5 per reply and characters disabled.
Because there is no global setting yet in the new version, you must change forum per forum if you want to change things so you can better leave them standard for the time being.
If you want, you can exclude some forums from giving points, like for example the chat forum or off-topic section. Or edit those and set the amount to 0 money to give.
So where do I edit how much and which forums?
Ta
VJ
Black Tiger
03-14-2007, 09:03 PM
In the Admincp -> Forum Manager -> edit forum you want to edit, and then scroll down, the last settings from the forum settingslist are the Icash settings.
btb_webmaster
03-14-2007, 09:52 PM
Is it possible to only give referral points for users with 20 or more posts
WEBDosser
03-15-2007, 05:26 AM
why do i see this..
Next Interest Incoming: -13587 days, 17 hours, 35 minutes and 51 seconds until next payment of 209.53
in the ibank?..
Blaine0002
03-15-2007, 12:02 PM
i bank is screwed up ATM
I read this and that in this topic. So my question is: Is iCash working hassle-free with vb 3.6.5 and as I read that other similar hacks are down, because of security problems - are there any security related issues?
ggiersdorf
03-16-2007, 08:23 PM
HELLO BLAINE!
Got a question I never seen posted here yet.. Is there a way to disable the points for anything in QUOTES? Its an easy way for people to rack them up on forums where articles are posted. I want 0 points for quotes..
Blaine0002
03-18-2007, 06:03 PM
Fixed, now it will not give points for any tags IE Img Quote Code or any of the like.
ggiersdorf
03-18-2007, 09:17 PM
do we need to redownload or is there a quick fix??
thanks bro...
Blaine0002
03-18-2007, 09:43 PM
nah you only need to reimport the product file.
ggiersdorf
03-19-2007, 11:56 AM
Thanks Blaine... One exploit still exists using the Points per post method for all you admins. If a users posts an article without quotes they get huge points. they can edit there post and than quote the article without losing points. Unless once quotes this mod removes the points generated? I doubt thats possible. Just be aware..
Blaine0002
03-19-2007, 01:43 PM
yeah i dont think it is possible for the system to do that, that would need to be the admins responsibility to monitor that.
Marko777
03-19-2007, 05:52 PM
Thanks Blaine... One exploit still exists using the Points per post method for all you admins. If a users posts an article without quotes they get huge points. they can edit there post and than quote the article without losing points. Unless once quotes this mod removes the points generated? I doubt thats possible. Just be aware..
Can you explain in detail? If for example on my forum a user gets 10 points per new thread and 20 per new reply and 0 per char. How much can that user get by using your exploit?
And why can't this be solved?
Blaine0002
03-19-2007, 07:53 PM
he means if you have points per character enabled on a website, a user can simply post spam "ghfdegsuthytgfhG" to rake up a million points, then once he posted the topic he can edit it to a real topic to avoid being banned for spam.
Marko777
03-19-2007, 11:24 PM
Thanks for the info!
highway101
03-20-2007, 05:15 PM
Would this hack work for say " I need postings in forums, so I can give entries for a contest or points which can be used as entries into a monthly contest?...or do they have a hack for this?
QsKGlobal.com
03-21-2007, 02:54 AM
No one seemed to answer the question of What do I do if users aren't being given points at all? The info is in the postbit, all the settings are correct, but the points aren't being given.
I also need to integrate this with vcash and vbookie
~Someone respond soon plz :)
davidw
03-21-2007, 02:58 AM
Curious - is this happening to any users that have come to your board since you installed the hack originally? If so, you are most likely seeing the same issue I am. I have to run an UPDATE query something like UPDATE vb_user SET 'money' = 0.00 WHERE 'money' IS LIKE 'NULL'; - I'm guessing off the top of my head, but I have to do this ever so often or the new users don't get anything.
snapplekid13
03-21-2007, 03:20 AM
Installed! Lets see if I have any problems... hopefully I won't! But this is my first installation!
QsKGlobal.com
03-21-2007, 04:16 AM
Got iCash integrated with vBookie, but now it doesn't work for regularly increasing points per posts and threads. Can someone help with this?
Blaine0002
03-21-2007, 03:00 PM
there really shouldnt be any problems, i have tested this on my test boards, christian what does that query do exactly?
davidw
03-21-2007, 03:13 PM
When I installed the hack, all users had money set to 0 (then I did the decimal thing - that's separate), then any new users were set to NULL. So, I had to run the UPDATE so that the new users would change the NULL values to the 0 value (or whatever I chose). Ever so often, I run the update so that all new users (since the last UPDATE) can have "points" added.
Blaine0002
03-21-2007, 03:34 PM
doh, i must have the points value set to null in the install file.
Black Tiger
03-21-2007, 04:32 PM
No solution for my problems yet?:)
snapplekid13
03-21-2007, 11:25 PM
Just wondering.... how would I take away points from users?
Blaine0002
03-22-2007, 12:28 AM
not at the moment tiger, and snapple, please look through the thread, i have answered it at least 10 times.
tehPARADOX
03-22-2007, 04:47 PM
Edit* problem solved. Great hack!
Replicators
03-23-2007, 05:36 PM
Anyone here willing to make a addon to this? It is custom though, but more info is here (https://vborg.vbsupport.ru/showthread.php?t=142846), you guys are my only hope, i really need something like this, so i can complete my site, without it, it won't work and will have to go other ways which i do not wanna do. I WILL PAY!!!!!!!!!!!!
vbx111
03-26-2007, 10:06 PM
Hey guys, I installed icash everything is went well, I am just wondering what code I need to add to my postbit for it to show when they post. Because currently it does not show at all. Here is a screen shot:
EDIT: I looked over my code, I tried it in both postbit_legacy aswell as postbit. Still nothing.
Black Tiger
03-26-2007, 11:16 PM
Then you must have done something wrong, I put the code in the manual in both postbit and postbit_legacy and it works fine.
vbx111
03-26-2007, 11:35 PM
Then you must have done something wrong, I put the code in the manual in both postbit and postbit_legacy and it works fine.
I'm thinking it has something to do with the skin. Because there is a space for it, it just does not show.
Blaine0002
03-26-2007, 11:53 PM
are you sure you did the template edit to the correct skin?
ktutorials
03-28-2007, 02:04 PM
i have 2 questions..
does this can be used with vB 3.6.5
can users donate cash points to others members...
Black Tiger
03-28-2007, 02:28 PM
@Ktutorials: both your questions can be answered with "yes".
Xbizcafe
03-30-2007, 01:05 PM
Can we use in this zone :
Ammount of points a user gets for each character posted in their post.
a value exemple : 0.01 or other like 0.
Blaine0002
03-30-2007, 01:31 PM
any number you wish.
Xbizcafe
03-30-2007, 02:05 PM
any number you wish.
That don't work :(
In this case we must 0 for post reply or creation reply ?
Blaine0002
03-30-2007, 02:20 PM
wait im not quite sure what you are asking....
Xbizcafe
03-30-2007, 02:41 PM
wait im not quite sure what you are asking....
It's work Sorry lol
I forget to make it :
Activate points per character
If it is set to no it will automaticly use the regular points per thread/post.
:D
Thx !
Blaine0002
03-30-2007, 02:50 PM
yay glad its working :D
Evolution06
03-30-2007, 03:40 PM
Do you know why I am getting this error when I try to submit a post?
The post still goes through just get that error.
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 : Friday, March 30th 2007 @ 11:36:23 AM
Script : http://www.criticalfx.net/forums/newthread.php?do=postthread&f=2
Referrer : http://www.criticalfx.net/forums/newthread.php?do=newthread&f=2
IP Address : 204.14.138.151
Username : NightHaze
Classname : vb_database
Blaine0002
03-30-2007, 03:52 PM
hmm looks like you most likely reuploaded the new files, but didnt import the product, or vice versa.
Evolution06
03-30-2007, 03:53 PM
Hmm I just installed it fresh never used it before let me try it again.
Just uninstalled and reinstalled still same problem.
I have IShop, Ibank and ICash installed
ok had to reinstall the product a few times... works now
Blaine0002
03-30-2007, 04:12 PM
Very odd, you sure you wernt missing somthing?
Evolution06
03-30-2007, 04:26 PM
I am sure there was not many files to upload I triple checked everything..
Also after you deposit points into your bank and hit submit or w/e it takes you to a white 404 page not found.. But the points went in how do I fix it to go back to the bank page?
Blaine0002
03-30-2007, 05:06 PM
im working on updating ibank
Evolution06
03-30-2007, 05:10 PM
ok awesome I mean so far it works fine other then the redirect on depositing points.
Blaine0002
03-30-2007, 05:11 PM
hmm, i got the impression that it didnt give interest.
Evolution06
03-30-2007, 05:13 PM
I have not had it installed long enough to check that sorry.
Blaine0002
03-30-2007, 05:16 PM
heh okay thanks.
milsirhc
03-30-2007, 11:39 PM
Thanks for this plugin!
can we set the number of points to give for per threads and also for per reply?
if so how??
LisaD1
03-31-2007, 12:06 AM
My images are showing up as red x's because the path is http://www.******.com/ishop/items/blah but it should be http://www.******.com/forums/ishop/items/blah How do I fix this?
Blaine0002
03-31-2007, 01:27 AM
lisa you have to set your forum url in your vbulletin options
mils you set the stuff in each individual forum settings
LisaD1
03-31-2007, 01:40 AM
lisa you have to set your forum url in your vbulletin options
mils you set the stuff in each individual forum settings
OK Honestly, I am not dense, but WHERE??? I have looked everywhere and can't figure it out. And the place I thought it would be is set right.
deezelpope
03-31-2007, 10:48 AM
Ok, I have a question...in the upload file, there's a folder that says 'plugins'...where does that go? In my forum directory or AdminCP?
BTW, Blaine, I'm installing iCash, iBank, and iStore...very excited about these!!:up:
Blaine0002
03-31-2007, 01:35 PM
Oops! there should not be a folder called plugins, that was for test purposes only, you can delete that. Ill fix the zip file.. Remember to click install! :D
@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.
Blaine0002
03-31-2007, 01:50 PM
Update:
Reduced thread queries to 0! Make sure you re-apply template change!!!!!!
deezelpope
03-31-2007, 02:00 PM
Oops! there should not be a folder called plugins, that was for test purposes only, you can delete that. Ill fix the zip file.. Remember to click install! :D
@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.
There's one in iShop, too...and in your ItemShop...I mentioned it in that thread there. Same story? Delete the plugins file in iShop?
Oh, I won't forget to click install.;)
Black Tiger
03-31-2007, 02:10 PM
Reduced thread queries to 0! Make sure you re-apply template change!!!!!!
What does this mean, or what does this do?
Does this mean everybody has to update his/her Icash mod?
Blaine0002
03-31-2007, 02:12 PM
it means that every time you load a topic, icash uses 0 queries instead of one per post., yes i would reccomend updating, and remember to re-apply template change or you will have problems.
DJ Teac
03-31-2007, 02:13 PM
Got the same MySQL Error as Evolution.
Databaserror in vBulletin 3.6.5:
Invalid SQL:
UPDATE user SET money=money+ WHERE userid='1';
MySQL-Fehler : 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
Fehler-Nr. : 1064
Datum : Saturday, March 31st 2007 @ 05:09:15 PM
Skript : http://board.hc-network.de/newreply.php?do=postreply&t=3
Referrer : http://board.hc-network.de/showthread.php?p=6#post6
IP-Adresse : 85.179.48.151
Benutzername : Otacon
Klassenname : vB_Database
I checked many times, and installed everything right :(
Edit:Ok Strange thing, after reinstalling it the 5.th time to check my Translation, it seems to work fine :)
Is there are chances that you gonna change the few Words in the Donate.php to phrases in a future Version ? :)
Blaine0002
03-31-2007, 02:14 PM
try reuploading your product file.
deezelpope
03-31-2007, 02:17 PM
Ok, just so I do everything right, I'm doing template changes to postbit AND postbit legacy?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.