Changes between Initial Version and Version 1 of php_bb


Ignore:
Timestamp:
Feb 28, 2008, 6:06:43 AM (10 years ago)
Author:
omry
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • php_bb

    v1 v1  
     1== How to integrate FireStats with PHPBB ==
     2Unofficial instructions:
     3 * Create a new site in firestats:
     4  * go to site management, in the "Manage sites" click the + sign to add a new site.
     5  * type the site name, select "Generic PHP site" if not already selected.
     6  * Optionally enter baseline hits value (leave empty for 0)
     7  * When finished click "save" and you will a new line containing your site name in the table.
     8  * hit the ? sign at end of the line and you'll get a new page contains something like:'''<?php include('/firestats_install_dir/php/db-hit.php'); fs_add_site_hit(site_number); ?>'''
     9  * copy the line, dropping the <?php and ?>
     10 * Go to your phpbb:
     11 * Open: index.php
     12 * find: include($phpbb_root_path . 'common.'.$phpEx);
     13  * Add the line you copied after it : '''include('/firestats_install_dir/php/db-hit.php'); fs_add_site_hit(site_number);'''
     14 * Open search.php
     15  * Find last line : $>
     16  * Add the line you copied before it : '''include('/firestats_install_dir/php/db-hit.php'); fs_add_site_hit(site_number);'''
     17 
     18[http://hacking.org.li Guy Mizrahi] (ZuLL)[[BR]]