The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
user profile fields
I have added a user profile field for all of my members to add a link to a thread in my forum which is a review of their product or ad. How can I make this link clickable instead of the members needing to copy the link and pasting it in a browser?
Thanks for any help |
#2
|
||||
|
||||
What is an example of what they enter into the field? And where is it (what template?) that you want it to show as clickable?
|
#3
|
|||
|
|||
An example of what they would enter is a link to a thread on the forum.
example: https://xxxxxxxxxxxx.com/vbforum/sho...30079-myreview I would like it to show on all templates and be found in the users about me tab of their profile. |
#4
|
||||
|
||||
Well, you aren't being that specific, so I really can't be too specific either. But, you'd do something like this in the template:
HTML Code:
<vb:if condition="$post['fieldx']"><a href="{vb:raw post.fieldx}">My Link</a> </vb:if> |
#5
|
|||
|
|||
Here is a clip section of the about me page of my profile. I have highlighted the profile field I would like to make a link
|
#6
|
|||
|
|||
I am using the bp- light styles from bluepearl skins
http://www.bluepearl-skins.com/forum...ulletin-skins/ |
#7
|
||||
|
||||
You would have to manually add it to the template there instead of allowing it to automatically be added if you want it to be a link. (Well, you may be able to do a plugin, but I haven't looked into that for that page - maybe someone else has.)
|
#8
|
|||
|
|||
I would have to add the code you supplied or the code and the link? Assuming just the code you provided?
|
#9
|
||||
|
||||
You would need to add the code I posted only using the variable availabe on that page (and the html formatting may be a bit different, so you would make it similar to the code above it).
|
#10
|
||||
|
||||
Add a new plugin:
Product: vBulletin Hook Location: member_profileblock_profilefieldbit Name: Show Profile Field as link Execution Order: 5 PHP Code:
Plugin is active: yes this can bring some security issues depending on what the user sets the field to |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|