Membership Plugin Compatibility?

This topic contains 16 replies, has 5 voices, and was last updated by  sblanchon 9 years, 11 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #1733

    Bobby
    Expired Member
    Post count: 17

    Hi there,

    We have a membership site which uses the iMember360 plugin. We’d really like to be able to use this plugin in conjunction with GeoDirectory so our members can easily post a listing without having to create a separate directory account. However, with both plugins active, the two don’t seem to be working well together. When attempting to log-in using the GD widget, the page just seems to refresh.

    Since iMember360 uses an API to grab password information, I’m guessing that info isn’t also made available for GD to use, which might be why attempting to log-in doesn’t do anything.

    Do you know if there’s a solution for this? Might it be possible somehow to use the membership plugin’s sign-in/registration, rather than GD’s?

    Thanks in advance for your help.

    #1742

    Guust
    Moderator
    Post count: 29970

    I am using s2member, and that seems to work well with GD.
    I am still to implement a few changes which are just done from the WP admin, and I do not use all the functionalities of s2member, but these are my findings so far:

    • GD does not come with a profile page, but s2member comes with a profile page, where all users including GD users can change their password. I just need to link to it from somewhere.
    • As far as I gather, GD will provide a “change password” function sometime, which I assume might be integrated with their “my favorites” page which is a page like this: mysite.com/author/username/?geodir_dashbord
    • From what I understand (which might not be much), integrating GD with any other plugin that has its own registration function, would need some backend coding (outside my league). A GD plugin could be written to integrate either iMember360 or s2member using info at https://www.s2member.com/codex/stable/s2member/api_functions/package-summary/ for example;
    • or either iMember360 or s2member can write a plugin to integrate with GD, or of course anybody else clever enough could have a go 🙂

    For the time being, I am working my way around it by providing links and explanations to users.

    #1771

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    right now the plan is to make core, addons and framework stable, than we will start working on extending and integrating with 3rd party plugins.

    However I think this has an easy solution: make sure that the login and register forms of the membership plugins are the one used all the time.

    There should be a hook or action filter in GD to redirect our signup page to other pages and if there isn’t VIkas should add it for sure.

    I’ll ask him to follow up.

    #1778

    Guust
    Moderator
    Post count: 29970

    Thanks for that info, Paolo.
    From my limited knowledge, here are a few additional points:

    • Membership registration plugins use different custom roles for the membership levels.
    • Membership registration pages usually want more info from users than GD; Name etc
    • I guess that GD uses the author role or something similar.
    • So all it needs maybe is for the registration and login links to go to the membership plugin pages, and for the GD author role to be able to be assigned to one of the lower membership levels.
    • More than basic coding is not my forte, but I’d be happy to work with Vikas to get something working on my test site, whenever he is ready for it.
    #1794

    Vikas
    Full Member
    Post count: 1128

    Hi,
    I would like to look into it more.

    Thanks

    #1796

    Guust
    Moderator
    Post count: 29970
    This reply has been marked as private.
    #2411

    Bobby
    Expired Member
    Post count: 17

    Hi again,

    Checking in on this – any new information on making these two plugins work together?

    Thanks again for your help.

    #2413

    Guust
    Moderator
    Post count: 29970

    Hi Bobby
    I think all the developers are very busy trying to get the main stuff running optimal.
    In the meantime, I have got everything to work with s2member without changing any of the plugin coding (that usually gives too much trouble in the future).

    I have removed all the links to the GD login/register pages
    I use the http://wordpress.org/plugins/sidebar-login/ plugin as a replacement for the GD login widget, this allows users to interact direct with s2member instead of GD
    s2member has a profile page, for which I set up a special template and then added
    <?php dynamic_sidebar(‘geodir_author_right_sidebar’);?>
    to the sidebar of the profile page, so that is how I integrated the My favorites and My events etc
    I have removed the GD “add listing” from the main menu, and replaced it with a link to the profile page; this sends users to s2member and will have to login first
    From their profile page, they then have all the GD links like add, edit, favorites etc.
    I don’t know whether this can work with other membership plugins but I guess there might be a simple solution; you got to think outside the box.

    It looks like iMember has heaps of shortcodes ready, which you could use to replace the GD login widgets. But we can always just be patient 🙂

    #2453

    Bobby
    Expired Member
    Post count: 17

    Hi Guust,

    Thank you for the response. I was able to follow the above steps and they’ve worked very well. It seems iMember360 is similar to s2member in changing out GD widgets with the membership plugin widgets.

    One thing I’m stuck on is the part where you set up a special template and added the PHP code. I’m using the Ultimatum theme for the website, which seems to create templates that are separate from the PHP page files that other themes use. Do you know if there’s a way to include the contents of the Author sidebar through the “text” sidebar widget? dynamic_sidebar() doesn’t do the trick.

    #2454

    Guust
    Moderator
    Post count: 29970

    Without being able to have a play and look at your files, I don’t really know.
    But every theme uses PHP pages, and you can find them at WP admin > appearance > editor. I would think that once you create a Ultimatum template, that is where it goes.
    Using a widget, you still would need a separate template for your profile page, or the widget will be on your other pages too?
    You should be able to use http://wordpress.org/plugins/php-code-widget/ but exactly how might require a bit of experimentation …

    PS: I am no expert but have learned a fair bit over the years mainly from fixing my own mistakes, advice given at your own peril 🙂

    #2932

    Guust
    Moderator
    Post count: 29970

    The Claim plugin redirects non-logged in users to /?geodir_signup=true
    So I ended up changing all references to /?geodir_signup=true in geodir_claim_functions.php to my membership registration page, so the claims links now redirects to s2member registration.

    That made me think that all GD needs is an option to override/change any link to the registration and login pages?

    #3228

    Paolo
    Site Admin
    Post count: 31206

    what is the solution here Vikas?

    I was under the impression that we had a function to override login and registration page if needed.

    Please follow up.

    Thx

    #3610

    Bobby
    Expired Member
    Post count: 17
    This reply has been marked as private.
    #3644

    sblanchon
    Buyer
    Post count: 17

    Hello, I’ve the same problem.
    How a user with editor roe can access to the native dashboard of wordpress ??
    It’s a real problem for my customer who needs to access other sections… How can I solve this please ?
    Thanks in advance for your anwer.

    #3649

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    GeoDirectory can disable all roles but admin to access wp admin.

    If you need any non-admin to access wp-admin simply set “Allow user to see wp-admin area” to YES in GeoDirectory >> General.

    If you need to restrict wp-admin for selected roles, I’m sure you can find another plugin to do that.

    Thanks,

    Paolo

Viewing 15 posts - 1 through 15 (of 17 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket