Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
Email Digest/HTML Email - Cannot see links
Avatar
Ricki
Michigan
Member
sp_UserOfflineSmall Offline
Jan 11, 2017 - 10:44 am

I have a problem on one of my production sites where the email digest does not display links that are within the forum post.  Instead of displaying the link, it says ** you do not have permission to see this link **.  A sample email digest is attached.

NOTE: This only occurs for the daily email digest.  I have not tested it for weekly digest.  For those subscribed live to the forum, they see the links just fine in their emails.

I have been able to recreate the problem on a clean test site that only has only two plugins (Simple:Press and WP-Frontend Pro) installed and active.  I am in the process of trying to see if I still get the error with only the Simple:Press active.

For forum add-ons, I have Email Digest and HTML Emails as well as the editor add-ons which I am testing.  The Wordpress installation and all plugins/add-ons are at their latest versions.

For HTML Email template, I have the following:

<h1 class="post-title">%TOPICNAME%</h1>
<h3 class="byline">In <span class="forum-name">%FORUMNAME%</span></h3>
<div class="post-content">%POSTCONTENT%</div>
<h3 class="post-link">To reply to this post, click the link below: %POSTURL%</h3>
<div style="margin:20px 0;border-bottom: 1px solid #000000"></div>

I can give admin access and login details via PM if needed.

Thank you,

Ricki

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 11, 2017 - 11:55 am

Let me take a look at the code and see what I can find first. Are you by any chance aware if some recipients DO get the links while some do not?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Ricki
Michigan
Member
sp_UserOfflineSmall Offline
Jan 11, 2017 - 12:55 pm

I have not found any instance where it appears for one type of person vs. another.  As an administrator, I receive the same error.  Let me know if you need me to take a look at this some more.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 11, 2017 - 4:02 pm

It looks like we may be stripping some of the html from the content. I will talk to my colleague who wrote the plugin to try and get a handle on what is happening

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 11, 2017 - 10:18 pm

who was that email sent to?  just like regular content viewing, the user receiving the digest has permission check done to verify they can view the links...  just verified on one site I know uses daily digests that it is working properly with links... so doesnt seem to be a general problem (not saying there is not an issue)...

I assume these users can see the links when visiting the site?   are users members of more than 1 usergroup?  and perhaps dont have permission for viewing links in the other usergroup?

Can you do me a favor and see if any difference if you dont use the html emails?  the other site I referenced does as well, but trying to gather some data...

just to be safe and sure, could you please go to forum - toolbox - housekeeping and try resetting both the auths cache and user plugin data...and see if still an issue...

we will also do some more testing on our end...

Avatar
Ricki
Michigan
Member
sp_UserOfflineSmall Offline
Jan 12, 2017 - 9:29 am

Let me look.

Avatar
Ricki
Michigan
Member
sp_UserOfflineSmall Offline
Jan 12, 2017 - 9:46 am

While I am looking into this some more, can you tell me if the error message,  ** you do not have permission to see this link **, is coming from the plugin code?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 12, 2017 - 9:53 am

yes, that definitely is our message... users need permission to view links in post content... so assuming they see links in content when viewing in the forum, they should see them in emails as well...

my initial thought my be the permission check wasnt working for emails... but when user I know does daily digests and uses html emails and said things were working, wasnt so sure...  I still plan to try to verify that is working right, just did not have time last night...

Avatar
Ricki
Michigan
Member
sp_UserOfflineSmall Offline
Jan 12, 2017 - 10:19 am

No problem.  

I am trying to recreate the problem this morning on my test site, but now it is working fine.  

I did turn off HTML emails and those links are coming through fine.  Now, I turned on HTML email for the digest, and the links are coming through fine so I am not able to recreate the problem.

When I opened this post, I had re-run the test several times to make sure I was seeing it correctly.

___

General information...

The users who see this error, receive the links just fine in the live HTML email notifications and they can see them when they log into the site.  It just occurs in the digest version with HTML emails only.

All users are the Wordpress role, Subscriber, and they have the can view links/can create links permissions checked for their User Group.  These users can see the links just fine when they are logged in.

I did clear both the caches so maybe that helped.

_____

This issue seems to appear and disappear on me.  I thought was fixed several times over the past few months but then it re-appears.  

I opened the ticket because it was appearing in a clean WP install with just Simple:Press active, but now I can't recreate it.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 12, 2017 - 9:17 pm

interesting...  perhaps you had stale auths cache... just let us know if you can recreate it...  thanks for update...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626