This is more of a request than a tutorial...

Discussion in 'Scripts, 3rd Party Apps, and Programming' started by dsfreak, Apr 10, 2005.

Thread Status:
Not open for further replies.
  1. dsfreak

    dsfreak New Member

    Messages:
    1,338
    Likes Received:
    0
    Trophy Points:
    0
    I have a problem wiht PHP Nuke, see it wont let me use javascript, can someone help me out?
     
  2. repusmod

    repusmod New Member

    Messages:
    502
    Likes Received:
    0
    Trophy Points:
    0
    K but where you want to use javascript on main page? block? Add a javascript direclty as a message on phpnuke it is simpossible it will tell you that you have wrong tags or something liek that, but maybe there is a hack which can allow you to post javascript...
     
  3. dsfreak

    dsfreak New Member

    Messages:
    1,338
    Likes Received:
    0
    Trophy Points:
    0
    I want to use it in a block for crafty syntax Live Help
     
  4. repusmod

    repusmod New Member

    Messages:
    502
    Likes Received:
    0
    Trophy Points:
    0
    Post the code, I will see what I can do... :happy:
     
  5. dsfreak

    dsfreak New Member

    Messages:
    1,338
    Likes Received:
    0
    Trophy Points:
    0
    You want the code? Ok hold on let me get it.....


    Here's the code....



    <!-- Powered by: Crafty Syntax Live Help http://www.craftysyntax.com/ -->
    <script language="javascript" src="/cslh/livehelp_js.php?relative=Y&amp;department=1&amp;pingtimes= 60"></script>
    <!-- copyright 2003 - 2005 by Eric Gerdes -->
     
    Last edited by a moderator: Apr 10, 2005
  6. repusmod

    repusmod New Member

    Messages:
    502
    Likes Received:
    0
    Trophy Points:
    0
    OKay here you go I don't know if that goin to work or not but test it

    Code:
    <?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  =  "<!-- Powered by: Crafty Syntax Live Help http://www.craftysyntax.com/ -->";
    $content  .= "script language=\"javascript\" src=\"/cslh/livehelp_js.php?relative=Y&amp;department=1&amp;pingtimes= 60\"></script>";
    $content  .= "!-- copyright 2003 - 2005 by Eric Gerdes -->";
    ?>
    Okay save this code as "block-BlockName.php" upload it to your host and test it..
     
Thread Status:
Not open for further replies.

Share This Page