MyBB Community Forums

Full Version: MyAlerts Extension - a MyAlerts plugin with extra notifications
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
It might well be a better idea. I'm already considering rewriting how user settings work so I'll look into the idea of modules while I'm doing that.
Bump. I need some volunteers to test the plugin.
I will test the plugin. And wouldn't mind my profile being linked in the first post. Big Grin
(2012-12-15, 05:33 PM)Shade Wrote: [ -> ]Bump. I need some volunteers to test the plugin.

Not a problem. PM me if you want.
PMed both of you. If anyone is interested, let me know. Thank you.
I'm also interested in testing it.
After multiple positive feedbacks I decided to release it, although I've not finished developing all the planned alerts. Better to update it progressively instead of waiting months Smile

The plugin has been pushed to the Mods Site and will be available to download as fast as Staff will approve it.
Unless you have already done this and the code you sent me is out of date can you do the following things.
File: ./inc/plugins/myalertsmore.php
Line 18, Change
if(!defined("PLUGINLIBRARY"))
{
	define("PLUGINLIBRARY", MYBB_ROOT."inc/plugins/pluginlibrary.php");
}
to
if(!defined("PLUGINLIBRARY"))
{
	define("PLUGINLIBRARY", MYBB_ROOT."inc/plugins/pluginlibrary.php");
}
if(!defined("MYALERTS"))
{
	define("MYALERTS", MYBB_ROOT."inc/plugins/myalerts.php");
}

and line 55 chanage
	if (!file_exists(PLUGINLIBRARY))
	{
		flash_message("The selected plugin could not be installed because <a href=\"http://mods.mybb.com/view/pluginlibrary\">PluginLibrary</a> is missing.", "error");
		admin_redirect("index.php?module=config-plugins");
	}
to
	if (!file_exists(MYALERTS))
	{
		flash_message("The selected plugin could not be installed because <a href=\"http://community.mybb.com/thread-127444.html\">MyAlerts</a> is missing.", "error");
		admin_redirect("index.php?module=config-plugins");
	}
	if (!file_exists(PLUGINLIBRARY))
	{
		flash_message("The selected plugin could not be installed because <a href=\"http://mods.mybb.com/view/pluginlibrary\">PluginLibrary</a> is missing.", "error");
		admin_redirect("index.php?module=config-plugins");
	}
Will certainly follow your tips Jordan, although right now the plugin already checks whether if MyAlerts is installed by simply checking if a random MyAlerts default setting exists or not.
Oh does it :-\ Does that way stop installation?
Pages: 1 2 3 4