[ABD] Avatar auto resize (0.0.4b)

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.
Augustud
Registered User
Posts: 1
Joined: Thu Jun 18, 2009 5:44 pm

Re: [Beta] Avatar auto resize (0.0.4b)

Post by Augustud » Thu Jun 18, 2009 5:49 pm

kemraj wrote:Is anyone planing to update this mod because its way outdated, it does not work for 3.5
Works for me on 3.5. Only problem i'm having is that when you do upload an image some script appears at the top of the page for about 4seconds then disappears.

Just about to read through the thread again but don't think it's happened to anyone else before. Any suggestions anyone?

kemraj
Registered User
Posts: 46
Joined: Wed Aug 08, 2007 1:02 am
Contact:

Re: [Beta] Avatar auto resize (0.0.4b)

Post by kemraj » Fri Jun 19, 2009 4:37 am

You maybe just tried to upload a small image, try it with a big image and see if it work i'm talking about the Resolutions

User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm
Contact:

Re: [Beta] Avatar auto resize (0.0.4b)

Post by keith10456 » Sun Jul 26, 2009 2:58 am

kemraj wrote:You maybe just tried to upload a small image, try it with a big image and see if it work i'm talking about the Resolutions
I agree... It's not working for me with a large image.

I'm getting an error message stating that the image must be between 0-1mb... Even though my avatar settings is set for max 10mb.

superj707
Registered User
Posts: 1136
Joined: Thu Feb 26, 2009 12:20 am

Re: [Beta] Avatar auto resize (0.0.4b)

Post by superj707 » Sun Jul 26, 2009 5:15 pm

keith10456 wrote:
kemraj wrote:You maybe just tried to upload a small image, try it with a big image and see if it work i'm talking about the Resolutions
I agree... It's not working for me with a large image.

I'm getting an error message stating that the image must be between 0-1mb... Even though my avatar settings is set for max 10mb.
I think you need to change something in your htaccess file or your php config file (perhaps only your server admin can help you)

User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm
Contact:

Re: [Beta] Avatar auto resize (0.0.4b)

Post by keith10456 » Sun Jul 26, 2009 11:25 pm

superj707 wrote:
keith10456 wrote:
kemraj wrote:You maybe just tried to upload a small image, try it with a big image and see if it work i'm talking about the Resolutions
I agree... It's not working for me with a large image.

I'm getting an error message stating that the image must be between 0-1mb... Even though my avatar settings is set for max 10mb.
I think you need to change something in your htaccess file or your php config file (perhaps only your server admin can help you)
I have a dedicated server... If it was the htaccess file or the php config file then it wouldn't have worked with 3.0.4 - which it did. Now it's not working (with very large images) since I upgraded to 3.0.5.

User avatar
tuananhxp_art
Registered User
Posts: 16
Joined: Tue Nov 25, 2008 10:46 am
Location: Vietnamese

Re: [Beta] Avatar auto resize (0.0.4b)

Post by tuananhxp_art » Mon Aug 03, 2009 6:28 am

Not working with 3.0.5 :(
Some body can fix it?
Sorry if my english not well!

autinhyeu
Registered User
Posts: 685
Joined: Mon Apr 14, 2008 6:34 am
Location: Vietnamese
Contact:

Re: [Beta] Avatar auto resize (0.0.4b)

Post by autinhyeu » Mon Aug 03, 2009 7:30 am

Ohhhh... i think it work with 3.0.5 still ;)
You can see demo at here: http://www.autinhyeu.com/forum/ (please choose language English or Vietnamese in the menu bar) with account info:
ID: tester
Pass: 123456

Best regards!
Autinhyeu
phpBB Community in Vietnamese: http://www.phpbbvn.com

Sorry, my English language is fine impossible

User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm
Contact:

Re: [Beta] Avatar auto resize (0.0.4b)

Post by keith10456 » Thu Aug 06, 2009 2:24 am

autinhyeu wrote:Ohhhh... i think it work with 3.0.5 still ;)
You can see demo at here: http://www.autinhyeu.com/forum/ (please choose language English or Vietnamese in the menu bar) with account info:
ID: tester
Pass: 123456

Best regards!
Autinhyeu
I concur :idea:

shadyshane
Registered User
Posts: 10
Joined: Tue Aug 11, 2009 7:21 am

Re: [Beta] Avatar auto resize (0.0.4b)

Post by shadyshane » Fri Aug 14, 2009 4:04 pm

errors on autinhyeu.com

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/dv_functions_image.php on line 241: imagejpeg() [function.imagejpeg]: Unable to open '33c2cc2d3022047a9275430079f67bac' for writing: Permission denied
[phpBB Debug] PHP Notice: in file /includes/dv_functions_image.php on line 198: filesize() [function.filesize]: stat failed for 33c2cc2d3022047a9275430079f67bac
[phpBB Debug] PHP Notice: in file /includes/dv_functions_image.php on line 198: filesize() [function.filesize]: stat failed for 33c2cc2d3022047a9275430079f67bac
[phpBB Debug] PHP Notice: in file /includes/dv_functions_image.php on line 248: unlink(33c2cc2d3022047a9275430079f67bac) [function.unlink]: No such file or directory

Warning: Cannot modify header information - headers already sent by (output started at /**includes/functions.php:3292) in /***/forum/includes/functions.php on line 4121

Warning: Cannot modify header information - headers already sent by (output started at /***/includes/functions.php:3292) in /***/forum/includes/functions.php on line 4123

Warning: Cannot modify header information - headers already sent by (output started at /***/includes/functions.php:3292) in /***/forum/includes/functions.php on line 4124

Warning: Cannot modify header information - headers already sent by (output started at /home
note..i hid some words for sercurity reason

there are still have some errors in php file... it's still working.. but those codes appear and then disappear immediately.. so wass happened = =
[ hi autinhyeu.. ima vietnamese too =]] ]

shadyshane
Registered User
Posts: 10
Joined: Tue Aug 11, 2009 7:21 am

Re: [Beta] Avatar auto resize (0.0.4b)

Post by shadyshane » Fri Aug 14, 2009 4:20 pm

keith10456 wrote:
kemraj wrote:You maybe just tried to upload a small image, try it with a big image and see if it work i'm talking about the Resolutions
I agree... It's not working for me with a large image.

I'm getting an error message stating that the image must be between 0-1mb... Even though my avatar settings is set for max 10mb.
i think your problem is here

if your forum was installed this mod, try to

open includes/functions_upload.php

find

Code: Select all

function fileupload($error_prefix = '', $allowed_extensions = false, $max_filesize = false, $min_width = false, $min_height = false, $max_width = false, $max_height = false, $disallowed_content = false)
	{
		global $config;
		if($config['avatar_auto_resize']
		&& (request_var('mode', '')=='avatar'
		|| (request_var('mode', '')=='manage' && request_var('i', '')=='groups')
		|| request_var('i', '')=='users'))
		$max_filesize = 1048576;
do you see $max_filesize ????? change the value and try again
or you can try my ways

Code: Select all

$max_filesize = 1048576;
change into

Code: Select all

$max_filesize = $config['avatar_filesize'];
try this...
my board is successfully work at a3zone[dot]info
nothing happen from file size or any
but....

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/dv_functions_image.php on line 241: imagejpeg() [function.imagejpeg]: Unable to open '586f5914aa0f34dc697963925a3948f0' for writing: Permission denied
[phpBB Debug] PHP Notice: in file /includes/dv_functions_image.php on line 198: filesize() [function.filesize]: stat failed for 586f5914aa0f34dc697963925a3948f0
[phpBB Debug] PHP Notice: in file /includes/dv_functions_image.php on line 198: filesize() [function.filesize]: stat failed for 586f5914aa0f34dc697963925a3948f0
[phpBB Debug] PHP Notice: in file /includes/dv_functions_image.php on line 248: unlink(586f5914aa0f34dc697963925a3948f0) [function.unlink]: No such file or directory






Thông tin 

Thông tin cá nhân của bạn đã được cập nhật.

Quay về bảng thiết lập cá nhân

 

 
it wrote
[function.imagejpeg]: Unable to open '586f5914aa0f34dc697963925a3948f0' for writing: Permission denied

but i cmoded images/ folder into 777, still have problem, = =
is anyone know where the image file cache before being resized, i think cmod that folder into 777 will be alright, because i have tested on localhost and nothing happened !!!!!!!!!!!!!!!!!!!!!!!!!!!

good luck
regards

autinhyeu
Registered User
Posts: 685
Joined: Mon Apr 14, 2008 6:34 am
Location: Vietnamese
Contact:

Re: [Beta] Avatar auto resize (0.0.4b)

Post by autinhyeu » Sat Aug 15, 2009 8:56 am

shadyshane wrote:errors on autinhyeu.com

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/dv_functions_image.php on line 241: imagejpeg() [function.imagejpeg]: Unable to open '33c2cc2d3022047a9275430079f67bac' for writing: Permission denied
[phpBB Debug] PHP Notice: in file /includes/dv_functions_image.php on line 198: filesize() [function.filesize]: stat failed for 33c2cc2d3022047a9275430079f67bac
[phpBB Debug] PHP Notice: in file /includes/dv_functions_image.php on line 198: filesize() [function.filesize]: stat failed for 33c2cc2d3022047a9275430079f67bac
[phpBB Debug] PHP Notice: in file /includes/dv_functions_image.php on line 248: unlink(33c2cc2d3022047a9275430079f67bac) [function.unlink]: No such file or directory

Warning: Cannot modify header information - headers already sent by (output started at /**includes/functions.php:3292) in /***/forum/includes/functions.php on line 4121

Warning: Cannot modify header information - headers already sent by (output started at /***/includes/functions.php:3292) in /***/forum/includes/functions.php on line 4123

Warning: Cannot modify header information - headers already sent by (output started at /***/includes/functions.php:3292) in /***/forum/includes/functions.php on line 4124

Warning: Cannot modify header information - headers already sent by (output started at /home
note..i hid some words for sercurity reason

there are still have some errors in php file... it's still working.. but those codes appear and then disappear immediately.. so wass happened = =
[ hi autinhyeu.. ima vietnamese too =]] ]
:shock: thanks for reported :( i will try fix it when free time :(

Autinhyeu!

P/S: if you wanna promote development of phpBB at our country, please visit http://www.phpbbvn.com :lol:
phpBB Community in Vietnamese: http://www.phpbbvn.com

Sorry, my English language is fine impossible

User avatar
mehrdad_epark.ir
Registered User
Posts: 87
Joined: Thu Jul 31, 2008 3:08 pm

Re: [Beta] Avatar auto resize (0.0.4b)

Post by mehrdad_epark.ir » Sat Aug 15, 2009 2:27 pm

dear autinhyeu.
how can I add some code in this MOD for creating thumbnail of Avatar foe each user.
it means, when a user use an avatar, he/she has a thumbnail of it.
for example :
avatar size: 120 x 60
thumbnail avatar size : 30 x 15

thanks

kesc
Registered User
Posts: 1
Joined: Fri Oct 09, 2009 1:49 pm

Re: [Beta] Avatar auto resize (0.0.4b)

Post by kesc » Fri Oct 09, 2009 1:50 pm

I have problem. Anyone known how it resolv?
Parse error: syntax error, unexpected T_VARIABLE, expecting T_FUNCTION in /home/feedback/domains/manovaikas.com/public_html/forumas/includes/functions_upload.php on line 427

Code: Select all

        $this->file_moved = true;   <----- 427
		if(!$config['avatar_auto_resize']
		|| request_var('mode', '')!='avatar'
		|| (request_var('i', '')!='groups' && request_var('mode', '')=='manage')
		|| request_var('i', '')!='users')
		$this->additional_checks();
		unset($this->upload);

Wolkerson
Registered User
Posts: 5
Joined: Mon Oct 12, 2009 6:15 pm

Re: [Beta] Avatar auto resize (0.0.4b)

Post by Wolkerson » Mon Oct 12, 2009 6:31 pm

Hello everyone,

Today I've tried to install the avatar auto resize mod on my test board, but encountered a problem.
When trying to upload a image from my harddrive that's larger then the set limits a blank page appears
after submitting.

Boardversion: 3.0.5
Boardstyle/template: avalonblue
Hostingsplatform: windows
Webserver type: Apache
Database type: MySQL
PHP version: 5.2.9-1
Max avatar file size: 204800 bytes
min. avatar size: 20 x 20 pixels
max. avatar size: 96 x 96 pixels

Uploaded file:
Dimensions: 178 x 178 fixels
filesize: 26419 bytes

I've tried:
Reloading the styles from the ACP (thus creating new cache files) - doesn't solve the problem
Setting prosilver2 template as default - still nothing
Changed the $max_filesize = 1048576; to $max_filesize = $max_filesize = $config['avatar_filesize']; - still not working

Any ideas on what I'm doing wrong here? I've followed the install notes to the letter and have a ICT background so that shouldn't be the problem....(at least I hope ;))

Lamer4o
Registered User
Posts: 98
Joined: Tue Dec 22, 2009 9:29 pm

Re: [Beta] Avatar auto resize (0.0.4b)

Post by Lamer4o » Sat Dec 26, 2009 3:19 pm

hey i don't know if this topic is dead or not so i ask...
I My forum is phpbb3 / 3.0.6 how can i make automatically re-size the avatar (in the forum i set minimum 0 / 0 and maximum 256 x 256 and i want to be re-size from 256 x 256 to 115 x 135 ...
So can u help me out?

Locked

Return to “[3.0.x] Abandoned MODs”