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, 46 guest(s) and 2 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - GoogleTap Mod-Rewrite [ ]
 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
Mesum
Support Staff
Support Staff


Joined: Mar 11, 2003
Posts: 842

Location: Chicago

PostPosted: Mon Sep 15, 2003 1:19 pm Reply with quoteBack to top

Ok the whole .htaccess file and header.php
.htaccess:

Code:

DirectoryIndex index.php index.cgi index.pl index.shtml index.html

<Limit GET PUT POST>
order allow,deny
allow from all
</Limit>

# deny most common except .php
<FilesMatch "\.(inc|tpl|h|ihtml|sql|ini|conf|class|bin|spd|theme|module|exe)$">
deny from all
</FilesMatch>

#Disable .htaccess viewing from browser
<Files ~ "^\.ht">
    Order allow,deny
    Deny from all
    Satisfy All
</Files>

<Files ~ "\config.php$">
deny from all
</Files>

# change to yoursite.com
ErrorDocument 404 http://www.chicagobase.com/index.html

RewriteEngine On

RewriteRule ^index.html index.php

RewriteRule ^gate.* modules.php

#Articles
RewriteRule ^article([1-9][0-9]*).* gate.html?name=News&file=article&sid=$1
RewriteRule ^topic([1-9][0-9]*)-([0-9]*).* gate.html?name=News&new_topic=$1&pagenum=$2
RewriteRule ^topic([1-9][0-9]*).* gate.html?name=News&new_topic=$1
RewriteRule ^cat([1-9][0-9]*)-([0-9]*).* gate.html?name=News&file=categories&op=newindex&catid=$1&pagenum=$2
RewriteRule ^cat([1-9][0-9]*).* gate.html?name=News&file=categories&op=newindex&catid=$1
RewriteRule ^cat([1-9][0-9]*)-([0-9]*).* gate.html?name=News&file=article&op=newindex&catid=$1&pagenum=$2
RewriteRule ^cat([1-9][0-9]*).* gate.html?name=News&file=article&op=newindex&catid=$1
RewriteRule ^printout([1-9][0-9]*).* gate.html?name=News&file=print&sid=$1
RewriteRule ^newspage([1-9][0-9]*).* gate.html?name=News&pagenum=$1
RewriteRule ^articles.* gate.html?name=News&file=index

#Content
RewriteRule ^contentid-([1-9][0-9]*).html gate.html?name=Content&pa=showpage&pid=$1
RewriteRule ^content-cat-([1-9][0-9]*).html gate.html?name=Content&pa=list_pages_categories&cid=$1

#Downloads
RewriteRule ^topdowns.html gate.html?name=Downloads&d_op=TopRated
RewriteRule ^topdowns-(10|25|50)-(num|percent).html topdowns.html&ratenum=$1&ratetype=$2
RewriteRule ^popdowns.html gate.html?name=Downloads&d_op=MostPopular
RewriteRule ^popdowns-(10|25|50)-(num|percent).html popdowns.html&ratenum=$1&ratetype=$2
RewriteRule ^newdowns.html gate.html?name=Downloads&d_op=NewDownloads
RewriteRule ^newdownsw-([0-9]*).html gate.html?name=Downloads&d_op=NewDownloads&newdownloadshowdays=$1
RewriteRule ^newdownsd-([0-9]*).html gate.html?name=Downloads&d_op=NewDownloadsDate&selectdate=$1
RewriteRule ^downcat([0-9]*).html gate.html?name=Downloads&d_op=viewdownload&cid=$1
RewriteRule ^downorder([0-9]*)-([a-zA-Z0-9]*).html gate.html?name=Downloads&d_op=viedownload&cid=$1&orderby=$2
RewriteRule ^downfile([0-9]*) gate.html?name=Downloads&d_op=getit&lid=$1
RewriteRule ^downcat([0-9]*).html&orderby=([a-zA-Z_]*) gate.html?name=Downloads&d_op=viewdownload&cid=$1&orderby=$2
RewriteRule ^downcat([0-9]*)-([0-9]*)-([a-zA-Z0-9]*)-([0-9]*).html gate.html?name=Downloads&d_op=viewdownload&cid=$1&min=$2&orderby=$3&show=$4
RewriteRule ^downloads.html gate.html?name=Downloads

#Encyclopedia
RewriteRule ^dic([1-9][0-9]*)all([a-zA-Z0-9]*).* gate.html?name=Encyclopedia&op=terms&eid=$1&ltr=$2
RewriteRule ^term([1-9][0-9]*)-([1-9][0-9]*).* gate.html?name=Encyclopedia&op=content&tid=$1&page=$2
RewriteRule ^term([1-9][0-9]*).* gate.html?name=Encyclopedia&op=content&tid=$1
RewriteRule ^dic([1-9][0-9]*).* gate.html?name=Encyclopedia&op=list_content&eid=$1
RewriteRule ^encyclopedia.* gate.html?name=Encyclopedia&file=index


#FAQ
RewriteRule ^faq.html gate.html?name=FAQ&file=index
RewriteRule ^faq-([a-zA-Z0-9+]*)-([0-9]*)-([a-zA-Z0-9+]*) gate.html?name=FAQ&myfaq=$1&id_cat=$2&categories=$3

#Forums
RewriteRule ^forums.* gate.html?name=Forums&file=index
RewriteRule ^forums.* gate.html?name=Forums&file=index&mark=forums
RewriteRule ^fcat([0-9]*).* gate.html?name=Forums&file=index&c=$1
RewriteRule ^forum([0-9]*).* gate.html?name=Forums&file=viewforum&f=$1&mark=topic
RewriteRule ^viewforum([0-9]*)-([0-9]*)-([0-9]*).* gate.html?name=Forums&file=viewforum&f=$1&topicdays=$2&start=$3
RewriteRule ^forum([0-9]*).* gate.html?name=Forums&file=viewforum&f=$1
RewriteRule ^ptopic([0-9]*).* gate.html?name=Forums&file=viewtopic&t=$1&view=previous
RewriteRule ^ntopic([0-9]*).* gate.html?name=Forums&file=viewtopic&t=$1&view=next
RewriteRule ^watchtopic([0-9]*)-([0-9]*).* gate.html?name=Forums&file=viewtopic&t=$1&watch=topic&start=$2
RewriteRule ^unwatchtopic([0-9]*)-([0-9]*).* gate.html?name=Forums&file=viewtopic&t=$1&unwatch=topic&start=$2
RewriteRule ^ftopic([0-9]*)-([0-9]*)-([a-zA-Z]*)-([0-9]*).* gate.html?name=Forums&file=viewtopic&t=$1&postdays=$2&postorder=$3&start=$4
RewriteRule ^ftopic([0-9]*)-([0-9]*).* gate.html?name=Forums&file=viewtopic&t=$1&start=$2
RewriteRule ^ftopic([0-9]*).* gate.html?name=Forums&file=viewtopic&t=$1
RewriteRule ^ftopic([0-9]*).html gate.html?name=Forums&file=viewtopic&t=$1&start=$2&postdays=$3&postorder=$4&highlight=$5
RewriteRule ^author-([a-zA-Z0-9+=]*).html gate.html?name=Forums&file=search&search_author=$1
RewriteRule ^member-([a-zA-Z0-9+=]*)-([0-9]*).html gate.html?name=Forums&file=profile&mode=$1&u=$2
RewriteRule ^sutra([0-9]*).* gate.html?name=Forums&file=viewtopic&p=$1

#Members
RewriteRule ^members.html gate.html?name=Members_List
RewriteRule ^members.html gate.html?name=Members_List&file=index
RewriteRule ^members-mode([a-zA-Z0-9]*)-([a-zA-Z0-9]*)-([0-9]*).html gate.html?name=Members_List&file=index&mode=$1&order=$2&start=$3

#Reviews
RewriteRule ^reviews.html gate.html?name=Reviews
RewriteRule ^review([0-9]*).html gate.html?name=Reviews&rop=showcontent&id=$1
RewriteRule ^reviews-new.html gate.html?name=Reviews&rop=write_review
RewriteRule ^reviews-sortby-([a-zA-Z0-9]*).html gate.html?name=Reviews&rop=$1
RewriteRule ^reviews-comment-([0-9]*)-([a-zA-Z0-9]*).* gate.html?name=Reviews&rop=postcomment&id=$1&title=$2
RewriteRule ^review([0-9]*)-delete.html gate.html?name=Reviews&rop=del_review&id_del=$1
RewriteRule ^review([0-9]*)-edit.html gate.html?name=Reviews&rop=mod_review&id=$1

#Stories Archive
RewriteRule ^archive.html gate.html?name=Stories_Archive
RewriteRule ^allarticles.html gate.html?name=Stories_Archive&sa=show_all
RewriteRule ^allarticles-([0-9]*).html gate.html?name=Stories_Archive&sa=show_all&min=$1
RewriteRule ^archive([0-9]*)-([0-9]*).* gate.html?name=Stories_Archive&sa=show_month&year=$1&month=$2&month_l=$3

#Surveys
RewriteRule ^surveys.html gate.html?name=Surveys
RewriteRule ^survey([0-9]*)-results.html gate.html?name=Surveys&op=results&pollID=$1
RewriteRule ^survey([0-9]*).html gate.html?name=Surveys&pollID=$1
RewriteRule ^viewreply([0-9]*)-sur([0-9]*)-com([0-9]*)-mode([a-zA-Z0-9]*)-ord([0-9]*)-tre([0-9]*).html gate.html?name=Surveys&file=comments&op=showreply&tid=$1&pollID=$2&pid=$3&mode=$4&order=$5&thold=$6
RewriteRule ^recom([0-9]*)-sur([0-9]*)-mode([a-zA-Z0-9]*)-ord([0-9]*)-tre([0-9]*).html gate.html?name=Surveys&file=comments&op=Reply&pid=$1&pollID=$2&mode=$3&order=$4&thold=$5
RewriteRule ^commentsurvey([0-9]*)-post([0-9]*).html gate.html?name=Surveys&file=comments&pollID=$1&pid=$2
RewriteRule ^commentsurvey.html gate.html?name=Surveys&file=comments


#Top10
RewriteRule ^top.html gate.html?name=Top

#Topics
RewriteRule ^topics.html gate.html?name=Topics

#Web Links
RewriteRule ^addlink.html gate.html?name=Web_Links&l_op=AddLink
RewriteRule ^randomlink.html gate.html?name=Web_Links&l_op=RandomLink
RewriteRule ^toplinks.html gate.html?name=Web_Links&l_op=TopRated
RewriteRule ^poplinks.html gate.html?name=Web_Links&l_op=MostPopular
RewriteRule ^newlinks.html gate.html?name=Web_Links&l_op=NewLinks
RewriteRule ^newlinksw-([0-9]*).html gate.html?name=Web_Links&l_op=NewLinks&newlinkshowdays=$1
RewriteRule ^newlinksd-([0-9]*).html gate.html?name=Web_Links&l_op=NewLinksDate&selectdate=$1
RewriteRule ^vlink([0-9]*).html gate.html?name=Web_Links&l_op=visit&lid=$1
RewriteRule ^links([0-9]*).html gate.html?name=Web_Links&l_op=viewlink&cid=$1
RewriteRule ^linkorder([0-9]*)-([a-zA-Z0-9]*).html gate.html?name=Web_Links&l_op=viewlink&cid=$1&orderby=$2
RewriteRule ^links([0-9]*)-([0-9]*)-([a-zA-Z0-9]*)-([0-9]*).html gate.html?name=Web_Links&l_op=viewlink&cid=$1&min=$2&orderby=$3&show=$4

#Your Account
RewriteRule ^userinfo-[a-zA-Z0-9_-]*).html gate.html?name=Your_Account&op=userinfo&username=$1

#My mods
RewriteRule ^contact.* gate.html?name=Contact
RewriteRule ^photogallery.* gate.html?name=coppermine
RewriteRule ^disclaimer.* gate.html?name=Docs&file=disclaimer
RewriteRule ^privacy.* gate.html?name=Docs&file=privacy
RewriteRule ^tos.* gate.html?name=Docs&file=terms
RewriteRule ^stats.* gate.html?name=Statistics
RewriteRule ^morenews.* gate.html?name=More_News
RewriteRule ^share.* gate.html?name=Syndication
RewriteRule ^music.* gate.html?name=Stream
RewriteRule ^hot-or-not.* gate.html?name=Hot_Or_Not
RewriteRule ^recommend.* gate.html?name=Recommend_Us
RewriteRule ^friendfinder.* gate.html?name=FriendFinder
RewriteRule ^journals.* gate.html?name=Journal
RewriteRule ^weblinks.* gate.html?name=Web_Links
RewriteRule ^search.* gate.html?name=Search
RewriteRule ^account.* gate.html?name=Your_Account
RewriteRule ^content.* gate.html?name=Content


And now header.php
Code:

<?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.       */
/************************************************************************/

if (eregi("header.php",$_SERVER['PHP_SELF'])) {
    Header("Location: index.php");
    die();
}

ob_start();

function replace_for_mod_rewrite(&$s) {
$urlin = array(
"'(?<!/)index.php'",
"'(?<!/)modules.php'",
"'(?<!/)gate.html\?name=News&amp;file=comments&amp;op=showreply&amp;tid=([0-9]*)&amp;sid=([0-9]*)&amp;pid=([0-9]*)&amp;mode=([a-zA-Z0-9+]*)&amp;order=([0-9]*)&amp;thold=([/:|\s\-\'{}().&_0-9+=]*)'",
"'(?<!/)gate.html\?name=News&amp;file=categories&amp;op=newindex&amp;catid=([0-9]*)&amp;pagenum=([0-9]*)'",
"'(?<!/)gate.html\?name=News&amp;file=categories&amp;op=newindex&amp;catid=([0-9]*)'",
"'(?<!/)gate.html\?name=News&file=categories&op=newindex&catid=([0-9]*)'",
"'(?<!/)gate.html\?name=News&amp;file=article&amp;op=newindex&amp;catid=([0-9]*)&amp;pagenum=([0-9]*)'",
"'(?<!/)gate.html\?name=News&amp;file=article&amp;op=newindex&amp;catid=([0-9]*)'",
"'(?<!/)gate.html\?name=News&amp;op=newindex&amp;catid=([0-9]*)'",
"'(?<!/)gate.html\?name=News&amp;file=article&amp;sid=([0-9]*)&amp;mode=([a-zA-Z0-9+]*)&amp;order=([0-9]*)&amp;thold=([/:|\s\-\'{}().&_0-9+=]*)'",
"'(?<!/)gate.html\?name=News&amp;file=article&amp;sid=([0-9]*)'",
"'(?<!/)gate.html\?name=News&file=article&sid=([0-9]*)'",
"'(?<!/)gate.html\?name=News&amp;new_topic=([0-9]*)&amp;pagenum=([0-9]*)'",
"'(?<!/)gate.html\?name=News&amp;new_topic=([0-9]*)'",
"'(?<!/)gate.html\?name=News&new_topic=([0-9]*)'",
"'(?<!/)gate.html\?name=News&amp;file=print&amp;sid=([0-9]*)'",
"'(?<!/)gate.html\?name=News&amp;pagenum=([0-9]*)'",
"'(?<!/)gate.html\?name=News&amp;file=index'",
"'(?<!/)gate.html\?name=News&file=index'",
"'(?<!/)gate.html\?name=Encyclopedia&amp;op=list_terms&amp;eid=([0-9]*)&amp;ltr=([a-zA-Z0-9]*)'",
"'(?<!/)gate.html\?name=Encyclopedia&op=list_terms&eid=([0-9]*)&ltr=([a-zA-Z0-9]*)'",
"'(?<!/)gate.html\?name=Encyclopedia&amp;op=content&amp;tid=([0-9]*)&amp;page=([0-9]*)'",
"'(?<!/)gate.html\?name=Encyclopedia&op=content&tid=([0-9]*)&page=([0-9]*)'",
"'(?<!/)gate.html\?name=Encyclopedia&amp;op=content&amp;tid=([0-9]*)'",
"'(?<!/)gate.html\?name=Encyclopedia&op=content&tid=([0-9]*)'",
"'(?<!/)gate.html\?name=Encyclopedia&amp;op=list_content&amp;eid=([0-9]*)'",
"'(?<!/)gate.html\?name=Encyclopedia&op=list_content&eid=([0-9]*)'",
"'(?<!/)gate.html\?name=Encyclopedia&amp;file=index'",
"'(?<!/)gate.html\?name=Encyclopedia&file=index'",
"'(?<!/)gate.html\?name=Content&amp;pa=showpage&amp;pid=([0-9]*)'",
"'(?<!/)gate.html\?name=Content&amp;pa=list_pages_categories&amp;cid=([0-9]*)'",
"'(?<!/)gate.html\?name=FAQ&file=index'",
"'(?<!/)gate.html\?name=FAQ&amp;myfaq=([a-zA-Z0-9+]*)&amp;id_cat=([0-9]*)&amp;categories=([a-zA-Z0-9+]*)'",
"'(?<!/)gate.html\?name=Stories_Archive&sa=show_month&year=([0-9]*)&month=([0-9]*)&month_l=([a-˙A-ß]*)'",
"'(?<!/)gate.html\?name=Stories_Archive&sa=show_all&min=([0-9]*)'",
"'(?<!/)gate.html\?name=Stories_Archive&sa=show_all'",
"'(?<!/)gate.html\?name=Stories_Archive'",
"'(?<!/)gate.html\?name=(Chat\")'",
"'(?<!/)gate.html\?name=Downloads&d_op=TopRated'",
"'(?<!/)topdowns.html&amp;ratenum=(10|25|50)&amp;ratetype=(num|percent)'",
"'(?<!/)gate.html\?name=Downloads&d_op=MostPopular'",
"'(?<!/)popdowns.html&amp;ratenum=(10|25|50)&amp;ratetype=(num|percent)'",
"'(?<!/)gate.html\?name=Downloads&d_op=NewDownloads&amp;newdownloadshowdays=([0-9]*)'",
"'(?<!/)gate.html\?name=Downloads&d_op=NewDownloadsDate&amp;selectdate=([0-9]*)'",
"'(?<!/)gate.html\?name=Downloads&d_op=NewDownloads'",
"'(?<!/)gate.html\?name=Downloads&d_op=getit&amp;lid=([0-9]*)'",
"'(?<!/)gate.html\?name=Downloads&d_op=viewdownload&amp;cid=([0-9]*)&amp;orderby=([a-zA-Z0-9]*)'",
"'(?<!/)gate.html\?name=Downloads&d_op=viewdownload&amp;cid=([0-9]*)&amp;min=([0-9]*)&amp;orderby=([a-zA-Z0-9]*)&amp;show=([0-9]*)'",
"'(?<!/)gate.html\?name=Downloads&d_op=viewdownload&amp;cid=([0-9]*)'",
"'(?<!/)gate.html\?name=(Downloads\")'",
"'(?<!/)gate.html\?name=NukeJokes&func=JokeView&jokeid=([1-9][0-9]*)'",
"'(?<!/)gate.html\?name=NukeJokes&func=CatView&cat=([1-9][0-9]*)'",
"'(?<!/)gate.html\?name=NukeJokes&file=index'",
"'(?<!/)gate.html\?name=Reviews&rop=showcontent&amp;id=([0-9]*)'",
"'(?<!/)gate.html\?name=Reviews&rop=write_review'",
"'(?<!/)gate.html\?name=Reviews&rop=postcomment&amp;id=([0-9]*)&amp;title=([a-zA-Z0-9+]*)'",
"'(?<!/)gate.html\?name=Reviews&rop=mod_review&amp;id=([0-9]*)'",
"'(?<!/)gate.html\?name=Reviews&rop=del_review&amp;id_del=([0-9]*)'",
"'(?<!/)gate.html\?name=Reviews&rop=del_comment&amp;cid=([0-9]*)&amp;id=([0-9]*)'",
"'(?<!/)gate.html\?name=Reviews&rop=([a-zA-Z0-9]*)'",
"'(?<!/)gate.html\?name=Reviews'",
"'(?<!/)gate.html\?name=Sections&op=viewarticle&amp;artid=([0-9]*)&amp;page=([0-9]*)'",
"'(?<!/)gate.html\?name=Sections&op=viewarticle&artid=([0-9]*)&page=([0-9]*)'",
"'(?<!/)gate.html\?name=Sections&op=viewarticle&artid=([0-9]*)'",
"'(?<!/)gate.html\?name=Sections&op=printpage&artid=([0-9]*)'",
"'(?<!/)gate.html\?name=Sections&op=printpage&amp;artid=([0-9]*)'",
"'(?<!/)gate.html\?name=Sections&op=listarticles&amp;secid=([0-9]*)'",
"'(?<!/)gate.html\?name=Sections&op=listarticles&secid=([0-9]*)'",
"'(?<!/)gate.html\?name=Sections'",
"'(?<!/)gate.html\?name=Search&topic=([0-9]*)'",
"'(?<!/)gate.html\?name=Search&amp;topic=([0-9]*)'",
"'(?<!/)gate.html\?name=Surveys&amp;pollID=([0-9]*)'",
"'(?<!/)gate.html\?name=Surveys&op=results&pollID=([0-9]*)'",
"'(?<!/)gate.html\?name=Surveys&amp;op=results&amp;pollID=([0-9]*)'",
"'(?<!/)gate.html\?name=Surveys&amp;file=comments&amp;op=Reply&pid=([0-9]*)&pollID=([0-9]*)&mode=([a-zA-Z0-9+]*)&order=([0-9]*)&thold=([0-9]*)'",
"'(?<!/)gate.html\?name=Surveys&amp;file=comments&amp;op=Reply&amp;pid=([0-9]*)&amp;pollID=([0-9]*)&amp;mode=([a-zA-Z0-9+]*)&amp;order=([0-9]*)&amp;thold=([0-9]*)'",
"'(?<!/)gate.html\?name=Surveys&amp;file=comments&amp;op=showreply&tid=([0-9]*)&pollID=([0-9]*)&pid=([0-9]*)&mode=([a-zA-Z0-9+]*)&order=([0-9]*)&thold=([0-9]*)'",
"'(?<!/)gate.html\?name=Surveys&amp;file=comments&amp;pollID=([0-9]*)&amp;pid=([0-9]*)'",
"'(?<!/)gate.html\?name=Surveys&amp;file=comments'",
"'(?<!/)gate.html\?name=Surveys'",
"'(?<!/)gate.html\?name=Topics'",
"'(?<!/)gate.html\?name=Top'",
"'(?<!/)gate.html\?name=Members_List&file=index&mode=([a-zA-Z0-9]*)&amp;order=([a-zA-Z0-9]*)&amp;start=([0-9]*)'",
"'(?<!/)gate.html\?name=Members_List&file=index'",
"'(?<!/)gate.html\?name=Members_List'",
"'(?<!/)gate.html\?name=Forums&file=search&search_author=([a-zA-Z0-9+=]*)'",
"'(?<!/)gate.html\?name=Forums&file=profile&mode=([a-zA-Z0-9+=]*)&amp;u=([0-9]*)'",
"'(?<!/)gate.html\?name=Forums&amp;file=profile&amp;mode=([a-zA-Z0-9+=]*)&amp;u=([0-9]*)'",
"'(?<!/)gate.html\?name=Forums&file=viewforum&f=([0-9]*)&amp;topicdays=([0-9]*)&amp;start=([0-9]*)'",
"'(?<!/)gate.html\?name=Forums&file=viewforum&f=([0-9]*)&amp;mark=topics'",
"'(?<!/)gate.html\?name=Forums&file=viewforum&f=([0-9]*)'",
"'(?<!/)gate.html\?name=Forums&amp;file=viewforum&amp;f=([0-9]*)'",
"'(?<!/)gate.html\?name=Forums&file=viewtopic&t=([0-9]*)&amp;view=previous'",
"'(?<!/)gate.html\?name=Forums&file=viewtopic&t=([0-9]*)&amp;view=next'",
"'(?<!/)gate.html\?name=Forums&file=viewtopic&t=([0-9]*)&amp;postdays=([0-9]*)&amp;postorder=([a-zA-Z]*)&amp;start=([0-9]*)'",
"'(?<!/)gate.html\?name=Forums&file=viewtopic&t=([0-9]*)&amp;start=([0-9]*)&amp;postdays=([0-9]*)&amp;postorder=([a-zA-Z]*)&amp;highlight=([a-zA-Z0-9]*)'",
"'(?<!/)gate.html\?name=Forums&file=viewtopic&t=([0-9]*)&amp;start=([0-9]*)'",
"'(?<!/)gate.html\?name=Forums&file=viewtopic&t=([0-9]*)&amp;watch=topic&amp;start=([0-9]*)'",
"'(?<!/)gate.html\?name=Forums&file=viewtopic&t=([0-9]*)&amp;unwatch=topic&amp;start=([0-9]*)'",
"'(?<!/)gate.html\?name=Forums&file=viewtopic&t=([0-9]*)&amp;highlight=([a-zA-Z0-9]*)'",
"'(?<!/)gate.html\?name=Forums&file=viewtopic&t=([0-9]*)'",
"'(?<!/)gate.html\?name=Forums&file=viewtopic&p=([0-9]*)&amp;highlight=([a-zA-Z0-9]*)'",
"'(?<!/)gate.html\?name=Forums&amp;file=viewtopic&amp;p=([0-9]*)'",
"'(?<!/)gate.html\?name=Forums&file=viewtopic&p=([0-9]*)'",
"'(?<!/)gate.html\?name=Forums&file=index&c=([0-9]*)'",
"'(?<!/)gate.html\?name=Forums&file=index&mark=forums'",
"'(?<!/)gate.html\?name=Forums&amp;file=index'",
"'(?<!/)gate.html\?name=Forums&file=index'",
"'(?<!/)gate.html\?name=Web_Links&l_op=AddLink'",
"'(?<!/)gate.html\?name=Web_Links&l_op=RandomLink'",
"'(?<!/)gate.html\?name=Web_Links&l_op=TopRated'",
"'(?<!/)gate.html\?name=Web_Links&l_op=MostPopular'",
"'(?<!/)gate.html\?name=Web_Links&l_op=NewLinks&amp;newlinkshowdays=([0-9]*)'",
"'(?<!/)gate.html\?name=Web_Links&l_op=NewLinksDate&amp;selectdate=([0-9]*)'",
"'(?<!/)gate.html\?name=Web_Links&l_op=NewLinks'",
"'(?<!/)gate.html\?name=Web_Links&l_op=visit&amp;lid=([0-9]*)'",
"'(?<!/)gate.html\?name=Web_Links&l_op=viewlink&amp;cid=([0-9]*)&amp;orderby=([a-zA-Z0-9]*)'",
"'(?<!/)gate.html\?name=Web_Links&l_op=viewlink&amp;cid=([0-9]*)&amp;min=([0-9]*)&amp;orderby=([a-zA-Z0-9]*)&amp;show=([0-9]*)'",
"'(?<!/)gate.html\?name=Web_Links&l_op=viewlink&amp;cid=([0-9]*)'",
"'(?<!/)gate.html\?name=Your_Account&op=userinfo&username==([a-zA-Z0-9_-]*)'",
"'(?<!/)gate.html\?name=Your_Account&amp;op=userinfo&username==([a-zA-Z0-9_-]*)'",
"'(?<!/)gate.html\?name=Your_Account&amp;op=userinfo&amp;username==([a-zA-Z0-9_-]*)'",
"'(?<!/)gate.html\?name=(Contact\")'",
"'(?<!/)gate.html\?name=(coppermine\")'",
"'(?<!/)gate.html\?name=(Docs&file=disclaimer\")'",
"'(?<!/)gate.html\?name=(Docs&file=privacy\")'",
"'(?<!/)gate.html\?name=(Docs&file=terms\")'",
"'(?<!/)gate.html\?name=(Statistics\")'",
"'(?<!/)gate.html\?name=(More_News\")'",
"'(?<!/)gate.html\?name=(Syndication\")'",
"'(?<!/)gate.html\?name=(Stream\")'",
"'(?<!/)gate.html\?name=(Hot_Or_Not\")'",
"'(?<!/)gate.html\?name=(Recommend_Us\")'",
"'(?<!/)gate.html\?name=(FriendFinder\")'",
"'(?<!/)gate.html\?name=(Journal\")'",
"'(?<!/)gate.html\?name=(Web_Links\")'",
"'(?<!/)gate.html\?name=(Search\")'",
"'(?<!/)gate.html\?name=(Your_Account\")'",
"'(?<!/)gate.html\?name=(Content\")'",
"'(?<!/)gate.html\?name=(FAQ\")'"
);

$urlout = array(
"index.html",
"gate.html",
"comment\\1-\\2-\\3\\4\\5\\6.html",
"cat\\1-\\2.html",
"cat\\1.html",
"cat\\1.html",
"cat\\1-\\2.html",
"cat\\1.html",
"cat\\1.html",
"article\\1.html",
"article\\1.html",
"article\\1.html",
"topic\\1-\\2.html",
"topic\\1.html",
"topic\\1.html",
"printout\\1.html",
"newspage\\1.html",
"articles",
"articles",
"dic\\1all\\2.html",
"dic\\1all\\2.html",
"term\\1-\\2.html",
"term\\1-\\2.html",
"term\\1.html",
"term\\1.html",
"dic\\1.html",
"dic\\1.html",
"encyclopedia.html",
"encyclopedia.html",
"contentid-\\1.html",
"content-cat-\\1.html",
"faq.html",
"faq-\\1-\\2-\\3",
"archive\\1-\\2.html",
"allarticles-\\1.html",
"allarticles.html",
"archive.html",
"chat.html\"",
"topdowns.html",
"topdowns-\\1-\\2.html",
"popdowns.html",
"popdowns-\\1-\\2.html",
"newdownsw-\\1.html",
"newdownsd-\\1.html",
"newdowns.html",
"downfile\\1",
"downorder\\1-\\2.html",
"downcat\\1-\\2-\\3-\\4.html",
"downcat\\1.html",
"downloads.html\"",
"jokeid-\\1.html",
"jokecat-\\1.html",
"jokes.html",
"review\\1.html",
"reviews-new.html",
"reviews-comment-\\1-\\2",
"review\\1-edit.html",
"review\\1-delete.html",
"review\\1-del_comment\\2.html",
"reviews-sortby-\\1.html",
"reviews.html",
"secart\\1-page\\2.html",
"secart\\1-page\\2.html",
"secart\\1.html",
"secartprint\\1.html",
"secartprint\\1.html",
"section\\1.html",
"section\\1.html",
"sections.html",
"topic\\1.html",
"topic\\1.html",
"survey\\1.html",
"survey\\1-results.html", 
"survey\\1-results.html",
"recom\\1-sur\\2-mode\\3-ord\\4-tre\\5.html",
"recom\\1-sur\\2-mode\\3-ord\\4-tre\\5.html",
"viewreply\\1-sur\\2-com\\3-mode\\4-ord\\5-tre\\6.html",
"commentsurvey\\1-post\\2.html",
"commentsurvey.html",
"surveys.html",
"topics.html",
"top.html",
"members-mode\\1-\\2-\\3.html",
"members.html",
"members.html",
"author-\\1.html",
"member-\\1-\\2.html",
"member-\\1-\\2.html",
"viewforum\\1-\\2-\\3.html",
"forum\\1.html",
"forum\\1.html",
"forum\\1.html",
"ptopic\\1.html",
"ntopic\\1.html",
"ftopic\\1-\\2-\\3-\\4.html",
"ftopic\\1.html",
"ftopic\\1-\\2.html",
"watchtopic\\1-\\2.html",
"unwatchtopic\\1-\\2.html",
"ftopic\\1.html",
"ftopic\\1.html",
"sutra\\1.html",
"sutra\\1.html",
"sutra\\1.html",
"fcat\\1.html",
"forums.html",
"forums.html",
"forums.html",
"addlink.html",
"randomlink.html",
"toplinks.html",
"poplinks.html",
"newlinksw-\\1.html",
"newlinksd-\\1.html",
"newlinks.html",
"vlink\\1.html",
"linkorder\\1-\\2.html",
"links\\1-\\2-\\3-\\4.html",
"links\\1.html",
"userinfo-\\1.html",
"userinfo-\\1.html",
"userinfo-\\1.html",
"contact.html\"",
"photogallery.html\"",
"disclaimer.html\"",
"privacy.html\"",
"tos.html\"",
"stats.html\"",
"morenews.html\"",
"share.html\"",
"music.html\"",
"hot-or-not.html\"",
"recommend.html\"",
"friendfinder.html\"",
"journals.html\"",
"weblinks.html\"",
"search.html\"",
"account.html\"",
"content.html\"",
"faq.html\"",
"privatemessages.html\"",
"bookmarks.html\"",
"yellowpages.html\""
);

$s = preg_replace($urlin, $urlout, $s);
return $s;
}

require_once("mainfile.php");

##################################################
# Include some common header for HTML generation #
##################################################

$header = 1;

function head() {
    global $slogan, $sitename, $banners, $nukeurl, $Version_Num, $artpage, $topic, $hlpfile, $user, $hr, $theme, $cookie, $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $textcolor1, $textcolor2, $forumpage, $adminpage, $userpage, $pagetitle;
    $ThemeSel = get_theme();
    include("themes/$ThemeSel/theme.php");
    echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n";
    echo "<html>\n";
    echo "<head>\n";
    echo "<title>$sitename $pagetitle</title>\n";

    include("includes/meta.php");
    include("includes/javascript.php");
   
    if (file_exists("themes/$ThemeSel/images/favicon.ico")) {
   echo "<link REL=\"shortcut icon\" HREF=\"themes/$ThemeSel/images/favicon.ico\" TYPE=\"image/x-icon\">\n";
    }
       
    echo "<LINK REL=\"StyleSheet\" HREF=\"themes/$ThemeSel/style/style.css\" TYPE=\"text/css\">\n\n\n";
    include("includes/my_header.php");
    echo "\n\n\n</head>\n\n";
    themeheader();
}

online();
head();
include("includes/counter.php");
global $home;
if ($home == 1) {
    message_box();
    blocks(Center);
}

?>


Edited for right header.php code.

_________________
Only FREE Dating site for Desis.
Find all posts by MesumView user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN Messenger
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Mon Sep 15, 2003 6:24 pm Reply with quoteBack to top

Wow!

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
Mesum
Support Staff
Support Staff


Joined: Mar 11, 2003
Posts: 842

Location: Chicago

PostPosted: Mon Sep 15, 2003 11:27 pm Reply with quoteBack to top

Well Paul, there are still few modules (listed on bottom) that are giving me 404s, do not know why... like Private_Messages, YellowPages (Univesal module), Bookmarks and few others.
Oh and Weblinks too... but I see that new GoogleTap has it done, maybe I will be able to use it, it's just the index file that gives me 404.
Any tips?

_________________
Only FREE Dating site for Desis.
Find all posts by MesumView user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN Messenger
scabbed
Nuke Cadet
Nuke Cadet


Joined: Sep 15, 2003
Posts: 7


PostPosted: Tue Sep 16, 2003 2:17 am Reply with quoteBack to top

here is the error when i put the header.php :

Code:
Parse error: parse error, expecting `')'' in /home/scabbed/public_html/community/header.php on line 100

Fatal error: Call to undefined function: themeindex() in /home/scabbed/public_html/community/modules/News/index.php on line 118


text header on line 100 :

Code:
"'(?<!/)modules.php\?name=Encyclopedia&amp;op=list_terms&amp;eid=([0-9]*)&amp;ltr=([a-zA-Z0-9]*)'",


text news line 118 :

Code:
themeindex($aid, $informant, $datetime, $title, $counter, $topic, $hometext, $notes, $morelink, $topicname, $topicimage, $topictext);
Find all posts by scabbedView user's profileSend private message
Mesum
Support Staff
Support Staff


Joined: Mar 11, 2003
Posts: 842

Location: Chicago

PostPosted: Tue Sep 16, 2003 2:27 am Reply with quoteBack to top

Is
Code:

"'(?<!/)modules.php\?name=Encyclopedia&amp;op=list_terms&amp;eid=([0-9]*)&amp;ltr=([a-zA-Z0-9]*)'",

your last line in your header.php's googletap input?

_________________
Only FREE Dating site for Desis.
Find all posts by MesumView user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN Messenger
scabbed
Nuke Cadet
Nuke Cadet


Joined: Sep 15, 2003
Posts: 7


PostPosted: Tue Sep 16, 2003 2:48 am Reply with quoteBack to top

here is my header.php

Code:
<?php
if (eregi("header.php",$_SERVER['PHP_SELF'])) {
Header("Location: index.php");
    die();
}
require_once("mainfile.php");
$header = 1;
function head() {
    global $slogan, $sitename, $banners, $nukeurl, $Version_Num, $artpage, $topic, $hlpfile, $user, $hr, $theme, $cookie, $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $textcolor1, $textcolor2, $forumpage, $adminpage, $userpage, $pagetitle;
    $ThemeSel = get_theme();
    include("themes/$ThemeSel/theme.php");
    echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n";
    echo "<html>\n";
    echo "<head>\n";
    echo "<title>$sitename $pagetitle</title>\n";
    include("includes/meta.php");
    include("includes/javascript.php");
    if (file_exists("themes/$ThemeSel/images/favicon.ico")) {
   echo "<link REL=\"shortcut icon\" HREF=\"themes/$ThemeSel/images/favicon.ico\" TYPE=\"image/x-icon\">\n";
    }
    echo "<LINK REL=\"StyleSheet\" HREF=\"themes/$ThemeSel/style/style.css\" TYPE=\"text/css\">\n\n\n";
    include("includes/my_header.php");
    echo "\n\n\n</head>\n\n";
    themeheader();
}
online();
head();
include("includes/counter.php");
global $home;
if ($home == 1) {
    message_box();
    blocks(Center);
}
if (eregi("header.php",$PHP_SELF)) {
    Header("Location: index.php");
    die();
}

ob_start();

function replace_for_mod_rewrite(&$s) {
$urlin = array(
"'(?<!/)modules.php\?name=News&amp;file=article&amp;sid=([0-9]*)&amp;mode=([a-z]*)&amp;order=([0-9]*)&amp;thold=([0-9]*)'",
"'(?<!/)modules.php\?name=News&amp;file=article&amp;sid=([0-9]*)'",
"'(?<!/)modules.php\?name=News&file=article&sid=([0-9]*)'",
"'(?<!/)modules.php\?name=News&amp;new_topic=([0-9]*)'",
"'(?<!/)modules.php\?name=Stories_Archive&sa=show_month&year=([0-9]*)&month=([0-9]*)&month_l=([a-zA-Z]*)'",
"'(?<!/)modules.php\?name=Stories_Archive'",
"'(?<!/)modules.php\?name=Downloads&d_op=getit&amp;lid=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&d_op=viewdownload&amp;cid=([0-9]*)&amp;min=([0-9]*)&amp;orderby=titleA&amp;show=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&d_op=viewdownload&amp;cid=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&d_op=viewdownloaddetails&amp;lid=([0-9]*)&amp;ttitle=([/:\-\'(){}.&=a-zA-Z0-9_ ]*)'",
"'(?<!/)modules.php\?name=(Downloads\")'",
"'(?<!/)modules.php\?name=Reviews&rop=showcontent&amp;id=([0-9]*)'",
"'(?<!/)modules.php\?name=Reviews&rop=write_review'",
"'(?<!/)modules.php\?name=Reviews&rop=postcomment&amp;id=([0-9]*)&amp;title=([a-zA-Z0-9+]*)'",
"'(?<!/)modules.php\?name=Reviews&rop=mod_review&amp;id=([0-9]*)'",
"'(?<!/)modules.php\?name=Reviews&rop=del_review&amp;id_del=([0-9]*)'",
"'(?<!/)modules.php\?name=Reviews&rop=([a-zA-Z0-9]*)'",
"'(?<!/)modules.php\?name=Reviews'",
"'(?<!/)modules.php\?name=Submit_News'",
"'(?<!/)modules.php\?name=Topics'",
"'(?<!/)modules.php\?name=Top&zx=([a-zA-Z0-9+]*)'",
"'(?<!/)modules.php\?name=Top'",
"'(?<!/)modules.php\?name=FAQ'",
"'(?<!/)modules.php\?name=FAQ&amp;myfaq=yes&amp;id_cat=([0-9]*)&amp;categories=([a-zA-Z0-9+]*)'",
"'(?<!/)modules.php\?name=Forums&file=viewtopic&t=([0-9]+)&amp;postdays=([0-9]+)&amp;postorder=asc&amp;start=([0-9]+)'",
"'(?<!/)modules.php\?name=Forums&file=viewforum&f=([0-9]+)&amp;topicdays=([0-9]+)&amp;start=([0-9]+)'",
"'(?<!/)modules.php\?name=Content&amp;pa=showpage&amp;pid=([0-9]*)'",
"'(?<!/)modules.php\?name=Content&amp;pa=list_pages_categories&amp;cid=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&file=viewforum&f=([0-9]*)&amp;mark=topics'",
"'(?<!/)modules.php\?name=Forums&file=viewforum&f=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&file=viewtopic&t=([0-9]*)&amp;view=newest'",
"'(?<!/)modules.php\?name=Forums&file=viewtopic&t=([0-9]*)&amp;start=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&file=viewtopic&t=([0-9]*)&amp;highlight=([/:\-\'(){}.&=_a-zA-Z0-9 ]*)'",
"'(?<!/)modules.php\?name=Forums&file=viewtopic&(p|t)=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&file=posting&t=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&file=index&c=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&file=index'",
"'(?<!/)modules.php\?name=Sections&op=(printpage|viewarticle)&artid=([0-9]*)'",
"'(?<!/)modules.php\?name=Sections&op=listarticles&secid=([0-9]*)'",
"'(?<!/)modules.php\?name=Sections'",
#"'(?<!/)modules.php\?name=Your_Account&op=userinfo&uname=([a-zA-Z0-9_-]*)'",
#"'(?<!/)modules.php\?name=Your_Account&amp;op=userinfo&amp;uname=([a-zA-Z0-9_-]*)'",
"'(?<!/)modules.php\?name=Your_Account&op=userinfo&username=([a-zA-Z0-9_-]*)'",
"'(?<!/)modules.php\?name=Your_Account&amp;op=userinfo&amp;username=([a-zA-Z0-9_-]*)'",
#"'(?<!/)modules.php\?op=modload&name=Web_Links&file=index&l_op=NewLinksDate&amp;selectdate=([0-9]+)'",
#"'(?<!/)modules.php\?op=modload&name=Web_Links&file=index&l_op=(AddLink|MostPopular|NewLinks|RandomLink|TopRated)'",
#"'(?<!/)modules.php\?op=modload&name=Web_Links&file=index&l_op=ratelink&amp;lid=([0-9]*)&amp;ttitle=([/:\-\'(){}.&=_a-zA-Z0-9 ]*)'",
#"'(?<!/)modules.php\?op=modload&name=Web_Links&file=index&l_op=visit&amp;lid=([0-9]*)'",
#"'(?<!/)modules.php\?op=modload&name=Web_Links&file=index&l_op=viewlink&amp;cid=([0-9]*)&amp;min=([0-9]*)&amp;orderby=titleA&amp;show=([0-9]*)'",
#"'(?<!/)modules.php\?op=modload&name=Web_Links&file=index&l_op=viewlink&amp;cid=([0-9]*)'",
"'(?<!/)modules.php\?name=Web_Links&l_op=NewLinksDate&amp;selectdate=([0-9]+)'",
"'(?<!/)modules.php\?name=Web_Links&l_op=(AddLink|MostPopular|NewLinks|RandomLink|TopRated)'",
"'(?<!/)modules.php\?name=Web_Links&l_op=ratelink&amp;lid=([0-9]*)&amp;ttitle=([/:\-\'(){}.&=_a-zA-Z0-9 ]*)'",
"'(?<!/)modules.php\?name=Web_Links&l_op=visit&amp;lid=([0-9]*)'",
"'(?<!/)modules.php\?name=Web_Links&l_op=viewlink&amp;cid=([0-9]*)&amp;min=([0-9]*)&amp;orderby=titleA&amp;show=([0-9]*)'",
"'(?<!/)modules.php\?name=Web_Links&l_op=viewlink&amp;cid=([0-9]*)'",
"'(?<!/)modules.php\?name=Web_Links'"
"'(?<!/)modules.php\?name=Encyclopedia&amp;op=list_terms&amp;eid=([0-9]*)&amp;ltr=([a-zA-Z0-9]*)'",
"'(?<!/)modules.php\?name=Encyclopedia&op=list_terms&eid=([0-9]*)&ltr=([a-zA-Z0-9]*)'",
"'(?<!/)modules.php\?name=Encyclopedia&amp;op=content&amp;tid=([0-9]*)&amp;page=([0-9]*)'",
"'(?<!/)modules.php\?name=Encyclopedia&op=content&tid=([0-9]*)&page=([0-9]*)'",
"'(?<!/)modules.php\?name=Encyclopedia&amp;op=content&amp;tid=([0-9]*)'",
"'(?<!/)modules.php\?name=Encyclopedia&op=content&tid=([0-9]*)'",
"'(?<!/)modules.php\?name=Encyclopedia&amp;op=list_content&amp;eid=([0-9]*)'",
"'(?<!/)modules.php\?name=Encyclopedia&op=list_content&eid=([0-9]*)'",
"'(?<!/)modules.php\?name=Encyclopedia&amp;file=index'",
"'(?<!/)modules.php\?name=Encyclopedia&file=index'",

);

$urlout = array(
"article-\\1-\\2-\\3-\\4.html",
"article\\1.html",
"article\\1.html",
"article-topic-\\1.html",
"archive-\\1-\\2-\\3.html",
"archive.html",
"downloads-file-\\1.html",
"downloads-cats-\\1-\\2-\\3.html",
"downloads-cat-\\1.html",
"downloads-file-\\1-details-\\2.html",
"downloads.html\"",
"reviews-\\1.html",
"reviews-new.html",
"reviews-comment-\\1-\\2",
"reviews-\\1-edit.html",
"reviews-\\1-delete.html",
"reviews-sortby-\\1.html",
"reviews.html",
"submit.html",
"topics.html",
"top-\\1.html",
"top.html",
"faq.html",
"faq-\\1-\\2.html",
"postx\\1-\\2-\\3.html",
"forumx\\1-\\2-\\3.html",
"contentid-\\1.html",
"content-cat-\\1.html",
"markread\\1.html",
"forum\\1.html",
"newposts\\1.html",
"posts\\1-\\2.html",
"postlite\\1-\\2.html",
"post\\1\\2.html",
"fvote\\1.html",
"forum-cat\\1.html",
"forums.html",
"section-\\1-\\2.html",
"section-\\1.html",
"sections.html",
"userinfo-\\1.html",
"userinfo-\\1.html",
"linksnew-\\1.html",
"linkop-\\1.html",
"ratelink-\\1-\\2.html",
"viewlink-\\1.html",
"links-\\1-\\2-\\3.html",
"link-\\1.html",
"links.html"
"dic\\1all\\2.html",
"dic\\1all\\2.html",
"term\\1-\\2.html",
"term\\1-\\2.html",
"term\\1.html",
"term\\1.html",
"dic\\1.html",
"dic\\1.html",
"encyclopedia.html",
"encyclopedia.html",

);

$s = preg_replace($urlin, $urlout, $s);
return $s;
}
require_once("mainfile.php");

##################################################
# Include some common header for HTML generation #
##################################################

$header = 1;

function head() {
    global $slogan, $sitename, $banners, $nukeurl, $Version_Num, $artpage, $topic, $hlpfile, $user, $hr, $theme, $cookie, $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $textcolor1, $textcolor2, $forumpage, $adminpage, $userpage, $pagetitle;
    $ThemeSel = get_theme();
    include("themes/$ThemeSel/theme.php");
    echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n";
    echo "<html>\n";
    echo "<head>\n";
    echo "<title>$sitename $pagetitle</title>\n";

    include("includes/meta.php");
    include("includes/javascript.php");
   
    if (file_exists("themes/$ThemeSel/images/favicon.ico")) {
   echo "<link REL=\"shortcut icon\" HREF=\"themes/$ThemeSel/images/favicon.ico\" TYPE=\"image/x-icon\">\n";
    }
       
    echo "<LINK REL=\"StyleSheet\" HREF=\"themes/$ThemeSel/style/style.css\" TYPE=\"text/css\">\n\n\n";
    include("includes/my_header.php");
    echo "\n\n\n</head>\n\n";
    themeheader();
}

online();
head();
include("includes/counter.php");
global $home;
if ($home == 1) {
    message_box();
    blocks(Center);
}

?>
Find all posts by scabbedView user's profileSend private message
Imago
Captain
Captain


Joined: Jan 17, 2003
Posts: 629

Location: Europe

PostPosted: Tue Sep 16, 2003 9:31 am Reply with quoteBack to top

Mesum:
In fact, you have added your mods (starting with comments.html) to the Googlifier.

Not bad.
Good solution for weblinks.html
I will add it to the next release of the Googlifier.

Thank you.

_________________
www.vdsp.net | www.indopedia.org | www.orientalia.org | www.indology.net | www.yogadarsana.org | www.husserl.info | www.medicum.net
Find all posts by ImagoView user's profileSend private messageVisit poster's website
scabbed
Nuke Cadet
Nuke Cadet


Joined: Sep 15, 2003
Posts: 7


PostPosted: Tue Sep 16, 2003 10:42 am Reply with quoteBack to top

i have tried the googlifier rewriting an now it work, the encyclopedia too Smile

when something is like that :

Code:
gate.html?name=Content&pa=showpage&pid=2&page=2



google will put the link in his database ? am i right?
Find all posts by scabbedView user's profileSend private message
Mesum
Support Staff
Support Staff


Joined: Mar 11, 2003
Posts: 842

Location: Chicago

PostPosted: Tue Sep 16, 2003 12:01 pm Reply with quoteBack to top

Yep, it has been indexing my site.... but there is a problem, for some reason my site is not getting any kinda Google numbers.

_________________
Only FREE Dating site for Desis.
Find all posts by MesumView user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN Messenger
Imago
Captain
Captain


Joined: Jan 17, 2003
Posts: 629

Location: Europe

PostPosted: Tue Sep 16, 2003 2:53 pm Reply with quoteBack to top

That's weird. Only 33 pages indexed. You should have recently changed from GT to Googlifier. Then Google will take one month to show the new short URLs.

BTW, there is "constant fluctuation" with those numbers. Yesterday I had 30000 pages indexed. Today - 21000. Now they are 31000.
Find all posts by ImagoView user's profileSend private messageVisit poster's website
Mesum
Support Staff
Support Staff


Joined: Mar 11, 2003
Posts: 842

Location: Chicago

PostPosted: Tue Sep 16, 2003 3:13 pm Reply with quoteBack to top

Man, my server went to for like 3 days, before that, I was getting hits like I was the only South Asian (Desi) site in US, but since it came back, google has not been indexing my site right.
I hate always used Googlifier for the forums with the eception of playing with your's and GT forums code.and currently, I think there are more sites that are linking my site than before, but still the problem.

_________________
Only FREE Dating site for Desis.
Find all posts by Mesum