vb.org Archive

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

Rian 02-22-2007 04:11 PM

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'?

Rian 02-22-2007 04:26 PM

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???

Lqd 02-23-2007 01:53 PM

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

Quote:

Originally Posted by FIVE539 (Post 1189340)
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

Quote:

Originally Posted by FIVE539 (Post 1189448)
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.

AJEB 02-27-2007 04:00 AM

Has anyone installed this with 3.6.4???

Mys 02-27-2007 04:23 AM

Quote:

Originally Posted by AJEB (Post 1191657)
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.

Mys 02-27-2007 07:03 PM

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

Mys 02-27-2007 08:19 PM

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

Quote:

Originally Posted by Blaine0002 (Post 1193255)
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

It 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:
Quote:

Originally Posted by Zagis (Post 1177356)
... 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

Quote:

Originally Posted by FIVE539 (Post 1189448)
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

Quote:

Originally Posted by Blaine0002 (Post 1193255)
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:
Quote:

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

Quote:

Originally Posted by Black Tiger (Post 1193800)
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

Quote:

Originally Posted by Blaine0002 (Post 1193758)
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?

s25 03-03-2007 08:21 AM

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

AJEB 03-04-2007 05:49 AM

Quote:

Originally Posted by Mys (Post 1191669)
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 :)


All times are GMT. The time now is 09:35 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02035 seconds
  • Memory Usage 1,825KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete