Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - seksihatun

Pages: [1]
1
no i changed to original code posted first page in this subject.it did not work..

still they like
http://www.website.com/.htmhtm=379?page=2

but there is no problem first page of category
http://www.website..com/cat379.htm

2
Hi
is it true for second page
RewriteRule ^hatunlar([0-9]+)\.([0-9]+)\.htm$ categories.php?cat_id=$1&page=$2&%{QUERY_STRING}
because when i put like this i am getting error like

http://www.website.com/.htmhtm=31?page=2

what is problem???
my session.php is

     if (isset($matches1[1]) && isset($matches2[1])) {
            $split = explode('?', $url);
            $url = $split[0];
            $query = @$split[1];
            $url   = str_replace('categories.php', 'hatunlar'.$matches1[1].'.'.$matches2[1].'.htm', $url);
            $query = str_replace('cat_id='.$matches1[1].'&', '', $query);
            $query = str_replace('&cat_id='.$matches1[1], '', $query);
            $query = str_replace('cat_id='.$matches1[1], '', $query);
            $query = str_replace('page='.$matches2[1].'&', '', $query);
            $query = str_replace('&page='.$matches2[1], '', $query);
            $query = str_replace('page='.$matches2[1], '', $query);
            if (!empty($query)) {
              $url .= '?' . $query;
            }
          }
        }
        elseif (strstr($url, 'cat_id=')) {
          preg_match('#cat_id=([0-9]+)&?#', $url, $matches);
          if (isset($matches[1])) {
            $split = explode('?', $url);
            $url = $split[0];
            $query = @$split[1];
            $url   = str_replace('categories.php', 'hatunlar'.$matches[1].'.htm', $url);
            $query = str_replace('cat_id='.$matches[1].'&', '', $query);
            $query = str_replace('&cat_id='.$matches[1], '', $query);
            $query = str_replace('cat_id='.$matches[1], '', $query);
            if (!empty($query)) {
              $url .= '?' . $query;
            }
          }
        }
        else {
          $url = str_replace('categories.php', 'hatunlar.htm', $url);
        }

3
Discussion & Troubleshooting / Re: order category by name
« on: March 27, 2005, 10:40:27 PM »
i have solved that problem
in global.php
 find order by cat_order
and fix it
order by cat_name

4
Discussion & Troubleshooting / order category by name
« on: March 27, 2005, 08:27:14 PM »
Hi

i would like to order categories by name.. How can i do it...

i am using 4images 1.71
Thank you.

Pages: [1]