Awesome man, thanks.
Okay one last question. How can I grab staff online?
I've tried using a plugin but whenever I'd try to install I'd receive the following two errors
SQL Error:
1366 - Incorrect integer value: 'NULL' for column 'gid' at row 1
Query:
INSERT INTO mybb_settinggroups (`gid`,`name`,`title`,`description`,`disporder`,`isdefault`) VALUES ('NULL','forumteamonline','Forum team online','Settings for plugin: Forum team online.',29,'0')
SQL Error:
1366 - Incorrect integer value: 'NULL' for column 'sid' at row 1
Query:
INSERT INTO mybb_settings (`sid`,`name`,`title`,`description`,`optionscode`,`value`,`disporder`,`gid`,`isdefault`) VALUES ('NULL','forumteamonline_onoff','Plugin ON?','','onoff','1','1',31,'0'), ('NULL','forumteamonline_portal_onoff','Plugin portal enable?','With this option, you enable or disable the plugin on portal page.','onoff','1','1',31,'0'), ('NULL','forumteamonline_index_onoff','Plugin index enable?','With this option, you enable or disable the plugin on index page.','onoff','1','1',31,'0'), ('NULL','forumteamonline_avatar_onoff','Show avatar?','','onoff','1','2',31,'0'), ('NULL','forumteamonline_avatar_width_height','Avatar width height','Exemple 32x32..','text','32x32','3',31,'0'), ('NULL','forumteamonline_members_limit','Limit sers to display','','numeric','10','4',31,'0'), ('NULL','forumteamonline_sort_by','Sortuj users by','','select 0=User ID ascending , ascending user group 1=User ID ascending 2=User group ascending 3=User name ascending 4= Group disporder ascending 5=User group descending 6=User group descending 7=User name descending 8=Group disporder descending ','0','5',31,'0'), ('NULL','forumteamonline_stats_onoff','Show stats?','','onoff','1','6',31,'0')
How can I fix these, OR how can I just grab staff online without a plugin?
Thanks.