vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Adding LineBreak To Memberlist Fields (https://vborg.vbsupport.ru/showthread.php?t=211402)

chugger 04-16-2009 04:51 PM

Adding LineBreak To Memberlist Fields
 
1 Attachment(s)
I'm really stuck on this and looking for solutions. I've made "Multiple Line Text Fields" showable on my memberlist. So as you can see they linebreak to the next line when thers too much info in them I guess.

As you can see, my phone numbers are like W: number C: number F: number etc. I need each of these on a seperate line so it doesnt look like complete garbage.

What are my options here to make that happen? I kinda wanted to do it for the address as well.

Additionally, is there an easy way to show email addresses?

Mr-Moo 04-16-2009 06:09 PM

Go through your style manager and locate that particular code. Once it is located, simply place <br /> at every "new line" you desire.

As for the email addresses, I would NOT recommend displaying that at all unless the memberslist is for registered members only. Otherwise spambots will have a field day with your users.

chugger 04-16-2009 06:21 PM

I've tried the BR idea...u can't do that. Because all that data is in the table in the database as a whole. If you put a BR there it does a linebreak after all of the phone numbers, and not each number like it should be. I think code changes are necessary I'm guessing.

Oh and yes, the memberlist is for registered users only...as it is an internal site only at work.


All times are GMT. The time now is 06:55 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00991 seconds
  • Memory Usage 1,708KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete