Module not showing up in list!

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Module not showing up in list!
planetgamer
CZ Active Member
planetgamer has been a member for over 19 year's 19 Year Member
Age: 54
Website:
Status: Offline
Joined: May 26, 2004
0.02 posts per day
Posts: 179
Points: 28,076
AIM Address   
I just did like 5 modules in the codewiz i fram it allways shows up but for some reason its not now i have no clue why i use the CZModules Block Version: V4. Its not showing up in inactive modules icon_sad.gif whats going on i did the iframe right to icon_sad.gif. Hers the index.php of the module

<?php

/********************************************************************/
/*  Iframe Addon 1.6                                                */
/*                                                                  */
/*    Copyright (c) 2002 by Francisco Burzi                         */                           
/*    http://phpnuke.org                                            */
/*                                                                  */
/*    php Iframe Addon 1.6 - Copyright (c) 2002-2004 by Telli       */
/*    Updated 4-03-04                                               */
/*    http://codezwiz.com                                           */
/*    if you need any help http://codezwiz.com/forums.html          */
/********************************************************************/

if (!eregi("modules.php", $PHP_SELF)) {
   die ("You can't access this file directly...");
    }
   
///////////////////////////////////////////////
$index = 1; // 0 right side off
$height = 600;
$iframescreen = 'www.planet-gamer.com/doom3cheats.html'; // Must be [ Register or login to view links on this board. ]
///////////////////////////////////////////////

include("header.php");
$iframe_block = "
<iframe border=\"0\" src=\"http://$iframescreen\" width=\"100%\" height=\"$height\">
</iframe>";
if ($opi != "ds") {
      opentable();
   echo "$iframe_block";
      closetable();
   }
    include("footer.php");
?>




_________________
Back to top Reply with quote
#2   re: Module not showing up in list wtf !
planetgamer
CZ Active Member
planetgamer has been a member for over 19 year's 19 Year Member
Age: 54
Website:
Status: Offline
Joined: May 26, 2004
0.02 posts per day
Posts: 179
Points: 28,076
AIM Address   
I cant just stick a html in a folder it wont show up i dont no whats wrong icon_sad.gif i need a ifram one so it shows in the middle i hope i can get it to work i spent time on thease..




_________________
Back to top Reply with quote
#3   re: Module not showing up in list wtf !
planetgamer
CZ Active Member
planetgamer has been a member for over 19 year's 19 Year Member
Age: 54
Website:
Status: Offline
Joined: May 26, 2004
0.02 posts per day
Posts: 179
Points: 28,076
AIM Address   
convert it into a module ??????????? !!!!!!!!!!!!!!!! I dont no how to. Normally this works thats why im posting i dont wont to re do the whole page. When i put it in it dont show as a module i dont no wtf is happening.




_________________
Back to top Reply with quote
#4   re: Module not showing up in list!
Taut
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
Taut has been a member for over 20 year's 20 Year Member
usa.gif california.gif
Occupation: Entrepreneur
Gender: Female
Fav. Sports Team: SF Giants
Status: Offline
Joined: May 27, 2003
0.72 posts per day
Posts: 5530
Points: 481,695
   
first off, your link is wrong

you have

$iframescreen = 'www.planet-gamer.com/doom3cheats.html';


change that to

$iframescreen = 'www.planet-gamer.com/doom3cheats.html/';//


and please, no cussing in the forums whether it be in acronyms or in plain text


Back to top Reply with quote
#5   re: Module not showing up in list!
planetgamer
CZ Active Member
planetgamer has been a member for over 19 year's 19 Year Member
Age: 54
Website:
Status: Offline
Joined: May 26, 2004
0.02 posts per day
Posts: 179
Points: 28,076
AIM Address   
Im sorry i just spend alot of time doing this and it fells so bad when it dont work then im tired and trying to hurry this up and it does that then i fell im going out of my mind when i see posts and then 2 min latter there gone some one must be deleteing them or something i dont no i will try to see if that worked.




_________________
Back to top Reply with quote
#6   re: Module not showing up in list!
Taut
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
Taut has been a member for over 20 year's 20 Year Member
usa.gif california.gif
Occupation: Entrepreneur
Gender: Female
Fav. Sports Team: SF Giants
Status: Offline
Joined: May 27, 2003
0.72 posts per day
Posts: 5530
Points: 481,695
   
yeah for a while there when I was answering your post it looked like you were talking to yourself...always remember...haste makes waste! If you hurry things up more than likely there will be errors in what you are doing



Back to top Reply with quote
#7   re: Module not showing up in list!
planetgamer
CZ Active Member
planetgamer has been a member for over 19 year's 19 Year Member
Age: 54
Website:
Status: Offline
Joined: May 26, 2004
0.02 posts per day
Posts: 179
Points: 28,076
AIM Address   
still dont work i dont get this i did plenty of thease before now it dont work icon_sad.gif I just took out a module renamed it put it back in and it dont show up either it must be something wrong with the CZModules or something.




_________________
Back to top Reply with quote
#8   re: Module not showing up in list!
Taut
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
Taut has been a member for over 20 year's 20 Year Member
usa.gif california.gif
Occupation: Entrepreneur
Gender: Female
Fav. Sports Team: SF Giants
Status: Offline
Joined: May 27, 2003
0.72 posts per day
Posts: 5530
Points: 481,695
   
are you running Nuke 7.5? If so, you need to alter your tables. read the following topic first


[ Register or login to view links on this board. ]



Back to top Reply with quote
#9   re: Module not showing up in list!
planetgamer
CZ Active Member
planetgamer has been a member for over 19 year's 19 Year Member
Age: 54
Website:
Status: Offline
Joined: May 26, 2004
0.02 posts per day
Posts: 179
Points: 28,076
AIM Address   
That would do it but i dont have that code in there if its the root modules.php i dont have the code i have

<?php

/************************************************************************/
/* PHP-NUKE: Advanced Content Management System                         */
/* ============================================                         */
/*                                                                      */
/* Copyright (c) 2002 by Francisco Burzi                                */
/* http://phpnuke.org                                                   */
/*                                                                      */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License.       */
/*                                                                      */
/************************************************************************/
/* Additional security checking code 2003 by chatserv                   */
/* http://www.nukefixes.com -- http://www.nukeresources.com             */
/************************************************************************/

require_once("mainfile.php");
$module = 1;

    $name = trim($name);
if (isset($name)) {
if (eregi("http\:\/\/", $name)) {
   die("Hi&nbsp;and&nbsp;Bye");
    }
    global $nukeuser, $db, $prefix;
    $user = addslashes($user);
    $nukeuser = base64_decode($user);
    $result = $db->sql_query("SELECT active, view FROM ".$prefix."_modules WHERE title='$name'");
    $row = $db->sql_fetchrow($result);
    $mod_active = intval($row['active']);
    $view = intval($row['view']);
    if (($mod_active == 1) OR ($mod_active == 0 AND is_admin($admin))) {
      if (!isset($mop)) { $mop="modload"; }
      if (!isset($file)) { $file="index"; }
      if (ereg("\.\.",$name) || ereg("\.\.",$file) || ereg("\.\.",$mop)) {
          echo "You are so cool...";
      } else {
          $ThemeSel = get_theme();
       if (file_exists("themes/$ThemeSel/modules/$name/".$file.".php")) {
            $modpath = "themes/$ThemeSel/";
          } else {
            $modpath = "";
          }
          if ($view == 0) {
      $modpath .= "modules/$name/".$file.".php";
             if (file_exists($modpath)) {
                include($modpath);
             } else {
                die ("Sorry, such file doesn't exist...");
          }
            } else if ($view == 1 AND (is_user($user) OR is_group($user, $name)) OR is_admin($admin)) {
      $modpath .= "modules/$name/".$file.".php";
             if (file_exists($modpath)) {
                include($modpath);
             } else {
                die ("Sorry, such file doesn't exist...");
            }
          } elseif ($view == 1 AND !is_user($user) AND !is_admin($admin)) {
            $pagetitle = "- "._ACCESSDENIED."";
            include("header.php");
            title("$sitename: "._ACCESSDENIED."");
            OpenTable();
            echo "<center><b>"._RESTRICTEDAREA."</b><br><br>"
                .""._MODULEUSERS."";
      $result2 = $db->sql_query("SELECT mod_group FROM ".$prefix."_modules WHERE title='$name'");
      $row2 = $db->sql_fetchrow($result2);
       if ($row2[mod_group] != 0) {
      $result3 = $db->sql_query("SELECT name FROM ".$prefix."_groups WHERE id='$row2[mod_group]'");
      $row3 = $db->sql_fetchrow($result3);
      echo ""._ADDITIONALYGRP.": <b>$row3[name]</b><br><br>";
            }
            echo ""._GOBACK."";
            CloseTable();
            include("footer.php");
            die();
            } else if ($view == 2 AND is_admin($admin)) {
      $modpath .= "modules/$name/".$file.".php";
             if (file_exists($modpath)) {
                include($modpath);
             } else {
                die ("Sorry, such file doesn't exist...");
            }
          } elseif ($view == 2 AND !is_admin($admin)) {
            $pagetitle = "- "._ACCESSDENIED."";
            include("header.php");
            title("$sitename: "._ACCESSDENIED."");
            OpenTable();
            echo "<center><b>"._RESTRICTEDAREA."</b><br><br>"
                .""._MODULESADMINS.""
                .""._GOBACK."";
            CloseTable();
            include("footer.php");
            die();
            } else if ($view == 3 AND paid()) {
            $modpath .= "modules/$name/$file.php";
             if (file_exists($modpath)) {
                include($modpath);
             } else {
                die ("Sorry, such file doesn't exist...");
            }
          } else {
            $pagetitle = "- "._ACCESSDENIED."";
            include("header.php");
            title("$sitename: "._ACCESSDENIED."");
            OpenTable();
            echo "<center><b>"._RESTRICTEDAREA."</b><br><br>"
                .""._MODULESSUBSCRIBER."";
            if ($subscription_url != "") {
               echo "<br>"._SUBHERE."";
            }
            echo "<br><br>"._GOBACK."";
            CloseTable();
            include("footer.php");
            die();
          }
      }
    } else {
      include("header.php");
      OpenTable();
      echo "<center>"._MODULENOTACTIVE."<br><br>"
          .""._GOBACK."</center>";
      CloseTable();
      include("footer.php");
    }
} else {
    die ("Sorry, you can't access this file directly...");
}

?>




_________________
Back to top Reply with quote
#10   re: Module not showing up in list!
Taut
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
Taut has been a member for over 20 year's 20 Year Member
usa.gif california.gif
Occupation: Entrepreneur
Gender: Female
Fav. Sports Team: SF Giants
Status: Offline
Joined: May 27, 2003
0.72 posts per day
Posts: 5530
Points: 481,695
   
did you just recently upgrade to 7.5 from a previous version? 7.5 has a diff table structure and the admin>modules.php file should have been edited. That's the only reason I know why it wouldn't show up all of a sudden when it used ot work just fine before in a diff version of Nuke



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
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 cannot attach files in this forum
You cannot download files in this forum