general question of adding user roles is needed or not

This topic contains 3 replies, has 2 voices, and was last updated by  Alex Rollin 7 years, 2 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #412071

    Ulrike
    Buyer
    Post count: 12

    Hi,

    we are just building a directory for b2b. So one user can publish his company, and thats it.
    We want to offer 3 different listing packages.

    Since we have some functions that we want to offer for different packages, im just thinking about the fact if we need user roles or not. Maybe its also püossible to handle our requests without adding the whole user stuff, since it makes the whole system much more complicated. Maybe you can help me here with your ideas.

    So these are the functions we want to add:
    1. since we have a free package, we want to show adsense code at the sidebar – so only for the free packages, not for the other. Is it possbile to handle that. Right now i only know how to add/hide a special widget section to a special page or to different user groups

    2. we want to offer the option to our 2 paid packages that these users can publish blog articles. So i think this is only possible if i add user roles i think – so i see no option to handle that with the “normal” wpgeodirectory function.

    If you say i need user roles. What you guys think, since once again – the whole user stuff is not that important, so i dont want to install the wpuser addon.
    Is it possible to simply add 2 more user roles and when a wpgeo package is selected the user is automaticly added to a special user group?

    I hope you understand my main “problem” I would be very glad if somebody can share his ideas or thoughts since im a little bit confused how to go on. I dont want to “jump on the wrong train”

    thanks

    #412091

    Alex Rollin
    Moderator
    Post count: 27815

    Hello!

    Thanks for joining us here in the GeoDirectory support forums, we’re glad to have you.

    About your questions, let me respond here and we can follow up if more is needed.

    1# You can set a customization with a PHP Snippet to add the package id to the body class. Then you can use CSS to target they ‘package id’ to show or hide items on the Detail page. The package id corresponds to the pricing package, like ‘free’ or ‘platinum’. https://wpgeodirectory.com/docs/common-code-snippets/#package

    2# Blogs – You can create a custom post type (CPT) called ‘announcement’ and charge users for those, too, using GeoDirectory tools. If you want those announcements to be free for paying subscribers, you could issue them with a discount using WP Invoicing to make the announcement effectively free.

    3# GeoDirectory Roles and Memberships – GeoDirectory doesn’t have any built in features that integrate with membership roles, or features to add a role to a user after payment. We are looking at paid roles and have a beta test available, but that feature by itself doesn’t address your complete use case. You could possible use that feature to bestow a role, though, by telling users to take a discount back through checkout to grab the role upgrade, but you would need to try that out to see if it meets your needs using the “Members” plugin. https://wpinvoicing.com/looking-for-beta-tester-for-paid-members/

    4# 3rd Party Memberships – Many members have had success managing roles and memberships with S2 Members. I have not heard of any other membership plugin being able to essentially ‘protect’ the ‘add-listing’ page for the ‘announcement’ CPT I mentioned above.

    5# Advice – My Personal opinion is that your site will be simpler, run faster, and be easier to manage if you avoid 3rd Membership software and find a way to work with the GeoDirectory features described in #2.

    5# Concierge Support – If you need personalized support from GD Expert consultants to provide concierge setup of these options, feel free to check out https://geodirectoryexperts.com

    Here in the forums we can provide assistance with documentation and any bugs you might come across. We hope you don’t find any, but if you do, we hope you come back and let us know so we can address them right away! 🙂

    Thanks again for writing in, and let us know if there’s anything else we can do

    #412099

    Ulrike
    Buyer
    Post count: 12

    Hi,

    and thank you for your very detailed answer – awsome!
    For me it sounds the way that we can handle our requests without adding user roles. I also think that adding more plugins makes everything much more complicated, so we will try to do it without.

    thanks!

    #412113

    Alex Rollin
    Moderator
    Post count: 27815

    Hi Ulrike,

    Give it a try and let us know if there anything we can do.

    🙂

Viewing 4 posts - 1 through 4 (of 4 total)

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

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount