![]() |
|
Thread Tools |
#1
|
||||||||
|
||||||||
![]()
I'm not sure if this should be in this section or under the Template Mods section.
Basically you want to open up the postbit template. AdminCP > Styles & Templates > Style Manager > Edit Templates > Posbit Then search for "joindate" which will take you to the section of the postbit template that you'll want to edit. You can choose for yourself where exactly you want to put the additional profile field information. For me I wanted it above the Join Date so find.
Add above it:
[/code] Replace the two X's with the field number of your profile field. This information can be found by going to AdminCP > User Profile Fields > User Profile Field Manager. Make sure the number is the the field number and NOT the display number. Next, replace the information in between the <dt> tags (XXXXXXXXX) with whatever you want it to say in the Postbit. I don't know how to use the {vb:rawphrase XXXXXX} stuff, so I just put basic text in between the <dt> tags and it worked ok. On my forums, I wanted to add a "Car" profile field that details what kind of car each person drives. A screenshot. ![]() Of course, this template usually needs to be reverted when upgrading vB, so it's not the best solution, but it works. (Apologies if this has been posted since the release of vB4, I hadn't seen it yet). No members have liked this post.
|
#2
|
|||
|
|||
This is WICKED... I was wondering how to do this....
What I am really looking to do is to add a custom field in the postbit that would list the FORUMS a moderator leads.. that also might LINK to the forum they lead... No members have liked this post.
|
#3
|
|||
|
|||
I'm sure it's possible, but I don't know how to do it.
No members have liked this post.
|
#4
|
|||
|
|||
Hello mates,
First of all, thank you very much for this tutorial. I have one question though: I have a custom profile filed that is a "Multiple-Selection Menu", so this field can have several values. How can I address these values in this example "{vb:raw post.fieldX}"? Thank you for your help. --------------- Added 14 Jan 2010 at 19:12 ---------------
Originally Posted by ryacine
Can somebody help please?
![]()
No members have liked this post.
Last edited by ryacine; 14 Jan 2010 at 19:12. Reason: Auto-Merged DoublePost |
#5
|
|||
|
|||
Well the post.fieldX should still have X as the field number, no matter what kind of field it is (fill in the blank, pick from a selection list, etc). However, I'm not sure what you should put between the <dt> tags.
No members have liked this post.
|
#6
|
|||
|
|||
thanks for the refresher!
No members have liked this post.
|
#7
|
|||
|
|||
Has anyone updated to vB4.0.1 after doing this? Did you have to revert the template?
No members have liked this post.
Last edited by SuperGLS; 23 Jan 2010 at 15:09. |
#8
|
|||
|
|||
I tried this on 4.0.1 and it isn't working....
![]() No members have liked this post.
|
#9
|
|||
|
|||
What part of it wasn't working? What happened?
No members have liked this post.
|
#10
|
|||
|
|||
I also tried this on 4.0.1 & I cannot get it to work. It will allow me to do some fields, but it will not allow me to do a field with Multiple Selection Menu. Is it a different code for this?
No members have liked this post.
|
#11
|
|||
|
|||
Yeah, like I said above, I wouldn't know what to change for that. Sorry!
No members have liked this post.
|
#12
|
|||
|
|||
Originally Posted by ryacine
I'm searching to do the same, i have posted to support and after waiting 2 days they said i must ask here, did you found a solution to show multiple selection value?![]()
Thanks. No members have liked this post.
|
#13
|
|||
|
|||
Anyone know how to do this? support say that must be asked on forums but any developer knows how to do this?
No members have liked this post.
|
#14
|
|||
|
|||
There was a guy who wrote a whole custom product for custom profile fields in the postbit for 3.8. I doubt he wants to do it again for 4. Anyway, the great thing about this mod was that you could put a whole bunch of custom fields in a dropdown. I forget if it was using AJAX for the dropdown or Javascript, but eitherway, it worked great. So you could have, for example, a "car" icon or a "computer" icon, and then have those custom profile fields display in a dropdown menu.
Now we are back in the stone age until someone comes up with something as great as that add-on. No members have liked this post.
|
#15
|
|||
|
|||
It did't work for me to, but when I put the code in posbit legay template it works like charm.
No members have liked this post.
|
![]() |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 20:07.