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)

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

Quote:

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

Mys 03-08-2007 12:31 AM

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.


:)

Mys 03-08-2007 12:33 AM

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

PHP Code:

$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


All times are GMT. The time now is 02:20 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.01536 seconds
  • Memory Usage 1,744KB
  • 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
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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