• Resolved nicolashili

    (@nicolashili)


    Dear Sarah,

    Thanks for this great plugin.

    I would like to use Dynamic User Directory multiple times on a website:
    – Showing the list of active members (big avatar, several information)
    – Showing the list of former members (smaller avatar, name, and duration of stay)
    – Showing in the author.php page one specific member (complete profile information)

    I managed to create a child plugin for doing that. It relies on shortcode options used for overriding the common configuration (defined via the admin page). So it is possible for example to use the following shortcodes:

    [DynamicUserDirectory]
    or
    [DynamicUserDirectory email="0" website="0" border_length="25%" hide_roles="Administrator"]

    I would be glad to share this code with you if you are interested in merging this solution with the existing plugin. Indeed, for this extension to work, I had to replace the ‘DynamicUserDirectory’ shortcode to use the extension as following:

    function DynamicUserDirectoryExtendLoad() {		    
    
        if(!is_admin()) {
            remove_shortcode( 'DynamicUserDirectory');
            add_shortcode( 'DynamicUserDirectory', 'DynamicUserDirectoryExtend' );
        }
    }
    
    add_action( 'plugins_loaded', 'DynamicUserDirectoryExtendLoad', 12 );

    It is not as flexible as I hoped (DynamicUserDirectoryExtend() is a duplication of DynamicUserDirectory() with the support for overriding via shortcode options), meaning that every new version that affects the DynamicUserDirectory() function also affects DynamicUserDirectoryExtend().

    I am currently using the last version (1.2.0 at the time of writing) of Dynamic User Directory.

    Cheers,

    Nicolas

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Sarah Giles

    (@sarah_dev)

    Hello Nicolas,

    Thanks for contacting me with your detailed request! I think it’s a great idea. I will add the ability to create multiple instances of the plugin to a short list of planned add-ons that will soon be available at minimal cost on my website (sgcustomwebsolutions.com).

    Regards,
    Sarah

    Thread Starter nicolashili

    (@nicolashili)

    Hello Sarah,

    Thank you for the reply and your interest in this feature.

    I am not sure to fully understand your answer though. I was proposing you to share my code if you were interested. should I understand that you are not interested and that you prefer to re-develop it on your end in order to be able to sell it ?

    As I already implemented the solution (for my personal needs), does that mean that if I want to follow the next updates of “Dynamic User Directory” while having this feature, I have to pay for the add-on, even though I implemented it on my side ?

    Although I am sure that the cost of using the add-on would be minimal, I have no fund from my University as I simply volunteered for developing the website of my laboratory and to comply with my department policy, I should only use free plugin features so they can keep maintaining it after my contract is finished without being obstructed by non-free solutions.

    Thanks for your answer,

    Nicolas

    Plugin Author Sarah Giles

    (@sarah_dev)

    Hi Nicolas,

    My apologies for the misunderstanding. I appreciate the offer to share your code for possible integration. I’d be happy to take a look at it and if it’s possible to integrate with minimal effort I will do so in the free version in the future. If it requires significant changes, however, I unfortunately cannot afford to invest the time without compensation. In that event I would prefer to develop the feature myself and offer it as an add-on, which would be a one-time charge of probably no more than $5 USD.

    At the moment I am in the process of changing the way options are handled internally, after which I will be finishing up another add on currently in development. Once these are finished (perhaps in 3-4 weeks) I’ll be free to look at your code if you’d like to email it to me (sarah@sgcustomwebsolutions.com).

    Thanks for your understanding!

    Best regards,
    Sarah

    Thread Starter nicolashili

    (@nicolashili)

    Hi Sarah,

    No worries, thanks for your prompt reply 🙂

    I do not want to force you to integrate it for free against your will. I am sorry if my message made you think the contrary. I fully understand that plugin authors want some returns on investment, and you clearly invested time in this plug-in which is reflected by the quality of its admin interface. You also might have already considered adding this feature to your feature list before I wrote this topic, so it is absolute not my call to influence your decision.

    I am gonna send you an email with my code then. Whether you want to integrate this feature in the base version or as an add-on is your entire decision and I fully respect that. I would really appreciate if you can share your decision with me whichever you make and whenever you make it, so I will know if I can use this plugin for my laboratory.

    Best regards,

    Nicolas

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[feature request] Multiple instances on the same website’ is closed to new replies.