The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Profile Field in Signature
Hi,
Hope someone can help. I have an added field in the User Profile (field8), which I would like to have automatically added to the signature - or if not somewhere near each users post (at the bottom). Many thanks, Dave |
#2
|
|||
|
|||
open up the postbit or postbit_legacy template, search for
Code:
$post[signature] Code:
$post[field8] |
#3
|
||||
|
||||
Great Ntfu2,
Quote:
Dave |
#4
|
|||
|
|||
Oh thank god I found this. Ive been looking for this everywhere.
any idea if this will work with this mod: https://vborg.vbsupport.ru/showthrea...=1#post1158854 Or how to make the field options that show up in Signature click=search for members with same field entry. |
#5
|
||||
|
||||
I am glad I found this as well! My problem I am guessing will be I want to have a few profile fields auto populate all members signatures. However, all members currently registered already have info imputed into their signatures. So I I make this info auto populate with the suggestion in this thread the signatures will be doubled.
I think I would have to dump all current signatures and then do the edits here? I think I smell a custom mod request coming on! |
#6
|
||||
|
||||
Quote:
|
#7
|
||||
|
||||
Actually I pimped the postbit and postbit_legacy templates this way:
NOTE: Can you check my code below and see what I might have overlooked. It said I was missing a starting <if> tag however it works perfectly! Code:
<if condition="$post[signature]"> $post[signature] <else /> $post[field5]<br /> $post[field10] - $post[field18] $post[field17]<br /> $post[field21], $post[field22] $post[field24] </if> The above fields generate empty signatures into this: _______________________My next step is to wrap this code so that only certain specified usergroup IDs are bothered by this. I don't need this signature pimping for administrators. |
#8
|
||||
|
||||
That section looks fine. I'd guess that you are missing an if from somewhere else in the template.
|
#9
|
||||
|
||||
I'm not allowed to post my entire template here for a quick look am I?
|
#10
|
||||
|
||||
You may post your template if you use the code tags around it. If you have a good editor, you should be able to find it in there - that's probably what anybody else would do if you posted it here.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|