vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - Gameroom (https://vborg.vbsupport.ru/showthread.php?t=239817)

New Joe 04-28-2010 03:56 AM

Quote:

Originally Posted by pjcnlv (Post 2026314)
Nice!! I will buy premium as well.

A few things I would like to change and, or need some help:

1) How do I change Navbar text to read "Casino"?
2) How do I enable a user's cash holdings to show up in their profile or postbit?
3) The sound seems to be broken. It is never played.

Thanks

1)Admin CP, Languages & Phrases> Search in Phrase
Search for Gameroom and if it shows as the text from the Tab change it to Casino

2) In the Postbit Template find:
Quote:

<dt>{vb:rawphrase posts}</dt> <dd>{vb:raw post.posts}</dd>
After it add:
Quote:

<dt><a href='gameroom.php'>Gameroom Cash</a></dt> <dd>${vb:raw post.gameroom_cash}</dd>
You can change the Gameroom Cash to say Casino Cash if you wanted to.

3) Don't know about that one.

New Joe 04-28-2010 04:05 AM

Quote:

Originally Posted by pjcnlv (Post 2028404)
Umm.. how do we get support on this?

Andrew was missing for a long time, then he came back to give us this vB 4 version and he might not be back again for a long time again.
I guess you could go over to his site and contact him there from the contact us link.
I wouldn't hold your breath, it looks like he's got other things to do than this.
Great mod anyway, and thanks Andrew for the up-date to vB4.

blue6995 04-28-2010 01:14 PM

When I search for it as you suggested, I only get:

Gameroom nightly process

pjcnlv 04-28-2010 01:36 PM

Quote:

Originally Posted by blue6995 (Post 2028556)
When I search for it as you suggested, I only get:

Gameroom nightly process

Same here but, thanks for the help - sincerely.

paolpepas 05-01-2010 08:16 AM

a user has locked the game let it ride, the other works well, how do I restore the user blocked?
thanks

TheChaosFactor 05-01-2010 12:54 PM

Quote:

Originally Posted by skol (Post 2025940)
Same problem,did you find a fix..

No, I haven't but I'd be extremely grateful if one was found.

hotslot 05-01-2010 07:34 PM

Anyone get this to actually work?

New Joe 05-02-2010 04:22 AM

I have it installed on vB4.0,2 and it worked right out the box.
No problems what so ever.

cory_booth 05-04-2010 12:51 AM

Solution.

Create new plugin under hook:
userdata_start

Insert this code:

PHP Code:

$this->validfields['gameroom_cash'] = array(TYPE_UINTREQ_NO); 


smoggy07 05-07-2010 02:12 PM

Quote:

Originally Posted by hotslot (Post 2030267)
Anyone get this to actually work?

installed and working on vBulletin? Version 4.0.3

blue6995 05-08-2010 10:51 AM

Quote:

Originally Posted by pjcnlv (Post 2026314)
Nice!! I will buy premium as well.

A few things I would like to change and, or need some help:

1) How do I change Navbar text to read "Casino"?
2) How do I enable a user's cash holdings to show up in their profile or postbit?
3) The sound seems to be broken. It is never played.

Thanks

[1] Plugin & Products - Product Gameroom - Edit Gameroom Menu

Find: $template_hook['navtab_end'] .= '<li'.$tabselected.'><a class="navtab" href="gameroom.php">Gameroom [' . $playersInGameroom . ']</a></li>' ;

Change 'Gameroom' to Casino

Bigj85 05-16-2010 03:36 PM

can anyone here tell me how to get the banner working on vb4
I cant find the code to place where I want the banner and I'm getting no answers at vbgaming
any help from anyone who has the banner up on vb4 please

pjcnlv 05-19-2010 12:57 PM

Quote:

Originally Posted by blue6995 (Post 2033666)
[1] Plugin & Products - Product Gameroom - Edit Gameroom Menu

Find: $template_hook['navtab_end'] .= '<li'.$tabselected.'><a class="navtab" href="gameroom.php">Gameroom [' . $playersInGameroom . ']</a></li>' ;

Change 'Gameroom' to Casino


Thanks kindly!

talkncaasports 05-24-2010 10:16 PM

My website (olevetpossehideout.com) ended up getting rid of this mod.

Though a great concept, it seems that it is no longer supported because you can never get an answer from Andrew when you visit his own website (vbgaming.org). It is something that we have wasted money on and exhausted our time with.

We have had nothing but issues with this hack. So if someone has a better version, or until this hack gets supported by the author, I suggest you not to waste your time on this.

I wish Andrew would just give it up so others can continue his work.

swiftor 05-31-2010 08:00 PM

Hi, love the mod! I plan to use it primarily for betting.

How would I remove GameRoom from the nav bar altogether? I have it under a drop down on another nav bar button.

swiftor 05-31-2010 08:27 PM

I disabled the template processing plugin. hope that doesnt break anything else.

mjp 06-01-2010 05:12 AM

Quote:

Originally Posted by Andrew Green (Post 2016362)
Its a server setting, has to do with hotlinking image protection.

Well, that's pretty vague. And it doesn't make sense. Image protection would only prevent an image from displaying outside of my domain. Are you saying that image protection has to be disabled for this to work? Not a very good tradeoff.

Unusable in this state, I'm afraid.

BirdOPrey5 06-01-2010 05:26 AM

I have image protection enabled and this mod works fine... running 3.8 though, doubt image protection is the problem.

thezman 06-01-2010 07:07 PM

I installed and everything works, except on thing. The tab at the top is labeled Gameroom[0] for some reason.

How can I change this?

thezman 06-01-2010 09:03 PM

Nevermind. Makes sense now.

basilrath 06-02-2010 01:48 PM

Is he in Jail lol

kondason 06-02-2010 04:32 PM

someone can help me? i download and install but its mass of my forum. i cant create user from the admin cp, someone can help me in msn?

comeback.t@gmail.com

ty

RedTrinity 06-07-2010 05:36 AM

Quote:

Originally Posted by tldagent (Post 2016398)
I purchase quality products from quality product producers all the time but I've yet to see one completely abandon their product after my purchase.

Lucky you never bought a copy of the P3TZ add-on for VB3, then! ;)

keweedsmo 06-08-2010 03:25 AM

Does this tie into ucash by any chance?

BirdOPrey5 06-08-2010 03:41 AM

You can use this with any cash/credit system. You just enter the name of the field in the database into the options for the mod and it will use that number... I don't know what it's called for ucash, maybe ucash? It will probably be in the documentation of the ucash mod or you could browse the user table in the database looking for the right field.

dirtyboxing 06-08-2010 04:04 AM

Quote:

Originally Posted by talkncaasports (Post 2042881)
My website (olevetpossehideout.com) ended up getting rid of this mod.

Though a great concept, it seems that it is no longer supported because you can never get an answer from Andrew when you visit his own website (vbgaming.org). It is something that we have wasted money on and exhausted our time with.

We have had nothing but issues with this hack. So if someone has a better version, or until this hack gets supported by the author, I suggest you not to waste your time on this.

I wish Andrew would just give it up so others can continue his work.

This Mod is the best thing that has ever happened to VB. Install it correctly and your members will be thrilled.:up:

RedTrinity 06-08-2010 05:05 AM

Is there a way to edit the height/width of the actual gameroom flash window? It doesn't fit in our forum page properly and is cut off on the right hand side....

tldagent 06-09-2010 01:19 PM

Quote:

Originally Posted by talkncaasports (Post 2042881)
My website (olevetpossehideout.com) ended up getting rid of this mod.

Though a great concept, it seems that it is no longer supported because you can never get an answer from Andrew when you visit his own website (vbgaming.org). It is something that we have wasted money on and exhausted our time with.

We have had nothing but issues with this hack. So if someone has a better version, or until this hack gets supported by the author, I suggest you not to waste your time on this.

I wish Andrew would just give it up so others can continue his work.

Amen to that. Nothing like collecting money from your customers and then not supporting the product on it's own site. I purchased the pro version and was never able to use it and about the time I purchased, Andrew disappeared for months.

Hopefully someone will take this project over because it's never worked for us and our forum was never able to use it.

ggsinc 06-10-2010 10:02 PM

I'm on 4.0.3., installed the free version to test it on my test forum, worked perfectly. Bought the pro version to test it on my test forum, worked perfectly. Installed pro version on live forum, working perfectly.

ggsinc 06-12-2010 05:16 AM

Quote:

Originally Posted by TheChaosFactor (Post 2017901)
Found a problem when manually adding a new user... Get error message

I just went to add a new user and got this, too. Nothing else seems to be affected. Did you ever find a solution?

Quote:

Fatal error: Field gameroom_cash is not defined in $validfields in class vB_DataManager_User in [path]/includes/class_dm.php on line 515
#0 vb_error_handler(256, Field gameroom_cash is not defined in $validfields in class vB_DataManager_User, /home/ggsinc/public_html/forum/includes/class_dm.php, 515

BirdOPrey5 06-12-2010 08:13 AM

I would open the file /includes/class_dm.php in a text editor that supports line numbers (google 'notepad2' if you don't have one) and go to line 515 and see what's up... I have a different vb version but for me line 515 is an opening comment so I'd look to the code immediately above it as the cause of the issue.

ggsinc 06-13-2010 02:41 AM

Quote:

function verify($fieldname, &$value, $doverify = true)
{
if (isset($this->validfields["$fieldname"]))
{
$field =& $this->validfields["$fieldname"];

// clean the value according to its type
$value = $this->registry->input->clean($value, $field[VF_TYPE]);

if ($doverify AND isset($field[VF_CODE]))
{
if ($field[VF_CODE] === VF_METHOD)
{
if (isset($field[VF_METHODNAME]))
{
return $this->{$field[VF_METHODNAME]}($value);
}
else
{
return $this->{'verify_' . $fieldname}($value);
}
}
else
{
$lamdafunction = create_function('&$data, &$dm', $field[VF_CODE]);
return $lamdafunction($value, $this);
}
}
else
{
return true;
}
}
else
{
trigger_error("Field <em>$fieldname</em> is not defined in <em>\$validfields</em> in class <strong>" . get_class($this) . "</strong>", E_USER_ERROR);
return false;
The red bit is line 515, the line that is offending vBulletin's add user feature.

In my test forum, I just deleted the line entirely so that the code doesn't produce an error, but just returns false. And that worked. However, I don't speak php and I could have just deleted something vital. Can anyone translate php into newbie for me and tell me what that line means?

BirdOPrey5 06-13-2010 04:47 PM

All you did was remove the error message and let the script continue working...
The trigger_error () function obviously displays the error message passed to it and I'd guess terminates the script, you could confirm what it does by searching for it and looking at/posting the definition (code associated with the function)... it may not be in this file, it may be in a file called in an include statement, probably at the top of this file, such as global.php.

But if things seem to work on your test forum even though I'm sure it is not recommended I'd probably be fine with just keeping the line commented out for now.

furst 06-23-2010 03:00 AM

thanks, working nicely on vb 4.0.4.

Doctor Death 06-24-2010 05:43 PM

I had to uninstall on my 4.0.4.

Although it appeared to operate normally, when I went to ADMINCP and manually added a user to forums, it generated numerous errors. The errors were caused by this mod.

I unintalled this mod and the errors went away and was able to manually add new users.

cbehan 06-24-2010 06:02 PM

Quote:

Originally Posted by Doctor Death (Post 2058942)
I had to uninstall on my 4.0.4.

Although it appeared to operate normally, when I went to ADMINCP and manually added a user to forums, it generated numerous errors. The errors were caused by this mod.

I unintalled this mod and the errors went away and was able to manually add new users.

I reported this issue to Andrew (I think in his forums) and he sent me the name of a plugin to turn off that fixed it.

That being said, I can't argue with the decision to stop using a major product like this that gets virtually no support.

Frost5 06-26-2010 02:08 PM

Quote:

Originally Posted by cbehan (Post 2058947)
I reported this issue to Andrew (I think in his forums) and he sent me the name of a plugin to turn off that fixed it.

That being said, I can't argue with the decision to stop using a major product like this that gets virtually no support.

What's the plugin?

kylek 06-26-2010 09:44 PM

Yes, do you remember the plugin? Is doing the same thing when I manually add a member. What I have been doing is just disabling the gameroom and then when finished adding a member reenable the gameroom, this allows you to add a member without uninstalling the gameroom until this gets fixed.

Justin1592 06-27-2010 12:40 AM

Is there a way to remove the Gameroom tab from the Navbar?

edit: I think I resolved this by turning off the appropriate plugin (Gameroom menu). Not sure if this will impact other features, but it's working so far.

Justin1592 06-30-2010 08:14 PM

Quote:

Originally Posted by Doctor Death (Post 2058942)
I had to uninstall on my 4.0.4.

Although it appeared to operate normally, when I went to ADMINCP and manually added a user to forums, it generated numerous errors. The errors were caused by this mod.

I unintalled this mod and the errors went away and was able to manually add new users.

Quote:

Originally Posted by cbehan (Post 2058947)
I reported this issue to Andrew (I think in his forums) and he sent me the name of a plugin to turn off that fixed it.

That being said, I can't argue with the decision to stop using a major product like this that gets virtually no support.

Quote:

Originally Posted by Frost5 (Post 2059872)
What's the plugin?


I'm having the same issue. What's the plugin please?

Thanks.


All times are GMT. The time now is 07:44 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.01805 seconds
  • Memory Usage 1,840KB
  • 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
  • (21)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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