Recent Topics

Link Building Bug in Notification: Reminder to log in again

Started by on Jan 11, 2019 – Contents updated: Feb 18, 2019

Jan 11, 2019 16:17    

Hello,
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.

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!
Regards, Will

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 /skins_email/custom/.

Thanks.

This post has 1 feedback awaiting moderation...


Form is loading...

CMS with Bootstrap – This forum is powered by b2evolution CMS, a complete engine for your website.