Log in

View Full Version : Problem in Editing Attchments


mystikmedia
04-05-2009, 05:37 PM
Users are having trouble managing attachments after the original posting. That is, going into edit of a post, and then removing and adding a replacement image. They get an error like this:

Username, you do not have permission to access this page. This could be due to one of several reasons:

1. Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
2. If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation."

Do you know how to fix that?

--------------- Added 1238956788 at 1238956788 ---------------

PS - these are recent posts...so no time limit issue.

Lynne
04-05-2009, 06:00 PM
Check vboptions > Message posting and interface to make sure the time limit is large enough to allow them to edit the post (and thus the attachment). Also check vboptions > Attachment Options to make sure they are allowed to delete them.

mystikmedia
04-05-2009, 06:20 PM
I have the time limits set to 0, which should disable. As for allowing delete, I only see options named "Allow Deletion of Attachments Beyond Edit Time Limit" and "Allow Deletion of Attachments in Closed Threads", which do not apply. Is there another one too somewhere? Thanks much for the help.

Lynne
04-05-2009, 06:49 PM
Are the users getting the error when hitting Edit or when hitting Manage Attachments? In their Usergroup permissions, do you have Can Edit Own Posts set to Yes?

mystikmedia
04-05-2009, 06:54 PM
Yes, they can edit posts. It occurs when the user tries to remove the old image. That is, when the remove button is clicked.

Lynne
04-05-2009, 07:04 PM
It sounds like you have it all set up correctly. Can you delete attachments or is it just registered users who can't?

Try this:
Create a new style with no parent:

Styles & Templates > Style Manager > Add New Style
Parent Style: No Parent Style
Title: Default vBulletin
Allow User Selection: Yes
Save

Then browse the site using that totally default vbulletin style and try to delete/manage attachments - do you still have the same problem?

If it is still happening - Try disabling your modifications/plugins and see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);