|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
Doah.  htaccess file coming soon. 
|
|
|
|
Joined: Feb 2002
Posts: 2,286
Veteran
|
Veteran
Joined: Feb 2002
Posts: 2,286 |
Anyone know what sort of bandwidth these consume - are they light or heavy eaters?
Fans Focus - Focusing on Fans of Sport (Okay - mainly football (the British variety at the moment - but expanding all the time....)
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
They are SWF files which download then play in the person's browser. The largest one is 416 KB and the smallest is 108 KB. 
|
|
|
|
Joined: Feb 2002
Posts: 1,759
Addict
|
Addict
Joined: Feb 2002
Posts: 1,759 |
aren't SWF files cached also, just like images?
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
Yeah, they load much faster when you go back to the game. 
|
|
|
|
Joined: Feb 2002
Posts: 2,286
Veteran
|
Veteran
Joined: Feb 2002
Posts: 2,286 |
Thanks - was interested to see if anyone had noticed their bandwidth shoot through the roof with these 
Fans Focus - Focusing on Fans of Sport (Okay - mainly football (the British variety at the moment - but expanding all the time....)
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
I might need to hotlink protect mine before I give a real answer. LOL
|
|
|
|
Joined: Feb 2002
Posts: 1,759
Addict
|
Addict
Joined: Feb 2002
Posts: 1,759 |
most of my users aren't that bright, and since you have to be logged in, they would essentially need to figure out the URL to the SWF to pass on to people 
|
|
|
|
Joined: Sep 2001
Posts: 129
Member
|
Member
Joined: Sep 2001
Posts: 129 |
looks great installed and working  2 things though Firstly should the player name fill in automatically as it dosnt on my install? Secondly I wanted to put my games folder outside of the threads install I try and do this with all hacks as I find it neater. So I created a paths.php file with the following in: <? $threadspath = "PATH TO THREADS"; $baseurl = "PATH TO WEB ROOT"; ?> ========== then I have removed this section of code in every game php file and gameindex.php: // What is the PATH (not URL) to your threads install and added this in its place: // Require the Paths require ("paths.php"); ========== and in gamesindex.php did a find and replace: find: $config['phpurl'] replace with: $baseurl ========== and index.php now looks like this: require ("paths.php"); // Require the library require ("$threadspath/main.inc.php"); header ("Location:$baseurl/games/gameindex.php"); HTH
Regards Clint
Running on WIN2003 Web Server.
Paranoid people get followed too!
|
|
|
|
Joined: Jan 2003
Posts: 338
Enthusiast
|
Enthusiast
Joined: Jan 2003
Posts: 338 |
Nice  I just installed it 
|
|
|
|
Joined: Feb 2002
Posts: 2,286
Veteran
|
Veteran
Joined: Feb 2002
Posts: 2,286 |
Working fine at games.nonleague.com - if you add additional games, it is worth checking the swf size by doing a view source at the version on the miniclip site - I added Solitaire - as it means people can play slowly, and I can put ads beneath it 
Fans Focus - Focusing on Fans of Sport (Okay - mainly football (the British variety at the moment - but expanding all the time....)
|
|
|
|
Joined: Jan 2003
Posts: 338
Enthusiast
|
Enthusiast
Joined: Jan 2003
Posts: 338 |
I installed only 4 games(from six), which swf size < 300KB
|
|
|
|
Joined: Apr 2002
Posts: 56
Power User
|
Power User
Joined: Apr 2002
Posts: 56 |
Works great at audi-sport.net, I've set it for registered users only, think I got carried away as I've got 30 games installed 
|
|
|
|
Joined: Feb 2002
Posts: 2,286
Veteran
|
Veteran
Joined: Feb 2002
Posts: 2,286 |
I noticed  Great to see you around here again...
Fans Focus - Focusing on Fans of Sport (Okay - mainly football (the British variety at the moment - but expanding all the time....)
|
|
|
|
Joined: Apr 2002
Posts: 56
Power User
|
Power User
Joined: Apr 2002
Posts: 56 |
I shall be around a fair bit more now, probably a bad thing as I'll be annoying you all with my dumba$$ questions 
|
|
|
|
Joined: Feb 2002
Posts: 2,286
Veteran
|
Veteran
Joined: Feb 2002
Posts: 2,286 |
We all have those questions from time to time  And beleive me I speak from experience 
Fans Focus - Focusing on Fans of Sport (Okay - mainly football (the British variety at the moment - but expanding all the time....)
|
|
|
|
Joined: Jun 2002
Posts: 160
Member
|
Member
Joined: Jun 2002
Posts: 160 |
Is this confirmed to work under 6.4?
Can additional MiniClip games be added to this?
|
|
|
|
Joined: Apr 2001
Posts: 3,266
Member
|
Member
Joined: Apr 2001
Posts: 3,266 |
|
|
|
|
Joined: Jun 2002
Posts: 670
Code Monkey
|
Code Monkey
Joined: Jun 2002
Posts: 670 |
I haven't checked, but I'd be shocked if it didn't work for 6.4. How many other MiniClip games are there? I hadn't thought of the possibility of trying to add more.
|
|
|
|
Joined: Feb 2002
Posts: 1,759
Addict
|
Addict
Joined: Feb 2002
Posts: 1,759 |
Yes, it works just fine under 6.4  ANd yes, you can add different games if you wish.
|
|
|
|
Joined: Jun 2002
Posts: 160
Member
|
Member
Joined: Jun 2002
Posts: 160 |
[] donJulio said: I haven't checked, but I'd be shocked if it didn't work for 6.4. How many other MiniClip games are there? I hadn't thought of the possibility of trying to add more. [/] Rather a lot. I'm not sure if they're all free or not, but there appears to be over 50 games at Miniclip.com. Of course, I'd have to make a point of "testing" those games to determine which ones would be worthwhile of my users' attention. 
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
Yes, it's really an "addon" and yes, you can follow the format and add additional games from mini-clip. 
|
|
|
|
Joined: Apr 2003
Posts: 359
Enthusiast
|
Enthusiast
Joined: Apr 2003
Posts: 359 |
Working great under my 6.4 at www.f-bodyhideout.comThanks Josh! 
|
|
|
|
Joined: Oct 2003
Posts: 2,305
Old Hand
|
Old Hand
Joined: Oct 2003
Posts: 2,305 |
Yeah and really easy to add games to also.. added Hangaroo 
|
|
|
|
Joined: Sep 2002
Posts: 151
Member
|
Member
Joined: Sep 2002
Posts: 151 |
This is just great!  Anyone knows where to find some "adult oriented" games? 
|
|
|
|
Joined: Nov 2002
Posts: 554
Code Monkey
|
Code Monkey
Joined: Nov 2002
Posts: 554 |
Now see what you've started? SilentStalker User Acolyte 02/29/04 04:32 PM Playing a Game - Battleships (I)DragonTears Moderator Queen of the Island 02/29/04 04:32 PM Playing a Game - Battleships (I)HomeSlice User l33t 02/29/04 04:31 PM Playing a Game - Battleships SoulMan Moderator Waaaaaa! 02/29/04 04:41 PM Viewing the Game Arcade Frost User addict 02/29/04 04:41 PM Playing a Game - Sheepish SoulMan Moderator Waaaaaa! 02/29/04 04:41 PM Viewing the Game Arcade Frost User addict 02/29/04 04:41 PM Playing a Game - Sheepish How do I go about adding other games from that site? How do you get the .swf files? They love it..Thankyou edit-There is a spelling error in the languages/*/online.php for Crashdown (Creashdown)
Last edited by ChAoS; 02/29/2004 8:34 PM.
|
|
|
|
Joined: May 2003
Posts: 1,068
Junior Member
|
Junior Member
Joined: May 2003
Posts: 1,068 |
Go here http://www.miniclip.com/download.htm and get the games, then take a look at the corresponding scripts in the directory and you can add them in there by copying and pasting existing lines. It's pretty easy once you see how it's done.
|
|
|
|
Joined: Nov 2002
Posts: 554
Code Monkey
|
Code Monkey
Joined: Nov 2002
Posts: 554 |
Yup I started on this last night. I have allready added Bush Shootout by copying and changing one of the scripts. Now I just need to change this // Games Page by Joshua Pettit <br />// aka JoshPet of www.joshuapettit.com <br />// UBB.Threads Elements ©Infopop.com and Rick Baker To this // Games Page by Joshua Pettit <br />// aka JoshPet of www.joshuapettit.com <br />// UBB.Threads Elements ©Infopop.com and Rick Baker <br />// Plagiarized by ChAoS <br /> 
Last edited by ChAoS; 03/01/2004 4:09 PM.
|
|
|
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
Yeah, it's not high security - but fools most fools. 
|
|
|
|
Joined: Apr 2003
Posts: 359
Enthusiast
|
Enthusiast
Joined: Apr 2003
Posts: 359 |
|
|
|
|
Joined: Oct 2003
Posts: 2,305
Old Hand
|
Old Hand
Joined: Oct 2003
Posts: 2,305 |
yesh you could add the autheicate code to the mod. It would be easy to do. I say go for it 
|
|
|
|
Joined: Oct 2003
Posts: 2,305
Old Hand
|
Old Hand
Joined: Oct 2003
Posts: 2,305 |
heres a tidbit I tried it and it locks it down
in all the games <insertgametitle>.php
# #find #
if (($anonplay) && (!$user['U_Username'])) {
# #change to #
if (($anonplay) && (!$user['U_Username']) || ($user['U_Username'] == '')) {
and in gameindex.php
# #find # $html = new html; $html -> send_header($pagetitle,$Cat,0,$user);
# #and change to #
$html = new html; // ---------------------------------------------------------------------- // If we are not logged in, then present a log on form, otherwise present // a menu of options. if(($user['U_Username'] == '')) { $config['iip_call'] = 1; $html -> not_right ("{$ubbt_lang['ADMOD_ONLY']}",$Cat); } $html -> send_header($pagetitle,$Cat,0,$user);
[b]the above code also works in the genericpage.php that is posted on this site and pretty much locaks them down in they aren't logged in
|
|
|
|
Joined: Apr 2003
Posts: 359
Enthusiast
|
Enthusiast
Joined: Apr 2003
Posts: 359 |
scroungr, thanks for sharing! 
|
|
|
|
Joined: Jul 2003
Posts: 46
Junior Member
|
Junior Member
Joined: Jul 2003
Posts: 46 |
I haven't the foggiest idea, on how to add the " Games" link to the top of my forum page(s). Can someone tell me what file(s) to edit & what to put in it? 
|
|
|
|
Joined: May 2003
Posts: 1,068
Junior Member
|
Junior Member
Joined: May 2003
Posts: 1,068 |
Here is what you will want to add to your registerednav.tmpl, you will see how it's laid out and you can put it where you want accordingly. <br /><a href="{$config['phpurl']}/games/index.php?Cat=$Cat">Games</a><br />
|
|
|
|
Joined: Jul 2003
Posts: 46
Junior Member
|
Junior Member
Joined: Jul 2003
Posts: 46 |
Awesome! It Works! Thank You!
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
badfrog
somewhere on the coast of Maine
Posts: 94
Joined: March 2007
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|