Forum Weirdness

Pay attention

Moderator: Bonn-o-Tron

Re: Forum Weirdness

Postby Keldoclock » Wed Sep 12, 2012 2:28 pm

Take off every :zig:
Image
stubby wrote:omg noob, balrogs are maiars too, don't you know anything
User avatar
Keldoclock
Pooplord
 
Posts: 2749
Joined: Sun Nov 30, 2008 2:19 pm
Location: New York City

Re: Forum Weirdness

Postby Predator » Wed Sep 19, 2012 1:57 pm

HOLY Shit this forum is getting wierd. All my noteblocks are belong to it.
mr.duckie wrote:
SirCheese wrote:I will be neutral. (Cuz I don't want to make enemies)


Get Him!!!! :fist:


This sig is too fucking large: show anyway
Silverdream wrote:Gaze upon my cyan complexion
And fall in love with my flying perfection
I am a pegasus of awesomeness shaped by sonic rainbooms
Sonic Rainbooms
All over my sky.
User avatar
Predator
Jaw-Jaw
 
Posts: 935
Joined: Sun Aug 14, 2011 1:45 pm
Location: In mid-air, 360-ing.

Re: Forum Weirdness

Postby Apollyon » Wed Oct 10, 2012 10:14 am

I complained before but i do not remember where.

While i can live with the forum being considerably slower than it used to be when just reading it, it is super annoying that you cannot make posts anymore containing more than x pictures. You just have to split up a forum battle into multiple posts, it takes ages for the forum to process such a post and sometimes it decides six photos are too much and you have to split again. :fist:

I would appreciate it if someone could look into this because i'd rather spend 75% of my time on playing a forum battle, and 25% on posting instead of the other way round. Tank you.
If you're not into Metal you are not my friend!
User avatar
Apollyon
constantly striving to using proper grammar
 
Posts: 1839
Joined: Sat Jul 25, 2009 5:14 am
Location: I am in Berlin bitch!

Re: Forum Weirdness

Postby stubby » Wed Oct 10, 2012 10:41 am

Weird, I haven't seen this on my end, everything loads instantly except the banner. Did this start when Natalya put the rotating banners in, or was it doing that to you before that?
User avatar
stubby
Psy.D Manchild Psychology, U. of Wikipedia
 
Posts: 4981
Joined: Sat Dec 29, 2007 8:31 pm

Re: Forum Weirdness

Postby Apollyon » Wed Oct 10, 2012 10:55 am

I noticed it first when i posted pictures of my supertank and armies in the armoury. That was after the new homepage and already with dynamic banners.
If you're not into Metal you are not my friend!
User avatar
Apollyon
constantly striving to using proper grammar
 
Posts: 1839
Joined: Sat Jul 25, 2009 5:14 am
Location: I am in Berlin bitch!

Re: Forum Weirdness

Postby stubby » Wed Oct 10, 2012 11:34 am

Hmm okay. I know what needs to be done to fix the banners from eating so much processor/data bandwidth, I was just prioritizing chapter 10 first. I'll bump that up to the top of the list to do next and we'll see if it fixes things.
User avatar
stubby
Psy.D Manchild Psychology, U. of Wikipedia
 
Posts: 4981
Joined: Sat Dec 29, 2007 8:31 pm

Re: Forum Weirdness

Postby Tzan » Wed Oct 10, 2012 11:40 am

I think he is complaining about a picture limit in posting more than speed issues.
It just takes him more time to make more posts.
User avatar
Tzan
Blockguy
 
Posts: 5048
Joined: Sun Dec 30, 2007 4:41 pm
Location: Boston

Re: Forum Weirdness

Postby Apollyon » Wed Oct 10, 2012 11:46 am

Yes. Though the forum is slower than other phpBB boards i frequent. But that might just be a slow server hosting it.
If you're not into Metal you are not my friend!
User avatar
Apollyon
constantly striving to using proper grammar
 
Posts: 1839
Joined: Sat Jul 25, 2009 5:14 am
Location: I am in Berlin bitch!

Re: Forum Weirdness

Postby Zupponn » Wed Oct 10, 2012 10:50 pm

There's a picture limit? I haven't run into that problem.
Image
User avatar
Zupponn
Lovable and funny
Lovable and funny
 
Posts: 5835
Joined: Mon Mar 21, 2011 6:15 pm
Location: Wisconsin, land of the cheese

Re: Forum Weirdness

Postby stubby » Thu Oct 11, 2012 10:53 am

It has to do with the amount of processing time each picture takes. The forum software analyzes them for things like image size limits and such. If you're posting during a heavy-traffic time of day, sometimes the processing time takes longer than the posting timeout.

I think a lot of this is because the banner rotations are set to display images directly through PHP, rather than through writing an image tag into the HTML, which means a bunch of PHP cycles spent on image processing and forces clients to download the data each time rather than pulling from their own caches. It's an easy fix, I just haven't had time / working internet for the past couple of days to edit the code.
User avatar
stubby
Psy.D Manchild Psychology, U. of Wikipedia
 
Posts: 4981
Joined: Sat Dec 29, 2007 8:31 pm

Re: Forum Weirdness

Postby Apollyon » Thu Oct 11, 2012 11:07 am

stubby wrote:It has to do with the amount of processing time each picture takes. The forum software analyzes them for things like image size limits and such. If you're posting during a heavy-traffic time of day, sometimes the processing time takes longer than the posting timeout.


Maybe it is because i host my pictures at Brickshelf at the moment? Maybe it is too slow to answer the forum about whatever it needs to know about the pictures from the host location.
If you're not into Metal you are not my friend!
User avatar
Apollyon
constantly striving to using proper grammar
 
Posts: 1839
Joined: Sat Jul 25, 2009 5:14 am
Location: I am in Berlin bitch!

Re: Forum Weirdness

Postby stubby » Sat Oct 13, 2012 7:01 pm

I rewrote the image rotation code for the main brikwars page so it wasn't pushing all the image data through PHP, but because of the way the forums work, I wasn't able to duplicate the effect. I turned image rotation off in here for now. Hopefully the response time in here will be a lot better.
User avatar
stubby
Psy.D Manchild Psychology, U. of Wikipedia
 
Posts: 4981
Joined: Sat Dec 29, 2007 8:31 pm

Re: Forum Weirdness

Postby Apollyon » Sat Oct 13, 2012 10:16 pm

stubby wrote:Hopefully the response time in here will be a lot better.


It is.
If you're not into Metal you are not my friend!
User avatar
Apollyon
constantly striving to using proper grammar
 
Posts: 1839
Joined: Sat Jul 25, 2009 5:14 am
Location: I am in Berlin bitch!

Re: Forum Weirdness

Postby Natalya » Sun Oct 14, 2012 3:34 am

stubby wrote:It has to do with the amount of processing time each picture takes. The forum software analyzes them for things like image size limits and such. If you're posting during a heavy-traffic time of day, sometimes the processing time takes longer than the posting timeout.

I think a lot of this is because the banner rotations are set to display images directly through PHP, rather than through writing an image tag into the HTML, which means a bunch of PHP cycles spent on image processing and forces clients to download the data each time rather than pulling from their own caches. It's an easy fix, I just haven't had time / working internet for the past couple of days to edit the code.


So the forum PHP analyzes even the banner image? That's why it was always slow?
Image
  ▲
▲ ▲

"Each night alone I dream, that I'm a rebel Roller Queen‼
I'll be a star that shines, I can make the whole world mine‼"


Image
User avatar
Natalya
Tremble in awe, for I am become Admin, Banner of Noobs.
Tremble in awe, for I am become Admin, Banner of Noobs.
 
Posts: 5376
Joined: Wed Sep 17, 2008 10:57 pm
Location: Now in Ontario

Re: Forum Weirdness

Postby stubby » Sun Oct 14, 2012 12:09 pm

Natalya wrote:So the forum PHP analyzes even the banner image? That's why it was always slow?

Not quite - but making the PHP engine load the image data and spit it back into HTML clogs up PHP cycles it needs to analyze other images, and (more importantly) browsers can't cache a PHP image, since they change all the time.

So what I did on the main banner was to replace
Code: Select all
<img src="image.php">

with
Code: Select all
echo '<img src="image_' . $lol . '.jpg">';

which has the PHP spit out the html code to load the proper image rather than trying to spit out the image itself, so the browser can cache each of the images as they come up.

I couldn't do it in the forum yet though, because the forum templates aren't set up to allow inline executable code like echo commands. I could do it through javascript instead, but enough people turn off javascript that it might not be worth it.
User avatar
stubby
Psy.D Manchild Psychology, U. of Wikipedia
 
Posts: 4981
Joined: Sat Dec 29, 2007 8:31 pm

PreviousNext

Return to Announcements

Who is online

Users browsing this forum: No registered users and 2 guests