Montego Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic
Author Message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Sat Feb 03, 2007 5:53 pm Reply with quote

Since someone asked me for this recently, I felt like I needed to put this "out there". This is simply to "tap" the NSN Groups module itself, which is where one can see the public groups and get minimal info on each group.

GT-Groups.php:

Code:

$urlin = array(
'"(?<!/)modules.php\?name=Groups&amp;op=GRInfo&amp;gid=([0-9]*)"',
'"(?<!/)modules.php\?name=Groups"'
);

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


.htaccess:

Code:

#NSN Groups
RewriteRule ^groups-([0-9]*).html modules.php?name=Groups&op=GRInfo&gid=$1 [L]
RewriteRule ^groups.html groups.html [L]

_________________
“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
Guardian
Site Admin
Site Admin



Joined: Jul 18, 2005
Posts: 397

PostPosted: Sun Feb 04, 2007 6:37 am Reply with quote

Thanks 'M' I'm sure this will come in handy.
 
View user's profile Send private message
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