![]() |
No, sorry, it's just for version 2.3.0.:D
|
It's possible to deduct points from users that download an attachment, and transfer the points to the uploader?
|
Quote:
We made a phrase that says "You do not have enough stars to play a game." - phrase type - global, varname - no_stars and saved. Then switched your_error in the above code with no_stars and saved. Now when someone doesn't have enough stars ( our points) this pops up - Could not find phrase 'no_stars'. Thanks!! |
Finally got it working with Ibproarcade and it is great. However I noticed that it does not seem to work for the games that are played in a new window. Would this need to be another plugin?
|
Quote:
https://vborg.vbsupport.ru/showthrea...37#post1238037 Is this the "Forum Manager" I need to be looking at? If so, I can only adjust "Points for Registering" and "Points Per Referral" I need to adjust the following as well: Points per reply Points per new topic Points per character of reply (Length of Post) |
Quote:
|
@Kylek:
Quote:
I have it working that playing a game costs an x amount of cash, and if a user gets the all-time-highscore of a game, he wins an x amount of cash. Do you have the same or do you have more options working? |
Quote:
|
Quote:
@4newbies - nothing yet so have fun doing your forums. I dont know about the cap as I dont use that. |
works smoothly. thank you.
|
I know this has been asked a lot of times but the search function isn't working probably (searching for 3.6 is probably not enough characters). I am upgrading my forum from 3.5 to 3.6 and installing a whole new layout but I've got a problem when installing iCash. Installing goes like normal but when I want to post a new thread it gives a database error. I can remember reading about this somewhere along the 44 pages so I guess/hope there is a simple solution for this...
Could anyone point me to the right page/post? Many thanks in advance! *edit* Quote:
|
do you have Top Statics for iCash, iBank, iShop
|
Quote:
For the all-time-highscore, it's about the same as when starting a game, only the use the highscore hook and set it up that people get + amount when reaching a all time topscore. Maybe you can tell me how to charge the game when it's opened in a new window? |
I can't find the logs for the cash mod.
Is there any PM feature, where it alerts them? |
Quote:
I used the same same code that was in post 392? by Blaine0002 but just make a different plug in called ibproarcade_play_game_popup so it charges for games opened in a new window. It worked for me. |
Quote:
|
Quote:
I Just took over the example and that worked it's in post #390. Quote:
|
I went through 20 pages of the forum looking for assistance but couldn't find any assistance.
I got the error by email: Quote:
Also, if I make a post, and delete it, the points are deducted. Anyone know why to the above 2? Apologies if this had been answered in pages 21 to the end, eyes started going funny reading all the posts, and need to get some food. Cheers. PS. Thanks for the mod, by the way. Wanted to install a points mod, and this seemed to be the best available. |
Quote:
And.. i want to display the points under the PN Info in the Navbar.. but $post[money] doesn't work :\ |
@JimmdaBimm
Quote:
@Spaceman33 Quote:
However I don't know what's causing this so hopefully Blaine0002 can help you here. |
Quote:
|
Quote:
|
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.
|
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 $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']}'"); |
Quote:
|
Hm...yeah, I guess you're right. We don't usually donate cash/points...just gifts. Sorry I couldn't help more.
|
Quote:
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! |
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. |
Quote:
I've try: Quote:
Quote:
|
Kylek:
Quote:
@Silvervice: I don't think it will help, but did you try 0,25? However I'm afraid it only works with full numbers. |
Quote:
It would be so much more realistic to charge 0.25 cents :D |
does this work with vb 3.6.5?
|
does this work with 3.6.6?
|
LoL.:D
|
Well... just upgraded, 3.6.6 is giving a problem:
Quote:
Code:
$vboptions[icashn]: $post[$vboptions[icashf]] |
Quote:
|
3.6.5 is no problem that's why I wrote "lol:D" because this was asked in numerous threads already and answered with yes.
There is a little problem in 3.6.6 or at least I've got a problem there.:) |
Found the solution to my problem:
The line should be: Code:
$vboptions[icashn]: $post[money] |
it doesnt work on my 3.6.5 wahh! i duno whats wrong ive installed everything correctly i need a money mod. ive uploaded to all the correct suff. and even added the donate thing
|
3.6.7 is released, does anyone test on it?
|
All times are GMT. The time now is 08:37 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|