WordPress.org

Ready to get started?Download WordPress

Forums

WPSMF - WordPress to SMF
Support for sub-domained forums (16 posts)

  1. RobertMfromLI
    Member
    Posted 3 years ago #

    Hi,

    I am interested in having support for sub-domained forums. I will be working on adding that feature to your plugin over the next couple of days, and when complete, I can provide you with the changed files or a diff.

    Example is...
    Main WordPress Website:
    http://www.mysite....

    Forums:
    forums.mysite...

    Best,
    Robert

  2. SchattenMann
    Member
    Plugin Author

    Posted 3 years ago #

    uh can you explain yourself better?

    cuz thats how i'm using it myself...

    is your subdomain hosted on the same server then your domain or what?

  3. RobertMfromLI
    Member
    Posted 3 years ago #

    Hi,

    Yes, it is...

    There is no option to specify the domain for the SMF forums though (at least not in the version of the plugin I am using, which is .4)

    So, when I make a WP post on http://www.mysite.com, the link should be to forums.mysite.com/index.php?etc

    Instead, the link created is:
    www.mysite.com../forums_STP2/index.php?topic=11954.0

    Note it is assuming the forums are a subDIRECTORY... I am using a subDOMAIN.

    Best,
    Rob

    PS: Thanks for the amazingly quick response!

  4. SchattenMann
    Member
    Plugin Author

    Posted 3 years ago #

    Hi,

    i think i got it...you are using a subdomain hosted on other server...

    yah you need to change one variable...theres already 1 post where someone did it to post WP into a forum on other server and domain

    if you do the same you will have no problem whatsoever...

  5. RobertMfromLI
    Member
    Posted 3 years ago #

    Cool...

    So, what I am thinking is one more field on the configuration options would resolve that regardless of sub-domain, sub-directory, etc.

    It could be:

    Enter URL to SMF's index.php

    The data expected could then simply be:

    subdomain.mysite.com/index.php

    or

    http://www.mysite.com/index.php

    or

    http://www.mysite.com/forums/index.php

    Or whatever... and it will work with any variant or mix of them.

  6. SchattenMann
    Member
    Plugin Author

    Posted 3 years ago #

    just to clarify:

    we are talking about SMF Path or SMF Link Text ?

  7. RobertMfromLI
    Member
    Posted 3 years ago #

    SMF Text link...

  8. RobertMfromLI
    Member
    Posted 3 years ago #

    That way (with the additional option), the SMF text link will always be built properly, regardless of whether the WP user is using a subdomain, subdirectory, combination of the two, or pretty much whatever else.

  9. SchattenMann
    Member
    Plugin Author

    Posted 3 years ago #

    yah you are right

    SMF Path needs to be a physical path no matter whats but Link Text could be whatever you want...

    you will need to hardcode it for now though

  10. RobertMfromLI
    Member
    Posted 3 years ago #

    I will probably hardcode it to start...

    If you do not have the time to make an update, I may take that upon myself if you dont mind, and then pass the changes on to you. And of course, if you do have the time to make an update, then it makes it really simple for me - I'll just hardcode it until you are done.

    Best,
    Rob

    PS: Thanks for a great plugin!

  11. SchattenMann
    Member
    Plugin Author

    Posted 3 years ago #

    atm i don't have much time...

    also i haven't code much since not many ppl seems to be using it anyway

  12. RobertMfromLI
    Member
    Posted 3 years ago #

    Hmmm... that's odd. I find it's going to be indispensible to me for our new website (which we are currently migrating from a static site to a WordPress site).

    I'll get to the changes as soon as I can and let you know.

    Thanks again,
    Rob

  13. SchattenMann
    Member
    Plugin Author

    Posted 3 years ago #

    please don't forget: SMF 2.x only!

  14. RobertMfromLI
    Member
    Posted 3 years ago #

    It's not much, but I have sent a token of my appreciation...

  15. RobertMfromLI
    Member
    Posted 3 years ago #

    Oh believe me, no intentions on trying to worry about the nightmare of making it work on v1.x - and besides, I planned on passing the code back to you so you can update the plugin. I really don't need any special credit or anything for such a small update.

  16. SchattenMann
    Member
    Plugin Author

    Posted 3 years ago #

    tks m8 ;)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags