View Full Version : Major Additions - Casino (w/ 10 player poker)
Pages :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[
15]
DieselMinded
01-28-2010, 03:00 AM
Andrew appears to be back on board
New Joe
02-06-2010, 03:47 AM
There must be someone who has got this to work on vB4 version.
This is a huge Modification and it's something I and i am sure others can not live without.
Please PM me any code changes that need to be done to make this work right.
Thanks
dartho
02-06-2010, 05:20 AM
easy - edit all the casino templates and replace variables with the new standard ie. {vb:raw varname} rather than $varname
Then edit the casino.php and replace all the fetch_template calls with vB_Template class calls and make sure to register all variables required by the template.
Go through teh casino plugins and do teh same if required.
done - post back here when you're finished.
New Joe
02-06-2010, 08:40 AM
That sounds like a man who knows his stuff.
Could you do all of that then put it in a zip file attached to a post on here please.
cad2go
02-06-2010, 10:56 AM
easy - edit all the casino templates and replace variables with the new standard ie. {vb:raw varname} rather than $varname
Then edit the casino.php and replace all the fetch_template calls with vB_Template class calls and make sure to register all variables required by the template.
Go through teh casino plugins and do teh same if required.
done - post back here when you're finished.
Top class - I'm going to try this locally today (well with the 3.8 version anyway)
Forgotton how to reg variables but I'm sure I've seen a thread here somewhere about it. (Edit: https://vborg.vbsupport.ru/showthread.php?t=228078&highlight=register+variables)
Cheers dartho
New Joe
02-07-2010, 09:24 AM
Pm me please if you get it to work,
utahraves
02-17-2010, 11:13 PM
I will try to upgrade this to 4.0 in the next few minutes and I'll let you know if it works or not. I am really busy at work ATM but I will try and squeeze in these changes.
WoodPusher
02-19-2010, 03:16 PM
Any update on this?
DeviantFlash
02-19-2010, 08:56 PM
Um, this is a dead mod.
Check out the gameroom mod. That is what he wants you to use anyways.
cindy helmond
02-20-2010, 01:21 PM
hi i have an problem remove an mod for vbulletin i removed all files from server but if i uninstall the xml produck get this error :
Database error in vBulletin 4.0.2:
Invalid SQL:
ALTER TABLE user DROP 'casino_cash';
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''casino_cash'' at line 1
Error Number : 1064
Request Date : Saturday, February 20th 2010 @ 02:15:29 PM
Error Date : Saturday, February 20th 2010 @ 02:15:30 PM
Script : http://www.xx/forum/admincp/plugin.php?do=productkill
Referrer : http://www.xx/forum/admincp/plugin.php?do=productdelete&productid=casino&s=
IP Address :
Username :
Classname : vB_Database
MySQL Version : 4.1.21-standard-log
and see pic cant revert the casino templates.
Hippy
02-21-2010, 06:34 PM
dartho that didn't work ..
has anyone got the casio to work with vb4?
Naan-Kadavul
02-26-2010, 04:50 AM
Fatal error: Maximum execution time of 30 seconds exceeded in C:\Inetpub\vhosts\moviejockey.com\httpdocs\forum\i ncludes\class_core.php on line 408
what to do ?
BF777
03-09-2010, 03:55 PM
Has this been updated for compatibility on VB 4.0?
Hippy
03-09-2010, 09:51 PM
Has this been updated for compatibility on VB 4.0?
nope still waiting
dany_danay
03-10-2010, 01:31 PM
Waiting...
DeviantFlash
03-10-2010, 11:08 PM
The Gameroom is the follow up to this, and expands on its features. This mod will no longer be supported, Gameroom is here: https://vborg.vbsupport.ru/showthread.php?t=219483
If he updates anything it will be the Gameroom version of this mod.
natasha78
10-09-2010, 01:45 AM
If he updates anything it will be the Gameroom version of this mod.
which is completely horrible btw
Fivestones
12-15-2010, 03:47 PM
this is a lot of fun Thanks ...
Kyojii
12-24-2010, 10:38 PM
which is completely horrible btw
true. flash is bad.
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
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
Wahey! Running on vB4...
http://www.bowlandcentral.com/forum/casino.php?
Every time I see your forums Mark I am impressed.
Mark.B
10-16-2012, 10:06 PM
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
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
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 <if> rather than <vb:if>
Variables have to be $whatever not {vb:raw whatever}
The only slight problem is that calling additional.css doesn't work because you can't use {vb:cssfile additional.css}
I got round this by adding this to headinclude:
<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.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.