Custom memberlist doesn't work
+2
skouliki
Kiekie
6 posters
Page 1 of 1
Custom memberlist doesn't work
Technical Details
Forum version : #phpBB2
Position : Founder
Concerned browser(s) : Google Chrome
Who the problem concerns : All members
When the problem appeared : A few weeks ago
Forum link : https://www.warriorcatsnl.com/memberlist
Description of problem
Hello,We've been experiencing some problems with our custom memberlist and can't figure out why. It's been working fine sinds 2016 and as of a few weeks ago members started to report problems with the avatars not showing up.
This problems seems to be happening most in Google Chrome, but also has been reported with Firefox.
I've let them try removing cookies and disabling adblocker, but that doesn't seem to be the culprit of this problem.
I hope someone can help us out with this! C:
Last edited by Kiekie on June 11th 2020, 5:54 pm; edited 1 time in total
Re: Custom memberlist doesn't work
Not all of them are! Some are external discord links, some are from other hosting parties. Weird thing is is that they all work fine on the rest of the forum, only the memberlist acts up.
I could see them on Chrome too for a while but when I reloaded my cache it was gone again.
I could see them on Chrome too for a while but when I reloaded my cache it was gone again.
Re: Custom memberlist doesn't work
Oy,
They're also all loading for me; could be faster, but itsn't that slow either.
Are you loading avatars with scripts or the basic php var? ({memberrow.AVATAR_IMG})
If you're not using any script to load them, I don't think there's much you can do.
The only thing I'm thinking about would be to reduce the number of members shown per page.
If you wanna give it a try:
Admin Panel » General » Messages and emails: Configuration » Topics: Topics per page

By reducing the value, less threads per page will be shown; but it also applies to memberlist (I'm almost certain about this).
They're also all loading for me; could be faster, but itsn't that slow either.
Are you loading avatars with scripts or the basic php var? ({memberrow.AVATAR_IMG})
If you're not using any script to load them, I don't think there's much you can do.
The only thing I'm thinking about would be to reduce the number of members shown per page.
If you wanna give it a try:
Admin Panel » General » Messages and emails: Configuration » Topics: Topics per page

By reducing the value, less threads per page will be shown; but it also applies to memberlist (I'm almost certain about this).
Re: Custom memberlist doesn't work
.mSyx wrote:
.....By reducing the value, less threads per page will be shown; but it also applies to memberlist (I'm almost certain about this).
It is definitely the case for me on my forum

Re: Custom memberlist doesn't work
It looks to me that JavaScript crash on some browsers.
Sadly this could be a thing to happen to all forums in the end. Thanks to some browser updates things need a small change in the codes used.
As we have not added this our self there is not a lot we can do.
You could ask the member who helped you make the code and see if they can help fix the script.
Sadly this could be a thing to happen to all forums in the end. Thanks to some browser updates things need a small change in the codes used.
As we have not added this our self there is not a lot we can do.
You could ask the member who helped you make the code and see if they can help fix the script.
Re: Custom memberlist doesn't work
For what is worth, I think doing such a page using JavaScript is wrong. Because you have avatars from different places, I think you should do this page via the templates. There there are everything you need to do this without the need of JS. Lastly, the avatars showing slow is not the case for the js but the host of the images. If the host rejects your site or rejects images exported from their site or applications that may be the reason of the slowdown. My honest opinion is letting your members know that they should upload their avatar to ServImg to avoid these avatar slowdowns.
Regards,
TC.
Regards,
TC.
Re: Custom memberlist doesn't work
We have a custom template for the memberlist. We do use the {memberrow.AVATAR_IMG} to load them into the page. I don't think the external hosting is really an issue, because it does work for some of our other members.
As far as I can see we don't use any Javascript to call the avatars or other coding. It's just the standard PHP vars mixed with HTML. I don't know if coding a new memberlist template would work?
As far as I can see we don't use any Javascript to call the avatars or other coding. It's just the standard PHP vars mixed with HTML. I don't know if coding a new memberlist template would work?
Re: Custom memberlist doesn't work
@Kiekie Can we see the template? You can put it between hide tags if you don't want everyone to access it.
Re: Custom memberlist doesn't work
Well, you're just using default FA variables and some additional CSS for your custom HTML. I don't believe redoing it all or doing a new one would change anything.
I doubt this will do anything, but this part:
You can remove the onclick which seems to be unused.
The best solution I can think of is this one I told you about earlier:
edit: you could maybe try using lazyload; it's used on AwesomeBB (I think, or ModernBB) and it helps loading images when there are lots of them.
https://github.com/tuupola/lazyload
I doubt this will do anything, but this part:
- Code:
<div id="memhover" onclick="">
You can remove the onclick which seems to be unused.
The best solution I can think of is this one I told you about earlier:
mSyx wrote:The only thing I'm thinking about would be to reduce the number of members shown per page.
If you wanna give it a try:
Admin Panel » General » Messages and emails: Configuration » Topics: Topics per page
By reducing the value, less threads per page will be shown; but it also applies to memberlist (I'm almost certain about this).
edit: you could maybe try using lazyload; it's used on AwesomeBB (I think, or ModernBB) and it helps loading images when there are lots of them.
https://github.com/tuupola/lazyload
Re: Custom memberlist doesn't work
Hey! Thanks for all the tips!
I've tried them all. Installed lazyload, implemented it and reduced the topics shown per page but it doesn't seem to help any bit. The memberlist in indeed reduced with members showing on it, but people stil can't see their avatars showing up there.
I don't know what else there is to try. :c
I've tried them all. Installed lazyload, implemented it and reduced the topics shown per page but it doesn't seem to help any bit. The memberlist in indeed reduced with members showing on it, but people stil can't see their avatars showing up there.
I don't know what else there is to try. :c
Re: Custom memberlist doesn't work
Kiekie wrote:It's solved now!! Thank you all so much for the help!
May we know the solution you've found?
Re: Custom memberlist doesn't work
Problem solved & topic archived.
|

» Tuesday tip : Reputation system: only allow positive votes
» Adding Events On Calender
» IMG doesnt work
» My forum doesnt work!
» HTML doesnt work at all
» Adding Events On Calender
» IMG doesnt work
» My forum doesnt work!
» HTML doesnt work at all
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum