Page 1 of 2

Custom Profile Fields - Ordering and Display

Posted: 10 Mar 2010, 22:09
by Stoker
[center]Custom Profile Fields - Ordering and Display[/center]

Moved: viewtopic.php?f=45&t=1297

Re: Custom Profile Fields - Ordering and Display

Posted: 02 Apr 2010, 22:46
by Caldazar
Does not seem to work on the version im using.....

Nothing shows up, tho i do have different options to what you show in your screen shot with this, on phpbb 3.0.7 (+stargate 1.0.5)

Re: Custom Profile Fields - Ordering and Display

Posted: 02 Apr 2010, 23:01
by Fire-Fox
working great on my phpBB 3.0.7-PL1

Post what you have done so fare :)

Re: Custom Profile Fields - Ordering and Display

Posted: 03 Apr 2010, 01:57
by cisco007
Caldazar ยป 02 Apr 2010, 22:46 wrote:Does not seem to work on the version im using.....

Nothing shows up, tho i do have different options to what you show in your screen shot with this, on phpbb 3.0.7 (+stargate 1.0.5)
whichever CPF you are using you must do the edits exactly the same and make sure the name in the are the same otherwise they will not show up!

Re: Custom Profile Fields - Ordering and Display

Posted: 03 Apr 2010, 07:03
by Stoker
and also enable display of cpf in acp

Re: Custom Profile Fields - Ordering and Display

Posted: 03 Apr 2010, 19:05
by Caldazar
Yes, thank you, thats done the trick, seems i missed an option in another area, once i'd turned that on it all started to show up, thanks.

Re: Custom Profile Fields - Ordering and Display

Posted: 03 Apr 2010, 21:48
by Fire-Fox
Nice going :)

Re: Custom Profile Fields - Ordering and Display

Posted: 17 Apr 2010, 16:36
by Oliver

YouTube Favourite
Lets add our YouTube Favourite, but only in profile.
First you need to create the custom profile field in ACP

Open styles/prosilver/template/memberlist_view.html
Find:

Code: Select all

<!-- IF SIGNATURE -->
Before add:

Code: Select all

<!-- BEGIN custom_fields -->
<!-- IF custom_fields.PROFILE_FIELD_NAME eq "YouTube Favourite" -->
<div class="panel bg1">
	<div class="inner"><span class="corners-top"><span></span></span>

		<h3>{custom_fields.PROFILE_FIELD_NAME}</h3>

		<div style="text-align:center;"><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/{custom_fields.PROFILE_FIELD_VALUE}"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/{custom_fields.PROFILE_FIELD_VALUE}" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></div>

	<span class="corners-bottom"><span></span></span></div>
</div>
<!-- ENDIF -->
<!-- END custom_fields -->
Here you go, your favourite youtube video in your profile:
youtube.png

What i write to the box? Youtube bbcode?

Re: Custom Profile Fields - Ordering and Display

Posted: 17 Apr 2010, 17:29
by cisco007
you would write the video id found on the youtube video url!

Re: Custom Profile Fields - Ordering and Display

Posted: 30 May 2010, 03:50
by apnaitaly
how i can enable Youtube AutoPlay in favourite youtube custom Profile Field..

i mean when any one view my profile autometicllly youtube video which i have addes play with out Click on Play button ,


Thanks