Montego Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic
Author Message
Palbin
Newbie
Newbie



Joined: Nov 26, 2007
Posts: 25

PostPosted: Thu Feb 19, 2009 10:59 pm Reply with quote

Here are the taps for NukeProject

.htaccess:
Code:

#NukeProject
RewriteRule ^project-([0-9]*).html modules.php?name=Projects&op=PJProject&project_id=$1 [L]
RewriteRule ^project-task-([0-9]*).html modules.php?name=Projects&op=PJTask&task_id=$1 [L]
RewriteRule ^project-([0-9]*)-submit-report.html modules.php?name=Projects&op=PJReportSubmit&project_id=$1 [L]
RewriteRule ^project-([0-9]*)-submit-request.html modules.php?name=Projects&op=PJRequestSubmit&project_id=$1 [L]
RewriteRule ^project-report-([0-9]*).html modules.php?name=Projects&op=PJReport&report_id=$1 [L]
RewriteRule ^project-request-([0-9]*).html modules.php?name=Projects&op=PJRequest&request_id=$1 [L]
RewriteRule ^project-report-comment-([0-9]*).html modules.php?name=Projects&op=PJReportCommentSubmit&report_id=$1 [L]
RewriteRule ^project-request-comment-([0-9]*).html modules.php?name=Projects&op=PJRequestCommentSubmit&request_id=$1 [L]
RewriteRule ^project-task-map.html modules.php?name=Projects&op=PJTaskMap [L]
RewriteRule ^project-report-map.html modules.php?name=Projects&op=PJReportMap [L]
RewriteRule ^project-request-map.html modules.php?name=Projects&op=PJRequestMap [L]
RewriteRule ^project.html modules.php?name=Projects [L]


GT-Projects.php:
Code:

<?php
/******************************************************************************
* Script:     TegoNuke(tm) ShortLinks "Module Tap" for the NukeProjects
*
* License:    GNU/GPL (see provided LICENSE.txt file)
******************************************************************************/

$urlin = array(
'"(?<!/)modules.php\?name=Projects&amp;op=PJProject&amp;project_id=([0-9]*)"',
'"(?<!/)modules.php\?name=Projects&amp;op=PJTask&amp;task_id=([0-9]*)"',
'"(?<!/)modules.php\?name=Projects&amp;op=PJReportSubmit&amp;project_id=([0-9]*)"',
'"(?<!/)modules.php\?name=Projects&amp;op=PJRequestSubmit&amp;project_id=([0-9]*)"',
'"(?<!/)modules.php\?name=Projects&amp;op=PJReport&amp;report_id=([0-9]*)"',
'"(?<!/)modules.php\?name=Projects&amp;op=PJRequest&amp;request_id=([0-9]*)"',
'"(?<!/)modules.php\?name=Projects&amp;op=PJReportCommentSubmit&amp;report_id=([0-9]*)"',
'"(?<!/)modules.php\?name=Projects&amp;op=PJRequestCommentSubmit&amp;request_id=([0-9]*)"',
'"(?<!/)modules.php\?name=Projects&amp;op=PJTaskMap"',
'"(?<!/)modules.php\?name=Projects&amp;op=PJReportMap"',
'"(?<!/)modules.php\?name=Projects&amp;op=PJRequestMap"',
'"(?<!/)modules.php\?name=Projects"'
);

$urlout = array(
'project-\\1.html',
'project-task-\\1.html',
'project-\\1-submit-report.html',
'project-\\1-submit-request.html',
'project-report-\\1.html',
'project-request-\\1.html',
'project-report-comment-\\1.html',
'project-request-comment-\\1.html',
'project-task-map.html',
'project-report-map.html',
'project-request-map.html',
'project.html'
);

?>


GTB-block-NukeProject.php:
Code:

<?php
/******************************************************************************
* Script:     TegoNuke(tm) ShortLinks "Block Tap" for the block-NukeProject.php
*             block file.
* License:    GNU/GPL (see provided LICENSE.txt file)
******************************************************************************/

$urlin = array(
'"(?<!/)modules.php\?name=Projects&amp;op=PJProject&amp;project_id=([0-9]*)"'
);

$urlout = array(
'project-\\1.html'
);

?>
 
View user's profile Send private message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Fri Feb 20, 2009 8:06 am Reply with quote

Thank you sir!

_________________
“To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

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


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 4 Hours
 
Forums ©
linear-bunch
linear-bunch