- Readme First! - Read and follow the rules, otherwise your posts will be closed
There are currently, 34 guest(s) and 0 member(s) that are online. You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Help me tapping Recipes 1.5.5 and Ingredients 1.0 [ ]
Author
Message
Guidyy
Sergeant
Joined: Sep 01, 2003
Posts: 77
Posted:
Sun Jan 02, 2005 2:27 am
Hi All,
I'm having problem with tapping these URLs.
Other tapping are just fine, but no way i can have the recipes comments and the ingredients view tapped right.
Code:
http://www.yummyfood.net/modules.php?name=Ingredients&op=search&cat_id=15&sort=ingredient_name
http://www.yummyfood.net/modules.php?name=Ingredients&op=viewingredient&ingredientid=219&offset=0
http://www.yummyfood.net/modules.php?name=Recipes&file=comments
http://www.yummyfood.net/modules.php?name=Recipes&file=comments&op=Reply&pid=21&id=190&mode=&order=0&thold=0
http://www.yummyfood.net/modules.php?name=Recipes&file=admin&op=RemoveComment&tid=21&id=190
I think one of the problems is sort=ingredient_name , but i can't figure out how to solve
This My GT-Recipes ( not my work though)
Code:
<?php
$urlin = array(
"'(?<!/)modules.php\?name=Recipes&op=delete&recipeid=([0-9]*)'",
"'(?<!/)modules.php\?name=Recipes&op=edit&recipeid=([0-9]*)&offset=([0-9]*)'",
"'(?<!/)modules.php\?name=Recipes&op=emailrecipe&recipeid=([0-9]*)'",
"'(?<!/)modules.php\?name=Recipes&file=print&recipeid=([0-9]*)'",
"'(?<!/)modules.php\?name=Recipes&op=viewrecipe&recipeid=([0-9]*)&offset=([0-9]*)#start'",
"'(?<!/)modules.php\?name=Recipes&op=search&cat_id=([0-9]*)&sort=([a-zA-Z0-9]*)'",
"'(?<!/)modules.php\?name=Recipes&op=alphabrowse&query=([a-zA-Z0-9]*)'",
"'(?<!/)modules.php\?name=Recipes&op=newpage&pagenum=([0-9]*)'",
"'(?<!/)modules.php\?name=Recipes&file=converter'",
"'(?<!/)modules.php\?name=Recipes&op=toprated'",
"'(?<!/)modules.php\?name=Recipes&op=mostread'",
"'(?<!/)modules.php\?name=Recipes&op=searchstart'",
"'(?<!/)modules.php\?name=Recipes&op=request&file=request'",
"'(?<!/)modules.php\?name=Recipes&file=module_config&op=config'",
"'(?<!/)modules.php\?name=Recipes&file=admin&op=editcategories'",
"'(?<!/)modules.php\?name=Recipes&file=introduction&op=edit'",
"'(?<!/)modules.php\?name=Recipes&file=admin&op=checkupdates'",
"'(?<!/)modules.php\?name=Recipes&file=admin&op=sendfeedback'",
"'(?<!/)modules.php\?name=Recipes&op=addnew'",
"'(?<!/)modules.php\?name=Recipes'" );
$urlout = array(
"recipes-delete-\\1.html",
"recipes-edit-\\1.html",
"recipes-emailrecipe-\\1.html",
"recipes-print-\\1.html",
"recipes-viewid-\\1-offset-\\2.html#start",
"recipes-search-catid-\\1-sort-\\2.html",
"recipes-alphabrowse-query-\\1.html",
"recipes-newpage-pagenum-\\1.html",
"recipes-converter.html",
"recipes-toprated.html",
"recipes-mostread.html",
"recipes-search.html",
"recipes-request.html",
"recipes-config.html",
"recipes-admin-editcategories.html",
"recipes-admin-introduction-edit.html",
"recipes-checkupdates.html",
"recipes-sendfeedback.html",
"recipes-addnew.html",
"recipes.html"
);
?>
this is my GT-Ingredients (my work)
Code:
<?php
$urlin = array(
"'(?<!/)modules.php\?name=Ingredients&op=delete&ingredientid=([0-9]*)'",
"'(?<!/)modules.php\?name=Ingredients&op=edit&ingredientid=([0-9]*)&offset=([0-9]*)'",
"'(?<!/)modules.php\?name=Ingredients&op=viewingredient&ingredientid=([0-9]*)&offset=([0-9]*)'",
"'(?<!/)modules.php\?name=Ingredients&op=search&cat_id=([0-9]*)&sort=([a-zA-Z0-9]*)'",
"'(?<!/)modules.php\?name=Ingredients&op=alphabrowse&query=([a-zA-Z0-9]*)'",
"'(?<!/)modules.php\?name=Ingredients&op=newpage&pagenum=([0-9]*)'",
"'(?<!/)modules.php\?name=Ingredients&op=searchstart'",
"'(?<!/)modules.php\?name=Ingredients&file=module_config&op=config'",
"'(?<!/)modules.php\?name=Ingredients&file=admin&op=editcategories'",
"'(?<!/)modules.php\?name=Ingredients&file=introduction&op=edit'",
"'(?<!/)modules.php\?name=Ingredients&file=admin&op=checkupdates'",
"'(?<!/)modules.php\?name=Ingredients&file=admin&op=sendfeedback'",
"'(?<!/)modules.php\?name=Ingredients&op=addnew'",
"'(?<!/)modules.php\?name=Ingredients'" );
$urlout = array(
"ingredients-delete-\\1.html",
"ingredients-edit-\\1.html",
"ingredients-viewid-\\1-offset-\\2.html",
"ingredients-search-catid-\\1-sort-\\2.html",
"ingredients-alphabrowse-query-\\1.html",
"ingredients-newpage-pagenum-\\1.html",
"ingredients-search.html",
"ingredients-config.html",
"ingredients-admin-editcategories.html",
"ingredients-admin-introduction-edit.html",
"ingredients-checkupdates.html",
"ingredients-sendfeedback.html",
"ingredients-addnew.html",
"ingredients.html"
);
?>
This is .htaccess
Code:
#Recipe
RewriteRule ^recipes-viewid-([0-9]*)-offset-([0-9]*).html /modules.php?name=Recipes&op=viewrecipe&recipeid=$1&offset=$2#start
RewriteRule ^recipes-search-catid-([0-9]*)-sort-([a-zA-Z0-9]*).html /modules.php?name=Recipes&op=search&cat_id=$1&sort=$2
RewriteRule ^recipes-print-([0-9]*).html /modules.php?name=Recipes&file=print&recipeid=$1
RewriteRule ^recipes-emailrecipe-([0-9]*).html /modules.php?name=Recipes&op=emailrecipe&recipeid=$1
RewriteRule ^recipes-edit-([0-9]*).html /modules.php?name=Recipes&op=edit&recipeid=$1&offset=$2
RewriteRule ^recipes-delete-([0-9]*).html /modules.php?name=Recipes&op=delete&recipeid=$1
RewriteRule ^recipes-alphabrowse-query-([a-zA-Z0-9]*).html /modules.php?name=Recipes&op=alphabrowse&query=$1
RewriteRule ^recipes-newpage-pagenum-([0-9]*).html /modules.php?name=Recipes&op=newpage&pagenum=$1
RewriteRule ^recipes-sendfeedback.html /modules.php?name=Recipes&file=admin&op=sendfeedback
RewriteRule ^recipes-checkupdates.html /modules.php?name=Recipes&file=admin&op=checkupdates
RewriteRule ^recipes-admin-introduction-edit.html /modules.php?name=Recipes&file=introduction&op=edit
RewriteRule ^recipes-admin-editcategories.html /modules.php?name=Recipes&file=admin&op=editcategories
RewriteRule ^recipes-config.html /modules.php?name=Recipes&file=module_config&op=config
RewriteRule ^recipes-converter.html /modules.php?name=Recipes&file=converter
RewriteRule ^recipes-toprated.html /modules.php?name=Recipes&op=toprated
RewriteRule ^recipes-mostread.html /modules.php?name=Recipes&op=mostread
RewriteRule ^recipes-search.html /modules.php?name=Recipes&op=searchstart
RewriteRule ^recipes-request.html /modules.php?name=Recipes&op=request&file=request
RewriteRule ^recipes-addnew.html /modules.php?name=Recipes&op=addnew
RewriteRule ^recipes.html /modules.php?name=Recipes
#Ingredients
RewriteRule ^ingredients-viewid-([0-9]*)-offset-([0-9]*).html /modules.php?name=Ingredients&op=viewingredient&ingredientid=$1&offset=$2#start
RewriteRule ^ingredients-search-catid-([0-9]*)-sort-([a-zA-Z0-9]*).html /modules.php?name=Ingredients&op=search&cat_id=$1&sort=$2
RewriteRule ^ingredients-edit-([0-9]*).html /modules.php?name=Ingredients&op=edit&ingredientid=$1&offset=$2
RewriteRule ^ingredients-delete-([0-9]*).html /modules.php?name=Ingredients&op=delete&ingredientid=$1
RewriteRule ^ingredients-alphabrowse-query-([a-zA-Z0-9]*).html /modules.php?name=Ingredients&op=alphabrowse&query=$1
RewriteRule ^ingredients-newpage-pagenum-([0-9]*).html /modules.php?name=ingredients&op=newpage&pagenum=$1
RewriteRule ^ingredients-sendfeedback.html /modules.php?name=Ingredients&file=admin&op=sendfeedback
RewriteRule ^ingredients-checkupdates.html /modules.php?name=Ingredients&file=admin&op=checkupdates
RewriteRule ^ingredients-admin-introduction-edit.html /modules.php?name=Ingredients&file=introduction&op=edit
RewriteRule ^ingredients-admin-editcategories.html /modules.php?name=Ingredients&file=admin&op=editcategories
RewriteRule ^ingredients-config.html /modules.php?name=Ingredients&file=module_config&op=config
RewriteRule ^ingredients-search.html /modules.php?name=Ingredients&op=searchstart
RewriteRule ^ingredients-addnew.html /modules.php?name=Ingredients&op=addnew
RewriteRule ^ingredients.html /modules.php?name=ingredients
What the heck i'm doing wrong???
I need this stuff tapped sigh..
Google doesn't love my site....
Thank you very much
Guido
http://www.yummyfood.net
Guidyy
Sergeant
Joined: Sep 01, 2003
Posts: 77
Posted:
Sun Jan 02, 2005 10:48 pm
I got the 1st two issues fixed by myself..
but still no luck with the recipes comments.
Anyone?
cheers, Guido
Guidyy
Sergeant
Joined: Sep 01, 2003
Posts: 77
Posted:
Wed Jan 05, 2005 11:21 pm
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