Results 1 to 7 of 7

Thread: SVN CHange 314

  1. #1
    Join Date
    Jan 2005
    Location
    Stockbridge, GA
    Posts
    64

    Default SVN CHange 314

    It changes to
    <td align="right"><div align="right"><a href="browsepr.php?pr=<%$pageranks[i].rank%>"><%$pageranks[i].total%></a> site(s)</div></td>
    where do we get browsepr.php?

  2. #2
    Join Date
    Nov 2004
    Posts
    1,822

    Default

    no idea, but cant you download it off the svn server? it had the conenction details in the client area
    Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )

  3. #3
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    browsepr.php is a new file to view a listing of specified pr value.
    To get the file you must retrieve the codes from svn server.
    The login information is in client area.

  4. #4
    Join Date
    May 2002
    Posts
    91

    Default

    Well I have downloaded the nightly build and the file is included there. So I have uploaded the file and the corresponding html file in my themes folder, made the corrections to the block template and now I am getting this error when clicking on the Pagerank link:
    Code:
    Fatal error: Call to undefined function: addfilter() in /my/path/to/indexu/browsepr.php on line 84
    What does this mean?
    Thanks in advance

  5. #5
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    It seem you do not use the latest application.php
    Use the latest one.
    Code:
      include $base_path . "lib/filter.lib.php";
      include $base_path . "lib/payment.lib.php";
      include $base_path . "lib/misc.lib.php";
      include $base_path . "init.php";

  6. #6
    Join Date
    May 2002
    Posts
    91

    Default

    Oh wow, thats a big change.
    OK, I am at the SVN now and I am working forwards. I am at Changeset 317 now.
    I looked at the new application.php from the nightly build and it has changed a lot from my July Version of 5.2.0

    If I am using the latest application.php (with my values), I am getting a blank page.
    My application from 5.2.0 looks like this:

    PHP Code:
    <?php

    /**
     *
     * INDEXU
     * Copyright(C), Nicecoder, 2000-2006, All Rights Reserved.
     *
     * INDEXU(tm) is protected by Indonesia and International copyright laws.
     * Unauthorized use or distribution of INDEXU(tm) is strictly prohibited,
     * violators will be prosecuted. To obtain a license for using INDEXU(tm),
     * please register at Nicecoder home page at http://www.nicecoder.com
     *
     * Author:
     *    Dody Rachmat Wicaksono (dody@nicecoder.com)
     *    M. Zuber (zubby@nicecoder.com)
     *
     */

      
      
    define('APPLICATION_INCLUDED'1);

      
    /*===================================================
        force to register_globals = on
      ===================================================*/

      
    if (!ini_get('register_globals')) {
        if(!empty(
    $_GET)) extract($_GETEXTR_SKIP);
        if(!empty(
    $_POST)) extract($_POSTEXTR_SKIP);
        if(!empty(
    $_COOKIE)) extract($_COOKIEEXTR_SKIP);
      }


      
    /*===================================================
        force to magic_quotes_gpc = on
      ===================================================*/

      
    if (!get_magic_quotes_gpc()) {
        function 
    addslashes_deep($value)
        {
           
    $value is_array($value) ? array_map('addslashes_deep'$value) : addslashes($value);
           return 
    $value;
        }
        if (!empty(
    $_GET)) {
          
    $_GET addslashes_deep($_GET);
          
    extract($_GETEXTR_SKIP);
        }
        if (!empty(
    $_POST)) {
          
    $_POST addslashes_deep($_POST);
          
    extract($_POSTEXTR_SKIP);
        }
        if (!empty(
    $_COOKIE)) {
          
    $_COOKIE addslashes_deep($_COOKIE);
          
    extract($_COOKIEEXTR_SKIP);
        }
      }
      

      
    /*===================================================
        config
      ===================================================*/

      
    $dbServer               "mysql";
      
    $dbHostname             "localhost";
      
    $dbUsername             "xxx";
      
    $dbPassword             "xxx";
      
    $dbName                 "xxx";

      
    $site_url               "http://www.mydomain.com";
      
    $base_path              "/home/xxx/webxxx/html/indexu/";
      
    $theme_path             $base_path "themes/";
      
    $admin_template_path    $base_path "admin_tpl/";

      
    $site_name              "Name of my site";

      
    $active_theme           'kosmos';

      
    $email_address          "webmaster@mysite.com";

      
    $spam_proof             1;
      
    $enable_user_validation 1;

      
    $allowed_file_extention "gif,jpg,png,pdf,zip,doc";
      
    $google_key             "xxx";
      
    $whosonline             "600";
      
    $reciprocal_check       0;
      
    $urlcheck_limit         1;    // days for re-check url
      
    $pagerank_cache         30;    // days caching pagerank

      
    $max_image_width        1024;   // in pixel
      
    $max_image_height       756;  // in pixel
      
    $max_file_size          80;    // in KB

      
    $only_registered_can_add_link 0;
      
    $only_registered_can_add_review 0;
      
    $db_use_persistent      0;

      
    $paid_link_day_period   "30,60,90,180";
      
    $paid_link_price_factor "1,1.5,2,3";

      
    $enable_html_tag        1;
      
    $allowed_html_tag       "<b>,<strong>,<i>,<em>,<u>,<pre>,<blockquote>,<ol>,<ul>,<li>,<br>";


      
    /*===================================================
        include
      ===================================================*/

      
    include ($base_path "lib/db.class.php");
      if (!
    defined('CACHED_PAGE')) {
        include (
    $base_path "lib/pagination.class.php");
        include (
    $base_path "lib/users.class.php");
        include (
    $base_path "lib/category.class.php");
        include (
    $base_path "lib/link.class.php");
        include (
    $base_path "lib/mailing_list.class.php");
        include (
    $base_path "lib/template.lib.php");
        include (
    $base_path "lib/form_validation.lib.php");
        include (
    $base_path "lib/misc.lib.php");
        include (
    $base_path "lib/mod-rewrite.lib.php");
        include (
    $base_path "lib/http.lib.php");
        include (
    $base_path "lib/auth/auth.class.php");
      }


      
    /*===================================================
        php configuration
      ===================================================*/

      
    ini_set("max_execution_time""60");
      
    ini_set('session.use_trans_sid'false);
      
    ini_set('session.use_only_cookies'true);
      
    ini_set('url_rewriter.tags''');

      if (!
    defined('CACHED_PAGE')) {
        
    $dbConn = new DB_Connection($dbHostname$dbUsername$dbPassword$dbName);
      }

      
    $indexu_version "5.2.0";
    ?>
    So what should I do first now? Should I upload all files from the nightly build first? Or should I go straight forward on the SVN Server changing all files step by step?

    Thanks in advance for your help

  7. #7
    Join Date
    Nov 2004
    Posts
    1,822

    Default

    Wow, dont even try to change all the fiels yourself have you made laods of mods?

    If not, just uplaod everythign from the nightly build other than the templates folder, then alter the application.php to your database settings and your good to go.

    If you have made mods and hacks, you got some work reapplying them.

    A few template files have changed as well - for example you now have an upgrade button, and changed to absolute urls - so you may want to make some chanegs to your templates.
    Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •