15 years on The Web
miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
Specific miniBB Support Forums / Specific /   

Undefined variable: user_online

Author manas
#1 | Posted: 28 Jun 2010 11:08 
I am working on who is online plugin code. After installed the plugin I am getting this error: Notice: Undefined variable: user_online in C:\wamp\www\forums\addon_whosonline.php on line 66

and the line no 66 is:- if(isset($enableHidden) and $enableHidden==1) $w_logged_users[$user_id][]=$user_online;

any help?

Author Paul
Lead Developer
#2 | Posted: 28 Jun 2010 12:07 
Did you install this add-on manually, or used miniBB compiler?

This variable comes from bb_cookie.php file, if you have installed the add-on and enabled "Online Status" option. Since this feature has a very tricky installation (which is not for newbies!!!), we recommend to use Compiler to get it right.

Author manas
#3 | Posted: 28 Jun 2010 13:52 | Edited by: manas 
I have installed add-on manually. Let me try through Compiler.

Author Paul
Lead Developer
#4 | Posted: 30 Jun 2010 01:05 
When you install add-ons manually, follow each and every step described in Readme. Obviously you missed the part for bb_cookie.php which is the most difficult if you install "online appearance" feature.

Specific miniBB Support Forums / Specific / Undefined variable: user_online Top

Your Reply Click this icon to move up to the quoted message

 Short link for this topic:

You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.

Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Proceed with the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB