Winner of the Best WordPress Business Website - WP Honors 2011
Since 2004
 

Forums

 

Manuals

 

Videos

 

Live Support

 

WPMU.org

Add specifiic role to action

Elite

Despite what I said in a few topics I decided to reactivate my subscription here. Not because the support was good (to be honest I'm still a tad angry about it), but because the plugins are useful.

Anyways, the reason I added this topic: I recently overhauled a website of mine (www.wpontwerpers.nl - not sure if it's my browser (FF3.6.x on OSX) but I can't use the link-button to add a link to it) and I'm using two user-riles for registrations (using Gravity Forms for the registrations).

The website brings WP experts (from the Benelux) and WP users together (so there are two different roles for those users). I would like to send out specific emails to the WP experts (ie a few days after registration with steps on how to add an account (which is a custom post type)).

I hope this makes sense :)

Everyday at WPMU DEV we help hundreds of WP Users. Become a member today to:

  • Download 250+ Premium Plugins and Themes
  • Get unlimited support from WordPress Experts
  • Get help with your WordPress or BuddyPress projects

Help & Support from WPMU DEV members and staff

Elite

Hi Hiranthi,

Glad to have ya back! We'll do our best to make sure you're happy with your membership! :)

That said, Automessage doesn't incorporate user roles and I'm not sure how to achieve that apart from altering the plugin code. However, the Membership plugin, in its latest incarnation, can achieve that using Communications.

While Membership messages (configured via Communications) aren't role-based themselves, a role can be attached to a membership level. And Communications are highly configurable as well.

I see from your other recent thread that you've used Membership so I'm guessing you're already familiar with it. Would this work for you?

Elite

Hmm.. that's worth looking into, thanks :)

Get personal, comprehensive and timely support and assistance
from WordPress Experts

Elite

Ehm, where do I find this Communications you mentioned? I have 2.0.2 installed and all menu-items I see are:

  1. Membership
  2. Quick Start
  3. Edit Members
  4. Edit Levels
  5. Edit Subscriptions
  6. Edit Gateways
  7. Edit URL Groups
  8. Edit Pings
  9. Edit Options

I came across something else, I can't add any Levels - there's no Add Level button.

And I'm curious, why do (practically) all items start with Edit? Why not just call them "Members" and "Levels" etc.?

Elite

Ok, just re-uploaded the plugin and getting a fatal error on activation:

Fatal error: Cannot redeclare class M_Blogcreation in /.../httpdocs/wp-content/plugins/membership/membershipincludes/plugins/premium.rules.php on line 19

Elite

It's very strange that you were missing the Communications and the Pings menu items actually. Could you please verify your downloaded version matches the latest version at the following?
http://premium.wpmudev.org/project/membership/download

I believe that may resolve that error message as well. I just can't see a reason for the menu items being missing except that somehow the version you've got is different.

[EDIT: Whoops, forgot the link!]

Elite

It said it was running 2.0.2 (that was the auto-update I could make without having an active subscription here). I downloaded it from here to be sure and then deactivated, uploaded and activated the plugin and that resulted in the error I mentioned above.

Get personal, comprehensive and timely support and assistance
from WordPress Experts

Elite

Ah, thanks for the clarification. I misunderstood and thought you were still seeing the prior version's menu structure. I believe you've still got some files left in your plugin folder from the prior version though, as the file mentioned in the error doesn't exist in that particular folder in the newer version.

Could you simply delete the existing plugin folder and install the new version again?

Elite

Deleted, re-uploaded and activation worked. Will look into those Communications now. Thanks :)

Elite

Ok, I've added the Communication, but how do I link that to a certain role? I don't see the possibility of adding certain Communications to Levels.

Elite

Communications only apply to subscriptions actually, as they're meant for sending messages based on subscription activity. And they apply to all subscriptions rather than particular ones.

Get personal, comprehensive and timely support and assistance
from WordPress Experts

Elite

Then it's just the same as the Automessages plugin.. :(

Elite

Guess I'll add it to the Automessage plugin myself

Get personal, comprehensive and timely support and assistance
from WordPress Experts

Elite

Hi Hiranthi, sorry for that actually. I'd gotten a bit confused with the Communications and Pings actually. The Pings can be specified on a per subscription or a per membership level basis. They're as customizable as Communications, though they're essentially meant for developers. They can send the data wherever you like where you can do whatever you like with them, depending on the receiving script.

More specifics about both are mentioned in the following thread:
http://premium.wpmudev.org/forums/topic/membership-20

Custom

@Hiranthi: sorry to bug you in this thread with my unrelated question, but do you have a link to the current versions of your plugins? I still sue Global Header - WPMU and would like to know if it is still up to date....

sorry for this, wasn't sure where you had disappeared and how to contact you :-)

Elite

@ovidiu, no problem :)

I still have it here somewhere, but haven't had the chance to update it yet. I am planning on evaluating the plugin in the coming few weeks, if you want I can email you when it's done (if so, just send me an email with your emailaddress to hiranthi [at] illutic [dot] nl).

Elite

double post

Get personal, comprehensive and timely support and assistance
from WordPress Experts

Custom

lol
thx, I contacted you just now.

We can help you out. Become a member today to:

  • Let our team help you out today and access to over 250+ Premium Plugins and Themes
  • Find out why people saying "it's like having your own developer"
  • WPMU DEV - The WordPress Experts