![]() |
Is there a way I can have my flash games (swf and dcr) under another folder (games) instead of my forum folder? I have many games and would like to keep my folders organized, nice and clean.
Also have someone tested this on a local PC testboard? Whenever I try to play a game, the page will not finish to load....Will show the page and the blach square whre the game is supposed to go. |
In the "flash" template, find the TWO occurrences of
Code:
$bburl/$play.swf Code:
$bburl/games/$play.swf Remember, there are 2 occurrences of this in that template. Also, for the Flash games to work, the title of the filename is CASE SENSITVE. Also, make sure the URL of your forums in your Admin CP, vBulletin Options is set up to point to your forum URL. |
I have been trying to use the valign="middle" to center the games into the page frame, but it keeps showing on the bottom of the table. How can I make it "centered"?
|
That's strange. By default, the Flash Game is centred in the flash template that I provided.
You can add <center> </center> tags above and below where the Flash game is meant to show. That should center it. |
Erwin: In fact you already have the tags in your code:
Code:
<center><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" Aligment is centered, though Vertical Aligment shows as bottom. |
The <td> tags already have the valign="top" in them. And my Flash games or movies are aligned at the top.
<td bgcolor="{firstaltcolor}" align="left" valign="top"> So I don't know why yours go to the bottom to be honest... Delete all the <br> tags at the top and see. |
OK, forced it under the html...
Will get some sleep now |
LOL! Glad to hear it worked. Go to bed! :)
|
hi all,
was just wondering what kind of serverload/stress this hack places on the system? it sounds like a great hack and i would love to install it but would be hesitant to do so if it placed a lot of stress on the server... |
It wouldn't place any stress on the server since Flash is downloaded onto the user's computer and played there - but it will affect your bandwidth depending on the size of the Flash game or movie since the user will have to download the file from your server.
|
excellent news! thanks for the reply :)
|
Talking about bandwith....
I noticed games are being used way more than I thought. I already have 20 games and was planning on adding more, but they are taking my bandwith away. I tried to re-direct from ****play=(URL HERE) but it doesn't work. Just wondering if this may be possible somehow? For example, most of the games I (we) downloaded from this thread come from www.miniclip.com, so the line your be: (http://www.your-forum.com/forums/fla...Flash/gamename) I even tried getting Miniclip's HTML they provide to link to their GameRoom into an html and use Erwin's html, java, text integrator to call the html, but it will display as text inside the board... Any suggestions? |
Quote:
|
Erwin: I perfectly understand your point. However www.miniclip.com do provide an area where you "get" an html code that you place in your site as Game Room. So literally allo you to do it.
What is strange is that I placed the html code they provided in an html file locally in my forums folder, and called it using your HTML, Java, TXT integration file, but it doesn't work either... I do have another host of 5Gb of space and 30Gb bandwith with just one small site... I would have no problem on palcing there my games and some other files, I can "call" with that function. |
Donkey Kong
New Flash Game that can be used with Flash Player. To play: 1) Install Flash Player 2) Upload DonkeyKong.swf to your forum directory 3) Use this URL: http://www.your-forum.com/forums/flash.php?play=DonkeyKong Enjoy! |
What are the controls for that game? I can't get Mario to move.
|
OK Guys... Here's a good question...
I had my forum on a domainB and another domainA parked to domain B Today I got rid of domainB and everything points to domainA except I redirected index.html to domainA/forum/index.php, changed the URL under control panel, etc. Now, my games will not load... does my changes may have anything to do? |
Check that the forum URL in your Admin CP vBulletin Options is pointing at your forum directory.
|
Quote:
I was thinking that since Im redirecting thr index.html to www.domain/forum/index.php maybe the flash.php recognizes it as www.domain/forum/forum/flash.php? |
Possibly.
Go to the "Flash" template, and change the TWO occurences of $bburl to your whole site's URL. |
Quote:
|
Quote:
there is no "tetris" template, I have 2 templates that I made, and there is no ../tetris.swf link in either of them Did you mean the "flash" template? if you didnt then I am totaly lost and need help |
Quote:
|
Erwin:
I tried that but still doesn't work... What would be the way I should use if I want to redirect index.html to my forums index.php? I mean.. I have no index.html under my public_html folder... so under .htaccess I wrote: Redirect permanent /index.html http://www.mydomain.com/forums/index.php it works...but now my games page doesn't work, as described previously. It seems the redirect (or the way it's being redirected) is the problem(?) I know there are other ways to redirect, but don't know which to use. :disappointed: |
Quote:
Your problem has been dealt with many times in this thread by myself - read through the more recent posts. Some tips: Make sure you have uploaded the tetris.swf file into your forum directory. Make sure your URL is using the exact case of the file name without the .swf part Make sure you have not modified the flash template. Make sure the URL to your forum directory us correct in your Admin CP vB Options. |
Quote:
|
Erwin: Everything is exaclty the same as besfore, except my domain name is now another one... (I replaced the info on VB and everything works except the games)
Remember now I have a redirect of index.html to http://www.mydomain.com/forums/index.php I don't know if this is the best way to do it... this seems to be the cause, since I can perfectly play the games in my local testboard. |
Redirecting index.html to index.php has no effect on the flash.php or flash templates, so I don't know what the problem you have is. Did you upload the games to your forum directory? Are you using the correct filenames?
|
In the two $bburl instances, I asked you once how to "call" the games from another folder under forums....
It reads $bburl/games/$play.swf |
Change that to:
http://www.mydomain.com/forums/games/$play.swf (didn't I say that - to hardcode your forum URL?) |
Erwin: The only different thing I did to my site besides changing the domain, was CHModed some files and folders to use (edit, etc) with your VBFTP hack...
In fact I chModed those to 777 except games, but games folder and forum folder are 777. Does this has anything to do with it? |
CHMOD would make no difference. It's probably something simple stopping you, like the wrong filename case...
|
Erwin:
What is strange is I can "play" the games locally...but online...it will show a blank space where the game is suppose to be shown. I even replaced the flash.php and templates with the ones locally and still nothing shows. I placed the games under forum folder instead of games folder, edited the 2 instances, and still not works. I have read and compared the origianl file I downloaded from this thread. even tried using $bburl in lower and caps. |
uhh when it says link to this url what does that meen? does it meen take the modified url to fit ur forum's address and put it in the forumhome template? or what? i dont get it... ive uploaded the tetris.swf and flash.php and created the templates but now what do i do in the linking part?
|
Read the instructions in the text file, or in the first post carefully.
|
i did i just dont get what i did wrong
|
wait the instructions says it is a public domain game... does that mean i have to have a domain? cuz my url is http://ensim.ionhosting.com/~admin71/forum
|
bump please.:) what i did when it said link to this url i went into forum home template and put the link it said http://ensim.ionhosting.com/~admin71...hp?play=tetris and thats it.. but only that TEXT appeared on my forumhome
|
Don't use absolute paths.
Use your sites URL. What is your site's address? The one in your profile is offline. |
i dont have a site i only got a forum, but if thats what u mean that url is http://ensim.ionhosting.com/~admin71/forum
|
All times are GMT. The time now is 11:39 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|