www.klatchroasting.com: USBC champion, voted 2009 'best micro-roaster'

HB site update - Page 9

Postby HB on Wed Mar 05, 2008 7:08 pm

kahvedelisi wrote:...though probably you'll prefer using just one layout instead of two, for graphical and easy updating reasons (which I believe also right thing to do with a forum as huge as this)

I seriously considered subsilver2, but that would negate part of the performance advantage of prosilver and make integration with the rest of the site's current and future content more difficult. I was skeptical of the claims that phpBB V3 is faster than V2 after reading reports to the contrary, though the developers said the benefit comes primarily to sites with higher traffic. It's too early to say for certain, but the evidence from the last few days confirms their claim: The forums are noticeably faster.

Joey (multigl), DaveW (OlywaDave), and I will continue to tweak the appearance based on member feedback. I could have delayed the conversion longer, but figured that making it live would garner more comments than asking for members to look at a test site.
Dan Kehn
User avatar
HB
 
Posts: 12666
Joined: Apr 29, 2005
Location: Cary, NC

Postby kahvedelisi on Wed Mar 05, 2008 7:45 pm

Actually in this case template changes won't effect the speed that much (I'm talking about prosilver and subsilver changes here, not about a template full of images, tables, scripts heavily etc) You'll still be using phpbb 3 coding, only with a template change.

When you compare subsilver with prosilver codes side by side you'll see the amount of images both templates using are same (speaking about file size and number of files used). The difference is while prosilver using divs, subsilver use tables (plus divs). But in the end both are reading from css files. Actually it is possible to create a template exclusively made of divs and still looking like subsilver but no one would deal (at least for now..if I go crazy enough I may try sometime though :p )

Here's another suggestion, if you consider going with subsilver but have doubts about it, you can do some tests by activating subsilver2 but not making it default template. If you set system to use 1 template we won't see it but only you will see it as an admin and (if you have created groups, such as "moderators") you can let them see/use/change subsilver2 from their profiles and report back to you about speed & other issues. To see what I mean; from admin panel go to styles, click on subsilver2 details, activate it (don't make it default) click on preview it will open in a new window, browse with it for a while.

Regards
Resistance is futile. You will be caffeinated!
User avatar
kahvedelisi
 
Posts: 126
Joined: Dec 06, 2007
Location: istanbul / Turkiye
www.chriscoffee.com: quality & service, second to none
www.chriscoffee.com: quality & service, second to none

Postby TimEggers on Thu Mar 06, 2008 2:14 am

Not to be a pest but has the suggestion of a higher contrast between subsequent posts been tabled?
User avatar
TimEggers
 
Posts: 778
Joined: Mar 30, 2006
Location: Tiskilwa, Illinois

Postby HB on Thu Mar 06, 2008 2:40 am

If you save a page to your local computer (Save Page As...) with the "Web Page, Complete" option, it will include the stylesheet hb3.css in the saved directory (e.g., if you save it as mypage.html, all the graphics and CSS will be in mypage_files). The RGB entries you want to twiddle are below:

.bg1 { background-color: #f7f7f7;}
.bg2 { background-color: #f2f2f2; }
.bg3 { background-color: #ebebeb; }

When you have a set you like, let me know. :D
Dan Kehn
User avatar
HB
 
Posts: 12666
Joined: Apr 29, 2005
Location: Cary, NC

Postby Abe Carmeli on Thu Mar 06, 2008 10:49 am

Abe Carmeli
Abe Carmeli
 
Posts: 853
Joined: May 08, 2005
Location: New York, NY

Postby HB on Thu Mar 06, 2008 11:28 am

The maximum image width is 800 pixels, but the forum format can only accommodate ~700 pixels with the new template without scrolling. Clicking the image shows it without the scroll bars, but clips the right.

Technical details: The old forum implementation did not resize overly large images and used JavaScript to open a new window when clicked; that approach would not allow the image's width/height attribute to be specified in advance, which meant "cascading size changes" as the page loaded. This effect was especially noticeable in photo-intensive threads as the photos were loaded into your browser. The current approach has the width/height attributes specified in the returned pages for all images, including those uploaded by members, which eliminates the cascading size changes to the page. I can look into whether the JavaScript trick can be made compatible with the predetermined width/height.

In a nutshell, the scrollbar approach you see today has no need for JavaScript and eliminates page redraw "flutter" for threads containing large images.
Dan Kehn
User avatar
HB
 
Posts: 12666
Joined: Apr 29, 2005
Location: Cary, NC

Postby Abe Carmeli on Thu Mar 06, 2008 10:09 pm

Probably not worth the effort to reactivate the Javascript. Flickr already automatically re-formats pictures to 800x600. Perhaps just put a note about it on the "how to" post.
Abe Carmeli
Abe Carmeli
 
Posts: 853
Joined: May 08, 2005
Location: New York, NY

Postby Abe Carmeli on Thu Mar 06, 2008 10:24 pm

Offsite images are not permitted: http://farm3.static.flickr.com/23...8_5d5a2c7d13_o.jpg. Please select the 'Upload image' tab below.

I got that error when trying to upload a picture to a post. I used the standard syntax [img]url[/img]
Abe Carmeli
Abe Carmeli
 
Posts: 853
Joined: May 08, 2005
Location: New York, NY

Postby HB on Thu Mar 06, 2008 11:10 pm

Dan Kehn
User avatar
HB
 
Posts: 12666
Joined: Apr 29, 2005
Location: Cary, NC

Postby DavidMLewis on Fri Mar 07, 2008 12:48 am

HB wrote:Not sure what the cause might be. If you set your browser to block all cookies from HB, do you see a "sid" parameter appear on all forum links?

http://www.home-barista.com/forums/?sid=559273e7c3b9520ade89d385fe62f3bb

This is normally stored as a cookie (hbforums_sid), but is appended to the link if no cookie is found. If you block cookies from the site and see this parameter unchanged in returned pages, it indicates your session is recognized. The main drawback of disabling cookies is that your session is no longer retrievable once you close the forum browser, but at least eliminates cookie handling as the cause.

Hi Dan,

Very odd. For one thing, even if I set Safari to never accept cookies, I see three H-B cookies set: hbforums_sid, hbforums_u, and hbforums_k. The other thing is that the sid keeps changing. And the third oddity is that even if I have it set to accept cookies only from sites to which I navigate, which is the default, when I get logged out the syntax you show above, with the sid in the URL, appears in my address bar.

Best,
David
DavidMLewis
 
Posts: 423
Joined: May 08, 2005
Location: Santa Cruz, California

PreviousNext

Return to News and Suggestion Box