[ABD] Default Avatar

Any abandoned Extensions will be moved to this forum.

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

WARNING: Extensions in this forum are not currently being supported nor updated by the original Extension author. Proceed at your own risk.
User avatar
D@ve
Registered User
Posts: 143
Joined: Sat Aug 28, 2004 12:49 am
Location: Germany, Bretzfeld D.C.
Name: Dave Remmel
Contact:

[ABD] Default Avatar

Post by D@ve »

Hi there
finally... here is my first extension...

Nothing special it just sets a default avatar if users don't upload one.

Looking forward to your comments and suggestions...

----

Standard-Avatar Extension for phpBB 3.1.x

Titel: Default-Avatar
Version: 0.10.0
Autor: Dave

Beschreibung: If the user doesn't upload an avatar you can define a default avatar here. If you don't enter a (remote or absolute) path here, no-avatar.gif from the prosilver thene will be used instead

Demo: http://www.2phpbb.de/phpbb-forum/

Screenshots:
Image
Image


Requirements: phpBB 3.1.2

Download: http://www.2phpbb.de/extensions/default ... 0.10.0.zip

Installation:
1. Unzip the file into the folder /ext/ in your phpBB root
2.Got to ACP => Tab "Customize" => "Manage Extensions" => click on "enable" at the "Default-Avatar" Extension

Known issues:
- none at the moment

Future ideas
- Thinking about an upload function in the ACP (I'm still not sure if it's worth the efford)
Last edited by D@ve on Sat Jan 03, 2015 5:09 pm, edited 2 times in total.
2jesus.de - (german community for bible & faith)
phpBB.de - the German support community for pbpBB
User avatar
draky
Registered User
Posts: 250
Joined: Tue Dec 10, 2002 2:04 pm
Location: France
Name: Gilles W.
Contact:

Re: [Beta] Default Avatar

Post by draky »

Nice :)

Small suggestion : possibility to provide a default gravatar, possibility to link a distant avatar as default, etc.

Same option as in profile in fact ;)
Based on what is possible board-wide in ACP :) (if you disable gravatar in forum config, it will also be disabled in your ext config)...
User avatar
frax
Registered User
Posts: 45
Joined: Thu Dec 11, 2014 4:10 pm
Location: Cosenza
Name: Frax C.
Contact:

Re: [Beta] Default Avatar

Post by frax »

I have this error:

Something went wrong during the request and an exception was thrown. The changes made before the error occurred were reversed to the best of our abilities, but you should check the board for errors.
A required module does not exist: DEFAULT_AVATAR
User avatar
D@ve
Registered User
Posts: 143
Joined: Sat Aug 28, 2004 12:49 am
Location: Germany, Bretzfeld D.C.
Name: Dave Remmel
Contact:

Re: [Beta] Default Avatar

Post by D@ve »

I Know, I have it already fixed. Try now... Just couldn't upload the new version during Christmas...
2jesus.de - (german community for bible & faith)
phpBB.de - the German support community for pbpBB
User avatar
alhitary
Registered User
Posts: 868
Joined: Wed Jan 17, 2007 7:51 am
Location: ROY
Name: Basil Taha Alhitary
Contact:

Re: [Beta] Default Avatar

Post by alhitary »

When i install your extension by "Upload Extensions" viewtopic.php?f=456&t=2256956 , the bellow problem shown in the upper of page :

Code: Select all

[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 329: fread(): Length parameter must be greater than 0
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 332: fopen(./../ext/tmp/2/dave/): failed to open stream: Is a directory
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 338: fwrite() expects parameter 1 to be resource, boolean given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 352: fclose() expects parameter 1 to be resource, boolean given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 329: fread(): Length parameter must be greater than 0
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 332: fopen(./../ext/tmp/2/dave/defaultavatar/): failed to open stream: Is a directory
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 338: fwrite() expects parameter 1 to be resource, boolean given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 352: fclose() expects parameter 1 to be resource, boolean given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 329: fread(): Length parameter must be greater than 0
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 332: fopen(./../ext/tmp/2/dave/defaultavatar/acp/): failed to open stream: Is a directory
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 338: fwrite() expects parameter 1 to be resource, boolean given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 352: fclose() expects parameter 1 to be resource, boolean given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 329: fread(): Length parameter must be greater than 0
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 332: fopen(./../ext/tmp/2/dave/defaultavatar/adm/): failed to open stream: Is a directory
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 338: fwrite() expects parameter 1 to be resource, boolean given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 352: fclose() expects parameter 1 to be resource, boolean given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 329: fread(): Length parameter must be greater than 0
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 332: fopen(./../ext/tmp/2/dave/defaultavatar/adm/style/): failed to open stream: Is a directory
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 338: fwrite() expects parameter 1 to be resource, boolean given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 352: fclose() expects parameter 1 to be resource, boolean given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 329: fread(): Length parameter must be greater than 0
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 332: fopen(./../ext/tmp/2/dave/defaultavatar/config/): failed to open stream: Is a directory
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 338: fwrite() expects parameter 1 to be resource, boolean given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 352: fclose() expects parameter 1 to be resource, boolean given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 329: fread(): Length parameter must be greater than 0
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 332: fopen(./../ext/tmp/2/dave/defaultavatar/events/): failed to open stream: Is a directory
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 338: fwrite() expects parameter 1 to be resource, boolean given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 352: fclose() expects parameter 1 to be resource, boolean given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 329: fread(): Length parameter must be greater than 0
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 332: fopen(./../ext/tmp/2/dave/defaultavatar/language/): failed to open stream: Is a directory
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 338: fwrite() expects parameter 1 to be resource, boolean given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 352: fclose() expects parameter 1 to be resource, boolean given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 329: fread(): Length parameter must be greater than 0
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 332: fopen(./../ext/tmp/2/dave/defaultavatar/language/de/): failed to open stream: Is a directory
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 338: fwrite() expects parameter 1 to be resource, boolean given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 352: fclose() expects parameter 1 to be resource, boolean given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 329: fread(): Length parameter must be greater than 0
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 332: fopen(./../ext/tmp/2/dave/defaultavatar/language/en/): failed to open stream: Is a directory
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 338: fwrite() expects parameter 1 to be resource, boolean given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 352: fclose() expects parameter 1 to be resource, boolean given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 329: fread(): Length parameter must be greater than 0
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 332: fopen(./../ext/tmp/2/dave/defaultavatar/migrations/): failed to open stream: Is a directory
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 338: fwrite() expects parameter 1 to be resource, boolean given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 352: fclose() expects parameter 1 to be resource, boolean given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 132: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3839)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 132: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3839)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 132: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3839)
Why ?!!!
User avatar
alhitary
Registered User
Posts: 868
Joined: Wed Jan 17, 2007 7:51 am
Location: ROY
Name: Basil Taha Alhitary
Contact:

Re: [Beta] Default Avatar

Post by alhitary »

Also, the Arabic language changed like bellow image :-

Image

Image
Last edited by alhitary on Fri Dec 26, 2014 7:24 pm, edited 1 time in total.
User avatar
alhitary
Registered User
Posts: 868
Joined: Wed Jan 17, 2007 7:51 am
Location: ROY
Name: Basil Taha Alhitary
Contact:

Re: [Beta] Default Avatar

Post by alhitary »

Code: Select all

	'USER'                        => '[b]Benutzer[/b]',
1/ What does it mean ? where it will be display in forum or ACP ?

2/ Is there a Github link for this extension ?
LavIgor
Registered User
Posts: 545
Joined: Mon Apr 28, 2014 1:47 pm

Re: [Beta] Default Avatar

Post by LavIgor »

alhitary wrote:When i install your extension by "Upload Extensions" viewtopic.php?f=456&t=2256956 , the bellow problem shown in the upper of page ...
Why ?!!!
As I have already answered you, the current archive of the extension in this topic is wrongly packaged.
User avatar
mr.ruf
Registered User
Posts: 136
Joined: Thu Apr 04, 2013 11:12 pm
Location: PuErTo RiCo
Name: Harold
Contact:

Re: [Beta] Default Avatar

Post by mr.ruf »

alhitary wrote:When i install your extension by "Upload Extensions" viewtopic.php?f=456&t=2256956 , the bellow problem shown in the upper of page :

Code: Select all

[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 329: fread(): Length parameter must be greater than 0
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 332: fopen(./../ext/tmp/2/dave/): failed to open stream: Is a directory
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 338: fwrite() expects parameter 1 to be resource, boolean given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 352: fclose() expects parameter 1 to be resource, boolean given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 329: fread(): Length parameter must be greater than 0
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 332: fopen(./../ext/tmp/2/dave/defaultavatar/): failed to open stream: Is a directory
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 338: fwrite() expects parameter 1 to be resource, boolean given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 352: fclose() expects parameter 1 to be resource, boolean given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 329: fread(): Length parameter must be greater than 0
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 332: fopen(./../ext/tmp/2/dave/defaultavatar/acp/): failed to open stream: Is a directory
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 338: fwrite() expects parameter 1 to be resource, boolean given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 352: fclose() expects parameter 1 to be resource, boolean given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 329: fread(): Length parameter must be greater than 0
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 332: fopen(./../ext/tmp/2/dave/defaultavatar/adm/): failed to open stream: Is a directory
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 338: fwrite() expects parameter 1 to be resource, boolean given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 352: fclose() expects parameter 1 to be resource, boolean given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 329: fread(): Length parameter must be greater than 0
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 332: fopen(./../ext/tmp/2/dave/defaultavatar/adm/style/): failed to open stream: Is a directory
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 338: fwrite() expects parameter 1 to be resource, boolean given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 352: fclose() expects parameter 1 to be resource, boolean given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 329: fread(): Length parameter must be greater than 0
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 332: fopen(./../ext/tmp/2/dave/defaultavatar/config/): failed to open stream: Is a directory
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 338: fwrite() expects parameter 1 to be resource, boolean given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 352: fclose() expects parameter 1 to be resource, boolean given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 329: fread(): Length parameter must be greater than 0
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 332: fopen(./../ext/tmp/2/dave/defaultavatar/events/): failed to open stream: Is a directory
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 338: fwrite() expects parameter 1 to be resource, boolean given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 352: fclose() expects parameter 1 to be resource, boolean given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 329: fread(): Length parameter must be greater than 0
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 332: fopen(./../ext/tmp/2/dave/defaultavatar/language/): failed to open stream: Is a directory
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 338: fwrite() expects parameter 1 to be resource, boolean given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 352: fclose() expects parameter 1 to be resource, boolean given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 329: fread(): Length parameter must be greater than 0
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 332: fopen(./../ext/tmp/2/dave/defaultavatar/language/de/): failed to open stream: Is a directory
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 338: fwrite() expects parameter 1 to be resource, boolean given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 352: fclose() expects parameter 1 to be resource, boolean given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 329: fread(): Length parameter must be greater than 0
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 332: fopen(./../ext/tmp/2/dave/defaultavatar/language/en/): failed to open stream: Is a directory
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 338: fwrite() expects parameter 1 to be resource, boolean given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 352: fclose() expects parameter 1 to be resource, boolean given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 329: fread(): Length parameter must be greater than 0
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 332: fopen(./../ext/tmp/2/dave/defaultavatar/migrations/): failed to open stream: Is a directory
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 338: fwrite() expects parameter 1 to be resource, boolean given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_compress.php on line 352: fclose() expects parameter 1 to be resource, boolean given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 132: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3839)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 132: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3839)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 132: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3839)
Why ?!!!
same problem !!!
User avatar
mrgtb
Registered User
Posts: 603
Joined: Wed Oct 03, 2007 10:51 am

Re: [Beta] Default Avatar

Post by mrgtb »

Hmm, you do know you can set a "default avatar" given from members group settings, you can even give guest group a different default avatar using it from members. I do it on my own forum
User avatar
Sshadow
Registered User
Posts: 300
Joined: Thu Aug 20, 2009 3:54 pm
Name: Chris C.
Contact:

Re: [Beta] Default Avatar

Post by Sshadow »

A very nice feature I had from a mod once would be to select a directory with several avatars in it. Then the avatar for users who have not selected one would be randomly chosen from that directory. The original mod is found here https://www.phpbb.com/customise/db/mod/ ... _no_avatar_/
User avatar
D@ve
Registered User
Posts: 143
Joined: Sat Aug 28, 2004 12:49 am
Location: Germany, Bretzfeld D.C.
Name: Dave Remmel
Contact:

Re: [Beta] Default Avatar

Post by D@ve »

alhitary wrote:1/ What does it mean ? where it will be display in forum or ACP ?

2/ Is there a Github link for this extension ?
1) Where did you find this?
2) No, not at the moment. I'm using SVN. Have no time to get into Git.

LavIgor wrote:As I have already answered you, the current archive of the extension in this topic is wrongly packaged.
What exactly is wrong in the package? Are there any guidlines available?
mrgtb wrote:Hmm, you do know you can set a "default avatar" given from members group settings, you can even give guest group a different default avatar using it from members. I do it on my own forum
Yes I do know. But it's quite complicated (if not impossible) with default groups which already have set avatars and uploaded avatars to achieve a default avatar if the user has set none
2jesus.de - (german community for bible & faith)
phpBB.de - the German support community for pbpBB
User avatar
Webwatcher_eu
Registered User
Posts: 102
Joined: Tue Nov 25, 2014 10:59 am
Contact:

Re: [Beta] Default Avatar

Post by Webwatcher_eu »

Hi

after i disable this ext and click on "delete data" - on next page i get

"Are you sure that you wish to delete the data associated with “Default Avatar”?

This removes all of its data and settings and cannot be undone!"


if i confirm this screen by clicking "delete Data" i get this warnings:
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/migrator.php on line 442: Invalid argument supplied for foreach()
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 132: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3839)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 132: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3839)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 132: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3839)

but it is removed i cant ee any other problems ... so far...
User avatar
Raul [ThE KuKa]
Style Customisations
Style Customisations
Posts: 11073
Joined: Mon Dec 08, 2003 9:24 pm
Location: Spain
Name: Raul Arroyo
Contact:

Re: [Beta] Default Avatar

Post by Raul [ThE KuKa] »

D@ve wrote:.................
What exactly is wrong in the package? Are there any guidlines available?
Here D@ve: https://www.phpbb.com/extensions/writing/

;)
All unsolicited PMs will be ignored.
:warning: Knowledge Base | Documentation | Board rules | phpBB Styles Rules & Policies | Styles Queue Stats :warning:


If you like my styles, translations, etc. and want to show some appreciation, then feel free to Donate.
:flag_es: phpBB Spain - Online Since 2003 :heart:


User avatar
D@ve
Registered User
Posts: 143
Joined: Sat Aug 28, 2004 12:49 am
Location: Germany, Bretzfeld D.C.
Name: Dave Remmel
Contact:

Re: [Beta] Default Avatar

Post by D@ve »

thanks... I found no obvious mistakes...
2jesus.de - (german community for bible & faith)
phpBB.de - the German support community for pbpBB
Locked

Return to “Abandoned Extensions”