Profile fields - textarea cols [Bug]

Need some custom code changes to the phpBB core simple enough that you feel doesn't require an extension? Then post your request here so that community members can provide some assistance.

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
php_BB_Lover
I've Been Banned!
Posts: 352
Joined: Tue Jun 23, 2020 5:18 am

Re: profile fields

Post by php_BB_Lover »

david63 wrote:
Sat Jun 27, 2020 5:45 pm
php_BB_Lover wrote:
Sat Jun 27, 2020 5:05 pm
david63 wrote:
Sat Jun 27, 2020 11:42 am
If I recall correctly this issue has been raised in the past and the problem is that the css is overriding the cpf settings - not sure if it ever made it to the bug tracker
Do you have any idea how to fix this?
If it is what I think it is then it requires quite a bit of work to the core - it is not a simple fix
Okay thanks
Version: phpBB 3.3.0
Theme: default
Regards
rxu
Extensions Development Team
Posts: 3364
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact:

Re: Profile fields - textarea cols [Bug]

Post by rxu »

cols attribute effect got overridden by the width property here https://github.com/phpbb/phpbb/blob/650 ... s.css#L305
php_BB_Lover
I've Been Banned!
Posts: 352
Joined: Tue Jun 23, 2020 5:18 am

Re: Profile fields - textarea cols [Bug]

Post by php_BB_Lover »

rxu wrote:
Sat Jun 27, 2020 6:26 pm
cols attribute effect got overridden by the width property here https://github.com/phpbb/phpbb/blob/650 ... s.css#L305
i removed the inputbox class and also directly put a different cols but didn't fix the issue!
Version: phpBB 3.3.0
Theme: default
Regards
User avatar
KevC
Support Team Member
Support Team Member
Posts: 70074
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: Profile fields - textarea cols [Bug]

Post by KevC »

What problem is it causing?

The corner of that box can be dragged to any size anyway. It keeps expanding to the character limit. The profile page then resizes it all to fit the space anyway.
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"
php_BB_Lover
I've Been Banned!
Posts: 352
Joined: Tue Jun 23, 2020 5:18 am

Re: Profile fields - textarea cols [Bug]

Post by php_BB_Lover »

who marked this topic as solved? its not solved yet!
Version: phpBB 3.3.0
Theme: default
Regards
rxu
Extensions Development Team
Posts: 3364
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact:

Re: Profile fields - textarea cols [Bug]

Post by rxu »

php_BB_Lover wrote:
Sat Jun 27, 2020 6:51 pm
i removed the inputbox class and also directly put a different cols but didn't fix the issue!
Nobody said removing it should fix something. Also it can break the layout in any other places the property is used. But if you ok with that, you can try width: auto and clear the browser cache.
php_BB_Lover
I've Been Banned!
Posts: 352
Joined: Tue Jun 23, 2020 5:18 am

Re: Profile fields - textarea cols [Bug]

Post by php_BB_Lover »

rxu wrote:
Sun Jun 28, 2020 4:07 am
php_BB_Lover wrote:
Sat Jun 27, 2020 6:51 pm
i removed the inputbox class and also directly put a different cols but didn't fix the issue!
Nobody said removing it should fix something. Also it can break the layout in any other places the property is used. But if you ok with that, you can try width: auto and clear the browser cache.
i meant remove the inputbox class from textarea tag, not from css.
your right, overriding with width: auto fixes the issue! thank you,
but what is the proper way to permanently fix the problem?
Version: phpBB 3.3.0
Theme: default
Regards
rxu
Extensions Development Team
Posts: 3364
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact:

Re: Profile fields - textarea cols [Bug]

Post by rxu »

Apparently by adding style="width: auto;" to the tag.
php_BB_Lover
I've Been Banned!
Posts: 352
Joined: Tue Jun 23, 2020 5:18 am

Re: Profile fields - textarea cols [Bug]

Post by php_BB_Lover »

rxu wrote:
Sun Jun 28, 2020 4:58 am
Apparently by adding style="width: auto;" to the tag.
temporary yes! but i guess we have to find the issue and fix it.
but anyway, thank you for width: auto
Version: phpBB 3.3.0
Theme: default
Regards
rxu
Extensions Development Team
Posts: 3364
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact:

Re: Profile fields - textarea cols [Bug]

Post by rxu »

The issue is that particular one - width is overriding cols for textarea. That is just how HTML/CSS works.
php_BB_Lover
I've Been Banned!
Posts: 352
Joined: Tue Jun 23, 2020 5:18 am

Re: Profile fields - textarea cols [Bug]

Post by php_BB_Lover »

rxu wrote:
Sun Jun 28, 2020 6:13 am
The issue is that particular one - width is overriding cols for textarea. That is just how HTML/CSS works.
Okay, then please mark this topic as solved!
Thank you very much for help!
Version: phpBB 3.3.0
Theme: default
Regards
Post Reply

Return to “phpBB Custom Coding”