| Author |
Message |
bglkk
Guest

|
Posted:
Tue Jul 29, 2003 7:38 pm |
  |
Anybody have success getting googletap to work with the FAQ module? (I recall that FAQ function was still under construction earlier this year.) I downloaded the latest CVS version today, and the .htaccess file includes:
#FAQ
RewriteRule ^faq.html faq.html
RewriteRule ^faq-([0-9]*)-([a-zA-Z0-9+]*).html faq.html&myfaq=yes&id_cat=$1&categories=$2
But I still can't view FAQ categories--nothing happens when clicking a category. Everything else works smoothly with googletap.
Using Nuke 6.5. Cheers. |
|
|
 |
 |
Zhen-Xjell
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939
|
Posted:
Tue Jul 29, 2003 7:42 pm |
  |
Yah I have to work on that. |
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki] |
|
     |
 |
Audioslaved
Elite Nuker


Joined: Jun 14, 2003
Posts: 420
Location: Hawaii and The Fan Forum
|
Posted:
Mon Aug 04, 2003 5:58 pm |
  |
Has there been any success yet with this? I have two seperate faq's that I would like to Tap, I have had no luck yet trying to solve this one. If anyone has gotten this to work, please share the knowledge. Thanks.
-Bill |
|
|
     |
 |
Zhen-Xjell
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939
|
Posted:
Mon Aug 04, 2003 6:38 pm |
  |
Haven't had a chance... I'm working on getting all the websites launched first. There is one final one to launch for bug tracking and reporting. After that, its back to coding. CS has been doing all the coding right now while I'm busy with the server stuff. |
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki] |
|
     |
 |
Audioslaved
Elite Nuker


Joined: Jun 14, 2003
Posts: 420
Location: Hawaii and The Fan Forum
|
Posted:
Mon Aug 04, 2003 6:41 pm |
  |
Cool thx, I did some work to get that enhanced downloads working, I will post it in the thread, not sure if you want to include in or not though. |
_________________ GT-NExtGEn: The future of GoogleTap
http://gt-nextgen.com/
The Audioslave Fan Forum
http://www.audioslaved.com |
|
     |
 |
Zhen-Xjell
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939
|
Posted:
Mon Aug 04, 2003 6:50 pm |
  |
Yah we'll include that one. |
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki] |
|
     |
 |
Audioslaved
Elite Nuker


Joined: Jun 14, 2003
Posts: 420
Location: Hawaii and The Fan Forum
|
Posted:
Tue Aug 05, 2003 3:55 am |
  |
To solve the problem of the FAQ, simply reverse the order they appear within the header.php, since the entry for faq.html and the conversion at the bottom of the file appear before the questions portion, it does a rewrite on the first part before it even gets to the rewrite for the second part. If you cant follow me, do the following.
Find in header.php
| Code: |
"'(?<!/)modules.php\?name=FAQ'",
"'(?<!/)modules.php\?name=FAQ&myfaq=yes&id_cat=([0-9]*)&categories=([a-zA-Z0-9+&]*)'",
|
Replace with:
| Code: |
"'(?<!/)modules.php\?name=FAQ&myfaq=yes&id_cat=([0-9]*)&categories=([a-zA-Z0-9+&]*)'",
"'(?<!/)modules.php\?name=FAQ'",
|
And at the bottom of header.php find:
| Code: |
"faq.html",
"faq-\\1-\\2.html",
|
Replace with:
| Code: |
"faq-\\1-\\2.html",
"faq.html",
|
There you go, functional faq's. If you are using two, be sure to put the faq2 statements above the faq statements in both the header.php and the .htaccess file. Hope that helps some of you out.
-Bill |
|
|
     |
 |
Zhen-Xjell
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939
|
Posted:
Tue Aug 05, 2003 4:55 am |
  |
 |
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki] |
|
     |
 |
Imago
Captain


Joined: Jan 17, 2003
Posts: 629
Location: Europe
|
Posted:
Tue Aug 05, 2003 5:57 am |
  |
And use this in .htaccess and header.php
| Code: |
| name=FAQ&file=index |
|
|
|
    |
 |
ibstk
Nuke Soldier


Joined: Jul 12, 2003
Posts: 25
|
Posted:
Fri Aug 08, 2003 9:49 pm |
  |
|
   |
 |
Audioslaved
Elite Nuker


Joined: Jun 14, 2003
Posts: 420
Location: Hawaii and The Fan Forum
|
Posted:
Fri Aug 08, 2003 10:21 pm |
  |
|
     |
 |
Monnet
Nuke Soldier


Joined: Jul 17, 2003
Posts: 20
Location: London, UK
|
Posted:
Sat Aug 09, 2003 7:53 am |
  |
Thanks, Audioslaved, it works with your fix. However, FAQ categories that contain periods generate some really weird URLs, since the .html is inserted after the first period. So you get URLs like
http://yourdomain.com/faq-1-first+half+of+category.html.second+half
But this is a minor issue, and it still works.
(btw, Audioslave are pretty good, but not as good as their old bands ) |
_________________ Ulrik Almlund - personal site http://almlund.dk
http://Europhilia.org - the online European community
<i>Debate about the European Union</i> |
|
    |
 |
Audioslaved
Elite Nuker


Joined: Jun 14, 2003
Posts: 420
Location: Hawaii and The Fan Forum
|
Posted:
Sat Aug 09, 2003 6:30 pm |
  |
if you want to add the period I believe you only have add a period to the statement for it in .htaccess and header.php
find this in header
| Code: |
modules.php\?name=FAQ&myfaq=yes&id_cat=([0-9]*)&categories=([a-zA-Z0-9+]*)
|
change it to this
| Code: |
modules.php\?name=FAQ&myfaq=yes&id_cat=([0-9]*)&categories=([a-zA-Z0-9+&.]*)
|
now when you do the rewrite it will be able to include the periods too. Make sure you find the corresponding piece of code in the .htaccess file and add the period as well. Does anyone know if the period needs to be escaped by a back-slash, I think it will work fine without, but Im not 100% on that. Anyway, try it both ways, if ones works and one doesnt, you get the picture.
-Bill
-Bill |
_________________ GT-NExtGEn: The future of GoogleTap
http://gt-nextgen.com/
The Audioslave Fan Forum
http://www.audioslaved.com |
|
     |
 |
Zhen-Xjell
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939
|
Posted:
Sun Aug 10, 2003 4:23 am |
  |
You should probably try this in both locations:
([[:print:]]*)
Instead of
([a-zA-Z0-9+&.]*)
The regex "print" checks for any printable character including space. |
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki] |
|
     |
 |
Audioslaved
Elite Nuker


Joined: Jun 14, 2003
Posts: 420
Location: Hawaii and The Fan Forum
|
Posted:
Sun Aug 10, 2003 4:29 am |
  |
really! cool zx, that actually helps alot, do you have a site I can go to so I can see what the different variables can do? Thx by the way. |
_________________ GT-NExtGEn: The future of GoogleTap
http://gt-nextgen.com/
The Audioslave Fan Forum
http://www.audioslaved.com |
|
     |
 |
|
|