![]() |
members can delete attachment !
in this url :
/profile.php?do=editattachments all of usergroup can delete attachment ! where this Enable/Disable setting ?? or what php code in profile.php ? |
They can only delete their own attachments, providing they have permission to delete them.
|
You aren't saying what you want. I know I was having problems with users deleting torrent files via the profile.php page and that caused problems, so I changed that page so if the extension is 'torrent', then they don't get the box to remove the attachment. Template 'modifyattachmentsbit':
HTML Code:
<if condition="$show['deletebox'] AND $post['attachmentextension']<>'torrent'"> |
thanks ... by this way checkbox hide ...
now , how to hide delete button ?! |
Find the code in the template and remove it. To find the template - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code.
|
this button is between :
<!-- END TEMPLATE: modifyattachmentsbit --> and <!-- BEGIN TEMPLATE: pagenav --> where template ? |
Then it's probably in the main template listed at the top of the page source.
|
All times are GMT. The time now is 08:58 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|