Author |
Message |
mrix
Client
Joined: Dec 04, 2004
Posts: 757
|
Posted:
Wed Aug 10, 2005 2:35 am |
|
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 |
|
|
|
|
hitwalker
Sells PC To Pay For Divorce
Joined:
Posts: 5661
|
Posted:
Wed Aug 10, 2005 12:17 pm |
|
did you checked the authors site for that?
It seems they have something... |
|
|
|
|
mrix
|
Posted:
Wed Aug 10, 2005 12:29 pm |
|
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&op=(KeywordSearch|MarketPlaceSearch|BrowseNodeSearch|AuthorSearch|ArtistSearch|ActorSearch|DirectorSearch|ManufacturerSearch)&keyword=([[:punct:](){}a-zA-Z0-9]*)&mode=([a-zA-Z0-9+-]*)'",
"'(?<!/)modules.php\?name=Amazon&op=(KeywordSearch|MarketPlaceSearch|BrowseNodeSearch|AuthorSearch|ArtistSearch|ActorSearch|DirectorSearch|ManufacturerSearch)&keyword=([[:punct:](){}a-zA-Z0-9]*)&mode=([a-zA-Z0-9+-]*)&AMZpage=([0-9]*)'",
"'(?<!/)modules.php\?name=Amazon&asin=([A-Z0-9]*)'",
"'(?<!/)modules.php\?name=Amazon&op=AsinSearch&keyword=([a-zA-Z0-9]*)'",
"'(?<!/)modules.php\?name=Amazon&op=ShowFI&catalog=([a-zA-Z0-9+]*)&AMZpage=([0-9]*)'",
"'(?<!/)modules.php\?name=Amazon&op=ShowFI&catalog=([a-zA-Z0-9+]*)'",
"'(?<!/)modules.php\?name=Amazon&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
|
Posted:
Wed Aug 10, 2005 12:45 pm |
|
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
|
Posted:
Wed Aug 10, 2005 2:30 pm |
|
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
|
Posted:
Wed Aug 10, 2005 3:18 pm |
|
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
|
Posted:
Wed Aug 10, 2005 3:40 pm |
|
I very much appriciate the help thanks
I`ll keep on searching
Thanks
mrix |
|
|
|
|
mrix
|
Posted:
Wed Aug 10, 2005 5:12 pm |
|
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
Joined: Apr 14, 2004
Posts: 193
|
Posted:
Wed Aug 10, 2005 6:24 pm |
|
|
|
|
|