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)

Julio 11-09-2002 03:32 PM

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.

Erwin 11-09-2002 07:25 PM

In the "flash" template, find the TWO occurrences of

Code:

$bburl/$play.swf
And change it to:

Code:

$bburl/games/$play.swf
Or whatever you want it to be.

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.

Julio 11-13-2002 04:51 AM

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"?

Erwin 11-13-2002 05:08 AM

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.

Julio 11-13-2002 05:32 AM

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"
 width=$w height=$h>
 <PARAM NAME=movie VALUE="$bburl/juegos/$play.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE="$b">  <EMBED src="$bburl/juegos/$play.swf" quality=high width=$w height=$h bgcolor="$b"  TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>
</OBJECT></center>


Aligment is centered, though Vertical Aligment shows as bottom.

Erwin 11-13-2002 05:45 AM

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.

Julio 11-13-2002 06:12 AM

OK, forced it under the html...

Will get some sleep now

Erwin 11-13-2002 06:28 AM

LOL! Glad to hear it worked. Go to bed! :)

Sanni 11-13-2002 11:01 AM

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...

Erwin 11-13-2002 06:16 PM

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.


All times are GMT. The time now is 01:27 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.02321 seconds
  • Memory Usage 1,731KB
  • 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
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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