Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
ICash, Simple, stand alone point system. Details »»
ICash, Simple, stand alone point system.
Version: 2.0.3, by Blaine0002 Blaine0002 is offline
Developer Last Online: Jul 2018 Show Printable Version Email this Page

Category: Major Additions - Version: 3.6.8 Rating:
Released: 06-19-2006 Last Update: 12-28-2007 Installs: 316
DB Changes Uses Plugins Auto-Templates
Re-useable Code Additional Files Translations Is in Beta Stage  
No support by the author.

Unsupported and Unmaintained. There are better point systems to use!
ICash V2.0.2

Features
-----------
+Points in postbit.
+Points in profile page.
+Donation logs.
+Admin donation logs.
+Easy admin donate.
+Points on registration.
+Points for referrers.
+Customizable point name.
+Customizable file name.
+Donation comments.
+Dynamic decimal system.
+Points per topic creation.
+Points per post.
+Points per character.
+Ability to change money row for easy integration with your favorite hacks. for example, integrating with vbookie is as easy as going into your admin cp and changing money to 'vbookie_cash'.
+Mass point giving via ACP.
+Set customizable point values per forum.
+Points may be taken away on post deletion.
+Automatic navbar, memberinfo, and postbit template edits.

To install:
------------
Simply upload all files to your forum root directory and import the product file.

To update:
--------------
Simply reupload all files, overwrite product and revert any templates you may have edited.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #662  
Old 05-05-2007, 06:17 PM
spaceman33 spaceman33 is offline
 
Join Date: Apr 2007
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Black Tiger View Post
@Spaceman33

I thing there is missing the amount here. Set money=money+.... should this not be money+5 or something like that?
However I don't know what's causing this so hopefully Blaine0002 can help you here.
That's what I noticed. I presume it should be -xx points, not a blank. I saw someone else with a similar problem but that was because they renamed their points system. That's not the problem here so hopefully someone has a fix
Reply With Quote
  #663  
Old 05-05-2007, 07:15 PM
Scathmere Scathmere is offline
 
Join Date: Apr 2007
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by deezelpope View Post
Nope...my members either send PMs or reputation to notify the recipient.
Well I'm wondering where there is a log. It says on the first page there is. =/
Reply With Quote
  #664  
Old 05-05-2007, 07:31 PM
deezelpope deezelpope is offline
 
Join Date: Feb 2007
Posts: 1,272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I found it. When you donate to a member, and afterward, if you go to their postbit/profile page, and click on where it says Donate, the log will come up. Even if you go to your own postbit/profile page, and click on your "Donate" the log will come up.
Reply With Quote
  #665  
Old 05-05-2007, 08:23 PM
kylek kylek is offline
 
Join Date: Oct 2003
Location: British Columbia, Canada
Posts: 798
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Black Tiger View Post
Yes that is correct. The way to do this I've found in this thread too. It's just 1 page before posting #392, depending on how you have the pages set.

I Just took over the example and that worked it's in post #390.


Cool. Which code did you put in there to have Icash recognize it's the "new window" version of the game and not the normal version?

Charge game price in new window:

Create a new plugin called ibproarcade_play_game_popup

Use Blaine0002 code, just change the amount and your_error message to what you did for the ibproarcade_play_game plugin @ post 392

$amount = '1';

if ((
$vbulletin->userinfo[$vbulletin->options['icashf']] - $amount) < 0) {
eval(
standard_error(fetch_error('your_error')));
}
$vbulletin->db->query("update " . TABLE_PREFIX . "user set {$vbulletin->options['icashf']}={$vbulletin->options['icashf']}-'{$amount}' where userid='{$vbulletin->userinfo['userid']}'");
Reply With Quote
  #666  
Old 05-05-2007, 09:16 PM
Scathmere Scathmere is offline
 
Join Date: Apr 2007
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by deezelpope View Post
Ok, I found it. When you donate to a member, and afterward, if you go to their postbit/profile page, and click on where it says Donate, the log will come up. Even if you go to your own postbit/profile page, and click on your "Donate" the log will come up.
The only problem is, it only shows the last one. Not a history. ><
Reply With Quote
  #667  
Old 05-05-2007, 09:22 PM
deezelpope deezelpope is offline
 
Join Date: Feb 2007
Posts: 1,272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hm...yeah, I guess you're right. We don't usually donate cash/points...just gifts. Sorry I couldn't help more.
Reply With Quote
  #668  
Old 05-05-2007, 11:20 PM
Black Tiger's Avatar
Black Tiger Black Tiger is offline
 
Join Date: Apr 2004
Location: Netherlands
Posts: 957
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Charge game price in new window:

Create a new plugin called ibproarcade_play_game_popup

Use Blaine0002 code, just change the amount and your_error message to what you did for the ibproarcade_play_game plugin @ post 392
Hmmz... i don't understand yet. Which hook you use then? The new-game hook?

The only thing which I see different then is the amount and the error message. Must the amount be different?

But where is the difference in code that points to a new window game in stead of the normal game?
There should be a lign somewhere that points to the different way of calling the game, isn't there?

In any case thanks very much so far for helping me with this!
Reply With Quote
  #669  
Old 05-05-2007, 11:38 PM
kylek kylek is offline
 
Join Date: Oct 2003
Location: British Columbia, Canada
Posts: 798
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just do the same thing you did to create the first plugin except this plugin use the ibproarcade_play_game_popup hook when adding a new plugin.

The one I made;
Product - ibank (dont think it matters but I put them under IBank)
Hook location - ibproarcade_play_game_popup
title - new window (just my name for it)
Code:
$amount = '1';

if (($vbulletin->userinfo[$vbulletin->options['icashf']] - $amount) < 0) {
eval(standard_error(fetch_error('stars')));
}
$vbulletin->db->query("update " . TABLE_PREFIX . "user set {$vbulletin->options['icashf']}={$vbulletin->options['icashf']}-'{$amount}' where userid='{$vbulletin->userinfo['userid']}'");

The only thing I changed from the original code from post 392 is your_error to stars as that is the name of the phrase I used to say you do not have enough stars to play a game.

If a members clicks on play a game the other one from post 392 charges the game cost, if they click on play game in new window this one charges them the cost of the game.
Reply With Quote
  #670  
Old 05-06-2007, 01:14 AM
SilverVice SilverVice is offline
 
Join Date: Aug 2006
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
$amount = '1';
Is it possible to charge 0.25 cent?

I've try:
Quote:
$amount = '0.25';
and
Quote:
$amount = '.25';
and it's not working, any idea?
Reply With Quote
  #671  
Old 05-06-2007, 02:02 PM
Black Tiger's Avatar
Black Tiger Black Tiger is offline
 
Join Date: Apr 2004
Location: Netherlands
Posts: 957
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Kylek:
Quote:
Hook location - ibproarcade_play_game_popup
That was the one I was looking for, thanks a million!!!

@Silvervice:
I don't think it will help, but did you try 0,25?
However I'm afraid it only works with full numbers.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:59 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05885 seconds
  • Memory Usage 2,322KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (9)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete