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
dean
Worker
Worker


Joined: Apr 14, 2004
Posts: 193

PostPosted: Thu Jul 14, 2005 11:56 am Reply with quote Back to top

Would you please post the completed tap and htaccess entries here?
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Thu Jul 14, 2005 12:05 pm Reply with quote Back to top

I modified my .htaccess to this
Code:
RewriteRule ^nukemanual-([[:alnum:]_-]*).html modules.php?name= PHP-Nuke_HOWTO&page=$1\.html [L]

cPanel works just fine.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
grantb
Regular
Regular


Joined: Feb 16, 2005
Posts: 67
Location: Canada

PostPosted: Thu Jul 14, 2005 12:07 pm Reply with quote Back to top

I had to change the three url's with the extra periods in them to be "_" in the book1.html, index.php, and renamed the files to use the "_" instead of "."
View user's profile Send private message
64bitguy
The Mouse Is Extension Of Arm


Joined: Mar 06, 2004
Posts: 1156
Location: Sanbornton, NH USA

PostPosted: Thu Jul 14, 2005 12:09 pm Reply with quote Back to top

Does anybody know if this thing is even getting worked on?

I've found a huge number of issues in this thing and that's why I don't have it on my domain. I realize that it makes a decent reference, but being so outdated, one must wonder if anyone is actually updating the thing. Is Chris or anyone else evolving it? I think February 2004 is pretty outdated in my mind anyway.
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Thu Jul 14, 2005 12:13 pm Reply with quote Back to top

I did not modify anything in the books, afaik. Here is what I am now using
Code:
$urlin = array(
"'(?<!/)modules.php\?name=PHP-Nuke_HOWTO&amp;page=([[:alnum:]-]*)\.html'",
"'(?<!/)modules.php\?name=PHP-Nuke_HOWTO'",
"'(?<!/)modules.php\?name=CPanel_User_Guide&amp;page=([[:alnum:]]*)\.htm'",
"'(?<!/)modules.php\?name=CPanel_User_Guide'"
);

$urlout = array(
"nukemanual-\\1.html",
"nukemanual.html",
"cpaneluserguide-\\1.html",
"cpaneluserguide.html"
);

.htaccess
#NukeManual User Guide
RewriteRule ^nukemanual-([[:alnum:]_-]*).html modules.php?name= PHP-Nuke_HOWTO&page=$1\.html [L]
RewriteRule ^nukemanual.html modules.php?name= PHP-Nuke_HOWTO [L]
#cPanel User Guide
RewriteRule ^cpaneluserguide-([[:alnum:]_-]*).html modules.php?name= CPanel_User_Guide&page=$1\.htm [L]
RewriteRule ^cpaneluserguide.html modules.php?name= CPanel_User_Guide [L]
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
64bitguy
The Mouse Is Extension Of Arm


Joined: Mar 06, 2004
Posts: 1156
Location: Sanbornton, NH USA

PostPosted: Thu Jul 14, 2005 12:19 pm Reply with quote Back to top

Yeah, but your credits-versions pages aren't working raven. Look for the ones with the extra periods in them, none of those are working.
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Thu Jul 14, 2005 12:22 pm Reply with quote Back to top

I haven't added that code yet - sorry
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
grantb
Regular
Regular


Joined: Feb 16, 2005
Posts: 67
Location: Canada

PostPosted: Thu Jul 14, 2005 12:28 pm Reply with quote Back to top

Now for the php-manual and the pear manual.. LOL I think now I might be able to figure it out on my own Wink I'll post the code if I get it working. I noticed that these two manuals have alot more "." in them so this could be interesting.. Any one know how to incorporate the "." into the rewrite?
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Thu Jul 14, 2005 12:44 pm Reply with quote Back to top

Okay, try this
Code:
"'(?<!/)modules.php\?name=PHP-Nuke_HOWTO&amp;page=([[:alnum:]-\.]*)\.html'",
"'(?<!/)modules.php\?name=PHP-Nuke_HOWTO'",
"'(?<!/)modules.php\?name=CPanel_User_Guide&amp;page=([[:alnum:]]*)\.htm'",
"'(?<!/)modules.php\?name=CPanel_User_Guide'"
);

$urlout = array(
"nukemanual-\\1.html",
"nukemanual.html",
"cpaneluserguide-\\1.html",
"cpaneluserguide.html"
);

#NukeManual User Guide
RewriteRule ^nukemanual-([[:alnum:]_-]*).html modules.php?name= PHP-Nuke_HOWTO&page=$1\.html [L]
RewriteRule ^nukemanual-([[:alnum:]_-]*).([[:alnum:]_-]*).html modules.php?name= PHP-Nuke_HOWTO&page=$1\.$2\.html [L]
RewriteRule ^nukemanual.html modules.php?name= PHP-Nuke_HOWTO [L]
#cPanel User Guide
RewriteRule ^cpaneluserguide-([[:alnum:]_-]*).html modules.php?name= CPanel_User_Guide&page=$1\.htm [L]
RewriteRule ^cpaneluserguide.html modules.php?name= CPanel_User_Guide [L]
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
64bitguy
The Mouse Is Extension Of Arm


Joined: Mar 06, 2004
Posts: 1156
Location: Sanbornton, NH USA

PostPosted: Thu Jul 14, 2005 12:51 pm Reply with quote Back to top

Yup, that should work with the \. after the alnum in there for the older version of GoogleTap.

Grant, If you see periods in there like that in your Cpanel manual, change the Cpanel functions to be the way raven has it coded for the howto guide.

You'll have to do the same thing in your .htaccess
View user's profile Send private message Visit poster's website
grantb
Regular
Regular


Joined: Feb 16, 2005
Posts: 67
Location: Canada

PostPosted: Thu Jul 14, 2005 1:10 pm Reply with quote Back to top

Yep that did it!! I have now tapped the PHP-Manual.. and all url's work. You were right Steph, Raven's code for the periods "." worked great. Smile Now for the Pear Manual.. Rolling Eyes
View user's profile Send private message
grantb
Regular
Regular


Joined: Feb 16, 2005
Posts: 67
Location: Canada

PostPosted: Thu Jul 14, 2005 1:16 pm Reply with quote Back to top

Pear Manual tapped the same way as the php-manual and the phpnukehowto. You guys are the best! Oh and here is the page that I added your links to
Only registered users can see links on this board!
Get registered or login to the forums!
Let me know if you would like me to change the descriptions. Smile Anyone up for making a Apache manual for nuke?.. heheh
View user's profile Send private message
64bitguy
The Mouse Is Extension Of Arm


Joined: Mar 06, 2004
Posts: 1156
Location: Sanbornton, NH USA

PostPosted: Thu Jul 14, 2005 1:52 pm Reply with quote Back to top

Hey Thanks.... Glad I could help, though I think raven did more. Smile

If you want, you can use my signature or my standard banner:

Signature file:
Only registered users can see links on this board!
Get registered or login to the forums!


Standard 468 Banner used by referers
Only registered users can see links on this board!
Get registered or login to the forums!


as my theme center is pretty crappy... (In fact I think I'm going to dump this theme soon anyway.)
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Thu Jul 14, 2005 1:55 pm Reply with quote Back to top

Thanks for the link back. Glad I could help!
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
grantb
Regular
Regular


Joined: Feb 16, 2005
Posts: 67
Location: Canada

PostPosted: Thu Jul 14, 2005 2:01 pm Reply with quote Back to top

For some reason the sig file didn't work.. probly the module I am using for links, but used the referers banner you posted. Anyone needs the code for any of the manuals, let me know or post on my forums in the phpnuke section. I am looking at the Apache manual next, but looks like it could be quite the job to make into a module..
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-2011 by Raven

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 Modified by the RavenNuke™ Team ::

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

zerosum