[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 » Thu Jan 15, 2015 9:10 am

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 » Thu Jan 15, 2015 9:18 am

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 » Thu Jan 15, 2015 9:22 am

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: 247
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 » Thu Jan 15, 2015 9:41 am

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 » Thu Jan 15, 2015 11:34 am

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 » Thu Jan 15, 2015 2:07 pm

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 » Thu Jan 15, 2015 2:13 pm

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 » Thu Jan 15, 2015 5:32 pm

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 » Thu Jan 15, 2015 5:41 pm

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 » Thu Jan 15, 2015 5:49 pm

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 » Thu Jan 15, 2015 6:12 pm

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 » Thu Jan 15, 2015 7:00 pm

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 » Thu Jan 15, 2015 7:30 pm

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: 247
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 » Thu Jan 15, 2015 7:56 pm

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 » Thu Jan 15, 2015 10:46 pm

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”