By Simon Logan on Thursday, 01 June 2017
Posted in Technical Issues
Replies 7
Likes 0
Views 715
Votes 0
Looks like the "Subscribe to Blog" popup option has stopped working after a recent upgrade? We had a customisation in place so that people would be subscribed to a specific category rather than sitewide from the module so I removed this as I thought it could still be the issue however it still persists.

The form option also errors after submitting the details. In addition when I edited the module to switch it back to popup after testing the inline form the button now no longer appears at all? i can't see any Javacript errors in the console either.

https://www.screencast.com/t/CL0s9OqCuo

(Incidentally I noticed that the subscribe module now includes a "subscription type" option however when you make a choice such as "category" you can't them specify which category? I am misunderstanding what this is for?
Hello Simon,

For some reasons it seems like there is a naming conflict of window.eb on that site and it seems like another plugin is rendering https://analytics-eu.clickdimensions.com/tsr.js and this file is overwriting the window.eb variable on the site.

I have applied a temporary fix in the file /templates/t3_bs3_blank/html/mod_easyblogsubscriber/default.php and it should work fine now.
·
Thursday, 01 June 2017 22:12
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark

Thanks for this but it looks like the issue still persists when I switch back to the popup version?
·
Thursday, 01 June 2017 22:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Simon,

Hm, it looks like my modifications can only fix the form version. I have renamed the namespace from window.eb to window.ezb instead. Can you give this a try again?
·
Thursday, 01 June 2017 22:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Yeah that's done it, thanks Mark.

Will it be safe to upgrade to future releases or will I need to re-apply a customisation here? (Or if the customisation is in the override I guess it doesn't matter)?

Also can you clarify the "subscription type" option in the module? It looks like it's for selecting the type of subscription to subscribe the user to but I would have expected that when we choose, for example, "category" we'd then need to select *which* category but that doesn't happen?
·
Thursday, 01 June 2017 23:04
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Simon,

I am thinking of adding this same fix into our local instance because we don't want you to be bogged down to these kind of conflicts in the future.

If you have chosen "category", the module will only appear when you try to access a category in EasyBlog, likewise if you chose an entry where the module would only appear on the entry view.
·
Thursday, 01 June 2017 23:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Mark, will just proceed with future updates but will check after applying them to ensure it's all still working.

And I get it now, so that option is more to choose on which page types the module will show up rather than to choose to what they are subscribed. Does it still mean that, regardless of which option is selected, if the module appears they will always be added as a full "site" subscriber?
·
Friday, 02 June 2017 00:04
·
0 Likes
·
0 Votes
·
0 Comments
·
Oh, if the module is configured to appear on category page, then the user is subscribed to the category. Vice versa for the entry
·
Friday, 02 June 2017 00:26
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post