MyBB Community Forums

Full Version: MyAlerts - a notification/alert system for MyBB
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
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
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
Yes, you should be able to put in microseconds (I think - ms?).
Milliseconds actually Big Grin
Not far off. Knew it started with an M ;P
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!
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!
(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.
Feel free to share Smile
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.
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