vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Social Group and Album Enhancements - PB Watermark Album Images (https://vborg.vbsupport.ru/showthread.php?t=214798)

RLShare 06-03-2009 05:47 AM

Quote:

Originally Posted by smooth-c (Post 1821934)
Great idea :) What do you think RLShare? Did you receive my donation okay?

I probably did but I have not checked as of yet.


As for the suggestions made I will take them all into account when I get a chance to work on this again. I have been a tied up the last couple days in a project that I hoped would be finished by now. As soon as I finish this project up I will attempt to make some of the suggested changes.

goxy63 06-04-2009 04:21 PM

Please
would it be possible to exclude from watermark pictures attached in user profile as their background ?

hymoo 06-04-2009 07:38 PM

I tried to edit both the plugins u use for this to move the image slightly 10px from the corners (so its not directly on the edge. looks better I think).

But it kinda breaks the entire thing if I try that :)

Could you explain to me which values I have to edit? I tried editing the following:
From
Code:

$destx=    imagesx($theimage)-imagesx($newwater);
To
Code:

$destx=    imagesx($theimage)-imagesx($newwater)-10;
(on both x and y. so it should be 10 PX from the lower right corner (which we choose as our location).

Thanks in forward.

BBR-APBT 06-11-2009 02:37 AM

I found a bug as well. On profile images/Profile Albums images for the custom profile when you have a small image on there like a gradient for the bars etc. the image don't show.

I was thinking if there is a way to not do private or profile albums that would be great.

BBR-APBT 06-13-2009 04:25 PM

Any idea if the exclude for private albums would be implemented.

danyz81 06-15-2009 03:50 PM

Hello,
Nice hack!
I would like to know if is possible that a user can chose or not to put the watermark on tje own images, because (in my case) not all users want to use the watermark feature

Thanks!

SirHappy 06-20-2009 03:15 PM

Nice Hack. Thx:)

7lanet 06-23-2009 12:59 AM

1 Attachment(s)
dear the gif not good

can u use this

PHP Code:

function is_ani($filename)
{
        
$filecontents=file_get_contents($filename);
        
$str_loc=0;
        
$count=0;
        while (
$count 2# There is no point in continuing after we find a 2nd frame
        
{
                
$where1=strpos($filecontents,"\x00\x21\xF9\x04",$str_loc);
                if (
$where1 === FALSE)
                {
                        break;
                }
                else
                {
                        
$str_loc=$where1+1;
                        
$where2=strpos($filecontents,"\x00\x2C",$str_loc);
                        if (
$where2 === FALSE)
                        {
                                break;
                        }
                        else
                        {
                                if (
$where1+== $where2)
                                {
                                        
$count++;
                                }
                                
$str_loc=$where2+1;
                        }
                }
        }
        if (
$count 1)
        {
                return(
true);
        }
        else
        {
                return(
false);
        }
}
exec("ls *gif" ,$allfiles);
foreach (
$allfiles as $thisfile)
{
        if (
is_ani($thisfile))
        {
                echo 
"$thisfile gif mobile <BR>\n";
        }
        else
        {
                echo 
"$thisfile Fixed <BR>\n";
        }


plese look Attach

7lanet 06-23-2009 03:39 AM

dear ,


Proposal
Zoom in or zoom out watermark depending on the size of image
For example,
When the image size 600 * 400 is the size of watermark 60 * 40
When the image size is 1200 * 800 is the size of watermark 120 * 80
When the image size 200 * 180 is the size of watermark 20 * 18

or
make 3 or 4 watermark.png(watermark1.png -watermark2.png-watermark3.png ....atc )


Options
Image size and the size of watermark
Placed in the Options Forum
admin can modify

enoobz 06-23-2009 07:17 AM

How to disable watermark for profile background images?

It will be nice to have an option to disable this features in certain folder(s).


All times are GMT. The time now is 11:14 PM.

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.01151 seconds
  • Memory Usage 1,759KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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