| Author |
Message |
montego
Site Admin/Owner


Joined: Feb 12, 2005
Posts: 1294
|
Posted:
Thu Oct 23, 2008 8:53 am |
|
First off, I want to thank SpasticDonkey for his taps and Slaytanic for making them available for this great module of his. But, in keeping with publishing as many ShortLinks taps here too, I am providing them here as well.
Replace your current Content module rewrite rules in .htaccess with these (or add them if you previously did not have Content module rules in there):
| Code: |
#Content Plus
RewriteRule ^content-([0-9]*)-page([0-9]*).html modules.php?name=Content&pa=showpage&pid=$1&page=$2 [L]
RewriteRule ^content-cat-([0-9]*)-order-([0-9]*).html modules.php?name=Content&pa=list_pages_categories&cid=$1&order=$2 [L]
RewriteRule ^content-cat-([0-9]*).html modules.php?name=Content&pa=list_pages_categories&cid=$1 [L]
RewriteRule ^content-([0-9]*).html modules.php?name=Content&pa=showpage&pid=$1 [L]
RewriteRule ^content-send-page.html modules.php?name=Content&pa=send_page [L]
RewriteRule ^content-preview-page.html modules.php?name=Content&pa=preview_page [L]
RewriteRule ^content-add-page.html modules.php?name=Content&pa=add_page [L]
RewriteRule ^content-browsetag-([a-zA-Z0-9_-]*)-order-([0-9]*).html modules.php?name=Content&pa=BrowseTag&tag=$1&order=$2 [L]
RewriteRule ^content-browse-tag-([a-zA-Z0-9_-]*).html modules.php?name=Content&pa=browse_tag&tag=$1 [L]
RewriteRule ^content-browse-tags.html modules.php?name=Content&pa=browse_tags [L]
RewriteRule ^content.html content.html [L]
|
Overwrite your current GT-Content.php urlin and urlout array values with the following:
| Code: |
$urlin = array(
'"(?<!/)modules.php\?name=Content&pa=showpage&pid=([0-9]*)&page=([0-9]*)"',
'"(?<!/)modules.php\?name=Content&pa=list_pages_categories&cid=([0-9]*)&order=([0-9]*)"',
'"(?<!/)modules.php\?name=Content&pa=list_pages_categories&cid=([0-9]*)"',
'"(?<!/)modules.php\?name=Content&pa=showpage&pid=([0-9]*)"',
'"(?<!/)modules.php\?name=Content&pa=send_page"',
'"(?<!/)modules.php\?name=Content&pa=preview_page"',
'"(?<!/)modules.php\?name=Content&pa=add_page"',
'"(?<!/)modules.php\?name=Content&pa=BrowseTag&tag=([a-zA-Z0-9_-]*)&order=([0-9]*)"',
'"(?<!/)modules.php\?name=Content&pa=browse_tag&tag=([a-zA-Z0-9_-]*)"',
'"(?<!/)modules.php\?name=Content&pa=browse_tags"',
'"(?<!/)modules.php\?name=Content"'
);
$urlout = array(
'content-\\1-page\\2.html',
'content-cat-\\1-order-\\2.html',
'content-cat-\\1.html',
'content-\\1.html',
'content-send-page.html',
'content-preview-page.html',
'content-add-page.html',
'content-browsetag-\\1-order-\\2.html',
'content-browse-tag-\\1.html',
'content-browse-tags.html',
'content.html'
);
|
There you go. Thanks again guys! |
Last edited by montego on Sun Aug 30, 2009 9:47 am; edited 1 time in total |
|
|
 |
Palbin
Newbie


Joined: Nov 26, 2007
Posts: 22
|
Posted:
Tue Nov 11, 2008 1:54 pm |
|
I posted this a few others places, but figured it should be here to . A couple taps missing. I have added them below.
http://slaytanic.sourceforge.net/modules.php?name=Forums&file=viewtopic&p=371#371
| Code: |
#Content Plus
RewriteRule ^content-print-page-([0-9]*).html modules.php?name=Content&pa=print_page&pid=$1 [L]
RewriteRule ^content-print-pdf-([0-9]*).html modules.php?name=Content&pa=print_pdf&pid=$1 [L]
RewriteRule ^content-share-page-([0-9]*).html modules.php?name=Content&pa=share_page&op=FriendSend&pid=$1 [L]
RewriteRule ^content-([0-9]*)-page([0-9]*).html contentid-.html$1&page=$2 [L]
RewriteRule ^content-cat-([0-9]*)-order-([0-9]*).html content-cat-.html$1&order=$2 [L]
RewriteRule ^content-cat-([0-9]*).html content-cat-.html$1 [L]
RewriteRule ^content-([0-9]*).html contentid-.html$1 [L]
RewriteRule ^content-send-page.html modules.php?name=Content&pa=send_page [L]
RewriteRule ^content-preview-page.html modules.php?name=Content&pa=preview_page [L]
RewriteRule ^content-add-page.html modules.php?name=Content&pa=add_page [L]
RewriteRule ^content-browsetag-([a-zA-Z0-9_-]*)-order-([0-9]*).html modules.php?name=Content&pa=BrowseTag&tag=$1&order=$2 [L]
RewriteRule ^content-browse-tag-([a-zA-Z0-9_-]*).html modules.php?name=Content&pa=browse_tag&tag=$1 [L]
RewriteRule ^content-browse-tags.html modules.php?name=Content&pa=browse_tags [L]
RewriteRule ^content.html content.html [L] |
| Code: |
<?php
/************************************************************************
* Script: TegoNuke(tm) ShortLinks
* Version: 1.0
* Author: Rob Herder (aka: montego) of http://montegoscripts.com
* Contact: montego@montegoscripts.com
* Copyright: Copyright © 2006 by Montego Scripts
* License: GNU/GPL (see provided LICENSE.txt file)
************************************************************************/
//GT-NExtGEn 0.4/0.5 by Bill Murrin (Audioslaved) http://gt.audioslaved.com (c) 2004
//Original Nukecops GoogleTap done by NukeCops (http://www.nukecops.com)
$urlin = array(
'"(?<!/)modules.php\?name=Content&pa=print_page&pid=([0-9]*)"',
'"(?<!/)modules.php\?name=Content&pa=print_pdf&pid=([0-9]*)"',
'"(?<!/)modules.php\?name=Content&pa=share_page&op=FriendSend&pid=([0-9]*)"',
'"(?<!/)modules.php\?name=Content&pa=showpage&pid=([0-9]*)&page=([0-9]*)"',
'"(?<!/)modules.php\?name=Content&pa=list_pages_categories&cid=([0-9]*)&order=([0-9]*)"',
'"(?<!/)modules.php\?name=Content&pa=list_pages_categories&cid=([0-9]*)"',
'"(?<!/)modules.php\?name=Content&pa=showpage&pid=([0-9]*)"',
'"(?<!/)modules.php\?name=Content&pa=send_page"',
'"(?<!/)modules.php\?name=Content&pa=preview_page"',
'"(?<!/)modules.php\?name=Content&pa=add_page"',
'"(?<!/)modules.php\?name=Content&pa=BrowseTag&tag=([a-zA-Z0-9_-]*)&order=([0-9]*)"',
'"(?<!/)modules.php\?name=Content&pa=browse_tag&tag=([a-zA-Z0-9_-]*)"',
'"(?<!/)modules.php\?name=Content&pa=browse_tags"',
'"(?<!/)modules.php\?name=Content"'
);
$urlout = array(
'content-print-page-\\1.html',
'content-print-pdf-\\1.html',
'content-share-page-\\1.html',
'content-\\1-page\\2.html',
'content-cat-\\1-order-\\2.html',
'content-cat-\\1.html',
'content-\\1.html',
'content-send-page.html',
'content-preview-page.html',
'content-add-page.html',
'content-browsetag-\\1-order-\\2.html',
'content-browse-tag-\\1.html',
'content-browse-tags.html',
'content.html'
);
?> |
|
| |
|
|
 |
hicux
Newbie


Joined: Jan 30, 2009
Posts: 14
Location: NL
|
Posted:
Sun Aug 30, 2009 6:30 am |
|
Edit this post. It is Content Plus not Contact Plus.
After testing this ShortLink I get a blank page running the last version of RavenNuke. Any suggestion why it is not working?
Thanks in advance
Testing again and again
Search for
| Code: |
| RewriteRule ^content.html content.html [L] |
Replace with
| Code: |
| RewriteRule ^comments.html comments.html [L] |
I did it and it works but the rest of the option doesnt.  |
| |
|
|
 |
montego
Site Admin/Owner


Joined: Feb 12, 2005
Posts: 1294
|
Posted:
Sun Aug 30, 2009 9:52 am |
|
Why would you search and replace that? Makes no sense. Instead, your "Replace with" line should be this:
| Code: |
RewriteRule ^content.html content.html [L]
|
My turn now for the
The blank page is a server 500 issue and its actually being worked right now internally on the RN team. The Team found this issue out while QA testing. I'll post the fixed taps back here once the issue has been found and corrected. |
| |
|
|
 |
|
|