vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vB Flash Player - Play Any Flash Game or Movie - Tetris, Pacman, Frogger, Minesweeper (https://vborg.vbsupport.ru/showthread.php?t=42196)

John 08-16-2002 02:15 PM

I didn't know Erwin was planning a Store version...

Keyser S?ze 08-16-2002 02:42 PM

alright, well i like to go big, so i made a page that allows ppl to select a wide variety of games and movies to play with

tho i am not too bright so i used the error page to do it :p

i set a link on the forum home page to go right to flash.php (where it use to say "u didnt select a game") now it has a list of games with links to them :banana:

can anyone think of a better way as sometimes that gives me a error when leaving

basically i just want a good way for ppl to see a assortment of stuff all on one page,

ipscone 08-16-2002 08:50 PM

So what causes this problem

I've installed the flashplayer11 and it almost works. The problem occurs when I try to go back to my vBportal. I get the login screen, when I try to return. But it shows that I'm logged in and I can click Home again and get to home.

What causes this? How do I prevent this intermediate login screen?

My Forums

Click "Flashman" in the Main Menu, then click "Home" at the top and see the problem.

Since the Flash does not show up unless you are logged in you can use "test" as the login and "12345" as the password (temporarily).

Sidenote:
I also want to have a menu selection, similar to "Topics" in the Main Menu that will take me to a page where I can select the games. I have copied Topics.php to Games.php and took out the mysql stuff and have the problem there also.

Keyser S?ze 08-17-2002 12:39 AM

at my forums i have it set so guests can use the flash games/movies

i dont want alot of ppl signing up and never posting, just to play, too many dead members

anyways, real problem, i have alot of games that need a black BG to see what it is, so can i set it so in the flash section its always black?

also is there a way to force the flash into a certain highth/width?

DanIAm 08-18-2002 04:21 AM

I have two wierd problems I would like to bring up for help.

1.) When loading any .SWF file using this hack to play a game for example my top options such as profile, register, calender, etc all load with the cinsistant exception of the search. I can click reload and still it does not load. It does not do this anywhere else in the site, and when I take the time out to right click the red X and click show picture, then it does load. If I was to reload the page again, it's back to the red X (see pic)

https://vborg.vbsupport.ru/

2.) When I click on the temp link which I temp placed in the footer section with the link title 'flashman'. I see my main pic/logo which normally resides on the top of the site page, and I see THE profile tab which normally resides on the top as if it was trying to load on the bottom too. It did not complete, this is as far as it got and it does this everytime I try to play flashman... WHY? (see pic)

https://vborg.vbsupport.ru/

Erwin 08-18-2002 08:43 AM

Quote:

Originally posted by john.eovie
I didn't know Erwin was planning a Store version...
I'm not. I don't have Lesane's store hack installed, and don't plan to install it. If I do make a points hack addon, it would be with Shinra's Point hack.

Erwin 08-18-2002 08:55 AM

Quote:

Originally posted by ipscone
[B]So what causes this problem

I've installed the flashplayer11 and it almost works. The problem occurs when I try to go back to my vBportal. I get the login screen, when I try to return. But it shows that I'm logged in and I can click Home again and get to home.

What causes this? How do I prevent this intermediate login screen?

My Forums

Click "Flashman" in the Main Menu, then click "Home" at the top and see the problem.

Since the Flash does not show up unless you are logged in you can use "test" as the login and "12345" as the password (temporarily).
I tested the game "Pacman/ Flashman" at your forums using that test account, and it worked with no problems. :)

It could be an intermittent cookie problem - Flash can do this sometimes. Just click on REFRESH, and the problem should go away.

Erwin 08-18-2002 09:01 AM

Quote:

Originally posted by IceMalee
at my forums i have it set so guests can use the flash games/movies

i dont want alot of ppl signing up and never posting, just to play, too many dead members

anyways, real problem, i have alot of games that need a black BG to see what it is, so can i set it so in the flash section its always black?

Easy fix.

The default at the moment is that the Flash Player page uses your page background color as default. To change this:

In the "flash" template:

Find (remove the space inside the {} tags) :

Code:


VALUE={ pagebgcolor}

Replace with:

Code:


VALUE=#000000

THEN, find (remove the space inside the {} tags) :

Code:


bgcolor={ pagebgcolor}

Replace with:

Code:


bgcolor=#000000

Quote:


also is there a way to force the flash into a certain highth/width?

You can adjust the height and width using the parameters already for each game you like.

Default is 600 x 400.

To change the height and width, add

&w=1024&h=768

to the end of the URL, the numbers being the width and height you want. Read the first post for examples.

Erwin 08-18-2002 09:04 AM

Quote:

Originally posted by DanIAm
I have two wierd problems I would like to bring up for help.

1.) When loading any .SWF file using this hack to play a game for example my top options such as profile, register, calender, etc all load with the cinsistant exception of the search. I can click reload and still it does not load. It does not do this anywhere else in the site, and when I take the time out to right click the red X and click show picture, then it does load. If I was to reload the page again, it's back to the red X (see pic)

http://www.mentalmingle.com/images/unloadedregister.jpg

That happens on occasions. For some reason, the Flash file loading is interfering with your gif file loading. There's nothing you can do about it - it just happens. On my site, this problem is intermittent.

I suggest maybe to rename you search.gif file and see if that helps.

Quote:


2.) When I click on the temp link which I temp placed in the footer section with the link title 'flashman'. I see my main pic/logo which normally resides on the top of the site page, and I see THE profile tab which normally resides on the top as if it was trying to load on the bottom too. It did not complete, this is as far as it got and it does this everytime I try to play flashman... WHY? (see pic)

http://www.mentalmingle.com/images/footerprob.jpg

That's weird.

I have no explanation for that to be honest, since the flash template uses your own footer. Take a look at your footer template and make sure that all the tags are closed. Have a look at the flash template too - make sure you copied and paste the WHOLE of the flash template.

It's a strange problem, and looks like HTML tags not being closed.

Erwin 08-18-2002 09:13 AM

This solution here solves the following 2 questions.

Quote:

Originally posted by IceMalee
alright, well i like to go big, so i made a page that allows ppl to select a wide variety of games and movies to play with

tho i am not too bright so i used the error page to do it :p

i set a link on the forum home page to go right to flash.php (where it use to say "u didnt select a game") now it has a list of games with links to them :banana:

can anyone think of a better way as sometimes that gives me a error when leaving

basically i just want a good way for ppl to see a assortment of stuff all on one page,


Quote:


Sidenote:
I also want to have a menu selection, similar to "Topics" in the Main Menu that will take me to a page where I can select the games. I have copied Topics.php to Games.php and took out the mysql stuff and have the problem there also.


Essentially, this are instructions on how to convert the file flash.php into a menu for your games.

So when you link to

http://www.your-forums.com/forums/flash.php

instead of going to the error message, you get a customizable games menu which you set up in your templates.

Thanks to IceMalee for the idea. I have just taken his idea and changed it from an error template to a full template.


Open flash.php

Find:

PHP Code:


        
eval("standarderror(\"".gettemplate("error_flash")."\");"); 

Replace with:

PHP Code:


    
eval("dooutput(\"".gettemplate('flash_menu')."\");"); 

Then go to your Admin CP.

Add a new template:

flash_menu

with these contents:

Code:


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head><title>$bbtitle - Flash menu</title>
$headinclude
</head>
<body>
$header
<!-- breadcrumb -->
<table border="0" width="100%" cellpadding="0" cellspacing="0"><tr>
<td width="100%"><img src="https://vborg.vbsupport.ru/vbimages/vb_bullet.gif" align="absmiddle"> <normalfont><b><a href="index.php?s=$session[sessionhash]">$bbtitle</a> &gt; Flash Menu</b></normalfont></td></tr></table>
<!-- /breadcrumb -->
<br>
<table cellpadding="0" cellspacing="0" border="0" bgcolor="#555576"  width="100%" align="center"><tr><td>
<table cellpadding="4" cellspacing="1" border="0"  width="100%">
<tr>
<td colspan="2" bgcolor="#606096" align="center"><normalfont color="#FFF788"><b>$bbtitle Flash Menu</b></normalfont></td>
</tr>
<tr>
<td bgcolor="#F1F1F1" align="left" valign="top"><normalfont>
<br><br>
<center>
<normalfont>


<a href="flash.php?play=tetris">Play Tetris</a><br>
<a href="samurai.php?play=samurai">Play Samurai Game</a><br>


</normalfont>
</center>
</td>
</tr>
</table>
</td></tr></table>
$footer
</body>
</html>


Just customize the middle section of the template - you can make it a table, or however you like, using HTML.

Find this code in the "flash_menu" template, and customize it all you like:

Code:


<a href="flash.php?play=tetris">Play Tetris</a><br>
<a href="samurai.php?play=samurai">Play Samurai Game</a><br>


Then, just link to:

http://www.your-forums.com/forums/flash.php

To access the Flash menu. I've never tested this, since I don't use a menu system, but it should work. :)

Let me know if it works.

IceMalee, use this rather than your current solution, and it should fix your error issues.


All times are GMT. The time now is 12:40 AM.

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.01576 seconds
  • Memory Usage 1,789KB
  • 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
  • (2)bbcode_php_printable
  • (8)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