![]() |
About me?
On this site, In the "About Me" tab. I see boxes surrounding the profile field.
http://iaza.com/work/101115C/iaza1305052759500.jpg How can it be created? And if it's a modification. Does anyone know what the modification is called? So I can download it? Or even if it's a template edit. I need to know what it is. :) |
Bumping this. :)
|
Bumping this. Hopefully someone can help me.
|
Likely done by custom edits to the template and the boxes are probably <legend> tags... you can view source to confirm but here is more info on using <legend>: http://www.htmlcodetutorial.com/forms/_LEGEND.html
|
Would you happen to know what custom edit I should do to arrange them like that?
|
As Joe said, go take a look at the page source on that site to see what they did. It's probably a <legend> tag.
|
Well, when I take a look at the page source, anything I really see with the profile legends is
PHP Code:
|
I have no idea what those boxes contain, but I'm guessing the CSS is written such that each takes up 50% of the width. It is impossible to figure out CSS from an image. You will need to use something like firebug to see what they are doing there.
|
Look for fieldset in the CSS code, that will likely have the code they used to create what they did.
|
OK, so I did view the source, and I did find the "About me Tab" in the CSS and got this.
PHP Code:
|
This is my css of about me and it's basically the same so this isn't the code you need. I suggest again to search for fieldset.
Code:
/** |
OK, so I do search again, yes but the only thing I get is,
PHP Code:
Note, that is in the MEMBERINFO template. But It doesnt look like anything that arranges my "About Me" tab to look like the one in the photo. |
I'd imagine it starts with the HTML comment <!-- CUSTOM -->
and it looks like it might simply be a table now... or a combo of a table and legend tags, the rest of the code would continue after where you cut it off. |
Actually, your right. It does start with <!-- CUSTOM -->
Heres the full code in the MEMBERINFO template. PHP Code:
|
No you can't copy and paste the code from an HTML source into a template- you would hard code things that need to be variable.
Why do you say this is the full code of MEMBERINFO- you don't have access to MEMBERINFO just the output from some other site, right? A full MEMBERINFO template looks nothing like that, look at your own... And once again you cut off what is probably the relevant code below: Code:
<fieldset class="fieldset"><legend><strong>Profile Fields start here |
Yeah, I got that from a source, the pages source.
Would you happen to know the "hard code" that I can do that will arrange my "About me" page to look like that? Here is the full full code. PHP Code:
Well, at least when I get it from the source. |
OK, I can see this code is in a table, with 2 cells, next to each other... the basic HTML of the table is:
HTML Code:
<table> HTML Code:
<fieldset class="fieldset"><legend><strong>First Toon: <b>Crazy Beaniegrooven</b> (Open)</strong></legend> Under that it looks like pretty basic HTML... But back to the original question, it looks like you can do this by adding <legend> html tags around your profile fields, maybe use the table to break them into two cells. |
And where can I access the profile fields? In the MEMBERINFO template? In the memberinfo_aboutme template? Or in some other template,
So I can add the <legend> tag. Of course, I will be doing this on my TEST site. |
The template to edit should be: memberinfo_block_aboutme.
|
OK, so here is my coding so far in the memberinfo_block_aboutme template.
PHP Code:
Do I remove the $block_data[fields]? Here is my screenshot of the AboutMe page on my TEST site. http://iaza.com/work/110131C/iaza11138261428800.png |
If you're not interested in the Bio/Interests/Location/etc... then yes remove $block_data[fields].
|
It would probably help if you posted an image of what you have now (you posted that above) and what you want it to look like.
|
I want my "About Me" tab to look like the image I posted on the OP.
@Bird0Prey, I removed the $block_data[fields] and it showed no profile fields. I want one table to show "Toon 1" and all the stuff below that, and another table to show "Toon 2" and all the info under toon 2. |
And where do these First Toon and Second Toon items come from? what is your code to spit them out?
|
That was my question all along, How can I make them split into 2 tables?
|
That's not what I am asking. Where are you getting the information to *fill* those two tables? What are they? Oh wait, I think I was confused cuz I didn't see Toon 2 in your image, but I'll assume it is under there already.
|
Yes, it's under there,
Would you happen to kow a code to split toon 1 and toon 2 into tables like the image on the OP? |
Are those really 36 separate profile fields though or does the info come from a mod?
|
36... separate... profile... fields...
|
Wow that's crazy... I really don't know how exactly you'd do it, my guess would be some plugins are needed on one or more of the member_profileblock_ hooks and template edits as well.
|
Nevermind. I got it, had alot of coding in the memberinfo_block_aboutme template.
Thanks for the help! :) This may be closed. |
This might be what you are looking for: http://www.vbulletin.com/forum/showt...postbit_legacy
|
All times are GMT. The time now is 01:28 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|