Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 06-17-2009, 10:40 PM
Saviour's Avatar
Saviour Saviour is offline
 
Join Date: Apr 2007
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Editing post and adding attachment...

Running vb 3.8.3...

I have an issue and I don't understand what's causing it...or how to fix it.

If a user creates a thread, they can add an attachment at the time of posting. However, once the thread/post has been submitted...the user cannot remove, nor add another attachment without getting a permissions error.

I've checked my user group and attachment permissions and they seem to be set correctly. The only thing I can think of is that I may have some other setting enabled which is preventing the user to add/remove attachments after making their post/thread.

I'm at a loss...and appreciate any help anyone has to offer.

Update...

I've also checked the time one has to edit their post and it's set at 1440 minutes (one day), so I still don't understand why a registered user cannot add an attachment after they post.
Reply With Quote
  #2  
Old 06-19-2009, 12:53 AM
Saviour's Avatar
Saviour Saviour is offline
 
Join Date: Apr 2007
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*BUMP*

Anyone?

Something I noticed, which is quite peculiar...there's over 500+ pages of threads that were started by members with absolutely no replies in this particular forum.

Anybody supporting or moderating this forum?
Reply With Quote
  #3  
Old 06-19-2009, 02:01 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

People answer questions if they can. No one, however, is required to answer any questions at all.

What it is the exact error you are getting when trying to add an attachment?
Reply With Quote
  #4  
Old 06-19-2009, 08:12 AM
Saviour's Avatar
Saviour Saviour is offline
 
Join Date: Apr 2007
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lynne...

I have the usergroup permissions for registered users allowing them to edit their own posts and to be able to upload attachments.

I have a test account...and I replied to a post and submitted the reply. I then proceed to immediately edit the post to add an attachment...and this is the error I get when I click the Upload button:

XXXXX, 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.

So...as you can see...I'm at a loss.
Reply With Quote
  #5  
Old 06-19-2009, 03:18 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 - 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

PHP Code:
define('DISABLE_HOOKS'true); 
Reply With Quote
  #6  
Old 06-19-2009, 03:30 PM
Saviour's Avatar
Saviour Saviour is offline
 
Join Date: Apr 2007
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lynne...

After creating the new style...it does not happen...

I mean...it works fine...after creating the new style.
Reply With Quote
  #7  
Old 06-19-2009, 03:33 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, so now you know it is a problem with your style. Now the fun begins. You need to go through and compare your modified templates to the default Jelsoft template and see what is missing. I would start with the templates that are related to attachments. I'd try this on a copy of your style first so you can find which one it is. It could be as simple as just clicking the Revert button on a couple of templates.
Reply With Quote
  #8  
Old 06-19-2009, 03:44 PM
Saviour's Avatar
Saviour Saviour is offline
 
Join Date: Apr 2007
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thx...will do...I'll keep ya posted.

--------------- Added [DATE]1245434992[/DATE] at [TIME]1245434992[/TIME] ---------------

Here's the thing, though...

Why can staff do it...but not registered users? If a Staff member makes a post...and then goes back to edit it and add an attachment...it works.

However...if I log out...then log in using a test account...I can add an attachment if it were my first post, but can't add one if I edit the post.

Seems strange that a staff member can do it, but a registered member cannot.

--------------- Added [DATE]1245446554[/DATE] at [TIME]1245446554[/TIME] ---------------

Lynne...

Thank you for your help...I found the problem. It was this mod: Private Messages Attachments

I have since disabled it...and all is fine.

Thank you, for your help...greatly appreciated.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:36 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04808 seconds
  • Memory Usage 2,227KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete