You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 48 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Googletap for sitemap module [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
NeoSys
Nuke Cadet
Nuke Cadet


Joined: Dec 08, 2005
Posts: 1


PostPosted: Thu Dec 08, 2005 5:34 pm Reply with quoteBack to top

Hi thi is really weird and I cant beleive it has me clueless I am trying to tap a really simple module and I cant find what I am doign wrong.

.htacess

I placed the following:

Code:
#site_map
RewriteRule ^sitemap.html modules.php?name=Site_Map


Made GT-site_map.php

Code:
<?php

$urlin = array(
"'(?<!/)modules.php\?name=site_map'"
);

$urlout = array(
"sitemap.html"
);

?>


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...");
}

require_once("mainfile.php");
$module_name = basename(dirname(__FILE__));
get_lang($module_name);

include("header.php");

OpenTable();
echo "<center><font class=\"title\"><b>$sitename<br><br>"._SMAP."</b></font></center>";
CloseTable();

echo "<br>\n\n";
OpenTable();

echo "<img src ='modules/$module_name/images/01.gif'>&nbsp;<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'>&nbsp;<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 "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src ='modules/$module_name/images/02.gif'>&nbsp;<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 "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src ='modules/$module_name/images/02.gif'>&nbsp;<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 "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src ='modules/$module_name/images/02.gif'>&nbsp;<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 "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src ='modules/$module_name/images/02.gif'>&nbsp;<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 "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src ='modules/$module_name/images/02.gif'>&nbsp;<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
Find all posts by NeoSysView user's profileSend private message
astalavistabd
Captain
Captain


Joined: Dec 19, 2004
Posts: 663

Location: Canada

PostPosted: Fri Dec 09, 2005 2:10 pm Reply with quoteBack to top

You have to write the exact module name in the google tap file, like this :

Code:

<?php

$urlin = array(
"'(?<!/)modules.php\?name=Site_Map'"
);

$urlout = array(
"sitemap.html"
);

?>


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

_________________
Free PHPNuke Themes, PHPNuke Modules, PHPNuke Blocks (No Registration Required)
Find all posts by astalavistabdView user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN MessengerICQ Number
TRUFR34K
Nuke Soldier
Nuke Soldier


Joined: Dec 12, 2005
Posts: 25


PostPosted: Mon Jun 19, 2006 6:44 pm Reply with quoteBack to top

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.

Running 7.8.

Can anyone help me out with this??

Thanks!
Find all posts by TRUFR34KView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next 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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.192 Seconds - 321 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::