PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
washbucket
Hangin' Around


Joined: Jul 17, 2007
Posts: 39
Location: colorado

PostPosted: Sun Jan 13, 2008 3:23 pm Reply with quote Back to top

Hi! I am currently purchased crazy talk from iclone
Only registered users can see links on this board!
Get registered or login to the forums!
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
View user's profile Send private message Send e-mail Visit poster's website
Gremmie
Former Moderator in Good Standing


Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Sun Jan 13, 2008 3:37 pm Reply with quote Back to top

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.
View user's profile Send private message
washbucket
Hangin' Around


Joined: Jul 17, 2007
Posts: 39
Location: colorado

PostPosted: Mon Jan 14, 2008 6:46 pm Reply with quote Back to top

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
View user's profile Send private message Send e-mail Visit poster's website
Gremmie
Former Moderator in Good Standing


Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Mon Jan 14, 2008 8:44 pm Reply with quote Back to top

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?
View user's profile Send private message
washbucket
Hangin' Around


Joined: Jul 17, 2007
Posts: 39
Location: colorado

PostPosted: Mon Jan 14, 2008 9:00 pm Reply with quote Back to top

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
View user's profile Send private message Send e-mail Visit poster's website
Gremmie
Former Moderator in Good Standing


Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Mon Jan 14, 2008 9:10 pm Reply with quote Back to top

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.
View user's profile Send private message
washbucket
Hangin' Around


Joined: Jul 17, 2007
Posts: 39
Location: colorado

PostPosted: Mon Jan 14, 2008 9:21 pm Reply with quote Back to top

k thanks
View user's profile Send private message Send e-mail Visit poster's website
washbucket
Hangin' Around


Joined: Jul 17, 2007
Posts: 39
Location: colorado

PostPosted: Tue Jan 15, 2008 11:08 am Reply with quote Back to top

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.
View user's profile Send private message Send e-mail Visit poster's website
Gremmie
Former Moderator in Good Standing


Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Tue Jan 15, 2008 1:13 pm Reply with quote Back to top

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;
?>
View user's profile Send private message
washbucket
Hangin' Around


Joined: Jul 17, 2007
Posts: 39
Location: colorado

PostPosted: Tue Jan 15, 2008 3:55 pm Reply with quote Back to top

thanks that works
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum