Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Themes
Author Message
zamice
New Member
New Member



Joined: Apr 24, 2005
Posts: 4

PostPosted: Sun Apr 24, 2005 10:15 am Reply with quote

I've been trying to do this for a week now. We have just started playing matrix online, and instead of switching themes I just want to add a animated matrix code to the background. I've tried everyting I can think of to implement it into theme.php. I'm almost to the point to just settle for an html intro page using the java. This is what I want in the background.
[ Only registered users can see links on this board! Get registered or login! ]

nuke 7.6

Code:
 $to = "$c_contact <$c_email>"; 

      $message = ""._HELLO." $c_contact:\n\n";
      $message .= ""._THISISAUTOMATED."\n\n";
      $message .= ""._THERESULTS."\n\n";
      $message .= ""._TOTALIMPRESSIONS." $imptotal\n";
      $message .= ""._CLICKSRECEIVED." $clicks\n";
      $message .= ""._IMAGEURL." $imageurl\n";
      $message .= ""._CLICKURL." $clickurl\n";
      $message .= ""._ALTERNATETEXT." $alttext\n\n";
      $message .= ""._HOPEYOULIKED."\n\n";
      $message .= ""._THANKSUPPORT."\n\n";
      $message .= "- $sitename "._TEAM."\n";
      $message .= "$nukeurl";
      $subject = "$sitename: "._BANNERSFINNISHED."";
      mail($to, $subject, $message, "From: $from\nX-Mailer: PHP/" . phpversion());
       }
   }
    $showbanners = "<a href=\"banners.php?op=click&bid=$bid\" target=\"_blank\"><img src=\"$imageurl\" border=\"0\" alt='$alttext' title='$alttext'></a>";
    }
}
        cookiedecode($user);
    $username = $cookie[1];
    if ($username == "") {
        $username = "Anonymous";
    }
    echo "<body bgcolor=\"#000000\" text=\"#FFFFCC\" leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">";
   
    if ($username == "Anonymous") {
   $theuser = "&nbsp;&nbsp;<a href=\"account-new_user.html\">Create an account";
    } else {
   $theuser = "&nbsp;&nbsp;Welcome $username!";
    }
       $public_msg = public_message();
    $tmpl_file = "themes/subBlack/header.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    eval($thefile);
    print $r_file;
    blocks(left);
    $tmpl_file = "themes/subBlack/left_center.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    eval($thefile);
    print $r_file;
}
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Sun Apr 24, 2005 10:22 am Reply with quote

Have you followed the instructions on that link? You will need to add their code to the various parts of nuke for it to work.
 
View user's profile Send private message
zamice







PostPosted: Sun Apr 24, 2005 11:26 am Reply with quote

yeah I think actually what I did was place the matrix.js in the root when it should be in theme folder.. I'll look it over again and post the actual code I edit.
 
zamice







PostPosted: Sun Apr 24, 2005 12:31 pm Reply with quote

ok not working for me at all. when you say various parts, you meaning you think it cant be done only in theme.php? Does the style need to call from header.html or something? Editing code is easy for me, adding is a bit different for me. I know you can go
Code:
echo "<body bgcolor=\"#000000\" text=\"#FFFFCC\" leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">";

and also
Code:
echo "<body background="http://www.xxxxx.com/images/xxxxx.gif" bgproperties="fixed" topmargin="10" leftmargin="0" marginwidth="0" marginheight="0">"; 

so do I direct the the html from their instructions around this? or is it going to be more in the nuke root and not theme folder?
 
Raven







PostPosted: Sun Apr 24, 2005 2:22 pm Reply with quote

Follow their instructions means things like when they tell you that something goes in the head tag then you need to add it to either includes/my_header.php or includes/javascript.php, etc.
 
zamice







PostPosted: Tue Apr 26, 2005 12:11 am Reply with quote

worked great from my_header.php, except the code scrolls over the blocks. I think I'll leave it that way and just make the background of the images transparent and slow up the speed a bit. Doesnt work over the index page or a couple of the modules.. but thats cool also, doesnt make it so busy.

thanks.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Themes

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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©