![]() |
Can you Help me?? Please?
how do i get something entered in a added profile field to show up with your post i know where to put it alls i need is the code thanks :d
|
example: i added a field called famous rapper and now i want what poeple entered in that field to show up by there avatar(Below) thanks
|
give me 10 minutes and ill post the code. :)
|
ill use your example for this
Open template postbit: #Find: $post[avatar] #Replace by: $post[avatar]<br />famous rapper: $post[fieldX] Where the X is in $post[fieldX] replace it with the number of the profile feild you wish to add. dont know the number? no problem :) in your admin cp (www.yoursiteurl.com/vbdirectory/admin) find User Profile Fields and click the Modify link. This will bring you to a page listing all the profile feilds. pull your cursor over the "[edit]" link but to not click it. a url will apper at the bottom right of your broswer window. the end of this url has a #. that # is the one you sould replace the X with in the above code. for example. i have a custom profile feild called "Fav Anime" for my forum. my url when i pull the mouse over the edit link is. http://www.kousetsu.net/kan/admin/pr...ofilefieldid=8 see that 8? that the number for my "Fav Anime" feild. so to add it to the postbit template my code would look like this $post[avatar]<br />Fav Anime: $post[field8] hope that helps :) |
oh thank you it works :D
|
All times are GMT. The time now is 03:23 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:
|