The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Profile- multi lines per field
Can anyone steer me to a hack, or,
where to start to be able to show like a textbox 10rows x 40cols for example? What I need is one of the custom fields to have the ability to be shown as many lines and larger than 250 chars. such as (example) -------------------------------------------------------------------------- field "BIO" Hi, I enjoy underwater basket weaving. and seek others that like the same. besides that, snipe hunting is a good pastime. check out this site blah.blah.com oh, also, I am in the area of west texas known as the "armpit" of texas. and more free style text, blah blah bllah ------------------------------------------------------------------------------ ok, to where I could have a custum entry on the profile do something like above, and, I would love to have the ability to set max chars to a large setting, yet, if someone enters just 3 lines, then, just 3 lines are shown. thanks for any replies or ideas etc in advance! Tim |
#2
|
||||
|
||||
Yep, I just did this exact same thing recently:
Templates to edit: modifyprofile, registeradult, and registercoppa find the bio section you have in each of these, and change it to: PHP Code:
Then, to make the field more than 250 characters, here is where I learned this: How to allow Custom Profile Fields to exceed 250 characters Hope that helps :beard: |
#3
|
|||
|
|||
thanks "006",
I was able to get very close, but... the custom fields seem to be where one "universal" field code is used for all custom fields, meaning if i make it a big text box, all custom fields become a large text box so, I then used the field name from a custom field and just added it right into the adultregister, editprofile and viewprofile fields. of course, then i got the same info twice, once where i had added it and in the custom fields area so, then i went and made my own field "name" and a new entry in mysql for it...... but, i got close, but no luck, in mysql i added the field in the same area where the others are, i did blob and medium text, .... still no luck hum.... HELP!!!!!! heehehh |
#4
|
||||
|
||||
OOooooohhh... I forgot what else I had to do.
Yeah, I had that problem too. You will need to delete the text: "$customprofilefields" (or whatever it is called) from your templates. Then, go back through and add what I posted before for each custom field. The best part is now you can put these fields wherever you want in the registeradult, registercoppa, and modifyprofile templates. Just make sure you replace the variables in the code. I think that makes sense. It's late. Let me know if that was what you wanted. I am pretty sure that's everything I did. The only other thing is you may have to change the "firstaltcolor" and "secondaltcolor" replacement tags to match the every other pattern that VB defaults to. That's the easy part though. :knockedout: |
#5
|
|||
|
|||
I really feel stupid now!!
lol but, now that i have tore it up and put it back together 42 times, heck, maybe i can get it to work now!! MANY thanks "006" !!!!!! now I am off with a good feeling to see if I can't crash my board!!! LOL Tim |
#6
|
||||
|
||||
Yeah, this really isn't a hack at all. It is probably possible with hacking, but why hack when you can simply edit the templates. I'm going to bed now but I'll check this when I get back. Good luck!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|