- Peace, I'm out
- editing demo user profile
#1 Jan 11, 2019 16:17
the notification mail: "We haven't seen you on fokus genba for …" has a link building bug.
note: fokus.genba.org is a collection using subdomain and is not the information collection
When clicking the __login now__ button in the notification mail, a login formula at the collection (set for info) opens (see fig 1) After having logged in, the skin of fokus.genba.org is called, but a 404 Page shows up because of a buggy redirect (see fig 2) (It's strange that the skin of fokus.genba.org and a 404 page are displayed, although the url refers to another collection and skin.)
Would be great to get a working redirect to that collection the user is registered at
Thanks and Regards, Will.
#3 Jan 15, 2019 15:57
#4 Jan 20, 2019 19:14
@fplanque I don't know, but may be this link problem that happens on b2evolution forum is linked to the problem.
When I get a notification mail that there is a new comment in the thread I started, I click on "Read full Comment" and am redirected to Login (because I am not logged in). After logging in, the redirect ends in a "Not Found" (Obviously a 404).
(In case, this is a separate problem, please tell me and I will start a new support thread)
Thanks and Regards, Will
#5 Feb 01, 2019 09:22
@saunders Ok, we fixed to redirect to current collection instead of base url.
Thank you for the report.
#6 Feb 01, 2019 21:04
@yurabakhtin thanks for fixing this.
May be another link-building bug is linked to that fixed one.
When I get a notification mail via contact formula in the footer there is a link back to that collection from where the contact mail was sent :
"Diese Nachricht wurde automatisch von b2evolution auf fokus genba laufend generiert." (This message was automatically generated by b2evolution from fokus.genba.org)
Clicking the link "fokus.genba.org" I am redirected to the baseurl although fokus skin is shown. It is the same as shown above in #2, third part of the screenshot.
May be you can fix this, too. Would be great!
#7 Feb 17, 2019 10:29
#8 Feb 18, 2019 05:49
@saunders Hello, you wrote about string "Diese Nachricht wurde automatisch von b2evolution auf <a>fokus genba</a> laufend generiert." and we see it on your screenshot in #2 comment.
Then you wrote english version of the string is "This message was automatically generated by b2evolution from <a>fokus.genba.org</a>", but it is wrong because it must be like "This message was automatically generated by b2evolution from <a>fokus genba</a>", you can see it here https://github.com/b2evolution/b2evolution/blob/6.10.7/skins_email/_email_footer.inc.html.php#L60:
echo sprintf( T_( 'This message was automatically generated by %s running on <a %s>%s</a>.' ), $app_name, 'href="'.$baseurl.'"'.emailskin_style( '.a' ), $Settings->get( 'notification_short_name' ) );
So you don't click on the "fokus.genba.org", you click on "fokus genba" that is stored in DB as general setting "Short site name" on the form "Site" -> "Site settings" -> "Global Site Settings"(doc page: https://b2evolution.net/man/global-site-settings).
I.e. in your case you have there the link like
<a href="https://www.genba.org.com/blogs/">fokus genba</a>, because your
$baseurl = 'https://www.genba.org.com/blogs/' and "Short site name"(
$Settings->get( 'notification_short_name' )) = "fokus genba".
I think we cannot change the generic email footer code as you want because the footer template is used for all collections of the site, but you can create your custom email footer template as it is described here: https://b2evolution.net/man/introduction-to-email-skins, read about folder