Author |
Message |
washbucket
Hangin' Around

Joined: Jul 17, 2007
Posts: 39
Location: colorado
|
Posted:
Sun Jan 13, 2008 3:23 pm |
|
Hi! I am currently purchased crazy talk from iclone http://www.reallusion.com/crazytalk/default.asp and I tried everything to get it to work inside a php block with no luck it uses html I was wondering if I could email you the folder with the exported codes that it produced let you take a look at it. thanks |
|
|
|
 |
Gremmie
Former Moderator in Good Standing

Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA
|
Posted:
Sun Jan 13, 2008 3:37 pm |
|
So they give you some HTML or flash code and you just need to put that in a block?
You could try pasting that into a content block, or make a file block.
Here is an example file block:
Code:
<?php
if ( !defined('BLOCK_FILE') ) {
Header('Location: ../index.php');
die();
}
$content = <<<END_CONTENT
(put all your HTML/flash code here)
END_CONTENT;
?>
|
Name this file block-Something.php and upload to your blocks directory. Activate it in the admin panel. |
_________________ Only registered users can see links on this board! Get registered or login! - An Event Calendar for PHP-Nuke
Only registered users can see links on this board! Get registered or login! - A Google Maps Nuke Module |
|
|
 |
washbucket

|
Posted:
Mon Jan 14, 2008 6:46 pm |
|
Hi again! thanks for the help but it didn't work here is my code to the block:
<!-- saved from url=(0014)about:internet -->
<HTML>
<HEAD>
<TITLE>CrazyTalk
</TITLE>
</HEAD><BODY>
<div style="position: absolute; left:300; top:400;">
<OBJECT ID="CrazyTalkIE"
CLASSID = "CLSID:13149882-f480-4f6b-8c6a-0764f75b99ed"
codebase="http://plug-in.reallusion.com/CrazyTalk4.cab#version=4,5,410,1"
Width =300
height=300>
<PARAM Name="ModelName" Value="greeter.ctm">
<PARAM Name="ScriptName" Value="greeter.cts">
<PARAM Name="ControlStyle" Value="1">
<PARAM Name="BorderStyle" Value="0">
<PARAM Name="MenuStyle" Value="0">
<PARAM Name="AutoPlay" Value="0">
<embed type="application/RLCT4Player-plugin" width=300 height=300
pluginspage="http://thesnipersquad.com/snipers/greeter/greeter.html"
NAME="CrazyTalkNetscape"
BorderStyle="0"
ControlStyle="1"
ModelName="greeter.ctm"
ScriptName="greeter.cts"
AutoPlay="0"
MenuStyle="0">
</embed>
</OBJECT>
</div>
<br>
<script type="text/javascript">
if (navigator.appName=="Netscape")
{
var CrazyTalk = CrazyTalkNetscape;
}
else
{
var CrazyTalk = CrazyTalkIE;
}
</script>
</BODY>
</HTML>
the link works, but I cannot make it work in a block, could you please take a look at it maybe there is something I need to remove, and is there a script that will start up this file with out having a link to it so when the website starts up it's there too running in a block. thanks |
|
|
|
 |
Gremmie

|
Posted:
Mon Jan 14, 2008 8:44 pm |
|
Well if that code works as a stand-alone web page, it should work as a block. You'll have to remove the HTML, HEAD, TITLE, etc tags and just strip out the body part and assign it to content as shown above.
Or copy the body part into a content block.
Why do you say it didn't work? What did it do? What version of Nuke are you using? |
|
|
|
 |
washbucket

|
Posted:
Mon Jan 14, 2008 9:00 pm |
|
I'm using 7.9 nuke I'll take the HTML,HEAD,TITLE out and see if that takes care of the problem, I was getting a error message before when I tried to run it, so let see how it works now. thanks |
|
|
|
 |
Gremmie

|
Posted:
Mon Jan 14, 2008 9:10 pm |
|
If you are using 7.9, then disable the WYSIWYG editor before trying to make a content block. A file block should work either way though. |
|
|
|
 |
washbucket

|
Posted:
Mon Jan 14, 2008 9:21 pm |
|
|
|
 |
washbucket

|
Posted:
Tue Jan 15, 2008 11:08 am |
|
I think I know the problem the block has to have a script to execute the html located in the folder and contain the results to the content here is a example of the last one ya help me out with
<?php
#### Generated by Block Creator by Disipal Site (www.disipal.net) ###
if (eregi("block-Block_Creator.php",$PHP_SELF)) {
Header("Location: index.php");
die();
}
$content = "<script language=\"JavaScript\" src=\"http://ugt-servers.com/server_status.php?id=dHgyLnVndC1zZXJ2ZXJzLmNvbTo3NjYy&style=RkZGRkZGLDEyLDIwMjEyNSww\"></script>";
?>
I email ya the folder last time then ya email me back with the results, also in the html folder is a script and a character which is activated by the html. sound confusing I know, oh by the way this was a ventrilo ya help me confine in a block. thanks again for the support, Can I just email you the folder so you can see all the workings that not show. should be simple for you once you look at it. |
|
|
|
 |
Gremmie

|
Posted:
Tue Jan 15, 2008 1:13 pm |
|
Did you try this? (Note: this assumes you are running a patched Nuke, otherwise you'll have to change the if !defined with an if eregi)
Code:
<?php
$content = <<<END_CONTENT
<OBJECT ID="CrazyTalkIE"
CLASSID = "CLSID:13149882-f480-4f6b-8c6a-0764f75b99ed"
codebase="http://plug-in.reallusion.com/CrazyTalk4.cab#version=4,5,410,1"
Width =300
height=300>
<PARAM Name="ModelName" Value="greeter.ctm">
<PARAM Name="ScriptName" Value="greeter.cts">
<PARAM Name="ControlStyle" Value="1">
<PARAM Name="BorderStyle" Value="0">
<PARAM Name="MenuStyle" Value="0">
<PARAM Name="AutoPlay" Value="0">
<embed type="application/RLCT4Player-plugin" width=300 height=300
pluginspage="http://thesnipersquad.com/snipers/greeter/greeter.html"
NAME="CrazyTalkNetscape"
BorderStyle="0"
ControlStyle="1"
ModelName="greeter.ctm"
ScriptName="greeter.cts"
AutoPlay="0"
MenuStyle="0">
</embed>
</OBJECT>
</div>
<br>
<script type="text/javascript">
if (navigator.appName=="Netscape")
{
var CrazyTalk = CrazyTalkNetscape;
}
else
{
var CrazyTalk = CrazyTalkIE;
}
</script>
END_CONTENT;
?>
|
|
|
|
|
 |
washbucket

|
Posted:
Tue Jan 15, 2008 3:55 pm |
|
|
|
 |
|