Advanced Attachment System (AAS) [Deleted]

New Version to test is on xenmade.com now online!

[fixed] PDF Creator on some systems
[fixed] QR-Code displayed by UserGroups without "view attachments to posts"
[add] ACP -> Options -> Remove PDF Preview
[add] ACP -> Options -> Show PDF File Infos
[add] ACP -> Rebuild Caches -> rebuild all PDF previews
[add] SEO Alt Tag for PDF



you have more ideas? Missing you something?
 
It works like a charm m8 :) Very happy with it :)
I cannot think of more functionality that would fit into this addon ;)
 
Hi.

I am very interested in your addon for the "download all attachments as zip".

Is it possible to limit this to certain nodes and thread author's attachment only?
Is it also possible to put the "Download all attachments" as a button or text somewhere else?
 
au lait updated Advanced Attachment System (AAS) with a new update entry:

Version 1.1

[fixed] PDF Creator on some systems
[fixed] QR-Code displayed by UserGroups without "view attachments to posts"
[fixed] many fixes etc....

[add] ACP -> Options -> Remove PDF Preview
[add] ACP -> Options -> Show PDF File Infos
[add] ACP -> Rebuild Caches -> rebuild all PDF previews
[add] SEO Alt Tag for PDF
[add] Attachment Browser for User
[add] Thumb Preview after Upload PDF
[add] Thumb Preview in the Posts for PDF
[add] ToolTip BBCode-PDF Preview Infos (Views Size)
[add] Can view PDF...

Read the rest of this update entry...
 
Only the author should be able to? That means you can make Conditions!


Yes - you must cahnge the template modification!
Hi,

Could you explain how I can make conditions?
Since I only want the author's attachments to be downloadable as zip and within certain nodes.

Also, this zips and saves the zip right? So that next time it downloads it won't re-zip unless some attachments are changed/removed?
 
I love the attachment browser!
Found a small glitch: The URL shown (example) for me is:
Code:
[IMG]http://mainecoon.nl/forum/http://cdn-2c94.kxcdn.com/forum/data/attachment-files/2016/02/160232_logo.png[/IMG]

The first part is most likely hard coded. The last part is created because I use [bd] Attachment store, which transforms attachments to files with regular file extensions so my CDN can pick it up.

Why not use the Attach BB Code? This always works.
------
Suggestion: Would be nice if one clicks on the Attach BB Code, it is automatically copied for reuse.
Bug?: I cannot put in the PDF preview in a post anymore with the latest version
Suggestion: Attachment Browser some options to filter, sort etc to find an attachment
 
Last edited:
@au lait
Still ghostscript is missing but it is installed on my server.
Could you please make an option to on/off Attachment Browser for User because I have similiar addon and now I have two buttons bellow editor "Your Attachments". Have to disable your addon till this will be fixed, or till then, could you tell me how to disable Attachment browser button on my forum?

Thanks
 
Found a bug.
There is some bug with javascript file from this addon.
When addon is enabled, when editing post and click save, I get an error message that appears saying simply "Unspecified error". So there is no ajax refresh with edited post, but edited text show up when I refresh page.
When this addon is disabled, bug is gone.

This Xenforo forum have many similiar bugs with another addons and allways is JS file from addon guilty for that. For example, showcase addon has similiar bug -
http://xenaddons.com/threads/unspecified-error.94/
http://xenaddons.com/threads/unspecified-error-when-adding-a-comment.92/

I have to disable this addon until bugs are solved
 
Found a bug.
There is some bug with javascript file from this addon.
When addon is enabled, when editing post and click save, I get an error message that appears saying simply "Unspecified error". So there is no ajax refresh with edited post, but edited text show up when I refresh page.
When this addon is disabled, bug is gone.
I dont can confirm that error. I have try to reproduce... no change, editing several poste in several threads and found no mismatch.

The solutions in your links say me, that things with the js path will be wrong - but that can I also not confirm in 2 forums from me.

I also use a second attachment browser, but disabled that one and not the part from AAS. ;)
 
Found a bug.
There is some bug with javascript file from this addon.
When addon is enabled, when editing post and click save, I get an error message that appears saying simply "Unspecified error". So there is no ajax refresh with edited post, but edited text show up when I refresh page.
When this addon is disabled, bug is gone.

This Xenforo forum have many similiar bugs with another addons and allways is JS file from addon guilty for that. For example, showcase addon has similiar bug -
http://xenaddons.com/threads/unspecified-error.94/
http://xenaddons.com/threads/unspecified-error-when-adding-a-comment.92/

I have to disable this addon until bugs are solved
I can confirm this bug.
@au lait, you still have full access to my forum as Administrator. Feel free to play around ;)
 
Found a bug.
There is some bug with javascript file from this addon.
When addon is enabled, when editing post and click save, I get an error message that appears saying simply "Unspecified error". So there is no ajax refresh with edited post, but edited text show up when I refresh page.
When this addon is disabled, bug is gone.

This Xenforo forum have many similiar bugs with another addons and allways is JS file from addon guilty for that. For example, showcase addon has similiar bug -
http://xenaddons.com/threads/unspecified-error.94/
http://xenaddons.com/threads/unspecified-error-when-adding-a-comment.92/

I have to disable this addon until bugs are solved
confirmed! Thanks
 
@au lait
Still ghostscript is missing but it is installed on my server.
To ignore! The detection of GS is not optimal!


@au lait
Could you please make an option to on/off Attachment Browser for User because I have similiar addon and now I have two buttons bellow editor "Your Attachments". Have to disable your addon till this will be fixed, or till then, could you tell me how to disable Attachment browser button on my forum?

Thanks

Option comes in the next version!
 
Also, this zips and saves the zip right? So that next time it downloads it won't re-zip unless some attachments are changed/removed?
I am not au lait, but I use this addon since alpha. As I can see on my server, the zip is generated at the moment you click on "download all attachments" button. As I can see, there will be not generally a zip generated when a thread/post is generated or edited.

Could you explain how I can make conditions?
As I answer you above - has you take a look at the link I posted you?

In the TMS template change:
upload_2016-2-23_8-50-22.webp

Edit the replace part to your needs:

Based on the infos out from my posted link (that you ignore ;) ):
upload_2016-2-23_8-54-14.webp
You can try to change it to:
PHP:
$1 $2
<xen:if is="{$post.user_id}">
<xen:if is="{$post.attachments} && {$atp_canDownloadAllPostAttach}"><a href="{xen:link attachments/atp-download, '', 'post_id={$post.post_id}'}" target="_blank">{xen:phrase atp_download_all_post_attachments}</a></xen:if>
</xen:if>
$3

To let only the post author see the button to download only all attachments from own posts. UNTESTED!

EDIT: @Maester Aemon It works! :like
You can now play around with it to allo admins or mods to download to.
 
Last edited:
Top Bottom