MyBB Community Forums

Full Version: MyAlerts
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
download link for plugin is not working. and please give a fresh download link and tell me how i can use this plugin in mybb 1.8.x
Start with reading this thread
https://github.com/MyBBStuff/MyAlerts/ar...evelop.zip

In development code, no guarantees of functionality, possibility of your forum dying.
Euan - can you also just link to your github page as well as the zip? I just wanna snuffle at the code; I dont want to download it Toungue
Sure: https://github.com/mybbstuff/myalerts/tree/develop

Toungue I moved a ton of repositories over to the MyBBStuff group instead of my personal account about a week ago.
I added a new setting. Name, "tsubscriptions"

This code add "inc/datahandlers/post.php"

"if($subscribedmember['notification'] == 1)"

..............

 $kelime = array( 
'tid' => $thread['tid'], 
't_subject' => $thread['subject'],); 
$bilgi = json_encode($kelime); 
$db->query("INSERT INTO " . TABLE_PREFIX . "alerts" . "(uid, unread, dateline, alert_type, tid, from_id, content) VALUES ('{$subscribedmember['uid']}', '1', '".TIME_NOW."', 'tsubscriptions', '{$thread['tid']}', '10', '".$db->escape_string($bilgi)."')");


subscribe thread a new message, (after e-mail) add new alert.

Plugins can be added?

sorry 4 English Sad
I can only do it if there's a hook, as I'm trying to avoid core edits. The last time I checked, there were no suitable hooks. I do want to add this feature if possible though, so I'll look again.
Did you work on the plugin during this week or you're still busy with University and Real Life?
You can follow development on gitHub using the above link. (https://github.com/mybbstuff/myalerts/tree/develop). I'm working on it whenever I can. I have university assignments and other jobs that are more important unfortunately.
Euan - One of the custom alerts that I've written for my site (and works with 1.8.3 and the current MyAlerts code) is for an alert when somebody responds to your subscribed thread. I could copy the code here or I could make a PR on Github, if you'd like to use that as a base?

Edit: No core edits required. Smile