Code: Select all
[phpBB Debug] PHP Notice: in file /includes/prime_quick_style.php on line 107: Undefined index: is_registered
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1041: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3255)
Warning: Cannot modify header information - headers already sent by (output started at /home/mycic0/public_html/forum/includes/functions.php:3255) in /home/mycic0/public_html/forum/includes/functions.php on line 3923
Warning: Cannot modify header information - headers already sent by (output started at /home/mycic0/public_html/forum/includes/functions.php:3255) in /home/mycic0/public_html/forum/includes/functions.php on line 3925
Warning: Cannot modify header information - headers already sent by (output started at /home/mycic0/public_html/forum/includes/functions.php:3255) in /home/mycic0/public_html/forum/includes/functions.php on line 3926
Warning: Cannot modify header information - headers already sent by (output started at /home/mycic0/public_html/forum/includes/functions.php:3255) in /home/mycic0/public_html/forum/includes/functions.php on line 3927
Just released an update which should fix this.lovelysummer wrote:Sir, I got a problem !
When a user was banned, and if he login, the user will got the following in the header of the index page:How to solve this , Sir !Code: Select all
[phpBB Debug] PHP Notice: in file /includes/prime_quick_style.php on line 107: Undefined index: is_registered [phpBB Debug] PHP Notice: in file /includes/session.php on line 1041: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3255) Warning: Cannot modify header information - headers already sent by (output started at /home/mycic0/public_html/forum/includes/functions.php:3255) in /home/mycic0/public_html/forum/includes/functions.php on line 3923 Warning: Cannot modify header information - headers already sent by (output started at /home/mycic0/public_html/forum/includes/functions.php:3255) in /home/mycic0/public_html/forum/includes/functions.php on line 3925 Warning: Cannot modify header information - headers already sent by (output started at /home/mycic0/public_html/forum/includes/functions.php:3255) in /home/mycic0/public_html/forum/includes/functions.php on line 3926 Warning: Cannot modify header information - headers already sent by (output started at /home/mycic0/public_html/forum/includes/functions.php:3255) in /home/mycic0/public_html/forum/includes/functions.php on line 3927
Thank YOu.
I use it in my live forum, but it is use at your own risk. I don't remember if there is a validated one or not.Dem0n_Hunter wrote:Hi, this is my first time visiting the development part of the MOD DB and I"m not familiar with the rules. I just wanted to know if it is ok to use this in a live forum? or it's just at our own risk?
and just one more thing to ask. is there a validated version of this MOD? cuz i couldn't find one so i thought there might have been one and I've missed it. thx
Well-doneprimehalo wrote:Just released an update which should fix this.
Code: Select all
if (PRIME_QUICK_STYLE_ENABLED && PRIME_QUICK_STYLE_GUEST && $user->data['user_id'] == ANONYMOUS) // $user->data['is_registered'] may not be set at this point, such as if the user was banned
I don't think there is a validated one yet, but I use this on my live forum too. I have for a couple years now. Have never had an issue with it. Works great for guest posters as well.Dem0n_Hunter wrote:Hi, this is my first time visiting the development part of the MOD DB and I"m not familiar with the rules. I just wanted to know if it is ok to use this in a live forum? or it's just at our own risk?
and just one more thing to ask. is there a validated version of this MOD? cuz i couldn't find one so i thought there might have been one and I've missed it. thx
Code: Select all
$sql = 'UPDATE ' . USERS_TABLE . ' SET user_style = ' . $db->sql_escape($style) . ' WHERE user_id = ' . $user->data['user_id'];
Code: Select all
($style = request_var('prime_quick_style', '')))Code: Select all
($style = request_var('prime_quick_style', 0)))