Log in

View Full Version : Profile Field in Custom BB Code?


evenmonkeys
07-09-2007, 07:12 AM
I've been searching but can't find out how to do it this way... so yeah... I'm sort of lost.

I'm trying to create my own bbcode that will display a profile field. For instance, I want to make it display their Location. Don't make sense of it... just consider that it does make sense.

How can I do this? I'm mainly focusing on putting the outcome into signatures, but signatures show in more areas than just the postbit. The following html replacement does not work... so I'm in need of help.

<div>$post[field10]</div>Is there a way to parse that within a BB code?

snakes1100
07-09-2007, 09:54 PM
You don't need to do it with bbcode, just copy the <if> statemnet for the field id into the sig area of the postbit/postbitlegacy template

evenmonkeys
07-10-2007, 03:25 AM
I don't want to do that though. I want them to be able to choose where it goes. I want them to be able to choose where goes in their signature.

snakes1100
07-10-2007, 03:59 AM
Well you still could do it by div tag'ing it for placement, was just trying help ya bud, rather than going to create a bunch of un-deed coding.

evenmonkeys
07-10-2007, 04:35 AM
That's what I've been doing, but I don't want it to be in a solid place. I want the user to be able to move it around. I appreciate the reply though.

evenmonkeys
07-12-2007, 07:45 AM
Bump.

Apophis
07-26-2007, 01:49 PM
Well you still could do it by div tag'ing it for placement, was just trying help ya bud, rather than going to create a bunch of un-deed coding.

I'm trying to do something similar to this but don't understand what you mean by div tagging it. I've been trying to take the awards display data from the Yet Another Awards product and allow users to choose placement via bbcode. I've got it displaying in the signature area right now, but I want to allow more flexibility in its placement. I've had no luck after reading and trying various solutions for the past few days.

Care to elaborate on your suggestion?