![]() |
|
|
Thread Tools |
|
#1
|
||||
|
||||
|
Hi!
I adapt the template memberinfo and have a small problem with a profilefield (Biography) with the variable "userinfo[fieldX]" i use it in a table and the variable make no line break my code:
any chance to fetch out the custom-fields with line breaks??? thaks! No members have liked this post.
|
||||
|
#2
|
||||
|
||||
|
I am having the same problem. Anyone have an answer?
__________________
MODern ENGINEuity Modular Ford Powered Community Automotive Books, Movies, Games and More! No members have liked this post.
|
|
#3
|
||||
|
||||
|
Originally Posted by SVTBlackLight01
Hi!
I found the problem! It is the "class" command! Without you have no trouble! ![]() cu No members have liked this post.
|
|
#4
|
||||
|
||||
|
"class", as in: class="custlisting"
I'm using standard classes (alt1), and removing the class doesn't have an affect on the display. I don't know if it matters, but I am using custom profile fields.
__________________
MODern ENGINEuity Modular Ford Powered Community Automotive Books, Movies, Games and More! No members have liked this post.
Last edited by SVTBlackLight01 : 25 Sep 2004 at 03:15. |
|
#5
|
||||
|
||||
|
Originally Posted by SVTBlackLight01
please post your code....
My code:
No members have liked this post.
|
||||
|
#6
|
||||
|
||||
|
In this case I am using a separate table that contains all the info of the user fields.
It looks something like this:
Here is an example of a how the fields are being displayed. http://www.modernengineuity.com/fm/feature.html?u=38
__________________
MODern ENGINEuity Modular Ford Powered Community Automotive Books, Movies, Games and More! No members have liked this post.
|
||||
|
#7
|
||||
|
||||
|
Anybody have any ideas on this?
__________________
MODern ENGINEuity Modular Ford Powered Community Automotive Books, Movies, Games and More! No members have liked this post.
|
|
#8
|
||||
|
||||
|
Originally Posted by SVTBlackLight01
it look´s ok, what´s the problem??? No members have liked this post.
|
|
#9
|
|||
|
|||
|
If you mean the user typed a newline and it doesn't show up, that is because the \n character has no effect in HTML other than adding a space if there wasn't one there initally. Two solutions:
1. Use vB's BB code parsing functions to convert it to vB code, which interprets newline characters. 2. Use http://www.php.net/nl2br . No members have liked this post.
|
|
#10
|
||||
|
||||
|
filburt1,
I've tried the second method, but I must not be looking in the right file. Where would this need to be added?
__________________
MODern ENGINEuity Modular Ford Powered Community Automotive Books, Movies, Games and More! No members have liked this post.
Last edited by SVTBlackLight01 : 24 Sep 2004 at 00:38. |
|
#11
|
||||
|
||||
|
This has really got me stumped.
![]()
__________________
MODern ENGINEuity Modular Ford Powered Community Automotive Books, Movies, Games and More! No members have liked this post.
|
![]() |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
| Thread Tools | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 04:43.




