RBS 1.6 RC3 (Reverse Bidding System) Readme

Note : This RC3 may contain some bugs and they will be addressed in next versions.


1. Server Requirements

2. Installation

3. Email Templates

4. Multi-Language Setup

5. Template Customization

6. Troubleshooting

7. Files for Cron jobs

8. Version History

9. License Agreement


1. Server Requirements

  • Operating System: Linux, Windows
  • Web Server: Apache
  • PHP 5 or higher
  • MySQL 5 or Higher
  • Mod_rewrite
  • Cron Jobs
  • GD library
  • 2. Installation

    1. Upload all files in the archieve to the root directory or subdirectory (i.e yoursite.com/site).


    2.
    Run the /install directory to install the system (i.e yoursite.com/site/install)

    Manual Installation

    1.Edit the file app/config/config.php and edit your mysql details in the following lines:

    $config['hostname'] = "hostname";
    $config['db_username'] = "mysqluser";
    $config['db_password'] = "mysqlpass";
    $config['db'] = "mysqlDB";

    2.$config['base_url'] = "Site URL "; (i.e yoursite.com/site)

    3. In PhpMyAdmin, import the file install/cogzidel.sql to create the database structure.


    4. Change the permission of the following folders and its subdirectories to 0777:

    /files/logos

    /files/portfolios
    /files
    /project_attachment
    /files/site_logo
    /files/tempFiles
    /install
    /app/config

    5.You are done

     

    6. To access the admin panel /siteadmin (i.e yoursite.com/site/index.php/siteadmin), login with user: admin pass: admin on the main member login page

    3. Email Templates

    Steps to access email templates used in the system

    1.Go to /siteadmin (i.e yoursite.com/site/index.php/siteadmin)

    2. Login with user: admin pass: admin

    3.You will see "Email templates" link on the right side of the page. Click on that

    4.You can see list of email templates used, and there is edit icon to view and edit the contents

    5. In the content area , you can see some variables started with "!" symbol, that means those varibles will be replaced in the user end while sending mails


    6. For example "!site_title" is used in some email templates, this varibles should be replaced with "http://yoursite.com/site" in the front end

    7.You can add new email templates here

    4. Multi-Language Setup

    4.1 Edit current language files

    The default language we have used is "english" in app/config/config.php $config['language'] = "english";

    As of now, there is only one folder app/language/english, it has 2 folders "enduser" and "admin" , there you can find _lang.php files. Each one is corresponding to /controllers

    4.2 Create new language files

    1. Go to the folder /app/language and create a new folder using the name of your language code (eg:spanish)

    2. Create 2 new folders "enduser" and "admin" inside /spanish folder

    3. Language files must be named with _lang.php as the file extension.For example, let's say you want to create a file containing error messages.
    You might name it: error_lang.php Within the file you will assign each line of text to an array called $lang with this prototype:$lang['language_key'] = "The actual message to be shown";

    4. Load the language file created in /controller files, for eg: $this->lang->load('filename', 'language');
    Where filename is the name of the file you wish to load (without the file extension), and language is the language set containing it (ie, english). If the second parameter is missing, the default language set in your app/config/config.php file will be used.

    5.Then go to admin panel -> Site settings tab -> update the "Language Code" to the name of your language folder (eg:spanish)

    5. Template Customization

    Editing RBS design is very simple by modifying the php and CSS files. The location of the template files for the design can be found in folder:

    /app/views/

    /app/views/(header.php|footer.php) -The location of the header/footer files.
    /app/css/css(front end CSS)
    /app/css/ (admin area CSS)

    6. Troubleshooting

    1. Help, I am getting HTTP error 400 when accessing my site!

    You will need to enable mod_rewrite option on your apache server

    7. Files for Cron jobs

    1. project/bidConsolidate()

    2. project/newProjectsNotify()

    3. project/biddingEndCheck()

    You can run the files directly as (i.e yoursite.com/site/project/bidConsolidate)

    8. Version History

    RBS version 1.6 RC3 (Beta release)

    9. License Agreement

    Reverse Bidding System Copyright (C) <2010> <Cogzidel Technologies> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or(at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/> If you want more information, please email me at bala.k@cogzidel.com or contact us from http://www.cogzidel.com/contact

    http://www.cogzidel.com