This archived community thread from the APG vNext support forum discusses: Attachment And Upload Button Not Available For Groups.
About This Topic
Username Password Verification Stay logged in Login - OR - Forums Posts Latest Posts Active Posts Recently Visited Search Results View More Blog Recent Blog...
Getting Help with APG vNext
APG vNext is a powerful ASP.NET forum and community platform. For questions related to this topic:
- Browse the Knowledge Base for documented solutions
- Search the community forum for similar threads
- Check the FAQ for common questions and answers
- Review the Installation and Upgrade guides
If you need direct assistance, the support team is active in the community forum.
Attachment and Upload Button Not Visible for Certain Groups in APG vNext
APG vNext controls file attachment and image upload permissions on a per-forum, per-group basis. If members in a specific group report that the attachment or upload button does not appear in the post editor, the cause is almost always a missing permission in that group's configuration. This guide walks through the exact settings to check and how to grant upload rights correctly.
Where Upload Permissions Live
APG vNext has two separate permission layers for uploads:
- Global upload policy — Admin Panel → Settings → Uploads → Enable Uploads (master switch)
- Per-forum, per-group permissions — Admin Panel → Forums → [Forum Name] → Permissions → [Group Name] → Allow Attachment Upload
Both layers must be enabled for the upload button to appear. The global switch overrides individual forum permissions — if it is off, no group sees the upload button regardless of forum-level settings.
Step-by-Step Fix
Step 1 — Check the Global Upload Switch
-- Confirm global upload setting in DB:
SELECT SettingValue FROM apg_Settings
WHERE SettingKey = 'UploadsEnabled';
-- Must return '1' or 'true'
Step 2 — Grant Upload Permission to the Affected Group
- Admin Panel → Forums → select the target forum
- Click Permissions tab
- Find the affected group (e.g., "Registered Users", "New Members")
- Enable: Allow Attachments and Allow Image Upload
- Save — members in that group now see the upload button immediately
Step 3 — Check File Type Restrictions
Even with permissions enabled, the upload button may appear but reject files silently if the file type is blocked:
<!-- web.config: allowed upload extensions -->
<add key="APG.Upload.AllowedExtensions"
value=".jpg,.jpeg,.png,.gif,.webp,.pdf,.zip,.docx" />
<add key="APG.Upload.MaxFileSizeKB" value="5120" />
Group-Specific Upload Quotas
Differentiate upload quotas by group — power users get more storage, new members get less:
-- Set per-group upload quota (MB):
UPDATE apg_Groups
SET UploadQuotaMB = CASE GroupID
WHEN 2 THEN 100 -- Registered Users
WHEN 3 THEN 500 -- Moderators
WHEN 4 THEN 10 -- New Members (trial period)
ELSE 50
END;
Troubleshooting Upload Button Still Missing After Permission Grant
After granting upload permissions, if the upload button still does not appear, work through these additional checks:
Check 1 — Browser Cache
APG vNext's permission-driven interface uses JavaScript to conditionally render the upload button. Permission states are sometimes cached in the browser's session storage. Have the affected member perform a hard reload (Ctrl+Shift+R) or clear their browser cache and try again.
Check 2 — Skin Template Override
Custom skins sometimes override the post editor template and hardcode the upload button as hidden. Check your skin's post editor template for display:none or visibility:hidden rules on the upload button container:
/* Check your skin's CSS for hidden upload button rules: */
.apg-upload-btn,
.apg-attach-btn,
#upload-trigger {
/* Remove or override any display:none rules here */
display: inline-block !important;
}
Check 3 — MIME Type Blocking at IIS Level
IIS can block certain MIME types at the server level, independent of APG vNext's application-level settings. If members can see the upload button but uploads fail with a network error (not an APG vNext error), check IIS MIME type restrictions for your site.
Upload History and Storage Usage
Track how much storage is being used per group to inform quota decisions:
-- Storage usage by member group:
SELECT
g.GroupName,
COUNT(a.AttachID) AS AttachmentCount,
SUM(a.FileSizeBytes) / 1048576.0 AS TotalStorageMB,
AVG(a.FileSizeBytes) / 1024.0 AS AvgFileSizeKB
FROM apg_Attachments a
JOIN apg_Members m ON a.MemberID = m.MemberID
JOIN apg_MemberGroups mg ON m.MemberID = mg.MemberID
JOIN apg_Groups g ON mg.GroupID = g.GroupID
GROUP BY g.GroupName
ORDER BY TotalStorageMB DESC;
Use this data to right-size storage quotas by group and to identify groups whose members are uploading disproportionately large files — often a signal to reduce the max file size limit for that group.
Setting Per-Forum Upload Restrictions
Beyond group permissions, you can restrict uploads on a per-forum basis — useful for read-only announcement forums or forums with a specific purpose where file uploads would be noise:
-- Disable uploads for a specific forum:
UPDATE apg_Forums
SET AllowAttachments = 0,
AllowImageUpload = 0
WHERE ForumID = @ReadOnlyForumID;
-- Or enable for a forum that has them disabled by default:
UPDATE apg_Forums
SET AllowAttachments = 1,
AllowImageUpload = 1
WHERE ForumID = @MediaForumID;
Related Resources
Looking for more help? Browse the support forum or check the Knowledge Base.