Author |
Message |
hoimyr Board Member
Joined: 16 Apr 2009
Posts: 115 Location: Oslo
|
Posted: Tue May 29, 2012 6:38 pm Post subject: Re: Attachment thumbs on viewforum |
|
|
drathbun: Nice, let me know if i can assist you in any way.
JLA: Here is the premodified files. Dont have it as an mod yet. It seems to be working here on a new board. Have to test more tomorrow.
You must change the paths inside includes/functions_post.php
Also added a textfile with the two sql addons. All included in the zip.
edit: seems that i cant attach files here?
You got e-mail.
|
|
Back to top |
|
|
JLA Board Member
Joined: 30 Apr 2009
Posts: 451 Location: U.S.A
|
Posted: Wed May 30, 2012 12:33 am Post subject: Re: Attachment thumbs on viewforum |
|
|
No problem on the HJ....
Hoimyr - I'll check the email.
Regarding the comment about splitting attachment files into different folders to keep for "exceeding" reasonable limits. Our version of Smartor's Photo Galleries has over 3.3 million photos and there is no problem with this. Have you all been experiencing issues with smaller amounts of files?
_________________ http://www.jlaforums.com |
|
Back to top |
|
|
JLA Board Member
Joined: 30 Apr 2009
Posts: 451 Location: U.S.A
|
Posted: Wed May 30, 2012 12:36 am Post subject: Re: Attachment thumbs on viewforum |
|
|
hoimyr wrote: | Im currently fishing it out...
You have ALOT of users JLA. How does your phpBB handle all the attachments? Do you have a didicated server?
I want to split my attachments to multiple servers. Thats my next big project.. |
The attachments are handled with no real issue. I think we might have rewritten some of the code a bit in a few places to address some projected scaling issues that we felt might be an issue at some future point. Other than than and perhaps a few indexing DB changes, everything works as is with no issues that we can currently see. Yes, we run with a dedicated infrastructure.
_________________ http://www.jlaforums.com |
|
Back to top |
|
|
drathbun Board Member
Joined: 24 Jul 2008
Posts: 729 Location: Texas
|
Posted: Wed May 30, 2012 8:57 am Post subject: Re: Attachment thumbs on viewforum |
|
|
Gah, I forgot that the attachments were broken with the update to the posting screen. My apologies, I will get back to fix that.
Regarding the large list of files... it's not just to make me feel better, although that is a side benefit. For whatever reason, perhaps it's a configuration issue with my server, or my ftp program, but once a directory includes more than a couple thousand files I can no longer run a download of the complete folder. It downloads the first XX files (don't remember what XX is at this point) and stops. So having multiple directories for attachments would address that. I've never had time to fully research why the download fails.
_________________ phpBBDoctor Blog |
|
Back to top |
|
|
hoimyr Board Member
Joined: 16 Apr 2009
Posts: 115 Location: Oslo
|
Posted: Sun Jun 03, 2012 3:41 pm Post subject: Re: Attachment thumbs on viewforum |
|
|
drathbun: no prob I think he got the mail. I will post it as a mod-file here when its done.
JLA wrote: | Our version of Smartor's Photo Galleries has over 3.3 million photos and there is no problem with this. |
Wow, that is good news. No no speed problems yet. But im also thinking for the future.
Sounds like you have done a great job over there.
Thanks for the infos!
|
|
Back to top |
|
|
JLA Board Member
Joined: 30 Apr 2009
Posts: 451 Location: U.S.A
|
Posted: Mon Mar 25, 2013 10:23 pm Post subject: Re: Attachment thumbs on viewforum |
|
|
Well today decided to finally crank this out. Just decided to write the function from scratch drawing some upon the album thumbnail functionality we rewrote for the Smartor album. Overall it is working alright. No where near as difficult as we 1st figured it might be.
1 new file and a couple of minor changes to viewforum and the template. We'll be tweaking the performance a bit but seems to work well.
_________________ http://www.jlaforums.com |
|
Back to top |
|
|
hoimyr Board Member
Joined: 16 Apr 2009
Posts: 115 Location: Oslo
|
Posted: Tue Mar 26, 2013 2:52 pm Post subject: Re: Attachment thumbs on viewforum |
|
|
Good work yes if you know how to its easy ,) I tried to take a look but i only get "error number 0859" on your site.
We really should add a section here and add our tweaks for optimizing speed for large boards and galleries. Im shure people here has made alot of handy tweaks and cool stuff that dont exist on phpbbhacks and other sites.
|
|
Back to top |
|
|
JLA Board Member
Joined: 30 Apr 2009
Posts: 451 Location: U.S.A
|
Posted: Tue Mar 26, 2013 4:36 pm Post subject: Re: Attachment thumbs on viewforum |
|
|
Sorry about that. Same reason as previously discussed. In the meantime - here is a screenshot
Description: |
|
Filesize: |
47.16 KB |
Viewed: |
1435 Time(s) |
|
_________________ http://www.jlaforums.com |
|
Back to top |
|
|
dogs and things Board Member
Joined: 18 Nov 2008
Posts: 628 Location: Spain
|
Posted: Tue Mar 26, 2013 6:11 pm Post subject: Re: Attachment thumbs on viewforum |
|
|
Very interesting, a screenshot of some code on a board I am not allowed to access.
_________________ phpBB2 will never die, I hope! |
This post has been reported for Spam. The current status is Closed / No action required. Moderator drathbun rejected this report Click for Details
|
|
|
Back to top |
|
|
JLA Board Member
Joined: 30 Apr 2009
Posts: 451 Location: U.S.A
|
Posted: Mon Jul 22, 2013 2:08 pm Post subject: Re: Attachment thumbs on viewforum |
|
|
Well - finally that is over. We were able to apply this to topic search results. Now at the topics results page - all topics that have image attachments now appear with a thumbnail. Makes search a bit more useful and interesting.
_________________ http://www.jlaforums.com |
|
Back to top |
|
|
|