PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
persona_non_grata



Joined:
Posts: 0

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

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: 7458
Location: Arizona

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

We need to see what the UN-GT'd link looks like for the second page link.
View user's profile Send private message Visit poster's website
persona_non_grata



Joined:
Posts: 0

PostPosted: Sun Apr 02, 2006 7:42 am Reply with quote Back to top

hi...
well without GT the next page is.
modules.php?name=GbookMX&page=2
View user's profile Send private message
montego
Site Admin


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

PostPosted: Sun Apr 02, 2006 7:47 am Reply with quote Back to top

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]*)"
View user's profile Send private message Visit poster's website
persona_non_grata



Joined:
Posts: 0

PostPosted: Sun Apr 02, 2006 8:03 am Reply with quote Back to top

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

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum