vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Social Group and Album Enhancements - Watermark Generator (https://vborg.vbsupport.ru/showthread.php?t=263804)

Disasterpiece 05-25-2011 09:44 PM

Quote:

Originally Posted by BadgerDog (Post 2199977)
Thanks for the detailed answer .. appreciate it ....that was very helpful ... :up:

I think I might try to move this to the live forums, but I'm a little worried that table didn't get created and added to the database during the install. Should I wait until you've finished your beta testing?

Regards,
Doug

Right now there isn't anything I'd be able to do to fix this behaviour. It's odd, but not really a reproduceable error/bug on my end. As long as it works afterwards, it may be just a little bug in the installscript which isn't critical, because it just has to run once...

I suggest to install the mod on your live system too, if the same issue occurs, just execute the same SQL queries again and it should work. There's nothing which could break by that. :cool:

AnabolicResourc 05-27-2011 04:30 PM

Can't get this to work, no attachment is showing and the watermark is not showing neither only a red x instead.
In admincp i can see the watermark on the preview picture, although it still says: watermark file not found with a yellow triangle.

Can I pm you with some details to get some help ??

Thanks in advance...

Disasterpiece 05-27-2011 06:20 PM

Quote:

Originally Posted by AnabolicResourc (Post 2200629)
Can I pm you with some details to get some help ??

Sure

BadgerDog 05-28-2011 12:54 PM

I have a slightly special requirement for our site, potentially using this mod ... :)

Would you be interested in some contract work to modify this slightly to meet our needs?

Thanks for your work... appreciated as always ... :up:

Regards,
Doug

Edit: BTW, forgot to mention that I installed this on our "live" 4.1.3 forums and it's working fine. The install there added the plwm table that was missing when we installed it on our devforums. For whatever reason, the table inserted correctly on the "live" forums install, so I didn't have to do the manual SQL thing. So far, is working well .... :up:

Disasterpiece 05-28-2011 01:56 PM

Nice to hear!

You can send me a pm with your requirements, we'll work something out :)

BadgerDog 05-28-2011 06:28 PM

1 Attachment(s)
Quote:

Originally Posted by Disasterpiece (Post 2200888)
Nice to hear!

You can send me a pm with your requirements, we'll work something out :)

Sounds good .... :up:

Update: Been testing on our live system and there are no crashes or show stopper errors, but we are experiencing a pic anomaly that I can't explain.

Look at the two pics attached.

I happened to check a pic and noticed that it had a solid grey bar along the bottom (see left pic) which looked odd to me, since I didn't remember it that way before I installed the watermark mod. I then checked some other pics and some were fine, while others also had the grey bar along the bottom.

So, I went into AdminCP and looked at the options for the mod to see if there was anything obvious there. It looked fine and the watermark was showing, as well as your sample dog pic with it on it. So, I simply hit the submit button, then some activity at the top of the screen occurred, showing some files being handled by the mod.

Now, the surprising thing. I went back and looked at the same pics that had the grey bar and now they had the watermark appearing just fine, as shown in the right pic with the correct watermark in bottom right corner of pic. :eek: :confused:

Since then, I've been monitoring the attachment pics and every once and a while, pics start appearing when selected with the grey bar again. If I repeat the AdminCP process of doing nothing more than hitting the submit button, it fixes the problem with all the pics again.

I can't explain what's happening, or how to fix the problem permanently. Any ideas? :)

By the way, I've also attached the watermark PNG file.

Regards,
Doug

BadgerDog 05-28-2011 06:47 PM

1 Attachment(s)
Another follow up ....

This grey bar thing seems to be happening a lot more ....

I selected a pic from a post that had the bar, which was supposed to be a watermark. I then physically went into the server via FTP and looked at the pic as it's stored in the mod's cache file and it looks fine (see pic below). However, if I look at it through vBulletin's attachment view function it has the grey bar.

So, I went into the mod's Cache Stats function in AdminCP and checked the "yes" box, then ran it. A bunch of processing of files occurred saying "Ok", then it returned to the AdminCP. Upon viewing the pic now through the vBulletin attachment capability, the pic now had the watermark and the grey bar was gone. :confused:

Regards,
Doug

Disasterpiece 05-28-2011 07:15 PM

The grey bar can be explained like this:
If the watermark gets applied and the image saved in the cache, the filesizes differs, because the watermark consumes more file size.
Now, vbulletin queries the file size from the original files and sends them in the HTTP Header so the browser knows how many bytes will be transferred. The Mod modifies this number with the cached file, so the whole image from the cache gets transferred completely. In the earlier development states i forgot this step, so grey bars appeared.
However, it's very odd that you experience grey bars, this shouldn't happen anymore.

Possible explanations are scripts and/or other mods who compress image files or use their own caching methods. Do you use any of those?

Always remember to clear your browser cache while testing the watermark behaviour. STRG+F5 should work as a clean reload.

BadgerDog 05-28-2011 07:29 PM

Quote:

Originally Posted by Disasterpiece (Post 2200998)

Possible explanations are scripts and/or other mods who compress image files or use their own caching methods. Do you use any of those?

Not to my knowledge .... :erm:

Quote:

Originally Posted by Disasterpiece (Post 2200998)
Always remember to clear your browser cache while testing the watermark behaviour. STRG+F5 should work as a clean reload.

Roger that ... :up:

Well, if you have any debug method of testing this for you, I'd be happy to give it a try ...

Until then, I'd better turn off the mod, as members are sending emails about why their pics they uploaded have a grey bar on the bottom. :D

Thanks for your help ... :)

Regards,
Doug

BadgerDog 05-29-2011 09:27 AM

Quote:

Originally Posted by Disasterpiece (Post 2200998)

Possible explanations are scripts and/or other mods who compress image files or use their own caching methods. Do you use any of those?

Follow up ... :)

I was thinking about your question. We do use "Memcache" as a basic Linux add-on, which in-turn uses vbOptimize

It's a great add-on that dramatically speeds up our forums, but I don't know why it would affect your mod, if at all.

Regards,
Doug


All times are GMT. The time now is 07:02 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
  • Page Generation 0.01201 seconds
  • Memory Usage 1,752KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete