I been playing around with the new version of phpbb 3.2.5 and using old samPHPweb 3.5.0 template along with some of festerheads codes (countdown timer, request-disable-mod) that I got working with php 5.4. What I am trying to do is have username added to the song requests to hopefully keep the songs per hour limit by using the username, I hope this is possible. So far I am adding this to the top of the req/req.php
Code:
<?
ob_start();
define('IN_PHPBB', true);
$phpbb_root_path = '/home/blablabla/public_html/phpBB3/';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup();
if($user->data['is_registered'])
//user is logged in
echo "Welcome back " . $user->data['username'];
?>
and it does show the username at the top of the req.php, but switching IP address still allows going over the limit, I am definately missing something here.