[wp-hackers] Activating another Plugin when Activating a Plugin

Alexander Hempton-Smith hempsworth at gmail.com
Fri Dec 10 18:40:19 UTC 2010


Cheers Paul,

I have this in at the moment, and throw a friendly error telling the
user to activate BuddyPress with a link sending them to the plugins
page. I'd prefer this link to actually activate BuddyPress, but just
need to generate the nonce for that activate link.

-- Alex

Sent from my iPhone

On 10 Dec 2010, at 18:37, Paul Gibbs <djpaul at gmail.com> wrote:

>
> On 10 Dec 2010, at 18:17, Alexander Hempton-Smith wrote:
>
>> I'm considering putting this into BuddyPress Like, as it
>> (unsurprisingly) depends on BuddyPress.
>
> FYI, BuddyPress provides actions for other plugins to hook into to avoid dependancy errors; take a look at http://codex.buddypress.org/plugin-development/checking-buddypress-is-active/
>
> Regards
> Paul Gibbs
> _______________________________________________
> 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