Instructions - New install
From GeeklogWiki
- Extract the code to /public_html.
A new directory named "news" will be created for you.
- 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.
- Add the following to the /path/to/geeklog/system/lib-database.php
--- CODE BEGINS ---
$_TABLES['newsblock'] = $_DB_table_prefix . 'newsblock';
--- CODE ENDS ---
- Add the phpblock: news.phpblock
- The first step is to add the contents of news.phpblock to lib-custom.php.
- The second step is to simply create the phpblock and reference the phpblock_getnews function.
- Set the default news provider for anonymous or guest users:
- First add your admin user to the "News Admin" group. Do this via the Geeklog user administration.
- 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.
- Select the appropriate links to set the defaults.
- Next Page Prev Page Contents