• Resolved ltllc

    (@ltllc)


    When a member creates a subsite using the member network addon, the subsite is being created with a duplicate site url

    Created site from ARmember form shortcode : [arm_site_creation form_id=”101″ arm_multisite_form_title=”Add New Subsite” site_name=”Site Name” site_title=”Site title” enable_note_belt=”true” site_limit_message=”You have reached to limit of site(s) allowed to create.” submit_button_text=”Submit” ]

    creates the below site url

    http://thestocksbot.com/thestocksbot.com/sitename

    This site is never reachable.

    When I go and manually change the url to be http://thestocksbot.com/sitename everything works fine.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter ltllc

    (@ltllc)

    I am going to leave this open until the developer or someone comments on my fix.

    I was able to fix this by modifying the autoload.php

    Fresh install:

    $path = ($arm_is_subdomain_install_enabled) ? ‘/’ : ‘/’.$main_site.’/’.$site_name.’/’;

    Modification I made:

    $path = ($arm_is_subdomain_install_enabled) ? ‘/’ : ‘/’.$site_name.’/’;

    Since the server_name is already collected as part of $domain, adding the $main_site gives you the duplicate name when doing the wpmu_create_blog() function.

    I have modified my code and it is working as expected. Please let me know if this is proper and this ticket may be closed.

    Plugin Author reputeinfosystems

    (@reputeinfosystems)

    Hello,

    I understood your concern but at ww.wp.xz.cn support is for the ARMember Lite plugin and for ARMember pro plugin and ARMember pro addons support, kindly open a support ticket from https://support.arpluginshop.com and after that ARMember pro plugin support staff will assist you further.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘AR Member Network Site addon’ is closed to new replies.