Montego Scripts: Forums
 

 

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



Joined: Sep 11, 2006
Posts: 92

PostPosted: Mon Oct 09, 2006 5:50 pm Reply with quote

I found this on codezwiz and it seems to work after removing some extra spaces. I have not had much time to test it.

GT-Forums.php

Find
Code:
$urlin = array(


After Add
Code:
 "'(?<!/)modules.php\?name=Forums&amp;file=arcade_search&amp;x=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=arcade_search'",
"'(?<!/)modules.php\?name=Forums&amp;file=comments_list&amp;start=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=comments_list'",
"'(?<!/)modules.php\?name=Forums&amp;file=comments'",
"'(?<!/)modules.php\?name=Forums&amp;file=toparcade&amp;start=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=toparcade'",
"'(?<!/)modules.php\?name=Forums&amp;file=arcade&amp;cid=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=arcade&amp;favori=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=arcade&amp;delfavori=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=arcade'",
"'(?<!/)modules.php\?name=Forums&amp;file=games&amp;gid=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=scoreboard&amp;gid=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=statarcade&amp;uid=([0-9]*)'",


Find
Code:

 $urlout = array(


After add
Code:
 "forums-arcade-search-\\1.html",
"forums-arcade-search.html",
"forums-comments-list-\\1.html",
"forums-comments-list.html",
"forums-comments.html",
"forums-toparcade-\\1.html",
"forums-toparcade.html",
"forums-arcade-\\1.html",
"forums-arcade-fav-\\1.html",
"forums-arcade-delfav-\\1.html",
"forums-arcade.html",
"forums-games-\\1.html",
"forums-scoreboard-\\1.html",
"forums-statarcade-\\1.html",


.htaccess

Code:
#Arcade
RewriteRule ^forums-arcade-search-([0-9]*).html modules.php?name=Forums&file=arcade_search&x=$1 [L]
RewriteRule ^forums-arcade-search.html modules.php?name=Forums&file=arcade_search [L]
RewriteRule ^forums-comments-list-([0-9]*).html modules.php?name=Forums&file=comments_list&start=$1 [L]
RewriteRule ^forums-comments-list.html modules.php?name=Forums&file=comments_list [L]
RewriteRule ^forums-comments.html modules.php?name=Forums&file=comments [L]
RewriteRule ^forums-toparcade-([0-9]*).html modules.php?name=Forums&file=toparcade&start=$1 [L]
RewriteRule ^forums-toparcade.html modules.php?name=Forums&file=toparcade [L]
RewriteRule ^forums-arcade-([0-9]*).html modules.php?name=Forums&file=arcade&cid=$1 [L]
RewriteRule ^forums-arcade-fav-([0-9]*).html modules.php?name=Forums&file=arcade&favori=$1 [L]
RewriteRule ^forums-arcade-delfav-([0-9]*).html modules.php?name=Forums&file=arcade&delfavori=$1 [L]
RewriteRule ^forums-arcade.html modules.php?name=Forums&file=arcade [L]
RewriteRule ^forums-games-([0-9]*).html modules.php?name=Forums&file=games&gid=$1 [L]
RewriteRule ^forums-scoreboard-([0-9]*).html modules.php?name=Forums&file=scoreboard&gid=$1 [L]
RewriteRule ^forums-statarcade-([0-9]*).html modules.php?name=Forums&file=statarcade&uid=$1 [L]
 
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Mon Oct 09, 2006 7:13 pm Reply with quote

Cool. Thanks!

_________________
“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