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
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Sat Apr 01, 2006 3:12 pm Reply with quote

Ok this the story......the page listing like page 1 , 2 etc...isnt working .
So when i set the view per 5 it shows 2 pages but it doesnt work.
Its stuck on the first page.
So you start at guestbook.html and the second page is guestbook.html?page=2
but that doesnt work.

Anyone see whats wrong?

Code:


$urlin = array(
"'(?<!/)modules.php\?name=GbookMX&amp;op=admin&amp;action=([a-zA-Z_]*)&amp;ipban=([a-zA-Z0-9]*)&amp;confirm=ok'",
"'(?<!/)modules.php\?name=GbookMX&amp;op=admin&amp;action=([a-zA-Z_]*)&amp;id=([a-zA-Z0-9]*)&amp;confirm=ok'",
"'(?<!/)modules.php\?name=GbookMX&amp;op=admin&amp;action=([a-zA-Z_]*)&amp;([a-z]*)=([a-zA-Z0-9_]*)'",
"'(?<!/)modules.php\?name=GbookMX&amp;op=admin&amp;action=([a-zA-Z_]*)'",
"'(?<!/)modules.php\?name=GbookMX&amp;op=admin'",
"'(?<!/)modules.php\?name=GbookMX&amp;op=Add_Sign'",
"'(?<!/)modules.php\?name=GbookMX&amp;idioma=([a-zA-Z]*)'",
"'(?<!/)modules.php\?name=GbookMX'"
);

$urlout = array(
"guestbook-admin-\\1-ipban\\2-confirm.html",
"guestbook-admin-\\1-id\\2-confirm.html",
"guestbook-admin-\\1-\\2-\\3.html",
"guestbook-admin-\\1.html",
"guestbook-admin.html",
"guestbook-sign.html",
"guestbook-\\1.html",
"guestbook.html"
);



And the htaccess part

Code:


#GbookMX
RewriteRule ^guestbook-admin-([a-zA-Z_]*)-ipban([a-zA-Z0-9]*)-confirm.html modules.php?name=GbookMX&op=admin&action=$1&ipban=$2&confirm=ok
RewriteRule ^guestbook-admin-([a-zA-Z_]*)-id([a-zA-Z0-9]*)-confirm.html modules.php?name=GbookMX&op=admin&action=$1&id=$2&confirm=ok
RewriteRule ^guestbook-admin-([a-zA-Z_]*)-([a-z]*)-([a-zA-Z0-9_]*).html modules.php?name=GbookMX&op=admin&action=$1&$2=$3
RewriteRule ^guestbook-admin-([a-zA-Z_]*).html modules.php?name=GbookMX&op=admin&action=$1
RewriteRule ^guestbook-admin.html modules.php?name=GbookMX&op=admin
RewriteRule ^guestbook-sign.html modules.php?name=GbookMX&op=Add_Sign
RewriteRule ^guestbook-([a-zA-Z]*).html modules.php?name=GbookMX&idioma=$1
RewriteRule ^guestbook.html modules.php?name=GbookMX

 
View user's profile Send private message
montego
Site Admin


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

PostPosted: Sun Apr 02, 2006 7:41 am Reply with quote

We need to see what the UN-GT'd link looks like for the second page link.

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
hitwalker
PostPosted: Sun Apr 02, 2006 7:42 am Reply with quote

hi...
well without GT the next page is.
modules.php?name=GbookMX&page=2
 
montego
PostPosted: Sun Apr 02, 2006 7:47 am Reply with quote

Ok, now I can answer you. It is as I expected. You do not have a rule to cover this. You need to add a urlin/out and .htaccess set of "rules" that have the "&amp;page=([0-9]*)"
 
hitwalker
PostPosted: Sun Apr 02, 2006 8:03 am Reply with quote

oh but i just used it as it was...
so if this works..
 
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 ©