Invision 4 Help

Discussion in 'Integration' started by andy_gre, Dec 30, 2016.

  1. andy_gre

    andy_gre aMember Pro Customer

    Joined:
    Aug 22, 2006
    Messages:
    11
    I see from searching there are some using aMember with Invision 4. I've recently (finally) got round to upgrading and run into a problem that isn't aMember related, but is causing big issues.

    With Invision 3 you had the option to set alternative sign-up/login/password change pages from the default Invision ones. These were obviously set to the aMember equivalents and all worked fine. It would appear IPS have removed that ability in IPB 4 (or I can't find the options anywhere). I'm not overly keen on hacking the templates and manually setting links as there are a good number of places changes need making and it's proving hard to track them all down.

    How are Invision 4 users handling this?

    Thanks
    Andy
  2. caesar

    caesar aMember Pro Developer Staff Member

    Joined:
    Oct 16, 2009
    Messages:
    1,670
    Hello Andy,

    Happy New Year!

    I do not sure regarding such settings (I recommend to ask IPB about it) but I can suggest the following workaround instead of hacking templates - You can just use mod_rewrite rules within .htaccess file to redirect forum links to amember links. This way you will have all redirects in one file (place) and do not need to alter anything in forum - very handy for maintenance on my opinion.

    Here is example of redirect urls:
    Code:
    RewriteEngine On
    RewriteBase /
    
    RewriteRule ^forum/login.php$ /amember/login [L,R=301]
    RewriteRule ^forum/profile.php$ /amember/profile [L,R=301]
    RewriteRule ^forum/signup.php$ /amember/signup [L,R=301]
    Reference:
    http://httpd.apache.org/docs/current/mod/mod_rewrite.html

    Best Regards.

Share This Page