Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.6
Author Message
mrix
Client



Joined: Dec 04, 2004
Posts: 757

PostPosted: Wed Aug 10, 2005 2:35 am Reply with quote

Hi all, I just tried out this version on my phpnuke 7.6 site and all works fine unforunately I cant seem to google tap it? the file that comes with it doesnt seem to have the updated tap for phpnuke 7.6, does anyone know what I have to do to google tap this?
Thanks for any help all
Cheers
mrix
 
View user's profile Send private message Visit poster's website
hitwalker
Sells PC To Pay For Divorce



Joined:
Posts: 5661

PostPosted: Wed Aug 10, 2005 12:17 pm Reply with quote

did you checked the authors site for that?
It seems they have something...
 
View user's profile Send private message
mrix







PostPosted: Wed Aug 10, 2005 12:29 pm Reply with quote

Well it did come with these details but I dont think the relate to the phpnuke 7.6 header.php??? as there is no - $urlin = array( string and $urlout = array in 7.6 header.php

The google tap for the Amazon module:

To Implement this you will need to change your .htacess and header.php files

0. BACKUP UP:BACKUP UP:BACKUP UP:BACKUP UP:BACKUP UP:BACKUP UP:BACKUP UP:BACKUP UP:BACKUP UP:

1. In my .htaccess file I have this section for the amazon module:

#NukeAmazon .htaccess
RewriteRule ^amazon-buy-([A-Z0-9]*).html modules.php?name=Amazon&asin=$1
RewriteRule ^amazon-to-(ShowCart|home).html modules.php?name=Amazon&op=$1
RewriteRule ^amazon-search_(MarketPlaceSearch|BrowseNodeSearch|AuthorSearch|ArtistSearch|ActorSearch|DirectorSearch|ManufacturerSearch)_([[:punct:](){}a-zA-Z0-9]*)_([a-zA-Z0-9+-]*)_([0-9]*).html modules.php?name=Amazon&op=$1&keyword=$2&mode=$3&AMZpage=$4
RewriteRule ^amazon-search_(MarketPlaceSearch|BrowseNodeSearch|AuthorSearch|ArtistSearch|ActorSearch|DirectorSearch|ManufacturerSearch)_([[:punct:](){}a-zA-Z0-9]*)_([a-zA-Z0-9+-]*).html modules.php?name=Amazon&op=$1&keyword=$2&mode=$3
RewriteRule ^amazon-([a-zA-Z0-9+]*)-([0-9]*).html modules.php?name=Amazon&op=ShowFI&catalog=$1&AMZpage=$2
RewriteRule ^amazon-([a-zA-Z0-9+]*).html modules.php?name=Amazon&op=ShowFI&catalog=$1
RewriteRule ^amazon-search-([a-zA-Z0-9]*)-([+(){}a-zA-Z0-9]*)-([0-9]*).html modules.php?name=Amazon&op=More&searchmode=KeywordSearch&keyword=$1&mode=$2&AMZpage=$3


2. In the header.php file I the following at the END of the "$urlin = array( string"
be careful to on the syntax here, you will need to add a , to the end of the previously last enty in the list to make the syntax right

"'(?<!/)modules.php\?name=Amazon&amp;op=(KeywordSearch|MarketPlaceSearch|BrowseNodeSearch|AuthorSearch|ArtistSearch|ActorSearch|DirectorSearch|ManufacturerSearch)&amp;keyword=([[:punct:](){}a-zA-Z0-9]*)&amp;mode=([a-zA-Z0-9+-]*)'",
"'(?<!/)modules.php\?name=Amazon&amp;op=(KeywordSearch|MarketPlaceSearch|BrowseNodeSearch|AuthorSearch|ArtistSearch|ActorSearch|DirectorSearch|ManufacturerSearch)&amp;keyword=([[:punct:](){}a-zA-Z0-9]*)&amp;mode=([a-zA-Z0-9+-]*)&amp;AMZpage=([0-9]*)'",
"'(?<!/)modules.php\?name=Amazon&amp;asin=([A-Z0-9]*)'",
"'(?<!/)modules.php\?name=Amazon&amp;op=AsinSearch&amp;keyword=([a-zA-Z0-9]*)'",
"'(?<!/)modules.php\?name=Amazon&amp;op=ShowFI&amp;catalog=([a-zA-Z0-9+]*)&amp;AMZpage=([0-9]*)'",
"'(?<!/)modules.php\?name=Amazon&amp;op=ShowFI&amp;catalog=([a-zA-Z0-9+]*)'",
"'(?<!/)modules.php\?name=Amazon&amp;op=(ShowCart|home)'",


3. Then at the end of the "$urlout = array(" you need to add the following. Again watch the comma syntax as about.
Also one important note. The urlin array and the urlout arrays need to have the entries in the EXACT same sequence or it will not work.

"amazon-search_\\1_\\2_\\3.html",
"amazon-search_\\1_\\2_\\3_\\4.html",
"amazon-buy-\\1.html",
"asin-search-\\1.html",
"amazon-\\1-\\2.html",
"amazon-\\1.html",
"amazon-to-\\1.html",


Last edited by mrix on Wed Aug 10, 2005 12:46 pm; edited 1 time in total 
hitwalker







PostPosted: Wed Aug 10, 2005 12:45 pm Reply with quote

well when they say its for the header.php then you should try that.
but i read that the googletap stuff was available on the authors website...
 
mrix







PostPosted: Wed Aug 10, 2005 2:30 pm Reply with quote

Hi I went to their websites forums and found 2 un-answered posts with the same question as mine, I am hopeing the Raven peeps should be able to fix this as it looks like it might not be too bad to fix?
Cheers
mrix
 
hitwalker







PostPosted: Wed Aug 10, 2005 3:18 pm Reply with quote

well ive searched till i dropped and found a few things but didnt helped...
i suggest you post your request again in the gt next gen forum here... [ Only registered users can see links on this board! Get registered or login! ]
 
mrix







PostPosted: Wed Aug 10, 2005 3:40 pm Reply with quote

I very much appriciate the help thanks
I`ll keep on searching
Thanks
mrix
 
mrix







PostPosted: Wed Aug 10, 2005 5:12 pm Reply with quote

Finally managed to track a fix down here and it works [ Only registered users can see links on this board! Get registered or login! ]
one thing though the main page is not Amazon.html its
amazon-to-home.html
cheers
mrix
 
dean
Worker
Worker



Joined: Apr 14, 2004
Posts: 193

PostPosted: Wed Aug 10, 2005 6:24 pm Reply with quote

I provided GTNextGen code for this http://www.ravenphpscripts.com/postp43502.html but like the poster at nukecops, was unable to tap the search function.
 
View user's profile Send private message
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.6

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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©