Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> GT - Next Gen and Standard
Author Message
taroman
New Member
New Member



Joined: Jul 02, 2005
Posts: 1

PostPosted: Sat Jul 02, 2005 8:26 am Reply with quote

im using php 7.8 patched 3.0 but when i use the GT we can't access to downloads , we can just see the main page , because the url are : [ Only registered users can see links on this board! Get registered or login! ]

I wont mod GoogleTap for NSN_GR Pls
 
View user's profile Send private message
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Fri Oct 21, 2005 6:48 am Reply with quote

taroman,

I have finally gotten this to work and can offer you the following edits to try (remember, back up your files BEFORE you edit them!). Also, just so you know, the search functions and sub-functions will not work properly on a windows based server (at least in mine it is lowercasing all GET string values).

Here are the statements to go into your GT-Downloads.php file for NSN GR Downloads:

Code:


$urlin = array(
"'(?<!/)modules.php\?name=Downloads&amp;op=modifydownloadrequest&amp;lid=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;op=NewDownloads&amp;newdownloadshowdays=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;op=NewDownloadsDate&amp;selectdate=([a-zA-Z0-9+]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;op=getit&amp;lid=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;op=(MostPopular)&amp;ratenum=([0-9]*)&amp;ratetype=(num|percent)'",
"'(?<!/)modules.php\?name=Downloads&amp;op=(NewDownloads|MostPopular)'",
"'(?<!/)modules.php\?name=Downloads&amp;cid=([0-9]*)&amp;orderby=([a-zA-Z0-9+]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;min=([0-9]*)&amp;cid=([0-9]*))'",
"'(?<!/)modules.php\?name=Downloads&amp;op=search&amp;query=([/:\-\'{}()\,\._&amp;a-zA-Z0-9+=]*)&amp;min=([0-9]*)&amp;orderby=([a-zA-Z0-9+]*)&amp;show=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;op=search&amp;query=([/:\-\'{}()\,\._&amp;a-zA-Z0-9+= ]*)&amp;orderby=([a-zA-Z0-9+]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;op=search'",
"'(?<!/)modules.php\?name=Downloads&amp;op=gfx&amp;random_num=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&amp;cid=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads'"
);

$urlout = array(
"download-mod-\\1.html",
"download-shownew-\\1.html",
"download-seldate-\\1.html",
"download-file-\\1.html",
"download-\\1-\\2-\\3.html",
"downloads-\\1.html",
"download-sort-\\1-orderby-\\2.html",
"download-paging-\\1-\\2.html",
"download-search-\\1-\\2-\\3-\\4.html",
"download-search-\\1-\\2.html",
"download-search.html",
"download-gfx-\\1.html",
"downloads-cat\\1.html",
"downloads.html"
);


Here is what should go into your .htaccess file for the re-write directives:

Code:


#Downloads
RewriteRule ^download-mod-([0-9]*).html modules.php?name=Downloads&op=modifydownloadrequest&lid=$1
RewriteRule ^download-file-([0-9]*).html modules.php?name=Downloads&op=getit&lid=$1
RewriteRule ^downloads-(NewDownloads|newdownloads).html modules.php?name=Downloads&op=NewDownloads
RewriteRule ^download-shownew-([0-9]*).html modules.php?name=Downloads&op=NewDownloads&newdownloadshowdays=$1
RewriteRule ^download-seldate-([a-zA-Z0-9+]*).html modules.php?name=Downloads&op=NewDownloadsDate&selectdate=$1
RewriteRule ^downloads-(MostPopular|mostpopular).html modules.php?name=Downloads&op=MostPopular
RewriteRule ^download-(MostPopular|mostpopular)-([0-9]*)-(num|percent).html modules.php?name=Downloads&op=MostPopular&ratenum=$2&ratetype=$3
RewriteRule ^download-sort-([0-9]*)-orderby-title([aA]).html modules.php?name=Downloads&cid=$1&orderby=titleA
RewriteRule ^download-sort-([0-9]*)-orderby-title([dD]).html modules.php?name=Downloads&cid=$1&orderby=titleD
RewriteRule ^download-sort-([0-9]*)-orderby-date([aA]).html modules.php?name=Downloads&cid=$1&orderby=dateA
RewriteRule ^download-sort-([0-9]*)-orderby-date([dD]).html modules.php?name=Downloads&cid=$1&orderby=dateD
RewriteRule ^download-sort-([0-9]*)-orderby-hits([aA]).html modules.php?name=Downloads&cid=$1&orderby=hitsA
RewriteRule ^download-sort-([0-9]*)-orderby-hits([dD]).html modules.php?name=Downloads&cid=$1&orderby=hitsD
RewriteRule ^download-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=]*)-([0-9]*)-([a-zA-Z0-9+]*)-([0-9]*).html modules.php?name=Downloads&d_op=search&query=$1&min=$2&orderby=$3&show=$4
RewriteRule ^download-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=]*)-([a-zA-Z0-9+]*).html modules.php?name=Downloads&d_op=search&query=$1&orderby=$2
RewriteRule ^download-search.html modules.php?name=Downloads&op=search
RewriteRule ^download-gfx-([0-9]*).html modules.php?name=Downloads&op=gfx&random_num=$1
RewriteRule ^downloads-cat([0-9]*).html modules.php?name=Downloads&cid=$1
RewriteRule ^downloads.html?min=([0-9]*)&cid=([0-9]*)$ modules.php?name=Downloads&min=$1&cid=$2
RewriteRule ^downloads.html downloads.html


Hope this help! Also, although I have not completed it yet for the NSN GR DL blocks, instead of modifying the block code for the blocks to be GT'd, I have a hack that I just released on my site that you might find useful (see link in my signature). It allows you to use a similar file in the GoogleTap directory to "tap" a block.

Regards,
montego

_________________
Where Do YOU Stand?
HTML Newsletter::ShortLinks::Mailer::Downloads and more... 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> GT - Next Gen and Standard

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 ©