Author |
Message |
dean
Worker
![Worker Worker](modules/Forums/images/ranks/3stars.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Apr 14, 2004
Posts: 193
|
Posted:
Thu Jul 14, 2005 11:56 am |
|
Would you please post the completed tap and htaccess entries here? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
Site Admin/Owner
![](modules/Forums/images/avatars/45030c033f18773153cd2.gif)
Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Thu Jul 14, 2005 12:05 pm |
|
I modified my .htaccess to thisCode:RewriteRule ^nukemanual-([[:alnum:]_-]*).html modules.php?name= PHP-Nuke_HOWTO&page=$1\.html [L]
|
cPanel works just fine. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
grantb
Regular
![Regular Regular](modules/Forums/images/ranks/2stars.gif)
![](modules/Forums/images/avatars/computerguy.gif)
Joined: Feb 16, 2005
Posts: 67
Location: Canada
|
Posted:
Thu Jul 14, 2005 12:07 pm |
|
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 "." |
_________________ Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
64bitguy
The Mouse Is Extension Of Arm
![](modules/Forums/images/avatars/183ecd6a404a3683445de.gif)
Joined: Mar 06, 2004
Posts: 1164
|
Posted:
Thu Jul 14, 2005 12:09 pm |
|
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. |
_________________ Steph Benoit
100% Section 508 and W3C HTML5 and CSS Compliant (Truly) Code, because I love compliance. |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Jul 14, 2005 12:13 pm |
|
I did not modify anything in the books, afaik. Here is what I am now usingCode:$urlin = array(
"'(?<!/)modules.php\?name=PHP-Nuke_HOWTO&page=([[:alnum:]-]*)\.html'",
"'(?<!/)modules.php\?name=PHP-Nuke_HOWTO'",
"'(?<!/)modules.php\?name=CPanel_User_Guide&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]
|
|
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
64bitguy
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Jul 14, 2005 12:19 pm |
|
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. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Jul 14, 2005 12:22 pm |
|
I haven't added that code yet - sorry |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
grantb
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Jul 14, 2005 12:28 pm |
|
Now for the php-manual and the pear manual.. LOL I think now I might be able to figure it out on my own 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? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Jul 14, 2005 12:44 pm |
|
Okay, try thisCode:"'(?<!/)modules.php\?name=PHP-Nuke_HOWTO&page=([[:alnum:]-\.]*)\.html'",
"'(?<!/)modules.php\?name=PHP-Nuke_HOWTO'",
"'(?<!/)modules.php\?name=CPanel_User_Guide&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]
|
|
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
64bitguy
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Jul 14, 2005 12:51 pm |
|
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 |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
grantb
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Jul 14, 2005 1:10 pm |
|
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. Now for the Pear Manual.. ![Rolling Eyes](modules/Forums/images/smiles/icon_rolleyes.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
grantb
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Jul 14, 2005 1:16 pm |
|
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! Let me know if you would like me to change the descriptions. Anyone up for making a Apache manual for nuke?.. heheh |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
64bitguy
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Jul 14, 2005 1:52 pm |
|
Hey Thanks.... Glad I could help, though I think raven did more.
If you want, you can use my signature or my standard banner:
Signature file: http://64bit.us/sig.gif
Standard 468 Banner used by referers http://64bit.us/64bit468.jpg
as my theme center is pretty crappy... (In fact I think I'm going to dump this theme soon anyway.) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Jul 14, 2005 1:55 pm |
|
Thanks for the link back. Glad I could help! |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
grantb
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Jul 14, 2005 2:01 pm |
|
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.. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|