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)

2meplie 03-08-2007 02:30 PM

Quote:

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

Mys 03-09-2007 03:05 PM

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.

AJEB 03-11-2007 03:56 AM

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

Quote:

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

Quote:

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

Quote:

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

Quote:

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


All times are GMT. The time now is 10:05 PM.

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

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02131 seconds
  • Memory Usage 1,828KB
  • 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
  • (5)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