MyBB Community Forums
MyAlerts - a notification/alert system for MyBB - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Plugins (https://community.mybb.com/forum-73.html)
+---- Forum: Plugin Development (https://community.mybb.com/forum-68.html)
+---- Thread: MyAlerts - a notification/alert system for MyBB (/thread-119331.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41


RE: MyAlerts - a notification/alert system for MyBB - amir - 2013-02-25

What normally happens is when you click on alert then a popup box should appear which it does but my themes panel is at the bottom which you can see the screen shot of it below

[Image: Untitled_1.jpg?async]

so when you do click on alert then the popup menu appears under and for the theme i am using it should appear top.......

You can go on my site and check it......

http://www.algazali.org/gazali/portal.php
teast account
123456


RE: MyAlerts - a notification/alert system for MyBB - Xpress. - 2013-03-01

Where in the edit menu display speed alerts?
I search and I find myalerts.js some value to edit the speed at which the popup appears.

EDIT:
I edit this code
slideToggle ('slow'
I edited the slow from fast, Can you put in seconds? Example: 100 or 800


RE: MyAlerts - a notification/alert system for MyBB - Euan T - 2013-03-01

Yes, you should be able to put in microseconds (I think - ms?).


RE: MyAlerts - a notification/alert system for MyBB - Shade - 2013-03-01

Milliseconds actually Big Grin


RE: MyAlerts - a notification/alert system for MyBB - Euan T - 2013-03-01

Not far off. Knew it started with an M ;P


RE: MyAlerts - a notification/alert system for MyBB - Qub1 - 2013-03-02

I just wanted to ask a couple of questions:
1) How do you enable all the options for existing users? Maybe some SQL Query?
EDIT: I've figured this one out for myself, this is the anwer:
insert into mybb_alert_setting_values (user_id, setting_id, value)
select uid, 1, 1
from mybb_users;

insert into mybb_alert_setting_values (user_id, setting_id, value)
select uid, 2, 1
from mybb_users;

insert into mybb_alert_setting_values (user_id, setting_id, value)
select uid, 3, 1
from mybb_users;

insert into mybb_alert_setting_values (user_id, setting_id, value)
select uid, 4, 1
from mybb_users;

insert into mybb_alert_setting_values (user_id, setting_id, value)
select uid, 5, 1
from mybb_users;
2) Could you add a feature that removes the settings of a user once their account is removed, because the entries remain in the database after a user is deleted.

Thanks in advance!


RE: MyAlerts - a notification/alert system for MyBB - Euan T - 2013-03-02

1) There's not really an easy way, but I plan to release a standalone PHP file to run the required queries.
2) That's a good idea actually, I hadn't thought of that. Will definitely be in the next version!


RE: MyAlerts - a notification/alert system for MyBB - Qub1 - 2013-03-03

(2013-03-02, 06:33 PM)Euan T. Wrote: 1) There's not really an easy way, but I plan to release a standalone PHP file to run the required queries.
2) That's a good idea actually, I hadn't thought of that. Will definitely be in the next version!

Oh if you want, I've already found a pury MySQL Query that'll set the settings for every existing user. It'll even use the correct user ids, so if there is no user with id 4 it'll skip 4.


RE: MyAlerts - a notification/alert system for MyBB - Euan T - 2013-03-03

Feel free to share Smile


RE: MyAlerts - a notification/alert system for MyBB - Syryus - 2013-03-03

Hello!
First of all thank you for developing this plugin.
I have a little question: how can I remove the number showing in the title of the page (saying how many alerts one has) ? My users don't seem to like that part and I haven't really found the code for it in the templates.