vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - The Gameroom - Multiplayer gaming (follow up to Casino) (https://vborg.vbsupport.ru/showthread.php?t=219483)

jeepnchris 07-30-2009 06:43 PM

Quote:

Originally Posted by Andrew Green (Post 1858680)
Everything except the one filename should be good.

Your calling
In navbar Template, at the very bottom or bottom add:


*************************************************

$gameroomBanner

*************************************************

and the file is GameroomBanner.swf

Maybe they are not related.

I am having a problem with the banner working.

Where does the cash show? Should it be under peoples username while just on the forum?

Thanks!
Chris

Andrew Green 07-30-2009 07:14 PM

Quote:

Originally Posted by jeepnchris (Post 1858685)
Your calling
In navbar Template, at the very bottom or bottom add:


*************************************************

$gameroomBanner

*************************************************

and the file is GameroomBanner.swf

Maybe they are not related.

I am having a problem with the banner working.

Where does the cash show? Should it be under peoples username while just on the forum?

Thanks!
Chris

The part you add to the navbar is a variable containing the html needed to embed the flash file, or to add the html table, depending on which plugin you have turned on. Are you seeing anything where the banner should be?

Cash won't show anywhere, unless you add it to the postbit, then it will show their. Just make sure you are editing the proper postbit.

jeepnchris 07-30-2009 07:29 PM

Quote:

Originally Posted by Andrew Green (Post 1858694)
The part you add to the navbar is a variable containing the html needed to embed the flash file, or to add the html table, depending on which plugin you have turned on. Are you seeing anything where the banner should be?

Cash won't show anywhere, unless you add it to the postbit, then it will show their. Just make sure you are editing the proper postbit.

Here is the postbit info---

$vbphrase[posts]: $post[posts]
<br /><a href='gameroom.php'>Gameroom cash</a>: $$post[gameroom_cash]
</div>
$template_hook[postbit_userinfo_right_after_posts]
<if condition="$show['infraction']"><div




I have the banner working now. What does the HTML banner actually show?

Thanks !

Chris

Andrew Green 07-30-2009 07:32 PM

Quote:

Originally Posted by jeepnchris (Post 1858701)
Here is the postbit info---

$vbphrase[posts]: $post[posts]
<br /><a href='gameroom.php'>Gameroom cash</a>: $$post[gameroom_cash]
</div>
$template_hook[postbit_userinfo_right_after_posts]
<if condition="$show['infraction']"><div


Is it not working?

Quote:


I have the banner working now. What does the HTML banner actually show?

Thanks !

Chris
same thing, just in a static html format, instead of flash

jeepnchris 07-30-2009 07:42 PM

Quote:

Originally Posted by Andrew Green (Post 1858703)
Is it not working?



It is not working. I also have the info in the postbit legacy file.

Chris

Alien 07-30-2009 07:53 PM

How would this work with a site with multiple styles, including light and dark?

Can I specify a vb variable (like bgcolor) that will grab the proper color from a style, or am I forced to be limited to one color regardless of style inside the css?

Otherwise, this is REALLY neat.

Throtex 07-30-2009 08:45 PM

Should the files in gameroom/tools be there? Would those be accessible to any user by being there?

By the way -- great work on this. My users have been waiting for an update to the casino for ages!

Toxist 07-31-2009 12:40 AM

what needs to be replaced in the already installed Gameroom, for the minor bug fix's. I hope not to have to reinstall all of it. A list of what to upload and over write would be helpful. For the time being I have embedded the Chess vs PC Flash game until I can get with you on how to add to the game room, or at least an icon to redirect to the 3D flash Game, provided it's feasible and Possible. :)

LilPimp 07-31-2009 01:36 AM

is there a way to make it like 5 posts a day to play in the gameroom?

Andrew Green 07-31-2009 02:37 AM

Quote:

Originally Posted by jeepnchris (Post 1858706)
It is not working. I also have the info in the postbit legacy file.

Chris

Do you get anything? You've added text to the template so you should at least be seeing that?

Quote:

Originally Posted by Alien (Post 1858714)
How would this work with a site with multiple styles, including light and dark?

Can I specify a vb variable (like bgcolor) that will grab the proper color from a style, or am I forced to be limited to one color regardless of style inside the css?

Otherwise, this is REALLY neat.

No detection of multiple themes, it's a single setting. Likely wouldn't be terribly hard for you to implement, just a "if...else if" chain in the settings file would do that.

Quote:

Originally Posted by Throtex (Post 1858732)
Should the files in gameroom/tools be there? Would those be accessible to any user by being there?

By the way -- great work on this. My users have been waiting for an update to the casino for ages!

Nope, only upload those if you need them

Quote:

Originally Posted by LilPimp (Post 1858834)
is there a way to make it like 5 posts a day to play in the gameroom?

No, but it is a interesting idea.


All times are GMT. The time now is 08:10 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.01498 seconds
  • Memory Usage 1,750KB
  • 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
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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