Advanced Attachment System (AAS) [Deleted]

Can't get the Watermark feature working.

I've enabled the Text watermark in the admin options.
I've ensured the User Groups have the 'Display Watermark' setting on.. And analyzing the User Permissions shows this is the case
I also disabled bypass on the Media Gallery options in case that makes a difference.
AAS_UG_MG_Options.webp AAS_UG_Options.webp AAS_options.webp

I get the QR Code and the Download Tracker..
But no Watermark.

Just in case..
There doesn't appear to be anything written to ./internal_data/atp_watermarks
I can't see any new directory in ./data

What am I missing?

EDIT - fyi, no errors in server log
 
Last edited:
it would appear the text watermarking isn't working.
But the image watermarking is.

Should there be hooks in the Media Gallery to allow users to add watermarks to existing images?
 
Does this have a rebuild for watermarking past image attachments? How does the watermarking work with different image sizes?
 
@au lait I'm getting these errors in ACP. The first two seem the same error. The third seems different:

Code:
Server Error Log
Error Info
ErrorException: Undefined variable: postIds - library/phc/AttachmentPlus/Model/ATPModel.php:295
Generated By: Unknown Account, Saturday at 12:29 PM
Stack Trace
#0 /home/axel/public_html/forum/library/phc/AttachmentPlus/Model/ATPModel.php(295): XenForo_Application::handlePhpError(8, 'Undefined varia...', '/home/axel/publ...', 295, Array)
#1 /home/axel/public_html/forum/library/phc/AttachmentPlus/Extend/XenForo/ControllerPublic/Thread.php(115): phc_AttachmentPlus_Model_ATPModel->countAttachmentsByContentIds('post', Array)
#2 /home/axel/public_html/forum/library/XenForo/FrontController.php(351): phc_AttachmentPlus_Extend_XenForo_ControllerPublic_Thread->actionAttachments()
#3 /home/axel/public_html/forum/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#4 /home/axel/public_html/forum/index.php(13): XenForo_FrontController->run()
#5 {main}
Request State
array(3) {
  ["url"] => string(101) "http://mainecoon.nl/forum/threads/beatles-nestje-allen-verkocht.83750/attachments?simplePage=1&page=5"
  ["_GET"] => array(2) {
    ["simplePage"] => string(1) "1"
    ["page"] => string(1) "5"
  }
  ["_POST"] => array(0) {
  }
}

Code:
Server Error Log
Error Info
ErrorException: Undefined variable: postIds - library/phc/AttachmentPlus/Model/ATPModel.php:295
Generated By: Unknown Account, Sunday at 10:14 PM
Stack Trace
#0 /home/axel/public_html/forum/library/phc/AttachmentPlus/Model/ATPModel.php(295): XenForo_Application::handlePhpError(8, 'Undefined varia...', '/home/axel/publ...', 295, Array)
#1 /home/axel/public_html/forum/library/phc/AttachmentPlus/Extend/XenForo/ControllerPublic/Thread.php(115): phc_AttachmentPlus_Model_ATPModel->countAttachmentsByContentIds('post', Array)
#2 /home/axel/public_html/forum/library/XenForo/FrontController.php(351): phc_AttachmentPlus_Extend_XenForo_ControllerPublic_Thread->actionAttachments()
#3 /home/axel/public_html/forum/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#4 /home/axel/public_html/forum/index.php(13): XenForo_FrontController->run()
#5 {main}
Request State
array(3) {
  ["url"] => string(101) "http://mainecoon.nl/forum/threads/beatles-nestje-allen-verkocht.83750/attachments?simplePage=1&page=3"
  ["_GET"] => array(2) {
    ["simplePage"] => string(1) "1"
    ["page"] => string(1) "3"
  }
  ["_POST"] => array(0) {
  }
}

Code:
Server Error Log
Error Info
XenForo_Exception: Cannot insert a message in the middle of a discussion. - library/XenForo/DataWriter/DiscussionMessage.php:449
Generated By: Paasnini, Yesterday at 9:50 PM
Stack Trace
#0 /home/axel/public_html/forum/library/XenForo/DataWriter/DiscussionMessage.php(354): XenForo_DataWriter_DiscussionMessage->_setPosition()
#1 /home/axel/public_html/forum/library/XenForo/DataWriter.php(1460): XenForo_DataWriter_DiscussionMessage->_preSave()
#2 /home/axel/public_html/forum/library/XenForo/ControllerPublic/Thread.php(571): XenForo_DataWriter->preSave()
#3 /home/axel/public_html/forum/library/Waindigo/Trophies/Extend/XenForo/ControllerPublic/Thread.php(36): XenForo_ControllerPublic_Thread->actionAddReply()
#4 /home/axel/public_html/forum/library/phc/AttachmentPlus/Extend/XenForo/ControllerPublic/Thread.php(72): Waindigo_Trophies_Extend_XenForo_ControllerPublic_Thread->actionAddReply()
#5 /home/axel/public_html/forum/library/XenForo/FrontController.php(351): phc_AttachmentPlus_Extend_XenForo_ControllerPublic_Thread->actionAddReply()
#6 /home/axel/public_html/forum/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#7 /home/axel/public_html/forum/index.php(13): XenForo_FrontController->run()
#8 {main}
Request State
array(3) {
  ["url"] => string(72) "http://mainecoon.nl/forum/threads/alternatieve-kattenbak.87286/add-reply"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(9) {
    ["message_html"] => string(146) "<p>Vandaag vond ik deze, de grote maat is ideaal&nbsp;https://www.junai.nl/pawise-kattenbak-open-met-hoge-rand.html?id=78741533&amp;quantity=1</p>"
    ["_xfRelativeResolver"] => string(63) "http://mainecoon.nl/forum/threads/alternatieve-kattenbak.87286/"
    ["attachment_hash"] => string(32) "a148ae19be4a0bfc809b55efc5f87452"
    ["last_date"] => string(10) "1487071309"
    ["last_known_date"] => string(10) "1487071309"
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(44) "/forum/threads/alternatieve-kattenbak.87286/"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
 
Can't get the Watermark feature working.

I've enabled the Text watermark in the admin options.
I've ensured the User Groups have the 'Display Watermark' setting on.. And analyzing the User Permissions shows this is the case
I also disabled bypass on the Media Gallery options in case that makes a difference.
View attachment 150524 View attachment 150525 View attachment 150526

I get the QR Code and the Download Tracker..
But no Watermark.

Just in case..
There doesn't appear to be anything written to ./internal_data/atp_watermarks
I can't see any new directory in ./data

What am I missing?

EDIT - fyi, no errors in server log
Have something wrong done ;( is now fixed!
 
Does this have a rebuild for watermarking past image attachments? How does the watermarking work with different image sizes?
No, is not needed! Images get "on the fly" a watermark and then cached.

The system adjusts to watermark!...
Example a large picture and a small picture
Screen_20170404024820.webp
 
The first two are the same. I have fixed!
should we just upload new files or instal xml file too?
I have installed this version product-phc_AttachmentPlus-v.2.2.1_19770092
And newest version on your site is product-phc_AttachmentPlus-v.2.2.1_19770093
 
This will double the space needed?
Yes and no! Because only the images are cached, which are also retrieved! Images from threads the years old - no more open - no CPU load - no cache.
This is the best solution. Not to destroy the original.

Also how long is cache for?
Can you in the settings set!

Now server intensive is this with high traffic?
Not really server intensiv.

Test it!
 
Very good, I'll buy later this month, thanks!

one last question, if the cache is temp, how does Google Images handle this?
 
should we just upload new files or instal xml file too?
I have installed this version product-phc_AttachmentPlus-v.2.2.1_19770092
And newest version on your site is product-phc_AttachmentPlus-v.2.2.1_19770093
cool - awaiting next release :)

Would you like to test the upcoming version?
The changelog for the next version:

Code:
[add] On/Off function for Attachment Statistic on Forum Home
[add] On/Off function "Show Member Attachments"

[add] New User Group Permission: "Min. Post Count to download a Attachment"
[add] New User Group Permission: "Min. Post Count to Upload a Attachment"

[add] Prevent Duplicate Attachments System

[add] Upload via URL
[add] New User Group Permission: "Can upload attachment via URL"

[add] Resume Downloads
[add] New User Group Permission: "Can resume downloads"

[fixed] No watermark generated
[fixed] Several improvements

[*] Many many design/phrasen improvements
 

Attachments

  • Screen_20170405035930_.webp
    Screen_20170405035930_.webp
    39.6 KB · Views: 8
  • Screen_20170405090321.webp
    Screen_20170405090321.webp
    32.1 KB · Views: 7
  • Screen_20170406041015.webp
    Screen_20170406041015.webp
    7.5 KB · Views: 13
Confirmed that the text watermark is now working

Wonder if I could get this working with XenBlog for their attachments?! :)
 
Back
Top Bottom