vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Major Additions - vBCredits - Ultimate Points System (https://vborg.vbsupport.ru/showthread.php?t=172399)

Darkwaltz4 06-07-2008 06:07 PM

Quote:

Originally Posted by rknight111 (Post 1537026)
Im thinking about adding this feature to my board, the only thing im wondering is my members are quite compedative and have built there casino $$ up quite a bit, now what would happen to that when I add this, is there a converter for that, or a process, or is this not compadable with that?

Thanks,
RON

The casino can be configured to work with vbcredits. I forget if the hack had its own internal points system or not, but if so I will make something to convert from it and then you select to have it use credits.

Quote:

Originally Posted by Sarcoth (Post 1537325)
Thanks for the mod, I am using this with the ibProArcade.

I added a scheduled task to run every hour but am getting more out of it than I'd like. My goal is to increase the jackpot for every arcade game by 5 every hour. Here's my code.

Code:

$Jackpot = $vbulletin->db->query("SELECT * FROM vBull_games_list");
while($row = $vbulletin->db->fetch_array($Jackpot)) {
    $vbulletin->db->query_write("update vBull_games_list set jackpot = jackpot + '5'");
}

Rather than going up by 5, it is increasing by 40. Since I only have 8 games installed right now, it appears to by multiplying 5 x 8; is it running 8 times for each game?

What change should I make to have it only run once per game? Any idea?

Thank you for your time.

EDITED:

Well, this appears to have fixed my problem; I think there is an easier way. I remember doing an update similiar to this once upon a time, but I can't remember how.

Code:

$Game = 0;
Code:

$Jackpot = $vbulletin->db->query("SELECT * FROM vBull_games_list");
while($row = $vbulletin->db->fetch_array($Jackpot)) {
    $Game = $Game + 1;
    $vbulletin->db->query_write("UPDATE vBull_games_list SET jackpot = jackpot + '1' WHERE gid = '$Game' ");
}


You could just do this:

PHP Code:

$vbulletin->db->query_write("UPDATE " TABLE_PREFIX "games_list SET jackpot = jackpot + 5"); 

and use whatever number you want instead of 5 to increase every jackpot by.

Quote:

Originally Posted by PGAmerica (Post 1539156)
I installed this mod and love it. However, at the bottom of every page is a piece of text that says "vBCredits v1.4 Copyright ?2007 - 2008, PixelFX Studios". This is nopt a problem. What is a problem is that when the links are clicked, it goes to these sites and leaves mine.

What I want to do is make the links open a new browser window. I cannot seem to find in the templates or phrases where these links are set. Can somebody please tell me how to make a modification to this so I can just add "target='_blank'" to these links?

This footer cannot be changed from its current form; I can only move it around for you. Branding free is available however.

Quote:

Originally Posted by jojo77 (Post 1541755)
I found how to turn of loans but now I have 2 new questions:

1) Is negative awards working yet? Last time I asked Dark said it was turned off for the last release.

2) Where is the log of all member transactions? I can't seem to find that anywhere.

Thanks for the help.

1) all negation awards are working except for post/thread awards. Those do nothing.

2) You can use the moderate donations/award link in the acp to see all of that, or if you have the usergroup permission to view all user's transaction logs, a Check link will show up next to users' account amounts to take you to their specific log

Quote:

Originally Posted by Scarface Claw (Post 1541829)
The release notes mentions that VBC can be used in conjunction with other mods, does anyone know of such mods?

On my site is a list of some addons that I have to integrate with other popular hacks. There are more that I generally dont track which you can just use a setting within that hack to make it use credits (for example the casino)

sdavis2702 06-08-2008 12:09 AM

Everything works but I can not see credits in the postbit... I have been trying to figure out why for a while now. Any help?

Darkwaltz4 06-08-2008 12:21 AM

Make sure...

-you are looking at a style which you successfully applied the template edits to
-the global display options are set to everyone, or you belong to a group that can see private credits if set to private
-you and the person you are looking at dont belong to a group set as blocked from vbcredits
-the group the person you are looking at isnt set to hide credit totals
-the forum you are in isnt set to hide credit totals

sdavis2702 06-08-2008 11:52 AM

Seriously man... don't pay me any attention. I have installed maybe 40 hacks in the last 2 months and every one of them have gone somewhat smooth until now. I somehow managed to neglect all 14 template edits haha. Now that I think back I had to leave and I was supposed to remember to come back and do it. I didn't. I thought I did though... ugh.

Sorry man it's all working now. Thanks alot for a great job!!!

jojo77 06-09-2008 07:49 PM

Quote:

Originally Posted by Darkwaltz4 (Post 1543369)



1) all negation awards are working except for post/thread awards. Those do nothing.

2) You can use the moderate donations/award link in the acp to see all of that, or if you have the usergroup permission to view all user's transaction logs, a Check link will show up next to users' account amounts to take you to their specific log

1) so if I delete posts and threads that are irrelevant, it won't deduct their points? that's too bad.

2) with logs, I was hoping there was a page where you can see all logs from all members and not a specific member. Maybe another addition in the future?

thanks for you help.

Darkwaltz4 06-09-2008 08:36 PM

1) Yes, for now until 1.4 final when that will be restored

2) Thats why I offered that you check out that ACP link which has all of the transactions between all members in one place. It will be expanded in the future in the next major release of vbcredits after 1.4 final

njoker555 06-09-2008 10:36 PM

i was just looking over some of the templates postbit sections and profile and it seems that EVERYONE can use the "award" feature for some reason and they are able to award any one they want, i am just lucky I was the one to figure out out

help on how i can make it so only admins can award is appreciated! i can swear i saw this option before somewhere but i can't remember any more

thanks!

Raptor 06-10-2008 09:44 PM

apologies if this has already been answered...

upgraded to v1.4 rc2 on vb3.7.1 - how can I now manually award cash for a post and it displays text below the post that they have been given X cash by X user - i dont see that option any more (was on vb3.6.4 and v1.4 rc1 before)

Thanks

Darkwaltz4 06-11-2008 05:08 AM

Quote:

Originally Posted by njoker555 (Post 1545434)
i was just looking over some of the templates postbit sections and profile and it seems that EVERYONE can use the "award" feature for some reason and they are able to award any one they want, i am just lucky I was the one to figure out out

help on how i can make it so only admins can award is appreciated! i can swear i saw this option before somewhere but i can't remember any more

thanks!

Quote:

Originally Posted by Raptor (Post 1546173)
apologies if this has already been answered...

upgraded to v1.4 rc2 on vb3.7.1 - how can I now manually award cash for a post and it displays text below the post that they have been given X cash by X user - i dont see that option any more (was on vb3.6.4 and v1.4 rc1 before)

Thanks

The answer is related to both of you.

The post award system is what you are looking for to award posts directly on threads. In the usergroup options there is a section for each group to set limits for the power to award credits out of thin air. Using a value of 0 in any limit will restrict access completely, or use -1 to make one of the limits be ignored (and -1 for all 4 for unlimited use). I recommend that unlimited be given to trusted groups only such as admin, and should you choose to grant it for anyone else, think carefully about the limits you want to impose or it will get out of hand very quickly. In the specialty settings of vbcredits is the option to publicly display the post awards under the respective posts.

Raptor 06-11-2008 10:00 AM

Thanks for the reply

However I already have the post awards set to -1 (in fact changes not made since upgrade) and I still cant see any options for awarding posts ?


All times are GMT. The time now is 02:01 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.01654 seconds
  • Memory Usage 1,763KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_php_printable
  • (8)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