• The time has come to vote for the NEW name of the site! Check out the stickied thread in TLR. Get your votes in now, poll will be closing in six days.

General Suggestions Thread

i like this place. feels like getting in early on bitcoin :blessed:

some day, that 502 gateway is gonna be permanent. probably soon :mjlol:
 
@thaKEAF

please disable attachments completely. they make saving content difficult and isa barrier to guests viewing content.
 
Back to the drawing board :francis:


reddit comments urls aren't working to embed properly.

https://old.reddit.com/r/funny/comments/1ny4urs/not_a_cop/nhs41ay/

the reddit thread id in the url above is "1ny4urs" and thats what keeps loading instead of the comment id "nhs41ay"



this is what the site automatically changes a comment url to stripping out the comment id.

[MEDIA=reddit]funny/comments/1ny4urs/not_a_cop[/MEDIA]

this bbcode and url format code works to properly embed the comment url:

[media=reddit]https://old.reddit.com/r/funny/comments/1ny4urs/not_a_cop/nhs41ay/[/media]
 
Last edited:
@thaKEAF

when you disabled uploading attachments, you also blocked users from seeing previously uploaded attachments. I think these instructions might help to resolve that.


a.i generated(copilot):

Here’s a comprehensive guide to configure XenForo so that users cannot upload new attachments via the “Attach files” button but can still view existing attachments:

🛠 Comprehensive Configuration Guide​

🔐 Step 1: Access the Admin Control Panel (ACP)​

  • Log in to your XenForo site as an administrator.
  • Navigate to the Admin Control Panel.

👥 Step 2: Modify User Group Permissions​

Go to:
ACP → Groups & permissions → User group permissions

For each relevant user group (e.g., Registered Users):​

  1. Search for “Attachment” permissions.
  2. Set the following:
    • Upload attachments to postsNo or Never
    • View attachmentsYes
✅ This disables the “Attach files” button while allowing users to view/download existing attachments.

🧪 Step 3: Verify with a Test Account​

Create or use a test user in the affected group:
  • Try posting a new thread or reply → Confirm “Attach files” is hidden or disabled.
  • Visit threads with attachments → Confirm attachments are visible and downloadable.

🗂 Step 4: Check Node-Level Permissions​

Go to:
ACP → Forums → [Select a forum] → Permissions
  • Ensure that node-specific permissions do not override the global group settings.
  • Specifically:
    • Upload attachments to posts → Should be Not Set or Never
    • View attachments → Should be Yes

🎨 Step 5: Review Theme and Template Overrides​

If you use custom themes or templates:
  • Go to ACP → Appearance → Templates
  • Search for templates like editor or message_macros that might include the “Attach files” button.
  • Ensure no custom logic is re-enabling the button for restricted groups.

🔌 Step 6: Audit Add-ons​

Check for any installed add-ons that:
  • Modify attachment behavior.
  • Override permission logic.
  • Reintroduce upload options.
Disable or reconfigure them if they conflict with your intent.

📣 Step 7: Notify Users​

Use Notices or a pinned thread to inform users:
  • Why attachment uploads are disabled.
  • That existing attachments remain accessible.
Go to:
ACP → Communication → Notices
Create a notice visible to affected groups on post pages.

🧭 Optional: Monitor Logs and Behavior​

  • Use ACP → Tools → Logs to monitor permission errors or unexpected behavior.
  • Periodically test with different user groups and forums.

✅ Summary​

FeatureSetting
Upload attachments to postsNo / Never
View attachmentsYes
Node-level overrideNot Set / Never (Upload)
Theme/template editsEnsure no override
Add-onsAudit for conflicts



by Perplexity:

Here is a comprehensive guide for configuring a XenForo forum so users cannot post new attachments via the "attach files" button, but can still view previously uploaded attachments.xenforo+3

Step 1: Access the Admin Control Panel​

  • Log in to your XenForo site's Admin Control Panel.bikegremlin

Step 2: Navigate to User Group Permissions​

  • Go to Groups & permissions and select User group permissions.xenforo+1
  • Choose the user group(s) whose members should be restricted from uploading new attachments (e.g., Registered, Unregistered or custom roles).bikegremlin

Step 3: Modify Attachment Upload Permission​

  • Locate the Forum permissions section for the selected user group.xenforo
  • Set Upload attachments to posts to “No” (or “Never” for stricter enforcement, especially for moderator groups).xenforo+1
    • “No” removes the "attach files" button and prevents normal users from uploading attachments in posts.
    • For moderator groups or any group with overlapping permissions, use “Never” to override inherited permissions.xenforo

Step 4: Ensure Attachment Viewing Remains Enabled​

  • In the same Forum permissions area, confirm that View attachments to posts remains set to “Yes”.xenforo+1
    • This maintains members’ ability to view and download attachments uploaded previously.

Step 5: Check Node-Specific Permissions (if Applicable)​

  • If your forum uses custom node-level permissions, repeat steps above for node permissions, ensuring Upload attachments is “No” but View attachments is “Yes” for each relevant forum section.xenforo

Step 6: Test Configuration​

  • Use the Analyze permissions tool in Groups & permissions to confirm your changes are working as intended for selected user roles.xenforo
  • Log out or use a test account in each role to verify:
    • “Attach files” button is hidden/disallowed.xenforo
    • Previously uploaded attachments are visible and downloadable.bikegremlin

Step 7: Optional – Additional Appearance Tweaks​

  • No additional CSS or add-ons are required; permissions control the button and upload capability.
  • However, if desired, you can further visually hide the "attach files" button with a CSS snippet in Appearance > Templates > extra.less. This is not recommended since permission settings are more secure.xenforo


This approach ensures site users can only view, not upload, attachments, while moderators and administrators retain control via permissions. Changes are immediately effective and reversible from the Admin Control Panel.xenforo+3

  1. https://xenforo.com/community/threa...ment-upload-for-moderating-user-group.189486/
  2. https://xenforo.com/docs/xf2/attachments/
  3. https://io.bikegremlin.com/32015/xenforo-forum-installation-securing-and-configuring/
  4. https://xenforo.com/docs/xf2/permissions/
  5. https://xenforo.com/community/threads/disabling-the-attach-files-button.223918/
  6. https://xenforo.com/community/threads/viewing-of-attachments-and-the-file-upload-button.226232/
  7. https://xenforo.com/community/resources/remove-attachment-links-all.5339/
  8. https://xenforo.com/community/threads/attachments-permissions-issue.182285/
  9. https://wpforo.com/community/how-to-and-troubleshooting-2/how-to-remove-file-attachment-button/
  10. https://xenforo.com/community/threa...load-images-to-a-post-within-a-thread.125568/
  11. https://xenforo.com/community/threads/upload-download-permissions.51805/
  12. https://xenforo.com/community/threads/allow-hiding-attachment-thumbnails-from-guests.219575/
  13. https://xenforo.com/community/resources/wmtech-attachment-manager-pro.7600/
  14. https://xenforo.com/community/resources/xb-attachment-constraints-permissions.8096/
  15. https://xenforo.com/community/threa...ions-in-private-message-conversations.214245/
  16. https://babiato.tech/t/remove-attach-files-button.75393/post-1074673
  17. https://xenforo.com/community/tags/attachments/
  18. https://xenforo.com/community/threa...ugh-analyze-permissions-say-otherwise.176602/
  19. https://xenforo.com/community/threads/attachment-viewing-permissions.18984/
  20. https://gist.github.com/MaximilianKohler/3bdedd0185283ac30c1f1422f9626947
 
Back
Top