Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
[ADDON] Upload Avtar
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / v2.08 / v2 Only Mods Complete

Unknown User
2007-10-31 14:23:55
###################################################################

##

## MOD Title: Upload Avatar

##

## MOD Author: Sk@yver

##

## MOD Description: This ADDON will add the ability to users,

## to upload avatar in account settings.

## If Avatar is big auto resizing to 80x80px.

## if your users tries to upload shell files or

## tries to hacking, mod write to site log.

## Site admin can disabled/enabled upload avatar

## at any moment in site config.

##

## MOD Required Settings:

## This addon required GD library support

## in your PHP. GD Specifications:

## JPG Support

## PNG Support

## GIF Create Support

##

## MOD Compatibility:  v.2.xx

## Support multilanguage: Yes

## Installation Level: Easy

## Installation Time:  3 minutes

## SQL changes: NO

##

## Files To Edit:  3

## languages/english.lang # Or your language

## account.php

## backend/config.php

##

## Files To Upload: 2

## upavatar.php

## avatars/index.php

##

#####################################################################

Warning:

This addon required GD library support in your PHP.

Screen shot PHP Info:



Instructions and necessary files for this addon is in the Attachment.

Screen shots:



[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=1748"]Upload_Avatar.zip[/url]
GD_Support.jpg
GD_Support.jpg
Upload_Avatar.jpg
Upload_Avatar.jpg
Account_Edit_Settings.jpg
Account_Edit_Settings.jpg
Upload_Avatar.zip
Download
Unknown User
2007-11-02 20:50:36
excelent job thank you  :)

can i change the size of avatares (80x80) to (150x150) ?
Unknown User
2007-11-03 00:43:35
Fantastic addon, works very well...

Spelling error in english.lang:

define("AVATAR_TXT", "<b>Do not upload unauthorized or illegal pictures</b>.<br>You avatar will be automaticli resized to <b>80x80</b>px.<br>Maximum file size must be <b>500</b>kb.");

Change to:

define("AVATAR_TXT", "<b>Do not upload unauthorized or illegal pictures</b>.<br>You avatar will be automatically resized to <b>80x80</b>px.<br>Maximum file size must be <b>500</b>kb.");
Unknown User
2007-11-03 11:03:46
"sharkange, post: 34751":
can i change the size of avatares (80x80) to (150x150) ?
In upavatar.php

#----------[ FIND ]---------------------------------------------

define("MAX_WIDTH", 80);

define("MAX_HEIGHT", 120);
#----------[AND REPLACE WITH ]----------------------------------


define("MAX_WIDTH", 150);		// Define width sizes what you want.

define("MAX_HEIGHT", 150); // Define height sizes what you want.


or change, numbers to sizes, what you want.

avi-torrents

Reason for this error is my bad English.

I'm sorry!
Unknown User
2007-11-03 16:00:43
perfect !!! i wish become as good as dat !!!

thanks so much from my menbers and I  ! :)
Unknown User
2007-11-03 19:01:43
:)  "Reason for this error is my bad English.

I'm sorry!"

You're English is better than you think, I didn't even realise you were not English..Keep up the great work mate.
Unknown User
2007-11-11 06:23:52
fantastic  :)

thanks
Unknown User
2007-11-11 14:20:13
I've uploaded a .gif avatar but it as no animation..why?
Unknown User
2007-11-11 17:00:54
"Pacha, post: 35007":
I've uploaded a .gif avatar but it as no animation..why?

segurly cos ur image were automaticaly resized by the code !

only programms such as gif animator and families can resize wihtout frames lost
Unknown User
2007-11-13 09:13:09
the code shouldn't resize de image..it must check de image size and file type and upload it without changes.
Unknown User
2007-11-13 12:28:10
I have corrected this bug for "GIF" file type.

Changes only upavatar.php.

Redownload [ADDON] and replace your upavatar.php.
Unknown User
2007-11-13 14:11:07
Thanks :)
Unknown User
2007-11-13 16:50:52
Exellent. Thank you.
Unknown User
2007-11-15 19:38:21
Thanks .. working like a charm
Unknown User
2007-12-06 11:37:21
Nice addon, thanks.
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 2
  • Members: 0
  • Guests online: 2
  • Comments: 3
  • Messages: 1,728