hello all
is there a way to make attachments not allowed to be downloaded untill a user post somthing in the topic
but for the pictures attachements if it is possible to allow users to see thumbnails but not to view the full image before they reply to the topic
CuTe_MaN
Hmmm it's possible to hide the attachments with the help of the Hide Tag Special (http://custom.simplemachines.org/mods/index.php?mod=118), but it's not 100% perfect.
Search for in file $themedir/Display.template
// Assuming there are attachments...
if (!empty($message['attachment']))
replace with
// Assuming there are attachments...
if (!empty($message['attachment']) && !empty($context['user_post_avaible']))
But it work only if you use hide tag special ;) if you not have this than the attachments will never be seen XD.
Bye
DIN1031
This might work; I've done something similar:
Create a membergroup in "Admin > Member Groups > Add Membergroups" that is a post based group with "1" as the number of posts required. That should sort your regular members who haven't posted and the ones that have at least one post out from each other.
Then go to "Permissions > Permissions by Membergroup" and select the check box next to the OLD member group that doesn't have any posts. Click the bottom drop down that defaults to "Add permission ..." and change it to "Clear permission ..." and then select "View Attachments" from the "Select a Permission" drop down box.
I think that u have miss understood what I meant by this request
I meant that for all attachments I want users not to view attachments untill they reply to the post
but they can view thumbnails
when he clicks on a thumbnail he will get a message that you didnt reply to the post