Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Incomplete Invite URL

edited June 2010 in Vanilla 2.0 - 2.8
Invites from my RC2 install have an incomplete URL:

If you want to join, you can do so by clicking this link:

/forum/index.php?/entry/register/YTI21AOW1

Prior to update the link had the base URL: http://www.formlovesfunction.com/forum/index.php?/entry/register/YTI21AOW1

I don't see a setting for base URL in the Dashboard. Any ideas? Missing setting in config.php maybe?

Comments

  • RaizeRaize ✭✭
    I'm using RC2 and having the same problem. I think this is where the modification is needed, but be careful if you don't know what your doing.

    applications/dashboard/models/class.invitationmodel.php

    Also, does anyone know where I can modify the text of the invitation email?
  • RaizeRaize ✭✭
    Omg I finally found out where it is if you wanna change the content of the invitation email

    applications/dashboard/locale/en-CA/definitions.php
  • RaizeRaize ✭✭
    edited June 2010
    Anyone willing to give a nudge in the right direction? The definitions file is definitely where the email content is coming from, but anytime I change the text it screws the site up...
  • Good work finding the email content @Raize.

    Here is the code:
    $Definition['EmailInvitation'] = 'Hello!

    %1$s has invited you to join %2$s. If you want to join, you can do so by clicking this link:

    %3$s

    Have a great day!';
    The problem I'm having is that "%3$s" does not return a link with "http://mydomain.com/" in front of the garden invitation portion of the link, hence nothing clickable in the email the invitee receives.

    I noticed a line in my pre-upgrade config.php file that was missing post-upgrade:
    $Configuration['Garden']['Domain'] = 'http://www.formlovesfunction.com/';
    I added this line to my current config.php file but I still get the same error.

    If you know where the site root originates for the invitation email, please reply.

    Also, when I manually type in the URL and try to register a new user I get an:
    errorBadInvitationCode
    even though the invitation code is correct.
  • phreakphreak MVP
    edited July 2010
    Hi Raize and formloves,

    I encountered the same two problems. Anyone of the developer team who likes to share a solution with us for the "click-url" and the "wrong invitation" code?

    Greetz
    phreak
    • VanillaAPP | iOS & Android App for Vanilla - White label app for Vanilla Forums OS
    • VanillaSkins | Plugins, Themes, Graphics and Custom Development for Vanilla
Sign In or Register to comment.