Solved it do the following :
/opt/lampp/htdocs/sun/mod/groupstopicposts.php
Line 24, add:
//added by munkee, so that emailed URL can be reached upon a
successfully login
gatekeeper();
group_gatekeeper(); *this line already exists
The line gatekeeper(); is the added line, without it, it didnt check
to see if your logged in or not. With it, it will wait till you do so,
then continue on.
To get the same with URL's which point to non public Pages do the
following.
/opt/lampp/htdocs/sun/mod/pages/view.php
Line 19:
//added by munkee, so that emailed URL can be reached upon a
successfully login
gatekeeper();
Regards,.
On Oct 28, 12:23 pm, munkee <r.g.r...@gmail.com> wrote:
> Hi all,
> Not sure if this counts as a forwarding issue or not, I'll explain...
> If I email an elgg internal URL to someone, showing a topic that they
> would be interested in:
> Such as this:
> http://<servername>/elgg/mod/groups/topicposts.php?topic=4246&group_guid=52 2
> On them clicking the link, It'll take the user to the login page,
> after logging in it'll take them to their Dashboard, is it possible
> for them to be taken to the actually topic that I think might be
> interesting to them, rather than them having to find it for
> themselves?
> When you invite a user to join a group, the URL which is emailed to
> them:
> http://<servername>/elgg/action/groups/join?user_guid=182&group_guid=1377
> Gets them to login, it then takes them straight to that group - this
> is what I want to happen for all pasted URL - Is it possible ?
> Many thanks.