This new hack gives you the function of grouping all your attachments in one single list, divided into pages and with the option of viewing files by category, eg Video Clips, Archives and Excecutables etc.
All installation instructions are provided in the install file, and modification details are in the php file included in the zip. All images used for some files are also attached.
Any problems, queries or errors, please report here or PM me so I can sort them out as soon as possible, to ensure this hack is to your standards.
Current key functions:
Lists all attachments and spans over pages. You can specifiy the amount of attachments per page.
Specify usergroups who you do not wish to view the attachments.
Set out the same as attachments in posts, with icon, size and views.
Categories, so you can quickly view one type of file.
Display username.
Sort by username or filename.
If enabled, images category shows thumbnails.
Table row colours altered to make it easier to read username.
Any chance we can have it so that it only shows in the list the attachments you have permissions for - I know you say it shows the no_permission thing, but this is not ideal....
This is indeed a very important issue...
Any updates yet?
Any chance we can have it so that it only shows in the list the attachments you have permissions for - I know you say it shows the no_permission thing, but this is not ideal....
Actually, it's what I want. I want people to be able to see all the file names so they 'know what they're missing'. They can see the filename but permissions keep them from actually downloading a file unless they have the appropriate permissions. So I guess it really depends upon what each person wants in their forum.
Then their should be a option to choose hiding or showing.
I have my reason not to show files to the public ;-)
Let's say i attach a doc in the admin (hidden) forum, it will appear in the list. Maybe the file can't be accessed, but the title alone can do some harm in some cases (imho)
## You must add the following TWO styles to your desired style: ##
## attachment_view, attachment_view_bits
I am guessing this means go to style manager and choose add new template so it appears like in the attachment
I tried add new child style but something just didn't seem right...gonna go and do some tests in my brand new forum with a file list, although to do this I think I'll need some attachments
I have modified the templates a bit and I was wondering if there was anyway to limit the attatchments to only get them from one forum? The forumid that I would like to pull them from is "26" if anyone can help me it would be greatly appreciated.
I have attached a screen shot of what I have right now, I would like to remove the "Forum:" box if at all possible
Some really kool suggestions, sorry I havn't replied much, but I have been snowed under with work lately, but in a week or so my priority can rest on this for a bit
Database error in vBulletin 3.0.0:
Invalid SQL:
SELECT * FROM attachment AS attachment
LEFT JOIN user AS user ON (user.userid = attachment.userid)
INNER JOIN post AS post ON (attachment.postid = post.postid)
INNER JOIN thread AS thread ON (post.threadid = thread.threadid)
INNER JOIN forum AS forum ON (thread.forumid = forum.forumid)
ORDER BY username ASC
LIMIT 0, 30
mysql error: Column: 'username' in order clause is ambiguous
mysql error number: 1052
Date: Monday 21st of June 2004 11:57:49 AM
Script: http://www.blank.com/forum/fileslist...name&pageamt=2
Referer:
Username: kannsational
IP Address: 172.196.14.15
Whazzat? I am using the first version of the hack.