vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   bored.com embed games (https://vborg.vbsupport.ru/showthread.php?t=228241)

guncanada 11-17-2009 09:50 PM

bored.com embed games
 
Ok..how would i do this. embed one of the games into a thread on my site. I just want to have a thread that is closed, but users can go an play these games. The codes are there from bored.com, i just dont get how to make them work...anyone.?
Code:

                                <!-- Begin Bored.com Embed Code -->

<object width="650" height="500">
<param name="movie" value="http://static.bored.com//games/swf/games_1222969297_causalitycausality.swf"></param>
<param name="allowFullScreen" value="true"></param>
<param name="allowscriptaccess" value="always"></param>
<embed src="http://static.bored.com//games/swf/games_1222969297_causalitycausality.swf" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="650" height="500"></embed>
</object>[/PHP]
<-- End Bored.com Embed Code -->


kh99 11-18-2009 02:15 AM

I think it will work if you "Allow HTML" for a forum. I guess you could create a forum allowing HTML and close it after you create your threads. It seems like maybe you'd want one game per thread anyway, otherwise wouldn't the user have multiple games running at a time?

guncanada 11-18-2009 09:46 PM

i tried that first, its excactly what i thought, but id didnt work, just got the red X in the corner....i dunno.....i wish i uderstood this stuff, I have read until my eyes are bleeding and I still cant figure it out...

kh99 11-18-2009 10:07 PM

That's strange - it works for me, I either see the game or the code depending on whether or not "Allow HTML" is on for the forum. I think maybe a red 'X' means it couldn't load the file? Do you have something like Tamper Data for Firefox, where you can look at the requests? Maybe it will tell you why it's failing.


All times are GMT. The time now is 07:07 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.01565 seconds
  • Memory Usage 1,711KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete