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)
-   -   Add-On Releases - Spend vBCredits in your ibProArcade (https://vborg.vbsupport.ru/showthread.php?t=153822)

Darkwaltz4 08-25-2007 11:53 PM

:D glad it is fixed. again, i am holding off on upgrading this because it will get some new features to take advantage of with the release of vbcredits 1.4

Zia 10-29-2007 07:14 AM

does it work with ibpro 2.6.5+ ???

Darkwaltz4 10-29-2007 07:40 AM

currently, there is the next version to this addon available freely from vbcredits.com for vbcredits 1.4 and ibproarcade 2.6.4/5+

i havent released here until 1.4 final version is also released on vborg

shiznatix 02-26-2008 11:55 AM

I have ibproarcade 2.6.6+ and vbcredits 1.4 but I can't seam to get the credits system to work properly on it.

I see you said ibproarcade 2.6.4/5+ is supported but what about 2.6.6+?

Also you mention the addon is on vbcredits.com but when I go to the site I can't seam to find the link or any mention of the addon. Can you give me a link to that?

Darkwaltz4 02-27-2008 01:49 AM

yes, the 1.4x/2.6.6+ compatible version is available in this thread
http://www.vbcredits.com/forum/showthread.php?t=67

Darkwaltz4 03-08-2008 02:47 PM

As I have released 1.4rc2 on vBulletin.org, I am posting the new version of the arcade here as well (if you got this off vBCredits.com already, ignore this update - you are already using it :))

New Version 1.2
Countless Bugs Fixed..
Upgraded all messages and layouts, for both styles
Works with the latest versions of vBCredits (1.4rc2) and ibProArcade (2.6.6+)
I have permission from MrZeroPage to post pre-edited arcade files!

Added:
Sort games by cost and jackpot
Raising and static options for tournaments
Tournament settings and jackpots can be edited after creation
Tournament costs and jackpots displayed throughout tournament areas
Transaction log entries when you win anything in the arcade
Optional Jackpot Delay for preventing users from winning more than once per game in a given time while still charging them to play

Black Tiger 03-10-2008 01:58 AM

Great work, thanks! Me clicks *install* to this one too.:)

Black Tiger 03-10-2008 02:55 AM

Ehmz... I don't like the place where it's now in the usergroups.
The arcadecredit part is now between the first section (Usergroupid) and the second one being the "forum viewing permissions" for that usergroup.

I would like to make a suggestion for the next version.
Please place the arcadecredits section in or above/below the section of vbcredits which is lower in the usergruop, or in the arcade section which is also lower.

Seems best to me to not disturb the default usergroup items and settings sections and place all mods below all the default setup options.;)

njoker555 03-10-2008 11:09 AM

Quote:

Originally Posted by Darkwaltz4 (Post 1460080)
As I have released 1.4rc2 on vBulletin.org, I am posting the new version of the arcade here as well (if you got this off vBCredits.com already, ignore this update - you are already using it :))

New Version 1.2
Countless Bugs Fixed..
Upgraded all messages and layouts, for both styles
Works with the latest versions of vBCredits (1.4rc2) and ibProArcade (2.6.6+)
I have permission from MrZeroPage to post pre-edited arcade files!

Added:
Sort games by cost and jackpot
Raising and static options for tournaments
Tournament settings and jackpots can be edited after creation
Tournament costs and jackpots displayed throughout tournament areas
Transaction log entries when you win anything in the arcade
Optional Jackpot Delay for preventing users from winning more than once per game in a given time while still charging them to play

do the new files up there have everything we need?

and do we have to upgrade to vbcredits 1.4rc2 to get this working or will it keep on working?

Black Tiger 03-10-2008 01:43 PM

You can better first upgrade to 1.4rc2. It's not that much work and RC2 is much better and has nice features and several bugfixes.

Darkwaltz4 03-10-2008 04:43 PM

it will work with 1.4x, including b1, rc1, and rc2, however i do recommend upgrading to rc2 due to the pretty large bugs in rc1 :D

also, the edited files are ONLY step 3 in the overall installation of this addon. you still have a file to upload, product to import, etc (follow the instructions!!)

xboxliveclans 03-17-2008 03:50 AM

I installed the mod and everything seems fine except my members can't start the new tournament any more. I don't know what went wrong but when my member click "start a new tournament", It goes to the "start a new tournament" oage but nothing shows up.

Any ideas what may cause this issue? Thanks,

Darkwaltz4 03-17-2008 05:43 AM

did you use the pre-edited files?

paulvev 04-06-2008 11:03 AM

I used the link on Vbcredits site to download 1.4rc2 and installed in on my V3 Arcade running on 3.6.7. Everything seemed fine with no errors. I configured my usergroups and set costs on games.

BUT...when my members click on Arcade pass to buy...or click on a game which costs credits to play, they are denied with a screen saying "you do not have enough credits to play"...when actually they do.

I realise V3 Arcade and IBPro are 2 different arcades, but i followed instuctions on VBcredits site which was talking about V3 arcade.

I'ts NEARLY there i think ive just overlooked something. You mention Step 3 here on this site? What step 3...there was no 3rd step in the instuctions i downloaded. Also...when i installed the prouct...i clicked overwrite...should i have done this? Just looking for some advice on how to resolve...thanks.

Darkwaltz4 04-06-2008 02:26 PM

umm, you really should have asked this on vbcredits.com (if you did and i didnt get to your question yet, i apologize, but you should still have left your question there :D). in the v3 thread is the instructions you are missing - you need to find and change the various appearances of "credits_canget" to "credits_canspend" throughout the files and plugins. the exact locations are listed in that thread.

paulvev 04-06-2008 06:40 PM

I did post in VBcredits but i didnt know about the changes you mentioned. So i dont contaminate this thread further, can you give me the exact URL to the thread in VBCredits please? I'll probably require further support over there. Thanks.

Darkwaltz4 04-07-2008 05:02 AM

this is the post you missed:
http://www.vbcredits.com/forum/showp...3&postcount=59

Skyrider 04-10-2008 11:32 AM

Quote:

Sorry, but you cannot afford to play this game, or are otherwise ineligible
Anyway it can display how much credit you need to play the game?

Darkwaltz4 04-10-2008 10:54 PM

it should already do that if you followed all of the instructions for installation. (sounds like you missing file upload, file edits, or product import)

paulvev 04-19-2008 12:23 PM

Thanks for your recent help!
Everything working sweetly with this mod now.

KMDPEPSI 04-27-2008 04:14 AM

how and where do i set the amount for the prices of the games?

Darkwaltz4 04-27-2008 04:55 AM

in the ibpa game editor

sheryjutt 04-28-2008 10:23 PM

Any screenshot please ??

Steeler Nation 04-29-2008 11:26 PM

I've installed this with Vb 3.7 RC3 and I don't see any option to require credits in order to play a game. I do see where it costs $10,000 for an arcade pass. I didn't set that amount and I don't see anywhere to change it.

Darkwaltz4 04-30-2008 01:05 AM

Quote:

Originally Posted by sheryjutt (Post 1501852)
Any screenshot please ??

i have to get those back up; thanks for the reminder

Quote:

Originally Posted by Steeler Nation (Post 1502830)
I've installed this with Vb 3.7 RC3 and I don't see any option to require credits in order to play a game. I do see where it costs $10,000 for an arcade pass. I didn't set that amount and I don't see anywhere to change it.

game editor

Steeler Nation 04-30-2008 02:03 AM

Quote:

Originally Posted by Darkwaltz4 (Post 1502892)
game editor

Thanks for the quick response, but no - I still don't see anything in the game editor.

Darkwaltz4 04-30-2008 03:39 AM

did you do every step in the installation instructions? if you only applied the file edits/overwrites, that was only step 3

Steeler Nation 04-30-2008 12:14 PM

Quote:

Originally Posted by Darkwaltz4 (Post 1502976)
did you do every step in the installation instructions? if you only applied the file edits/overwrites, that was only step 3

4) Import the supplied product-credits_ibproarcade.xml file into your vBulletin Product system, be sure to allow overwrite.

Done.

5) Review the settings for the addon under the Addon Settings for vBCredits.

Done.

6) Review the vBCredits with ibProArcade settings for each Usergroup.
- For your convenience you can update multiple groups at once using the Manage Usergroup Awards link (vBCredits 1.4 final only)

I see no where to make settings adjustments.

7) Review and configure the costs and jackpots for your games and tournaments.
- There is a mass-configuration tool provided by ibProArcade at the bottom of the games list in the ACP.

No such link exists on my games list.

Darkwaltz4 04-30-2008 06:48 PM

......did you upload the plugins file.... step 1

if so, PM me an admin login

droid101 05-08-2008 12:34 AM

Are the file edits still legit after the 2.6.7/2.6.7a updates?

Darkwaltz4 05-08-2008 12:49 AM

i looked through the 2.6.7 files and it should be alright, if you find a problem let me know.

Darkwaltz4 05-10-2008 02:54 AM

i have posted the pre-edited files for use with ibproarcade 2.6.7a+

Black Tiger 05-10-2008 03:31 AM

Great work Darkwaltz4, thanks!!

Fallback 05-16-2008 12:03 PM

Is there anyway to have a "visual" arcade pass. Like an arcade pass icon and/or data that appears by the pm message info at the top of the screen to let you know you still have a pass.

For example you could have a green icon when you have the pass and red or greyed out icon show when the arcade pass expires with a link to purchase a new one.

Any pointers on the template variables related to the arcade passes would be appreciated.

Darkwaltz4 05-16-2008 12:23 PM

in the arcade there should be a message saying when the active pass expires. you can play around with this in the arcade/modules/mod_arcade.php file

PHP Code:

$the_links '<span class="smallfont"><b>' . ( $vbulletin->userinfo['credits_ibp_pass'] > TIMENOW construct_phrase($GLOBALS['vbphrase']['credits_ibp_passexpires'], vbdate($vbulletin->options['dateformat'] . ', ' $vbulletin->options['timeformat'], $vbulletin->userinfo['credits_ibp_pass']), $GLOBALS['vbphrase']['credits']) : construct_phrase($GLOBALS['vbphrase']['credits_ibp_buypass'], vb_number_format($vbulletin->userinfo['creditperms']['credit_ibp_passcost'], $vbulletin->options['credits_decimals']), $GLOBALS['vbphrase']['credits'], $vbulletin->session->vars['sessionurl']) ) . '</b></span><br />' $the_links


Fallback 05-16-2008 02:54 PM

Thanks!

How can i get the code to work in the navbar template?

Darkwaltz4 05-17-2008 10:57 AM

well, put the code in the parse_templates plugin, and use $the_links in the navbar template.

you will have to alter that code a little to fit better, but thats the basics

SavvyPirates 08-18-2008 12:57 AM

When a usergroup is excluded from using vBCredits, it doesn't affect the arcade use.

If there is a charge to play the game, they must pay it and if they get a high score, they are awarded the jackpot.

Is there a way to remove the requirement for credits to play the arcade if they are excluded from using the credits system?

If not, this would be a good idea for a future release. ;)

Darkwaltz4 08-18-2008 09:30 AM

hmm you have a point there, must have gotten forgotten.

this should do the trick:

in plugins/credits_ibproarcade_plugins.php find:
PHP Code:

if ($vbulletin->userinfo['userid'] AND $game['cost'] AND ($vbulletin->userinfo['credits_ibp_pass'] <= TIMENOW OR $_GET['pay'])) 

replace with

PHP Code:

   if (!($vbulletin->bf_ugp['creditpermissions']['credit_locked'] & $vbulletin->userinfo['creditperms']['creditpermissions']) AND $vbulletin->userinfo['userid'] AND $game['cost'] AND ($vbulletin->userinfo['credits_ibp_pass'] <= TIMENOW OR $_GET['pay'])) 

and in forum/arcade.php find

PHP Code:

     if ($vbulletin->userinfo['credits_canearn'] AND $ctr <= $vbulletin->options['credits_ibp_minrank'] AND $lboard['score'] == $player_score AND $vbulletin->userinfo['credits_ibp_paid']) 

replace with
PHP Code:

     if (!($vbulletin->bf_ugp['creditpermissions']['credit_locked'] & $vbulletin->userinfo['creditperms']['creditpermissions']) AND $vbulletin->userinfo['credits_canearn'] AND $ctr <= $vbulletin->options['credits_ibp_minrank'] AND $lboard['score'] == $player_score AND $vbulletin->userinfo['credits_ibp_paid']) 

note this doesnt affect tournaments

SavvyPirates 08-18-2008 08:48 PM

Thanks for the quick reply!

That worked great!


All times are GMT. The time now is 01:33 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.01430 seconds
  • Memory Usage 1,844KB
  • 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_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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