[ABD] Advanced Attach Watermark - v.0.1.4

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Locked
IGCNWizzy
Registered User
Posts: 42
Joined: Mon Apr 11, 2011 7:26 am

Re: [DEV] Advanced Attach Watermark - v.0.1.4

Post by IGCNWizzy » Mon Apr 25, 2011 2:44 am

Thank you for so useful Mod,

I am using 3.0.8 and did not have any problems to install it, took me 5 minutes.

Have not tested it at 100% yet, but most of features and seems it is working, will test rest later..

At the moment I have some questions.. you posted 4 screenshots of the editor page with attachments tab, I have the first one, the most simple one, how did you get more options like on screen 2, 3, 4 on attachments tab?

Also, is there an option to use own pre-defined watermark? e.g. own logotype? and how then?

Thanks a lot!

User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] Advanced Attach Watermark - v.0.1.4

Post by 4_seven » Mon Apr 25, 2011 3:00 am

Just click on the blue bolded Links (AAW Username Mode etc.)
http://4seven.kilu.de/phpbb3/images/mods/1.jpg
and explore and read options in acp to activate those Links.

The rest i answer later..
Current Mods | Mod Base | php(BB) programming | No help via PM

IGCNWizzy
Registered User
Posts: 42
Joined: Mon Apr 11, 2011 7:26 am

Re: [DEV] Advanced Attach Watermark - v.0.1.4

Post by IGCNWizzy » Mon Apr 25, 2011 3:02 pm

I would appreciate it, I didnt know they are clickable, thanks, just waiting for info about own watermarking.

User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] Advanced Attach Watermark - v.0.1.4

Post by 4_seven » Mon Apr 25, 2011 8:11 pm

IGCNWizzy wrote:Also, is there an option to use own pre-defined watermark? e.g. own logotype? and how then?
You have allready the option to insert a global wm image (png 24 bit) in all uploaded attachments. also u can mix it with username wm mode. but if you mean a personal wm image (png 24 bit), that is currently not implemented. so, if many other ask for that, i implement it. otherwise you must hire me.
Current Mods | Mod Base | php(BB) programming | No help via PM

IGCNWizzy
Registered User
Posts: 42
Joined: Mon Apr 11, 2011 7:26 am

Re: [DEV] Advanced Attach Watermark - v.0.1.4

Post by IGCNWizzy » Wed Apr 27, 2011 2:32 pm

I see, will think about it.


I have another question, when I use it like that

[img_highslide=http://team.igc-network.com/\/images/fi ... mb_2_6.jpg]http://team.igc-network.com/\/images/fi ... gh_2_6.jpg[/img_highslide]

on submit i can see only [img_highslide=http://team.igc-network.com/\/images/fi ... mb_2_6.jpg]http://team.igc-network.com/\/images/fi ... gh_2_6.jpg[/img_highslide] instead of photo, what I am doing wrong?

User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] Advanced Attach Watermark - v.0.1.4

Post by 4_seven » Wed Apr 27, 2011 7:41 pm

whats that? /\/

may a path problem :?:

i think you have not enter the bbcode for highslide
modx wrote:#
#-----[ FINAL STEPS 1 (en) ]------------------------------------------
#

Make BBCode

BBCode Usage

Code: Select all

[img_highslide={URL1}]{URL2}[/img_highslide]
HTML replacement

Code: Select all

<a class="highslide" onclick="return hs.expand(this)" href="{URL2}"><img  src="{URL1}" title="" alt="" /></a>
Current Mods | Mod Base | php(BB) programming | No help via PM

IGCNWizzy
Registered User
Posts: 42
Joined: Mon Apr 11, 2011 7:26 am

Re: [DEV] Advanced Attach Watermark - v.0.1.4

Post by IGCNWizzy » Wed Apr 27, 2011 9:48 pm

Well, it has been added

http://screenshooter.net/1997778/tnytoir

it comes like that automatically when I will press insert as highslide + wm

http://screenshooter.net/1997778/boqfujw

http://screenshooter.net/1997778/edmsxxm when ill edit the /\/ to normall i can see only small piece in the bottom u see?

http://screenshooter.net/1997778/edmsxxm

User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] Advanced Attach Watermark - v.0.1.4

Post by 4_seven » Wed Apr 27, 2011 10:28 pm

- copy the full img link without bbcodes, put into addressbar of browser and hit enter.
- if nothing appears, check via ftp, if this image is physical present.
- if not, check also all chmod's for thumb/img folders of this mod and if they on the right places/paths.
- have you tried this: http://www.phpbb.com/community/viewtopi ... #p12903336
- if yes check the whole install again. step by step.
- check also all settings in acp of mod.
- after that clear all board, style, template and browser caches.
Current Mods | Mod Base | php(BB) programming | No help via PM

IGCNWizzy
Registered User
Posts: 42
Joined: Mon Apr 11, 2011 7:26 am

Re: [DEV] Advanced Attach Watermark - v.0.1.4

Post by IGCNWizzy » Mon May 02, 2011 8:08 am

I have solved it, thanks for the TODO list :) anyway, I did not solve the problem with bad link '/\/', I have checked whole installation, line by line, all seems to be OK, any idea my friend?

User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] Advanced Attach Watermark - v.0.1.4

Post by 4_seven » Mon May 02, 2011 6:39 pm

try

open

root/watermark/watermark_functions_posting.php

find

Code: Select all

          // build convert's scheme
          $convert_img = addslashes($config['server_protocol'] . $config['server_name'] . $config['script_path'] . '/images/files/' . 'x_id_' . $user->data['user_id'] . '_' . $attach_row['attach_id'] . $attach_pic_dat);
          $convert_img_high = addslashes($config['server_protocol'] . $config['server_name'] . $config['script_path'] . '/images/files/' . 'x_id_high_' . $user->data['user_id'] . '_' . $attach_row['attach_id'] . $attach_pic_dat);
         $convert_img_high_thumb = addslashes($config['server_protocol'] . $config['server_name'] . $config['script_path'] . '/images/files/' . 'x_id_high_thumb_' . $user->data['user_id'] . '_' . $attach_row['attach_id'] . $attach_pic_dat); 
replace with

Code: Select all

          // build convert's scheme
          $convert_img = $config['server_protocol'] . $config['server_name'] . $config['script_path'] . '/images/files/' . 'x_id_' . $user->data['user_id'] . '_' . $attach_row['attach_id'] . $attach_pic_dat;
          $convert_img_high = $config['server_protocol'] . $config['server_name'] . $config['script_path'] . '/images/files/' . 'x_id_high_' . $user->data['user_id'] . '_' . $attach_row['attach_id'] . $attach_pic_dat;
         $convert_img_high_thumb = $config['server_protocol'] . $config['server_name'] . $config['script_path'] . '/images/files/' . 'x_id_high_thumb_' . $user->data['user_id'] . '_' . $attach_row['attach_id'] . $attach_pic_dat; 
seems a bit wired path config or different security settings as mainstream server.
anyway, don't forget to clear really all board-caches after that and (strg + f5) your browser, before you test again.
Current Mods | Mod Base | php(BB) programming | No help via PM

User avatar
keitzy
Registered User
Posts: 359
Joined: Thu Nov 12, 2009 6:32 am
Location: Esperance, Western Australia
Contact:

Re: [DEV] Advanced Attach Watermark - v.0.1.4

Post by keitzy » Thu May 05, 2011 4:25 pm

Yeah IGCNwizzy is using a Windows sever 2008 using ISS 7.5. For some reason windows doesnt like the added slashes. Removing the addslashes indeed works.

also.

Code: Select all

	      $convert_img = $config['server_protocol'] . $config['server_name'] . $config['script_path'] . '/images/files/' . 'x_id_' . $user->data['user_id'] . '_' . $attach_row['attach_id'] . $attach_pic_dat;
		  $convert_img_high = $config['server_protocol'] . $config['server_name'] . $config['script_path'] . '/images/files/' . 'x_id_high_' . $user->data['user_id'] . '_' . $attach_row['attach_id'] . $attach_pic_dat;
		 $convert_img_high_thumb = $config['server_protocol'] . $config['server_name'] . $config['script_path'] . '/images/files/' . 'x_id_high_thumb_' . $user->data['user_id'] . '_' . $attach_row['attach_id'] . $attach_pic_dat;
should be this

Code: Select all

	      $convert_img = $config['server_protocol'] . $config['server_name'] . $config['script_path'] . 'images/files/' . 'x_id_' . $user->data['user_id'] . '_' . $attach_row['attach_id'] . $attach_pic_dat;
		  $convert_img_high = $config['server_protocol'] . $config['server_name'] . $config['script_path'] . 'images/files/' . 'x_id_high_' . $user->data['user_id'] . '_' . $attach_row['attach_id'] . $attach_pic_dat;
		 $convert_img_high_thumb = $config['server_protocol'] . $config['server_name'] . $config['script_path'] . 'images/files/' . 'x_id_high_thumb_' . $user->data['user_id'] . '_' . $attach_row['attach_id'] . $attach_pic_dat;
The /images/files/ is adding a double // to the url.
Image

User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] Advanced Attach Watermark - v.0.1.4

Post by 4_seven » Thu May 05, 2011 5:43 pm

The /images/files/ is adding a double // to the url.
on win32/64 server, yes . but normally not, bcs. 99,9%(!) are unix server
Current Mods | Mod Base | php(BB) programming | No help via PM

Ivan007
Registered User
Posts: 26
Joined: Tue Jan 09, 2007 8:28 am
Contact:

Re: [DEV] Advanced Attach Watermark - v.0.1.4

Post by Ivan007 » Thu May 12, 2011 1:39 pm

Many thanks to the author!
having strange issue after install. Clicking on attach image button within a post message screen, result in popup with upload status and shortly after that main browser window change to empty page. Nothing really happening after that.

At the same time in ACP, Watermark->Specials, clicking on "view / delete" backup or convert files returning error: ACCESS DENIED.
I'm using 3.08 version.

Thanks in advance.

User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] Advanced Attach Watermark - v.0.1.4

Post by 4_seven » Thu May 12, 2011 2:48 pm

Ivan007 wrote:having strange issue after install. Clicking on attach image button within a post message screen, result in popup with upload status and shortly after that main browser window change to empty page. Nothing really happening after that.
Explore and check mindfully the ACP-Settings and set all options carefully.
Ivan007 wrote:At the same time in ACP, Watermark->Specials, clicking on "view / delete" backup or convert files returning error: ACCESS DENIED.
Also execute this fix
http://www.phpbb.com/community/viewtopi ... #p12903336
Current Mods | Mod Base | php(BB) programming | No help via PM

Ivan007
Registered User
Posts: 26
Joined: Tue Jan 09, 2007 8:28 am
Contact:

Re: [DEV] Advanced Attach Watermark - v.0.1.4

Post by Ivan007 » Mon May 16, 2011 7:10 am

Both issues resolved, Thanks! but still something wrong. Seems all works, but pictures uploaded as is, no resize.
Settings according to your post above.
Researching it myself.
If you will have a chance, take a look at http://striborg.ee/forum/viewtopic.php?f=6&t=2297
test23/test23

Locked

Return to “[3.0.x] Abandoned MODs”