Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > ibProArcade Archive
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
ICash Integration Details »»
ICash Integration
Version: , by Enigami Enigami is offline
Developer Last Online: Nov 2008 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 03-21-2007 Last Update: Never Installs: 0
 
No support by the author.

I am currently wanting to put a points system on my website and with vbplaze not availible due to recent exploits i have to use an alternative...i choose icash/ibank/ishop but need to integrate the arcade with the points system. Does anyone know of this hack? or is there one being developed?
thanks, ENigami

Show Your Support

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

Comments
  #2  
Old 03-22-2007, 05:16 PM
MrZeropage's Avatar
MrZeropage MrZeropage is offline
 
Join Date: Nov 2003
Location: Munich, Germany
Posts: 3,012
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ibProArcade has all necessary hooks for ICash-PlugIns included, somebody just needs to dothe plugins...

does anybody have the vbPlaza-PlugIns from last release for ibProArcade ? I guess they are easy to adapt to ICash, maybe I take a look if somebody provides them
Reply With Quote
  #3  
Old 03-27-2007, 07:37 PM
Vinyljunky's Avatar
Vinyljunky Vinyljunky is offline
 
Join Date: Feb 2007
Posts: 383
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im sure that this has been answered within the icash post

A few people have done it.


Regards

VJ...
Reply With Quote
  #4  
Old 03-27-2007, 08:05 PM
MrZeropage's Avatar
MrZeropage MrZeropage is offline
 
Join Date: Nov 2003
Location: Munich, Germany
Posts: 3,012
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any link to a iCash-Plugin for ibProArcade ?
Reply With Quote
  #5  
Old 03-28-2007, 12:10 AM
Black Tiger's Avatar
Black Tiger Black Tiger is offline
 
Join Date: Apr 2004
Location: Netherlands
Posts: 957
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

https://vborg.vbsupport.ru/showthrea...119086&page=27
Post number: 392

That's an example if you want to have users pay with icash to play games.

Would be nice if you could tell us such example how to make it so that if they win a game, they get "amount=x" of money into their account.
Reply With Quote
  #6  
Old 05-02-2007, 09:17 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
https://vborg.vbsupport.ru/showthrea...119086&page=27
Post number: 392

That's an example if you want to have users pay with icash to play games.

Would be nice if you could tell us such example how to make it so that if they win a game, they get "amount=x" of money into their account.

I got the above working to charge per game play with ICash and it works great. But it does not seem to work for games played in a new window. Anyone got any ideas for how to include these?
Reply With Quote
  #7  
Old 05-03-2007, 12:26 PM
MrZeropage's Avatar
MrZeropage MrZeropage is offline
 
Join Date: Nov 2003
Location: Munich, Germany
Posts: 3,012
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

did you use all hooks/plugins ?
There is a hook "ibproarcade_play_game_popup" which should be helpful

You also should think about the tournaments ect.

Here is a list of all available hooks in ibProArcade:
ibproarcade_global_start
ibproarcade_navbar_complete
ibproarcade_play_game
ibproarcade_play_game_popup
ibproarcade_play_game_tourney
ibproarcade_new_champ
ibproarcade_tourney_won
ibproarcade_register_tourney_start
ibproarcade_do_create_tourney_start
ibproarcade_gamebit
Reply With Quote
  #8  
Old 05-05-2007, 01:34 AM
kylek kylek is offline
 
Join Date: Oct 2003
Location: British Columbia, Canada
Posts: 798
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, that list helps. I used the same code that was shown here https://vborg.vbsupport.ru/showt...119086&page=27
Post number: 392 and made a new plug in called ibproarcade_play_game_popup and it now charges a price for games opened in a new window also.
Reply With Quote
  #9  
Old 05-05-2007, 04:24 PM
MrZeropage's Avatar
MrZeropage MrZeropage is offline
 
Join Date: Nov 2003
Location: Munich, Germany
Posts: 3,012
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you should make use of all the hooks to provide full payment options throughout the arcade ...
Reply With Quote
  #10  
Old 05-08-2007, 12:01 PM
spaceman33 spaceman33 is offline
 
Join Date: Apr 2007
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can someone help me out here?

I tried this but kept getting the error message "phrase xxx could not be found". Can I check I have tried to do this right:

Created a plugin:
Product=ibproarcade for vbulletin, title ibproarcade pay
code:
Code:
$amount = '50';

if (($vbulletin->userinfo[$vbulletin->options['money']] - $amount) < 0) {
          eval(standard_error(fetch_error('ibproarcade_shortage')));
}
$vbulletin->db->query("update " . TABLE_PREFIX . "user set {$vbulletin->options['money']}={$vbulletin->options['money']}-'{$amount}' where userid='{$vbulletin->userinfo['userid']}'");
Phrase:
Created a phrase:
Product=ibproarcade for vbulletin, varname ibproarcade_shortage, Text You dont have enough to play this game

Am I missing something obvious?

Cheers.
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 12:21 AM.


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.04786 seconds
  • Memory Usage 2,290KB
  • Queries Executed 23 (?)
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
  • (1)bbcode_code
  • (1)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
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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