2016-07-12, 05:54 PM
(2016-07-12, 05:38 PM)Euan T Wrote: [ -> ](2016-07-12, 05:06 PM)ecoo Wrote: [ -> ](2016-07-12, 12:52 PM)Euan T Wrote: [ -> ](2016-07-11, 09:45 PM)ecoo Wrote: [ -> ]Hi,
Where is the code to remove the bell icon next to "Alerts" on the header?
Guests also can't reply to threads. They get this error: Fatal error: Call to a member function getByCode() on boolean in C:\xampp\htdocs\bobahotspot\inc\plugins\myalerts.php on line 891
Is there a fix for this?
Thanks
The code is in the myalerts_headericon template in ACP > Themes & Templates > Templates > *YOUR THEME* > MyALerts Templates.
That error should be fixed in the current code, which can be found here: https://github.com/mybbstuff/myalerts
For some reason, alerts are not popping up. Is this because I'm using testing locally? It's also possible that I reinstalled it wrong, what I did was replace the files with the new ones in v2.0.3.
The settings page is also missing the options for users to choose. The header saying "Alert Settings" and "Save Settings" button is there, but there is nothing else.
Hi,
Can you please check the "mybb_alert_types" table in phpMyAdmin? It sounds like the alert types haven't been registered properly. If they're not there, there was a query a couple of pages back that creates them manually.
The table names are there, but all they say inside is: SELECT * FROM
mybb_alerts
and SELECT * FROM mybb_alert_types
I got this error when running the query:
Error
SQL query:
CREATE TABLE IF NOT EXISTS `mybb_alert_types` (
`id` INT(11) UNSIGNED NOT NULL AUTO_INCREMENT,
`code` VARCHAR(100) NOT NULL DEFAULT '',
`enabled` TINYINT(4) NOT NULL DEFAULT '1',
`can_be_user_disabled` TINYINT(4) NOT NULL DEFAULT '1',
PRIMARY KEY (`id`),
UNIQUE KEY `unique_code` (`code`)
)
ENGINE = InnoDB
DEFAULT CHARSET = utf8
MySQL said: Documentation
#1046 - No database selected