Advertise Here

Author Topic: [GUIDE] Custom Profile Fields  (Read 71588 times)

0 Members and 2 Guests are viewing this topic.

Offline Kimmie

  • SMF For Free Master
  • *
  • Posts: 2010
    • View Profile
    • Kimmie's Caverns

  • Total Badges: 19
    Badges: (View All)
    Topic Starter Combination Level 4 Level 3 Level 2
[GUIDE] Custom Profile Fields
« on: March 31, 2007, 09:40:16 am »
Custom Profile Fields
Admin > Features and Options > Custom Profile Fields

Gives you the ability to create custom profile fields.
With some imagination there are many things you can do with Custom Profile Fields.  

Below you will find a few examples of things you can do:  
Location Field, Secondary Group, Profile Music, Mood, Profile Background,  Profile Popup, YouTube Video in Profile
Other uses for Custom Profile Fields:
Warning System
Infractions System
Rewards System
Youtube Video in Profile
 


Make a Location Field:    
When someone registers on your forum there will be a Location Field where they can type in their location.  
Their location will then show on their profile and in posts.   You could also use this for asking them  "How did you hear about our forum?   etc. and have it show only on the profile, only you can see it.  Use your imagination!


Go to Admin CP > Features and Options > Custom Profile Field
Check the box marked ENABLE UNNAMED FIELD.
Select the TEXT in the dropdown box then click  SETTINGS

Settings Page:

Name: The name you choose here is what will show up on their profile page.
Field Description: This is what will show up on their posts.
Show in Profile:   Put a check here if you want it to show in the Profile
Show in Posts:  Choose  "show under post count"
Show on Registration?:   Choose "Optional" or "Forced"  (Forced will force them to answer the field)
Only allow admins to view field?:   Choose this if you want to be the only one to see the field.


When making the custom profile field for your registration page, The "NAME" field is a brief name for it, and the field description is where you need to type your question such as "How did you hear about us"?



Show secondary membergroup in posts or profile:  
(Could be used for rewards, warnings, use your imagination)


You will need to find/make the images you want to use, host them on someplace like Photobucket, get the "direct" links for them.
If you do not know what the direct link is:   Help with Choosing Links at Photobucket

Go to Admin > Features and Options > Custom Profile Fields
Choose TEXT in the dropdown box
Clic:  SETTINGS

Name: Secondary Group.  The name you put here is what will show up on their profile page.
Field Description: Secondary Group.  This is what will show up on their posts just above the image.
Show in Profile:   Put a check here if you want it to show in the Member's Profile
Show in Posts:  Choose  "show under post count" to show the image in Posts
Parse BBC:   Put a checkmark here

Screenshot: 



To put them on their profile go to their profile..   scroll down and find Secondary Group.
In the box to the right of it do:  
Code: [Select]
[img]IMAGE URL[/img]Replace IMAGE URL with the url of the image you want to show in their posts/profile




This is how it will look in their posts:
(Used my little sig bar for the example)




The following examples copied from a post by trevix:
orignally posted here


Profile Music:

TypeText
Show in profile?Yes
Show in posts?No
Text to display before field<embed src="
Text to display after field" autostart="true" loop="true" height="18" width="100%" volume="100" />
NotesText to display after field has lots of possibilities, edit it to fit your site


Profile Wallpaper:

TypeText
Show in profile?Yes
Show in posts?No
Text to display before field <style type="text/css">body { background: url("
Text to display after field ") fixed center no-repeat;}</style>
NotesYou can edit fixed center no-repeat in the Text to display after field to change around the background styling

Profile Mood:


Type:  Selection Box

Name:   Mood
Field Discription:  Mood
Show in posts?:   Yes
Show in profile?:   Yes
Options/Possible Moods:
Code: [Select]
Accepted
Accomplished
Aggravated
Aggressive
Alone
Amazed
Amused
Angelic
Angry
Annoyed
Anxious
Apathetic
Ashamed
Asleep
Awake
Bashful
Bewildered
censoredy
Bittersweet
Blah
Blank
Blissful
Bored
Bouncy
Breezy
Brooding
Busy
Buzzed
Calm
Chatty
Cheeky
Cheerful
Chipper
Cold
Complacent
Confused
Content
Cool
Cranky
Crappy
Crazy
Crushed
Curious
Curmudgeon
Cynical
Daring
Dark
Dead
Depressed
Determined
Devilish
Devious
Dirty
Disappointed
Discontent
Ditzy
Doh
Dorky
Doubtful
Drained
Drunk
Ecstatic
Energetic
Enraged
Enthralled
Envious
Exanimate
Excited
Exhausted
Fine
Flirty
Frustrated
Full
Gay
Geeky
Giddy
Giggly
Gloomy
Good
Goofy
Grateful
Groggy
Grumpy
Guilty
Happy
High
Hopeful
censored
Hot
Hungry
Hyper
Impressed
In Love
Indescribable
Indifferent
Infuriated
Innocent
Inspired
Irate
Irritated
Jealous
Jubilant
Lazy
Lethargic
Listless
Lonely
Loved
Lurking
Mad
Melancholy
Mellow
Mischievous
Moody
Morose
Naughty
Nerdy
Numb
Okay
Optimistic
Paranoid
Peaceful
Pensive
Pessimistic
censoreded Off
Pleased
Predatory
Psychedelic
Quixotic
Recumbent
Refreshed
Rejected
Rejuvenated
Relaxed
Relieved
Restless
Rushed
Sad
Satisfied
Scared
Shocked
Sick
Silly
Sleepy
Smart
Sneaky
Stressed
Surprised
Sympathetic
Thankful
Tired
Tolerant
Touched
Twisted
Uncomfortable
Volatile
Weird
Worried
Yeehaw

You can use images instead of words.
Put a check mark in:   Parse BBC.
For each Option instead of words do the images like this:

Code: [Select]
[img]MOOD IMAGE URL GOES HERE[/img]

Custom Popup:

TypeText
Show in profile?Yes
Show in posts?No
Text to display before field<script language="JavaScript">alert("
Text to display after field")</script>
Based off the topic by SbS


YouTube Video in Profile Page:

Thanks to Kyouri for figuring this out.

Make sure the 'Parse BBC' is UNchecked.

Text to display before field (BBC is ok if enabled above)
Code: [Select]
<object width="300" height="300"><param name="movie" value="http://www.youtube.com/v/"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/
Text to display after field (BBC is ok if enabled above)
Code: [Select]
" type="application/x-shockwave-flash" wmode="transparent" width="300" height="300"></embed></object> *Make sure there is no space before the first ' " ' sign, but that there is a space between it and ' type.... '.

All the member will need to do, is place all the text following the ' = ' sign in the video url, into the text field on their Forum Profile Information page, and click save.

This code can be modified to adjust the width and height of the player to better suit your needs, but remember to change them both in the 'before' AND 'after' codes.


« Last Edit: July 10, 2011, 11:07:20 am by simply sibyl »

Offline Stitch

  • SMF For Free Full Member
  • *
  • Posts: 213
  • VMK will always remain in my heart.
    • View Profile
    • Project: Phoenix

  • Total Badges: 14
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [GUIDE] Custom Profile Fields
« Reply #1 on: June 15, 2008, 03:04:41 pm »
Forum Url: http://projectphoenix.smfforfree4.com
sorry im new to this coding thing but for the moods how do u add images? i checked bbc parse put the
Code: [Select]
[img][/img] and put the image url http://www.uploadgeek.com/uploads456/1/AFK.gif and it doent work
« Last Edit: June 15, 2008, 03:18:32 pm by Stitch »

Offline simply sibyl

  • Helpers
  • *
  • Posts: 14347
  • On hiatus
    • View Profile
    • The Tent Dwellers

  • Total Badges: 31
    Badges: (View All)
    Level 6 Poll Voter Webmaster Arcade Highscore Windows User
Re: [GUIDE] Custom Profile Fields
« Reply #2 on: June 15, 2008, 03:28:35 pm »
I got it to work.  It wouldnt when I tried your image but it is working with one of mine using an image hosted on photobucket.

Make sure Parse BBC is clicked

In the options put them in this way:

Code: [Select]
[img]MOOD IMAGE URL GOES HERE[/img]
This is how it will look:

« Last Edit: June 15, 2008, 03:31:56 pm by simply sibyl »

Offline Stitch

  • SMF For Free Full Member
  • *
  • Posts: 213
  • VMK will always remain in my heart.
    • View Profile
    • Project: Phoenix

  • Total Badges: 14
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [GUIDE] Custom Profile Fields
« Reply #3 on: June 15, 2008, 03:40:50 pm »
- bangs head on computer - lol it worked sorta see i was looking at the profire where u choose the mood picture it wasnt showing up so i thought it wasnt working but it shows up in the posts ok ty

Offline simply sibyl

  • Helpers
  • *
  • Posts: 14347
  • On hiatus
    • View Profile
    • The Tent Dwellers

  • Total Badges: 31
    Badges: (View All)
    Level 6 Poll Voter Webmaster Arcade Highscore Windows User
Re: [GUIDE] Custom Profile Fields
« Reply #4 on: June 15, 2008, 03:42:23 pm »
- bangs head on computer - lol it worked sorta see i was looking at the profire where u choose the mood picture it wasnt showing up so i thought it wasnt working but it shows up in the posts ok ty

lol okay
I edited the instructions abit just now so its clearer on what to do

Offline EyeSpyDesigns

  • SMF For Free Member
  • *
  • Posts: 48
    • View Profile

  • Total Badges: 13
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [GUIDE] Custom Profile Fields
« Reply #5 on: August 02, 2008, 09:58:32 am »
this was VERY helpful!! Thank you so much for taking the time to write it out. :) Made my day! :smitten:

Offline Zixus

  • SMF For Free Newbie
  • *
  • Posts: 4
    • View Profile

  • Total Badges: 9
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 First Post
Re: [GUIDE] Custom Profile Fields
« Reply #6 on: August 02, 2008, 12:49:29 pm »
I am not sure on the mood one, do i have to keep making options and typing the moods up in them?


Girls Do Rule :)

Offline simply sibyl

  • Helpers
  • *
  • Posts: 14347
  • On hiatus
    • View Profile
    • The Tent Dwellers

  • Total Badges: 31
    Badges: (View All)
    Level 6 Poll Voter Webmaster Arcade Highscore Windows User
Re: [GUIDE] Custom Profile Fields
« Reply #7 on: August 02, 2008, 12:51:04 pm »
Yes you do.  You'll have to do that for every choice you want in it.
I use it on my own forum.  It does work well.
There is one thing I wish there were a way around though and there isnt. 
If you even view a profile>forum profile imformation  that has not had that option set in it by the member it will set it to the first one in the list.   I have not found a way for it not to do that.

Offline Zixus

  • SMF For Free Newbie
  • *
  • Posts: 4
    • View Profile

  • Total Badges: 9
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 First Post
Re: [GUIDE] Custom Profile Fields
« Reply #8 on: August 02, 2008, 01:00:17 pm »
Oh right, thanks :D i might add like 10 then get some rest  :laugh:


Girls Do Rule :)

Offline Stitch

  • SMF For Free Full Member
  • *
  • Posts: 213
  • VMK will always remain in my heart.
    • View Profile
    • Project: Phoenix

  • Total Badges: 14
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [GUIDE] Custom Profile Fields
« Reply #9 on: August 14, 2008, 10:28:02 pm »
hmm for the secondary group thing here is what mine looks like



why is it allll the way down there now right under where the Administrator tag is

Offline simply sibyl

  • Helpers
  • *
  • Posts: 14347
  • On hiatus
    • View Profile
    • The Tent Dwellers

  • Total Badges: 31
    Badges: (View All)
    Level 6 Poll Voter Webmaster Arcade Highscore Windows User
Re: [GUIDE] Custom Profile Fields
« Reply #10 on: August 14, 2008, 10:44:54 pm »
Cus it puts it right above the post count and you have a lot more stuff on there then I do in the screenshot for that  ;)   It would be way down there on mine too.
« Last Edit: August 14, 2008, 10:47:13 pm by simply sibyl »

Offline Stitch

  • SMF For Free Full Member
  • *
  • Posts: 213
  • VMK will always remain in my heart.
    • View Profile
    • Project: Phoenix

  • Total Badges: 14
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [GUIDE] Custom Profile Fields
« Reply #11 on: August 14, 2008, 10:51:14 pm »
ohh and awww :( :buck2:

Offline simply sibyl

  • Helpers
  • *
  • Posts: 14347
  • On hiatus
    • View Profile
    • The Tent Dwellers

  • Total Badges: 31
    Badges: (View All)
    Level 6 Poll Voter Webmaster Arcade Highscore Windows User
Re: [GUIDE] Custom Profile Fields
« Reply #12 on: August 14, 2008, 10:54:47 pm »
It says "show under post count" in the dropdown box for Show in Posts.
Oddly it always puts things just above it, not under it   :D

Offline Josh[y]

  • SMF For Free Sr. Member
  • *
  • Posts: 478
  • <Insert whitty tagline here.>
    • View Profile

  • Total Badges: 14
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [GUIDE] Custom Profile Fields
« Reply #13 on: August 28, 2008, 12:45:53 pm »
On the Custom Wallpaper, what do I put in the box? I tried the url to an image and it didnt work. And I tried a url to a layout preview and that didnt work either.

Offline nicolei02

  • SMF For Free Newbie
  • *
  • Posts: 5
    • View Profile
    • http://marvieluz.multiply.com

  • Total Badges: 10
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 First Post
Re: [GUIDE] Custom Profile Fields
« Reply #14 on: September 11, 2008, 06:50:29 am »
Forum Url: http://powertrip.smfforfree2.com
this is cool! :D
thanks! you're of great help!

 

Related Topics

  Subject / Started by Replies Last post
22 Replies
21012 Views
Last post November 18, 2010, 10:38:24 am
by Death 2 come
0 Replies
756 Views
Last post October 16, 2013, 10:37:39 am
by Jen Lee
4 Replies
1081 Views
Last post May 26, 2014, 12:49:40 pm
by Agent Moose Jr.