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)
-   -   Major Additions - Casino (w/ 10 player poker) (https://vborg.vbsupport.ru/showthread.php?t=159151)

BirdOPrey5 06-07-2011 08:37 PM

This mod is very old and isn't supported. There is a newer mod by the same user called the "Gameroom" that is available for 4.x however there is no support for that either because the author hasn't been online in over a year. But the "Gameroom" might work for you.

If you are only interested in Poker there is another 4.x mod called "Pirate Poker" that is supported and should definitely work on your forum.

dizzynation 06-08-2011 01:28 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2204752)
This mod is very old and isn't supported. There is a newer mod by the same user called the "Gameroom" that is available for 4.x however there is no support for that either because the author hasn't been online in over a year. But the "Gameroom" might work for you.

If you are only interested in Poker there is another 4.x mod called "Pirate Poker" that is supported and should definitely work on your forum.

I just downloaded this mod, but cant find it anywhere to be played, is there something better or different for vB 3.8.7 ?

BirdOPrey5 06-08-2011 12:40 PM

Yes the "Gameroom" mod which is the upgrade of this mod is also available for 3.8.x. It works, I use it on my forum.

Again, if you only want poker through Pirate Poker is also available for 3.8.x and also works, I also use that mod too.

Use the search for 3.8 mods, titles only, search for "Gameroom" or "Poker" they should come up.

Mark.B 10-15-2012 05:08 PM

Wahey! Running on vB4...
http://www.bowlandcentral.com/forum/casino.php?

BirdOPrey5 10-16-2012 06:50 PM

Quote:

Originally Posted by Mark.B (Post 2373206)

Every time I see your forums Mark I am impressed.

Mark.B 10-16-2012 10:06 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2373528)
Every time I see your forums Mark I am impressed.

Thanks. I've wanted the original casino back for a long time, my members did not like the Gameroom, and its recent quarantine focused my mind on making another attempt to convert this.

Oddly, the way it has worked doesn't really make sense. The templates are still in vB3 format, not vB4 format. With just a couple of minor tweaks to the php files and some css added. I didn't do any of the normal variable registrations that you would expect you would have to do.

It really *shouldn't* work, but it does. I think I have basically fooled it into thinking it's still running on vB3....

BirdOPrey5 10-17-2012 07:25 PM

Quote:

Originally Posted by Mark.B (Post 2373569)
Thanks. I've wanted the original casino back for a long time, my members did not like the Gameroom, and its recent quarantine focused my mind on making another attempt to convert this.

Oddly, the way it has worked doesn't really make sense. The templates are still in vB3 format, not vB4 format. With just a couple of minor tweaks to the php files and some css added. I didn't do any of the normal variable registrations that you would expect you would have to do.

It really *shouldn't* work, but it does. I think I have basically fooled it into thinking it's still running on vB3....

I might be dreaming this or misunderstood what I read but way back when VB4 was new, before I had put any real time into working with vBulletin beyond basic Admining- I kind of remember someone telling me that if there was no VB4 code at all on a template, VB4 could parse VB3 template code- however once there was a single line of VB4 code then VB3 code would no longer work.

I've never tried it but could explain what is going on.

Mark.B 10-17-2012 08:01 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2373838)
I might be dreaming this or misunderstood what I read but way back when VB4 was new, before I had put any real time into working with vBulletin beyond basic Admining- I kind of remember someone telling me that if there was no VB4 code at all on a template, VB4 could parse VB3 template code- however once there was a single line of VB4 code then VB3 code would no longer work.

I've never tried it but could explain what is going on.

Yep that does seem to be pretty much what happens. I have often thought the same myself, back when I was converting minor stuff I'd written myself ready for vB4 a couple of years back.

So on this mod, if I want to write an IF condition it has to be the old style
Code:

<if>
rather than
Code:

<vb:if>
Variables have to be
Code:

$whatever
not
Code:

{vb:raw whatever}
The only slight problem is that calling additional.css doesn't work because you can't use
Code:

{vb:cssfile additional.css}
I got round this by adding this to headinclude:
Code:

<vb:if condition="THIS_SCRIPT == 'casino'">
{vb:cssfile additional.css}
</vb:if>

Which gets round it slightly sneakily.

Not run into any problems so far, so I'm not complaining!

I may try and get some instructions up to get the basic functionality going, if people are interested.

Only thing I could NOT get working was the stats page. The Ajax won't play!

Inspector G 02-20-2013 07:22 AM

My question for Mark B..lol
is this.
Yep I recognize you...
anyhow, I have a user issue I can not allow other users to play just admin.
which kinda defeats having it installed..
Then also because I know you are in support let me ask this. And you seem to know your code.
If it is designed to run on VB3 and we are in effect changing code to work around, does this leave a door for PHP injection as My site got hacked and this is the only mod running that is not for 4.2?
I see the error and that is the start of code injection if I am correct.
But I am terribly new to this But if it is then My site will get popped again and I need to learn how they are doing it, to stop it.
I also am having a problem since anther person installed it for me, the admin tab disappeared from the right side when I am logged in as admin..
Game still works fine I can play them all. But also I thought there was a tab in admin cp after the initial install to control the game and add user permissions I can not locate it.

Can you help me here?:confused:

Thanks.


All times are GMT. The time now is 05:55 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.08292 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
  • (6)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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