PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
mordbuster
Hangin' Around


Joined: Feb 08, 2010
Posts: 27

PostPosted: Tue Feb 09, 2010 9:18 am Reply with quote Back to top

Here's another one I've never seen before. When I try to create, copy/paste, or edit a post with a message body that is larger than the text box, the scroll bar keeps grounding itself back to the top. It shows the text that I'm typing but will not stay in any position except the top. If I try to select a character outside of the top section, then it drives itself home and selects all of the text for the post. This happens only when I'm typing. I can grab the scroll bar and move it down and it will stay... until I try to type.
View user's profile Send private message
spasticdonkey
RavenNuke(tm) Development Team


Joined: Dec 02, 2006
Posts: 1252
Location: Texas, USA

PostPosted: Tue Feb 09, 2010 9:52 am Reply with quote Back to top

this only happens in IE, and is a known bug for almost a year now (no patch yet, grrrr)

Quote:
When a textarea is specified with a percentage width in IE8 Standards mode, and contains more text than is visible without scrolling, the scroll position may move when editing. This occurs when you scroll down and edit a line, the line you are editing will then be scrolled down further, usually to the bottom of the visible area. If the width is specified in pixels the issue does not occur, it also does not occur in compability mode.


related:
Only registered users can see links on this board!
Get registered or login to the forums!
Only registered users can see links on this board!
Get registered or login to the forums!


Image Firefox FTW Smile
View user's profile Send private message
mordbuster
Hangin' Around


Joined: Feb 08, 2010
Posts: 27

PostPosted: Tue Feb 09, 2010 10:20 am Reply with quote Back to top

Odd... This didn't happen with the basic PHP NUke 8.0.

So, just use compatibility mode and the text box scroll bar should behave normally?

EDIT: I tried the compatibility mode and it still didn't work.
View user's profile Send private message
jakec
Site Admin


Joined: Feb 06, 2006
Posts: 3028
Location: United Kingdom

PostPosted: Tue Feb 09, 2010 11:32 am Reply with quote Back to top

Are you talking about it happening here, or on one of your sites?
View user's profile Send private message
spasticdonkey
RavenNuke(tm) Development Team


Joined: Dec 02, 2006
Posts: 1252
Location: Texas, USA

PostPosted: Tue Feb 09, 2010 1:22 pm Reply with quote Back to top

Well I never actually tested this extensively, or the supposed fix... but it appears to happen on textarea's that are defined by px width too... Sad

found that you have to set the height in px width as well.

this change seemed to work for me, for instance:
themes/CT_RN/forums/posting_body.tpl
line number 372
find
<textarea name="message" rows="15" cols="35" style="width:450px" tabindex="3" class="post" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);">{MESSAGE}</textarea>

change to
<textarea name="message" rows="15" cols="30" style="width:450px;height:300px;" tabindex="3" class="post" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);">{MESSAGE}</textarea>

* notice I also decreased the columns since I was getting horizontal scrollbars in Firefox

If you could try the fix and let me know it would be appreciated Smile
View user's profile Send private message
mordbuster
Hangin' Around


Joined: Feb 08, 2010
Posts: 27

PostPosted: Tue Feb 09, 2010 2:02 pm Reply with quote Back to top

jakec wrote:
Are you talking about it happening here, or on one of your sites?


I was posting about this happening on my own site. It does it here, too. hmm...

I am using the same theme as this site at the moment. I could try to edit the theme on my website, and see if it changes anything. Worst thing that'll happen is nothing changes. If I break it, I guess I can always restore the file.
View user's profile Send private message
spasticdonkey
RavenNuke(tm) Development Team


Joined: Dec 02, 2006
Posts: 1252
Location: Texas, USA

PostPosted: Tue Feb 09, 2010 2:37 pm Reply with quote Back to top

If your using fisubice try replacing
themes/fisubice/forums/posting_body.tpl with the file in this archive
Image
Only registered users can see links on this board!
Get registered or login to the forums!


(assuming you have not customized it or added forum mods)
View user's profile Send private message
mordbuster
Hangin' Around


Joined: Feb 08, 2010
Posts: 27

PostPosted: Tue Feb 09, 2010 3:05 pm Reply with quote Back to top

Sweet! thank you. I have not modified the theme at all, except to put my own banner on the top. I'm trying to get AutoTheme running so I can save myself a bunch of time in building a custom theme.
View user's profile Send private message
mordbuster
Hangin' Around


Joined: Feb 08, 2010
Posts: 27

PostPosted: Tue Feb 09, 2010 3:13 pm Reply with quote Back to top

FIXED! You are the man! Thank you so much!
View user's profile Send private message
montego
Former Admin in Good Standing


Joined: Aug 29, 2004
Posts: 9071
Location: Arizona

PostPosted: Fri Feb 12, 2010 7:25 am Reply with quote Back to top

And thanks to spasticdonkey for getting these fixes into the upcoming 2.40.01 patch release!! Soon, very soon...
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum