biz directory re-write mod

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • megri
    Administrator

    • Mar 2004
    • 968

    biz directory re-write mod

    biz directory re-write mod


    Index.php Page Modification:
    =================
    Line 41
    $category_url = $dir.'index.php?c='.$parent_categories[$x]["id"];
    Replace with:
    $category_url = $dir.$parent_categories[$x]["id"].'-webmaster.html';
    --------------------------------
    Line 60
    $replace = array("[CATEGORY_NAME]" => $subcategories[$x]["name"], "[CATEGORY_URL]" => $dir.'index.php?c='.$subcategories[$x]["id"]);
    Replace with:
    $replace = array("[CATEGORY_NAME]" => $subcategories[$x]["name"], "[CATEGORY_URL]" => $dir.$subcategories[$x]["id"].'-webmaster.html');
    --------------------------------
    Line 66
    $replace = array("[CATEGORY_NAME]" => $subcategories[$x]["name"], "[CATEGORY_URL]" => $dir.'index.php?c='.$subcategories[$x]["id"]);
    Replace with:
    $replace = array("[CATEGORY_NAME]" => $subcategories[$x]["name"], "[CATEGORY_URL]" => $dir.$subcategories[$x]["id"].'-webmaster.html');
    --------------------------------
    Line 76
    $replace = array("[CATEGORY_NAME]" => $current_category["name"], "[SUBMISSION_URL]" => $dir.'add_url.php?c='.$c);
    Replace with:
    $replace = array("[CATEGORY_NAME]" => $current_category["name"], "[SUBMISSION_URL]" => $dir.$c.'-add-url.html');
    --------------------------------
    Line 110
    if ($c != 1) { $query = "index.php?c=$c"; };
    if (($c != 1) & $s != 1){
    $query .= "&s=$s";
    }elseif ($s != 1){
    $query = "index.php?s=$s";
    };
    Replace with:
    if ($c != 1) { $query = "$c-webmaster.html"; };
    if (($c != 1) & $s != 1){
    $query = "$c-$s-webmaster.html";
    }elseif ($s != 1){
    $query = "$c-$s-webmaster.html";
    };
    Modification of add_url.php Page.
    ========================
    Line 41:
    $category_url = $dir.'index.php?c='.$parent_categories[$x]["id"];
    Replace with:
    $category_url = $dir.$parent_categories[$x]["id"].'-webmaster.html';
    Addition to Htaccess
    ======================
    RewriteEngine On
    RewriteRule index.html$ /index.php [PT]
    RewriteRule ^([0-9]+)-webmaster.html$ /index.php?c=$1
    RewriteRule ^([0-9]+)-webmaster.html$ /index.php?s=$1
    RewriteRule ^([0-9]+)-([0-9]+)-webmaster.html$ /index.php?c=$1&s=$2
    RewriteRule ^([0-9]+)-add-url.html$ /add_url.php?c=$1

    Last edited by megri; 07-30-2005, 12:44 PM.
    Parveen K - Forum Administrator
    SEO India - TalkingCity Forum Rules - Webmaster Forum
    Please Do Not Spam Our Forum
  • megri
    Administrator

    • Mar 2004
    • 968

    #2
    We have used the mod here

    Parveen K - Forum Administrator
    SEO India - TalkingCity Forum Rules - Webmaster Forum
    Please Do Not Spam Our Forum

    Comment

    • kiran
      Junior Member
      • Jul 2005
      • 2

      #3
      Very nice mod, thanks

      and can you please tell us submission mod i.e. basic, express, sponsored submission mod, to my knowledge biz-directory has only basic submission.

      can you share that mod, if not please pm

      Comment

      • megri
        Administrator

        • Mar 2004
        • 968

        #4
        Yes that is paid we got it done from someone by paying 75 USD
        Parveen K - Forum Administrator
        SEO India - TalkingCity Forum Rules - Webmaster Forum
        Please Do Not Spam Our Forum

        Comment

        • Guest

          #5
          Remember, the licence terms for the script do not allow modification without permission.

          Comment

          • megri
            Administrator

            • Mar 2004
            • 968

            #6
            It is allowed for paid version
            Parveen K - Forum Administrator
            SEO India - TalkingCity Forum Rules - Webmaster Forum
            Please Do Not Spam Our Forum

            Comment

            Working...