[wp-hackers] Using dependency on plugins

Pete Mall pete at jointforcestech.com
Sat Mar 12 18:04:42 UTC 2011


Use the activation hook to check for the other plugin and then hook into
admin notices to display a nag with a link to install the missing plugin.
Alternatively, you can always check for the other plugin and display a nag
if is_admin() and die gracefully if not is_admin().

On Sat, Mar 12, 2011 at 9:46 AM, Piyush Mishra <me at piyushmishra.com> wrote:

> When trying to install the Debug bar console without debug bar installed,
> the plugin installs and doesnt even add a notification (Not showed for me
> atleast)
> Thats ok when you are using it for developers only coz thats something we
> can understand and do. but for regular users you need to have a very good
> way of showing dependency right?
>
> On Sat, Mar 12, 2011 at 10:28 PM, Pete Mall <pete at jointforcestech.com
> >wrote:
>
> > Check out the debug bar and the debug bar console and debug bar extender.
> >
> > On Sat, Mar 12, 2011 at 6:31 AM, Piyush Mishra <me at piyushmishra.com>
> > wrote:
> >
> > > Is there any good way of making dependent plugins yet?
> > >
> > > --
> > > Regards
> > > Piyush Mishra
> > > http://www.piyushmishra.com/
> > > Life's Short, Live it to the maximum
> > > _______________________________________________
> > > wp-hackers mailing list
> > > wp-hackers at lists.automattic.com
> > > http://lists.automattic.com/mailman/listinfo/wp-hackers
> > >
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> >
>
>
>
> --
> Regards
> Piyush Mishra
> http://www.piyushmishra.com/
> Life's Short, Live it to the maximum
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list