vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Flash based clan stats (https://vborg.vbsupport.ru/showthread.php?t=126699)

Jericho2004 09-15-2006 02:22 PM

Flash based clan stats
 
I have a simple flash module that gets clan stats from bf2tracker.com. I want to add it to a separate page in vba. I have tried doing this, but all I get is the flash file showing up and not the data it is supposed to pull. It works as a stand alone at http://www.gamingregime.com/ranks/ranks.php

I was hoping to integrate this into vba. Does anyone know how to do this?

Thanks.

Here is the code from the ranks.php file:

<?php
#### Start Of Automatic clanprofile.xml creation - Dont Delete This Lines ####

$online_xml = file_get_contents("http://www.bf2tracker.com/livefeed/xml_clanprofile.php?clanid=8537");
$offline_xml = fopen("/var/path-to-my-site/ranks/clanprofile.xml", wb);
fwrite($offline_xml, $online_xml);

#### End Of Automatic clanprofile.xml creation ####
#### Remember to CHMOD the folder ranks to 777 so the xml can be created automatic and updated ####
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>

<body>
<div align="center">
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','766','heigh t','660','src','bf2.stats','quality','high','plugi nspage','http://www.macromedia.com/go/getflashplayer','movie','bf2.stats' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="766" height="660">
<param name="movie" value="bf2.stats.swf" />
<param name="quality" value="high" />
<embed src="bf2.stats.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="766" height="660"></embed>
</object>
</noscript></div>
</body>
</html>

dooch 09-20-2006 08:16 PM

This is very cool, any chance of sharing the flash file? PLEASE!


All times are GMT. The time now is 01:15 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.00988 seconds
  • Memory Usage 1,712KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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