You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 57 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - googletap & FAQ [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
bglkk
Guest






PostPosted: Tue Jul 29, 2003 7:38 pm Reply with quoteBack to top

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.
Find all posts by Anonymous
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Tue Jul 29, 2003 7:42 pm Reply with quoteBack to top

Yah I have to work on that.

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
Audioslaved
Elite Nuker
Elite Nuker


Joined: Jun 14, 2003
Posts: 420

Location: Hawaii and The Fan Forum

PostPosted: Mon Aug 04, 2003 5:58 pm Reply with quoteBack to top

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
Find all posts by AudioslavedView user's profileSend private messageSend e-mailVisit poster's website
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Mon Aug 04, 2003 6:38 pm Reply with quoteBack to top

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]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
Audioslaved
Elite Nuker
Elite Nuker


Joined: Jun 14, 2003
Posts: 420

Location: Hawaii and The Fan Forum

PostPosted: Mon Aug 04, 2003 6:41 pm Reply with quoteBack to top

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
Find all posts by AudioslavedView user's profileSend private messageSend e-mailVisit poster's website
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Mon Aug 04, 2003 6:50 pm Reply with quoteBack to top

Yah we'll include that one.

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
Audioslaved
Elite Nuker
Elite Nuker


Joined: Jun 14, 2003
Posts: 420

Location: Hawaii and The Fan Forum

PostPosted: Tue Aug 05, 2003 3:55 am Reply with quoteBack to top

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&amp;myfaq=yes&amp;id_cat=([0-9]*)&amp;categories=([a-zA-Z0-9+&]*)'",


Replace with:
Code:

"'(?<!/)modules.php\?name=FAQ&amp;myfaq=yes&amp;id_cat=([0-9]*)&amp;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
Find all posts by AudioslavedView user's profileSend private messageSend e-mailVisit poster's website
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Tue Aug 05, 2003 4:55 am Reply with quoteBack to top

Smile

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
Imago
Captain
Captain


Joined: Jan 17, 2003
Posts: 629

Location: Europe

PostPosted: Tue Aug 05, 2003 5:57 am Reply with quoteBack to top

And use this in .htaccess and header.php
Code:
name=FAQ&file=index
Find all posts by ImagoView user's profileSend private messageVisit poster's website
ibstk
Nuke Soldier
Nuke Soldier


Joined: Jul 12, 2003
Posts: 25


PostPosted: Fri Aug 08, 2003 9:49 pm Reply with quoteBack to top

Anybody more knows? Crying or Very sad Crying or Very sad Crying or Very sad
Find all posts by ibstkView user's profileSend private message
Audioslaved
Elite Nuker
Elite Nuker


Joined: Jun 14, 2003
Posts: 420

Location: Hawaii and The Fan Forum

PostPosted: Fri Aug 08, 2003 10:21 pm Reply with quoteBack to top

What seems to be problem, what isn't working for you?

_________________
GT-NExtGEn: The future of GoogleTap
http://gt-nextgen.com/

The Audioslave Fan Forum
http://www.audioslaved.com
Find all posts by AudioslavedView user's profileSend private messageSend e-mailVisit poster's website
Monnet
Nuke Soldier
Nuke Soldier


Joined: Jul 17, 2003
Posts: 20

Location: London, UK

PostPosted: Sat Aug 09, 2003 7:53 am Reply with quoteBack to top

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 Smile )

_________________
Ulrik Almlund - personal site http://almlund.dk

http://Europhilia.org - the online European community
<i>Debate about the European Union</i>
Find all posts by MonnetView user's profileSend private messageVisit poster's website
Audioslaved
Elite Nuker
Elite Nuker


Joined: Jun 14, 2003
Posts: 420

Location: Hawaii and The Fan Forum

PostPosted: Sat Aug 09, 2003 6:30 pm Reply with quoteBack to top

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
Find all posts by AudioslavedView user's profileSend private messageSend e-mailVisit poster's website
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Sun Aug 10, 2003 4:23 am Reply with quoteBack to top

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]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
Audioslaved
Elite Nuker
Elite Nuker


Joined: Jun 14, 2003
Posts: 420

Location: Hawaii and The Fan Forum

PostPosted: Sun Aug 10, 2003 4:29 am Reply with quoteBack to top

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
Find all posts by AudioslavedView user's profileSend private messageSend e-mailVisit poster's website
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next 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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.393 Seconds - 359 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::