[ABD] topic avatar : author avatar in viewforum

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.
lknhan
Registered User
Posts: 400
Joined: Mon Dec 15, 2003 1:15 am

Re: [BETA] topic avatar : author avatar in viewforum

Post by lknhan »

Hi nassim99!
Still error, can't fix.
Thanks
nassim99
Registered User
Posts: 14
Joined: Wed Jan 14, 2015 11:23 am

Re: [BETA] topic avatar : author avatar in viewforum

Post by nassim99 »

lknhan wrote:Hi nassim99!
Still error, can't fix.
Thanks
i think you did not update the extension
pls check!
lknhan
Registered User
Posts: 400
Joined: Mon Dec 15, 2003 1:15 am

Re: [BETA] topic avatar : author avatar in viewforum

Post by lknhan »

I have updated but error, all forums can't show avatar, so I just delete it.
And add: old version.

Now, problems are:
- Show avatar: http://cailuongvietnam.vn/forum/viewforum.php?f=5
- no show avatar: http://cailuongvietnam.vn/forum/viewforum.php?f=6

Mean: some forums OK, but some forum can't show avatar...
User avatar
draky
Registered User
Posts: 250
Joined: Tue Dec 10, 2002 2:04 pm
Location: France
Name: Gilles W.
Contact:

Re: [BETA] topic avatar : author avatar in viewforum

Post by draky »

lknhan wrote:nassim99 check help me.
http://cailuongvietnam.vn/forum/viewforum.php?f=6
And see hehe, avatar not broken: http://cailuongvietnam.vn/forum/viewtop ... =6&t=60778
I can see some avatars on your forum index...
User avatar
cece74
Registered User
Posts: 498
Joined: Mon Jan 12, 2015 8:55 pm

Re: [BETA] topic avatar : author avatar in viewforum

Post by cece74 »

Help !

Image
nassim99
Registered User
Posts: 14
Joined: Wed Jan 14, 2015 11:23 am

Re: [BETA] topic avatar : author avatar in viewforum

Post by nassim99 »

lknhan wrote:I have updated but error, all forums can't show avatar, so I just delete it.
And add: old version.

Now, problems are:
- Show avatar: http://cailuongvietnam.vn/forum/viewforum.php?f=5
- no show avatar: http://cailuongvietnam.vn/forum/viewforum.php?f=6

Mean: some forums OK, but some forum can't show avatar...
cece74 wrote:Help !
new update
hope it fixes all the problems
pls test !
User avatar
cece74
Registered User
Posts: 498
Joined: Mon Jan 12, 2015 8:55 pm

Re: [BETA] topic avatar : author avatar in viewforum

Post by cece74 »

Error my site, code:

<img src="http://.test.mysite.com///styles/prosilver/theme/images/no_avatar.gif" with="35px" height="35px" alt="Marea">
User avatar
Niknovel
Registered User
Posts: 23
Joined: Mon Dec 08, 2014 8:16 am
Location: Moscow
Name: Николай
Contact:

Re: [BETA] topic avatar : author avatar in viewforum

Post by Niknovel »

Installed Expansion PhpBB3 version: 3.1.3
Installed Mods PhpBB3 version: 3.0.13-PL1
nassim99
Registered User
Posts: 14
Joined: Wed Jan 14, 2015 11:23 am

Re: [BETA] topic avatar : author avatar in viewforum

Post by nassim99 »

cece74 wrote:Error my site, code:

<img src="http://.test.mysite.com///styles/prosilver/theme/images/no_avatar.gif" with="35px" height="35px" alt="Marea">
i did a fix
can you try again
and don't forget to Purge the cache.
thanks for testing.
nassim99
Registered User
Posts: 14
Joined: Wed Jan 14, 2015 11:23 am

Re: [BETA] topic avatar : author avatar in viewforum

Post by nassim99 »

Niknovel wrote:Last Post Avatar
and why bring it here?
that is not my extension and the coding is different !!
User avatar
cece74
Registered User
Posts: 498
Joined: Mon Jan 12, 2015 8:55 pm

Re: [BETA] topic avatar : author avatar in viewforum

Post by cece74 »

Now it's perfect! Thank You!
User avatar
Niknovel
Registered User
Posts: 23
Joined: Mon Dec 08, 2014 8:16 am
Location: Moscow
Name: Николай
Contact:

Re: [BETA] topic avatar : author avatar in viewforum

Post by Niknovel »

nassim99 wrote: and why bring it here?
that is not my extension and the coding is different !!
Why reinvent the wheel if it has already been invented...
Installed Expansion PhpBB3 version: 3.1.3
Installed Mods PhpBB3 version: 3.0.13-PL1
nassim99
Registered User
Posts: 14
Joined: Wed Jan 14, 2015 11:23 am

Re: [BETA] topic avatar : author avatar in viewforum

Post by nassim99 »

Niknovel wrote:
Why reinvent the wheel if it has already been invented...
first i didn't knew there was an extension like that
second that is a last post avatar, mine is topic poster avatar !
User avatar
draky
Registered User
Posts: 250
Joined: Tue Dec 10, 2002 2:04 pm
Location: France
Name: Gilles W.
Contact:

Re: [BETA] topic avatar : author avatar in viewforum

Post by draky »

Best would be 2 ext in one : and admin can choose which avatar to display : author or last poster :p
User avatar
PayBas
Former Team Member
Posts: 930
Joined: Thu May 25, 2006 12:37 am

Re: [BETA] topic avatar : author avatar in viewforum

Post by PayBas »

From what I can tell, this extension needs some work.

The biggest problem is that the avatar is retrieved for each row individually. That means 1 extra query for each row. This increases the amount of queries significantly, and can make your board much slower.

I would suggest that you collect all the first-poster user-IDs and query the DB for the avatars in a single query.

It requires a bit more complex code, but I don't think the extension team will validate your extension in its current form.
Locked

Return to “Abandoned Extensions”