![]() |
Custom User Profile Field with link
I currently have Customer User Profile Fields for accomplishments. What I am trying to do is make it where I can put a link in the User Profile Field and it links other users to this particular accomplishment from the postbit.
|
I don't understand exactly what you want. What is your current code for this? And what do you want it to link to?
|
I have created User Profile Fields in the Admin CP, labeled "Accomplishments". They are Single Line Text Box that show in each users Postbit.
In a specific forum, I have posted threads for each user, listing accomplishments in each post. I want to link from the Single Line Text Box to each post, so that it shows the list of the accomplishments. For instance, I have a member who has accomplished a certain task say 9 times. In the thread that I created for that user, it list each time they made that accomplishment. In the Admin CP, I can go to the users account, and enter in that they have reached that accomplishment 9 times. Right now it ONLY shows text, but I want to have it Like This. HTML and BB coding currently does not work, which is how I am trying to do it. |
You will need two profile fields to achieve what you are after.
One for link name & one for the url. Use this in your postbit or postbit Legacy Change 43 to the new profile field Link Name Change 44 to the new profile field Link Url Code:
<!-- Start --> |
Quote:
|
Where would you like it to show? Above Avatar, below Avatar, above join date?
... ect |
http://img594.imageshack.us/img594/3746/brkk.png
Where is shows "4x OM HOF", that is where I want it to link to a post where the accomplishments are posted. |
Is the Battle Records and Awards Showcase auto template edits?
|
Battle Records yes, Awards showcase no
|
Then add this below the Awards code. (Changing profile field numbers to yours)
Code:
<!-- Start --> |
Will these be different for each individual user?
|
Yes, You can test it on my test board if you like. I will pm you login info if you want.
--------------- Added [DATE]1382414390[/DATE] at [TIME]1382414390[/TIME] --------------- Sorry, Use this: Code:
<!-- Start --> Use the info from the following link to hide these profile fields on usecp page if you are the only one adding links via ACP. Do that edit twice one for each profile field you wish to hide. https://vborg.vbsupport.ru/showthrea...ds+permissions --------------- Added [DATE]1382461584[/DATE] at [TIME]1382461584[/TIME] --------------- If you are only showing a single post for accomplishments, why not set it so members do not leave the forum page they are on and create a pop up window. To do this, use the following in place of the code you are using now. Again, change profile field numbers to your profile field numbers. Code:
<!-- Start --> Click Test One below Accomplishments |
Where do I need to place this code?
Above you stated below the Awards Code, but i'm not even sure where that is. --------------- Added [DATE]1383444688[/DATE] at [TIME]1383444688[/TIME] --------------- Also, which portion do I copy for the next line? Some members have multiple accomplishments |
Below is the code you would need for five Accomplishments. Each will open in popup set at 950 x 450, change those numbers to your liking.
Two profile fields will need to be created per accomplishments you want to show, one for accomplishment name & one for accomplishment link. Your Awards code is located in the postbit_legacy template. It is somewhere below the following code: $vbphrase[posts]: $post[posts] CREATE A BACKUP OF ANY TEMPLATE BEFORE YOU EDIT IT Change profile field numbers to yours. Code:
<!-- Start --> Happy Editing....... |
All times are GMT. The time now is 01:36 PM. |
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:
|