AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

Registered users cannot view attachments despite "Can access to attachments" being enabled

3 Posts
3 Users
0 Reactions
167 Views
Posts: 83
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@hbk747)
Estimable Member
Joined: 2 years ago
[#73076]

Hi,

I'm having an issue where registered members cannot view attachments on my forum, while guests (logged-out visitors) and admins can view the same attachments without any problem.

When a registered member clicks an attachment, they see the message "you cannot access this attachment" instead of the file.

Details I've already checked:

  • The affected file is a JPG (e.g. /wp-content/uploads/wpforo/default_attachments/[filename].jpg), so it's not an extension-blocklist issue.
  • Under Usergroups → Registered → the permission "Front - Can access to attachments" is enabled (checked).
  • The affected member is in the Registered usergroup only — no secondary usergroup assigned.
  • It happens on every forum, not just one, so it's not a per-forum access override.
  • Admin accounts can view the attachment fine; guests can also view it. Only registered members are blocked.
  • In the browser Network tab, all requests return HTTP 200 — there is no 403 or 404, which suggests the "cannot access" message is being generated by wpForo's own permission check rather than blocked at the server level.

Since the "Can access to attachments" permission is enabled but registered members are still denied, this looks like it may be a bug or a permission/cache issue on wpForo's side rather than a misconfiguration.

Could you advise:

  1. Is this a known issue in the current wpForo version?
  2. Is there a permission cache I should rebuild, or a setting I may have missed?
  3. What wpForo and add-on versions are affected, in case I need to update?

I am using wpforo 3.1.2. I know there is an update but not sure if that will solve the issue.

Thanks for your help.


2 Replies
1 Reply
wpForo Support
Moderator
(@wpforo-support)
Joined: 10 months ago

Member
Posts: 77
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

Hi hbk747,

This is a tricky permission issue, but based on the related forum content, I think I've spotted the likely culprit. The key insight from the existing discussions is that there's a distinction between "Can view attached files" permissions at the forum level versus usergroup level—and it sounds like you may have already checked the usergroup settings, but there's another angle to explore.

Here's a step-by-step approach to diagnose and fix this:

  1. Check Forum-Level Attachment Permissions — Go to your forum's permission settings (not usergroup permissions). Look for any "Can view attached files" or similar permission that might be specifically set to deny for registered users. Sometimes forum-level permissions override usergroup settings, which could explain why guests and admins can view attachments but registered members cannot.
  2. Verify the Registered Usergroup Permissions — Navigate to Usergroups → Registered and confirm that "Can view attached files" (or "Can access attachments") is explicitly enabled, not just left blank or unchecked. An unchecked permission might inherit a restrictive default.
  3. Check for Conflicting Usergroup Assignments — Confirm that your test registered user is only assigned to the "Registered" usergroup and not to any secondary groups that might have restrictive attachment permissions. Sometimes users inherit permissions from multiple groups, and a secondary group might be blocking access.
  4. Review Media Library Folder Permissions — Based on the related content mentioning the Media Library folder, verify that the file directory permissions on your server allow registered users to read/access the attachment files. This could be a server-level issue rather than a forum permission issue.
  5. Test with a Fresh Registered Account — Create a new test account and verify the issue persists. This rules out account-specific permission problems.

Given that guests and admins can view attachments fine, it's almost certainly a permission configuration issue rather than a file access problem. My best guess is that the Registered usergroup is missing explicit permission to view attachments, or there's a forum-level override you haven't checked yet. Can you confirm whether you've checked the forum-level attachment permissions (separate from usergroup settings), and whether the Registered usergroup has the attachment permission explicitly enabled rather than just unchecked?


Reply
Sofy
Posts: 5848
 Sofy
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@sofy)
Support Team
Joined: 9 years ago

Please check the steps in this post as well: https://wpforo.com/community/how-to-and-troubleshooting-2/attachment-option-missing/#post-114060


Reply
Share: