Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Alert Settings. Can't register (mysql error) #267

Open
TessiXakaT6 opened this issue Apr 23, 2020 · 5 comments
Open

No Alert Settings. Can't register (mysql error) #267

TessiXakaT6 opened this issue Apr 23, 2020 · 5 comments

Comments

@TessiXakaT6
Copy link

Hey i have lot of issues with the MyAlerts plugins and i don't know why.

The first one is that when I go into the notification settings there's absolutely nothing ;
image

then when I go into my PCA and I go into "Alert Types" there's nothing :
image

and my third problem is that when I want to create a new user via ACP I get a MySQL error :

image

Thank you for those who would like to help me ^^

@euantorano
Copy link
Contributor

It looks like the plugin installation didn't create the alert types, or add the required column to the users table for some reason. I would try uninstalling MyAlerts and try installing it again. If that doesn't work, you can try running the queries manually, just let me know and I'll get them for you.

@TessiXakaT6
Copy link
Author

It looks like the plugin installation didn't create the alert types, or add the required column to the users table for some reason. I would try uninstalling MyAlerts and try installing it again. If that doesn't work, you can try running the queries manually, just let me know and I'll get them for you.

I uninstalled the plugin 3 times to reinstall it because I thought I was the one who was bad, but it always does the same thing to me.

I just modified some little things like HTML to apply the design on my forum but otherwise I didn't touch anything.

I did add the 2 tables in my DB.

@TessiXakaT6
Copy link
Author

I don't have anything in my SQL tables

image
image

@euantorano
Copy link
Contributor

Hi,

I'm afraid I have no idea why the install wouldn't work, but you can try running these queries in phpMyAdmin:

INSERT INTO mybb_alert_types (code, enabled, can_be_user_disabled) VALUES
('rep', 1, 1),
('pm', 1, 1),
('buddylist', 1, 1),
('quoted', 1, 1),
('post_threadauthor', 1, 1),
('subscribed_thread', 1, 1),
('rated_threadauthor', 1, 1),
('voted_threadauthor', 1, 1);
ALTER TABLE mybb_users ADD myalerts_disabled_alert_types TEXT;

@TessiXakaT6
Copy link
Author

TessiXakaT6 commented Apr 23, 2020

Hi,

I'm afraid I have no idea why the install wouldn't work, but you can try running these queries in phpMyAdmin:

INSERT INTO mybb_alert_types (code, enabled, can_be_user_disabled) VALUES
('rep', 1, 1),
('pm', 1, 1),
('buddylist', 1, 1),
('quoted', 1, 1),
('post_threadauthor', 1, 1),
('subscribed_thread', 1, 1),
('rated_threadauthor', 1, 1),
('voted_threadauthor', 1, 1);
ALTER TABLE mybb_users ADD myalerts_disabled_alert_types TEXT;

Thanks you sir, with sql requests worked.
I don't know why the requests are not executed I had to do it by hand and then rebuild my database with phpmyadmin and then refresh my browser and it's ok.
Thanks for your help and your plugins which is incredible and very useful ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants