HI
Thank You for a this mod.
It works great with 1.7.4.
Now some questions.
1. How can i change profile links to short?
In my htaccess is
RewriteRule ^profile([0-9]+)\.htm$ member.php?action=showprofile&user_id=$1&%{QUERY_STRING}
but they are stil
http://localhost/4images/member.php?action=showprofile&user_id=70
should i chande something in sessions.php?
2.I found here question about problems with dropdown form but i cant find answer
Its strange my dropdown works for all cattegories but there is always one url
http://localhost/4images/cat.htm
How can I add here cat id?
3. When I use search there is always same url
Wow can I add searching word to URL?
http://localhost/4images/search_xxxx.htm
xxxx- searching word
and same for user search
----------- edit -----------------------
add1
in sessions.php
before
elseif (strstr($url, 'postcards.php?image_id=')) {
add
elseif (strstr($url, 'member.php?action=showprofile&user_id=')) {
preg_match('#user_id=([0-9]+)&?#', $url, $matches);
if (isset($matches[1])) {
$split = explode('?', $url);
$url = $split[0];
$url = str_replace('member.php', 'profile'.$matches[1].'.htm', $url);
}
return $url;
}
Now short urls for profiles works and looks like
http://localhost/4images/profile49
And now I planing to make them like
http://localhost/4images/nick/profile
later planing
http://localhost/4images/search.htm?search_user=nick
change in to
http://localhost/4images/nick/gallery
If someone could help...