Instructions - New install

From GeeklogWiki

  1. Extract the code to /public_html.
    A new directory named "news" will be created for you.
  2. Run the SQL script: news-sql.sql
    The script will create one new table named gl_newsblock and make updates to gl_userprefs and gl_groups tables.
  3. Add the following to the /path/to/geeklog/system/lib-database.php
    --- CODE BEGINS ---
    $_TABLES['newsblock'] = $_DB_table_prefix . 'newsblock';
    --- CODE ENDS ---
  4. Add the phpblock: news.phpblock
    1. The first step is to add the contents of news.phpblock to lib-custom.php.
    2. The second step is to simply create the phpblock and reference the phpblock_getnews function.
  5. Set the default news provider for anonymous or guest users:
    1. First add your admin user to the "News Admin" group. Do this via the Geeklog user administration.
    2. Second, login as the admin user and click the "Edit" link on the news block. You will be presented with options for setting the global default news provider.
    3. Select the appropriate links to set the defaults.
Next Page Prev Page Contents