![]() |
Quote:
GD2+ also ... |
OK, the thumbnail code is in the view_attachment_bits template. its an IF statement, I can take a look at it later n get back to you.
|
OK, I think I have fixed the problem, replace the code in your attachment_view_bits template with this:
Code:
<tr> |
Quote:
Later today I have more time and will have also a look in the code. Tnx |
OK, when your a guest it cant show the thumbnail, but when your logged in it works, I will sort that later so it shows the filename when your a guest and the thumb when your logged in.
Works on your site tho: |
Quote:
Well I don't understand it anymore :laugh: You can see thumbs on my board, well me not. Login with Admin, Mod, Reg User and all didn't show thums, while I see the thumbs in the postings. I gave the link now to some users to have a look there. :o (edit) I think that not allowing guests to see it is ok. |
OK, this is the latest view_attachment_bits template, it has the guest thing I was talking about.
Code:
<tr> |
SmartGnome, have you pressed Ctrl+F5 to do a clean refresh to see if that works? It works really well when I use it.
|
Quote:
|
Ok I fixed it for you again. The third line is what had to be changed.
HTML Code:
<tr> |
I've also fixed the problem with unregistered users being able to view the files listing. On my board I have it set up the same way as the member's list. If they can view the member's list (which unregistered users can't) then they can view the files listing.
In fileslist.php Find: PHP Code:
PHP Code:
|
Yer dont make much difference for me, Boofo. The permission thing is quite good, even though guests are not allowed to view thumbs anway.
Need some feedback from current users. |
Unless anybody is having trouble, please do not use the template changes posted as they change so often and newer ones may have functions missing.
Please wait for a day when v2.02 is realeased. |
The code I posted above doesn't allow them to view the file listing at all unless they are registered. That is way better than not being able to view just the thumbnails.
And if you don't add the $mode == image to the second part of that line, you get it trying to make thumbnails out of php and zip files in the allfiles area. I hope in the next version you get the queries finally straightened around. They are a mess. |
Still no thumbs at my site :tired:
@Boofo, also your mod give me no thumbs @Dan, Yes I tried ctrl+F5. What I don't understand is that you can see them and I not <gggrrrr> |
Quote:
Also, if you use a Firewall, try disabling that and see if you can see them then. |
Let me just add: Im confused!
|
@Boofo
Quote:
Quote:
@Dan Quote:
|
Quote:
Thanks as well DWard - looking forward to v2.01 :) Question: how difficult would it be to have the list of attachments in rows as well as columns ... like a gallery ... Currently (for any resolutions higher than 800X600, there is a whole lotta wasted screen real-estate ... |
perfect!
Just ONE addon will be nice to see: - add link to thred or post where is that file attached ;) question for tumbs addon: why some pictures are not shown? but they OK when i click on them... the size is not so big actually.... |
try rebuilding your attachment thumbnails in the admin control panel under the maintenance menu on the left.
|
demo and screeens would be nice ... still nice one ...
|
There is a demo, the link is on the first post.
(http://www.collegepranks.co.uk/forums/fileslist.php) |
Hi Dan,
It's crazy but still no thumbs with me and my users. I will install a clean testboard on a local machine to see what is wrong here. Perhaps a conflict between hacks, I don't know. Is the following a typo in template "attachment_view" $attachment_view_bits </table> </feldset> </table Cu |
Looks like it, doesnt make any difference, but I will fix it.
|
Any way to exclude private message attachments if we have that hack installed?
|
I cant see one because it is the same as the normal attachments, there is no way of telling the location of the attachments, therefore no way to block unwanted or sort by forums.
|
That's ok, I'll fix it. ;)
|
OK, not as many problems now I guess because there are barely any questions being posted about the new version.
|
Quote:
Thanks for the new version DWard :) |
Quote:
|
Quote:
|
Quote:
Excellent hack. I've been doing a monthly list and dumping the html output to a file, doing a bunch of tailoring so people could see what attachments there are: http://Elsmar.com/level2/Attachments-List.html So - I really, really appreciate this hack. Great job. The only thing I would really like to see is a link to the post the attachment is in. |
I belive all that requires is a
HTML Code:
<a href="$vboptions[bburl]/showpost.php?p=$attach[postid]">View Post</a> |
That works to link to the post - Thanks! I appreciate it!
|
Quote:
|
Quote:
|
This is a very good idea. :) Well done.
|
I am going to generate a drop list for the amount of files per page, what are you looking for?
|
DWard, you might want to see if you can find a way to use permissions in this. I had to take it down because attachments from private forums and PMs were showing up. Just a suggestion. ;)
|
All times are GMT. The time now is 08:54 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:
|