Now my prom is when I use the normal url I see the module perfect but when I try and use the taped url sitemap.html I get the following message:
Quote:
Sorry, such file doesn't exist...
This module is just one file I cant figure it out:
The code is the following for the module:
Code:
<?php
/************************************************************************/
/* Nuke Site Map v1.0 */
/* PHP-Nuke GSite Map Module for PHP-Nuke */
/* Copyright(c)2005 by Amjad Jehad Abo ElQomssan(Amjadsite@hotmail.com ) */
/* http://www.abojehad.cjb.net */
/* -------------------------------------------------------------------- */
/* 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. */
/* -------------------------------------------------------------------- */
/* DO NOT CHANGE anything below if you don't know what you are doing */
/* No editing should be nessesary anyway... */
/************************************************************************/
/* موديول خريطة الموقع لمجلة النيوك الإصدار 1.0 */
/* الحقوق محفوظة لـ أبو جهاد عام 2005م */
/* لا تقم بالتعديل على الأسطر التالية إلا إذا كنت تعرف ما الذي تفعله */
/* AmjadSite@hotmail.com */
/* الموديول مجاني. بإمكان أي إنسان نشره وتوزيعه والتعديل عليه بما يناسبه */
/* ما دمت لن تزيل حقوقي لأني خصيم من يفعل ذلك يوم الدين */
/* ولا أريد منكم إلا الدعاء لي ولوالدي وأهلي */
/* بإمكانك الحصول عليه من نادي النيوك العربي */
/* http://www.arabnc.com */
/************************************************************************/
/**********************************************************************/
/* Module Title: Site Map 1.0 */
/* */
/* Description: I was written this module for php - nuke. */
/* This module will help web site visitors */
/* to know web site contents or */
/* to hit web site contents easily. */
/* site map will generates a list ofactive modules */
/* links from your web site. */
/* */
/* Base Version: site_map.php; Monday, August 9, 2005 */
/* */
/* Author: amjad Jehad Abu ElQomssan */
/* (amjadsite@hotmail.com) */
/* http://www.abojehad.cjb.net */
/* Preview and download at http://www.arabnc.com */
/* Arab Nuke Club */
/* */
/**********************************************************************/
if (!defined('MODULE_FILE')) {
die ("You can't access this file directly...");
}
echo "<img src ='modules/$module_name/images/01.gif'> <a href='".$nukeurl."'>"._HOME."</a></li><br>";
$result = mysql_query("SELECT title, custom_title, active FROM ".$prefix."_modules WHERE active='1' ORDER BY custom_title");
while($row = mysql_fetch_assoc($result))
{
echo "<img src ='modules/$module_name/images/01.gif'> <a href='modules.php?name=".$row["title"]."'>".$row["custom_title"]."</a></li><br>";
if ($row["title"] == 'Sections' )
{
$result1 = mysql_query("SELECT secid, secname FROM ".$prefix."_sections ORDER BY secid");
while($row1 = mysql_fetch_assoc($result1))
echo " <img src ='modules/$module_name/images/02.gif'> <a href='sections.html&op=listarticles&secid=".$row1["secid"]."'>".$row1["secname"]."</a></li><br>";
}
if ($row["title"] == 'Topics' )
{
$result2 = mysql_query("SELECT topicid, topicname FROM ".$prefix."_topics ORDER BY topicid");
while($row2 = mysql_fetch_assoc($result2))
echo " <img src ='modules/$module_name/images/02.gif'> <a href='article-topic-.html".$row2["topicid"]."'>".$row2["topicname"]."</a></li><br>";
}
if ($row["title"] == 'Forums' )
{
$result3 = mysql_query("SELECT cat_id, cat_title FROM ".$prefix."_bbcategories ORDER BY cat_id");
while($row3 = mysql_fetch_assoc($result3))
echo " <img src ='modules/$module_name/images/02.gif'> <a href='modules.php?name=Forums&file=index&c=".$row3["cat_id"]."'>".$row3["cat_title"]."</a>"."</li><br>";
}
if ($row["title"] == 'Downloads' )
{
$result4 = mysql_query("SELECT cid, title FROM ".$prefix."_Downloads_categories where parentid=0 ORDER BY cid");
while($row4 = mysql_fetch_assoc($result4))
echo " <img src ='modules/$module_name/images/02.gif'> <a href='modules.php?name=Downloads&d_op=viewdownload&cid=".$row4["cid"]."'>".$row4["title"]."</a></li><br>";
}
if ($row["title"] == 'Web_Links' )
{
$result5 = mysql_query("SELECT cid, title FROM ".$prefix."_links_categories where parentid=0 ORDER BY cid");
while($row5 = mysql_fetch_assoc($result5))
echo " <img src ='modules/$module_name/images/02.gif'> <a href='links.html&d_op=viewWeb_Links&cid=".$row5["cid"]."'>".$row5["title"]."</a></li><br>";
}
}
CloseTable();
include("footer.php");
?>
I am usings Raven's version of 7.6 In a linux box everyhting inmy site works perfect with GT's Googletap exept this module any advice would be inmensly helpfull.
Thanks
astalavistabd Captain
Joined: Dec 19, 2004
Posts: 663
Location: Canada
Posted:
Fri Dec 09, 2005 2:10 pm
You have to write the exact module name in the google tap file, like this :
I found a new sitemap module for phpnuke, check it out. May be you will like it. It's easy and it will show more content of your site. Site Map Module For PHP-Nuke
I know this is an old post but I just went and downloaded that file that you were talking about and I can't seem to get it working right. I uploaded everything but all I see now are blank pages when trying to click on site map module or the one in the admin panel.
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