Forum post unreadable (admin/mod help)
Posted: 29 July 2004 07:42 AM   [ Ignore ]  
Summer Student
Total Posts:  5
Joined  07-29-2004

Don’t know if this should go here, but couldn’t find a forum admin email link so here it is.

I’m evaluating EE and reading through the forum to see if the functions in my MT-powered blog will carry over to EE. One critical issue to me is word count and count-related stats. Found the large thread on word count, but it is messed up and unreadable. Displays wide beyond the browser frame on both sides with no horizontal scroll bar.

So this post is a shout for help from one of the board mods/admins to fix whichever post in the thread is causing the problem:

this is the bad-boy post

Thanks!

Profile
 
 
Posted: 29 July 2004 08:37 AM   [ Ignore ]   [ # 1 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  6092
Joined  08-04-2002

On both sides? Doesn’t for me, just wide on the right but I can enlarge the browser window or scroll to read.
The problem is someone posted a very long line of code…and it would probably confuse people if it was broken into multiple lines.

Profile
 
 
Posted: 29 July 2004 09:29 AM   [ Ignore ]   [ # 2 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23547
Joined  05-20-2002

It’s a browser issue- happens to me, too (I use IE).  Irritating as all hell, because you can’t get a horizontal scroll bar so you can’t read the whole post.  Only fix I know- I open up another browser- Netscape and Opera don’t seem to have the problem.

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
Posted: 29 July 2004 09:32 AM   [ Ignore ]   [ # 3 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23547
Joined  05-20-2002

Oh- and there’s a plugin that does word count (though I still haven’t gotten around to testing it).  Check in ‘Plugins’ forum under a post called ‘word count’- I think it’s the ‘strip html’ pluggin, which is very nice.

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
Posted: 29 July 2004 09:41 AM   [ Ignore ]   [ # 4 ]  
Summer Student
Total Posts:  5
Joined  07-29-2004

Thanks all…will try another browser.

And I saw the Filter_HTML plugin post and read the docs. Not quite all the word count stats i’m using now, but a step in the right direction (I show count per entry, total count per blog, etc.). I realize EE plugins are growing and are a ways from the volume out there for MT, but it’s mostly a matter of time before more plugins are out for EE as well.

Profile
 
 
Posted: 29 July 2004 09:45 AM   [ Ignore ]   [ # 5 ]  
Lab Assistant
RankRank
Total Posts:  109
Joined  03-26-2002

Once upon a time it seems to me that these forums were “fixed” in order to avoid this problem ... weren’t they?

Profile
 
 
Posted: 29 July 2004 11:02 AM   [ Ignore ]   [ # 6 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23547
Joined  05-20-2002

I recall talk about being fixed, but I’m on IE 6 and when I click the above link- no horizontal scroll bar and no way to see the whole post.  So… no.

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
Posted: 29 July 2004 12:09 PM   [ Ignore ]   [ # 7 ]  
Lab Assistant
RankRank
Total Posts:  109
Joined  03-26-2002

Agreed. I meant I thought that previously the forums had been “fixed” and for whatever reason the “fix” got “unfixed”.

Profile
 
 
Posted: 29 July 2004 12:11 PM   [ Ignore ]   [ # 8 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23547
Joined  05-20-2002

Hm- maybe it got ‘unfixed’ when they were changing code to add avatars?  Because you’re right- I remember talk of it being fixed, but the problem arises so rarely that it could have been fixed for a while and I wouldn’t really have noticed until it was ‘unfixed’.

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
Posted: 29 July 2004 09:58 PM   [ Ignore ]   [ # 9 ]  
Lab Assistant
RankRank
Total Posts:  119
Joined  07-15-2002

I use IE 5.5/Windows and this problem plagues me here as well—both before and after the avatars were added.

I don’t have another browser installed, so when I need to read those threads, here’s my funky way of doing it:

1. Select All (Ctrl+A) to highlight the whole page and then Copy (Ctrl+C)
2. Open Outlook Express and create a new, html-formatted email.
3. Ctrl+V to Paste the entire page into the email window.
4. Now there is a horizontal scrollbar and I can do the back and forth thing to read the threads, or I can find the offending <pre> line and edit it into smaller chunks. Works but it’s a pain.

I’m working on a more elegant solution. grin

Profile
 
 
Posted: 30 July 2004 12:48 AM   [ Ignore ]   [ # 10 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  7534
Joined  08-05-2002

I have fixed the “bad-boy post”, so it should be visible on those browser that do not add a scroll bar.

There was no fix for this problem (that I know of, at least), and the addition of the avatars for the pMachine Staff did not unfix anything.  There were a couple problems fixed for IE pertaining to selecting text and alignment, but nothing to do with the <pre> tag.

I have modified the backend code so that anyone who tries to submit a forum post where a [.code] tag is used AND the tag’s content has a line that exceeds 100 characters, they will be forced to the Preview page for that post and receive a warning.  This should prevent people from just submitting their long lines of code without previewing and seeing that it messes up the layout of the page.

 Signature 
Profile
 
 
Posted: 30 July 2004 03:51 AM   [ Ignore ]   [ # 11 ]  
Summer Student
Total Posts:  5
Joined  07-29-2004

Thanks Paul…reads cleanly now! So that’s what it said? Hmmm…. wink

Profile
 
 
Posted: 30 July 2004 04:06 AM   [ Ignore ]   [ # 12 ]  
Lab Assistant
RankRank
Total Posts:  119
Joined  07-15-2002

Okay… I can add the following to the style sheet and it more or less prevents the problem in my IE 5.5/Win browser:

pre {width: 725px; overflow: hidden}

When a long line of code renders longer than 725 pixels, the excess is hidden and doesn’t cause the table cell to widen. The cool thing is that even though the excess is hidden, you can still select and Copy the entire line for Pasting into your templates or whatever.

The downside is that it’s optimized for a screen that is 1024 pixels wide. If you want it to adapt to different screen widths, the following javascript placed in the <head> works…

<script language="JavaScript">
<!--
  var
w = screen.availWidth - 300 ; // Leave space for the margins and left column.
  
document.writeln('<style type=\"text\/css\">');
  
document.writeln('<\!--');
  
document.writeln('pre {width: ' + w + 'px; overflow: hidden}');
  
document.writeln('--\>');
  
document.writeln('<\/style>');
//-->
</script>

I know there must be a simpler way to use javascript (DHTML) to set the width and overflow values of the <pre> tag directly. I thought the following would work but it didn’t:

<script language="JavaScript">
<!--
  var
w = screen.availWidth - 300 ;
  
document.tags.pre.width = w ;
  
document.tags.pre.overflow = "hidden" ;
//-->
</script>

I got an error message that the tags object was undefined. Anyone know the right object references to do the job?

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 65087 Total Logged-in Users: 39
Total Topics: 82229 Total Anonymous Users: 21
Total Replies: 441930 Total Guests: 210
Total Posts: 524159    
Members ( View Memberlist )