The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Myspace field in Contact Info(profile)
I would like to add a myspace field in users profile under contact info. basicly a place where they can put their myspace link
How may I do this? |
#2
|
||||
|
||||
Admin CP > User Profile Fields > Add New User Profile Field
Then just fill out the process accordingly. |
#3
|
||||
|
||||
Who do I make it clickable and open in a new window?
|
#4
|
||||
|
||||
Well, I haven't tried this.. but it should work:
HTML Code:
<if condition="$userinfo[fieldxx]"> <a href="$userinfo[fieldxx]" target="_blank">$userinfo[musername]'s Myspace</a> </if> The above code is pasted into the MEMBERINFO template. Where? Well, pretty much wherever you want it to show up. You can also make the "$userinfo[musername]'s Myspace" part a phrase if you're picky like I am. |
#5
|
||||
|
||||
Thanks for the help. It works great!
|
#6
|
||||
|
||||
Anyone know the regular expression so that if the url they enter doesnt have myspace.com in it then it wont save?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|