SMF For Free Support Forum
Signup For Free Forum
September 30, 2014, 05:20:07 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to SMF For Free. The best free SMF Host
 
   Home   Help Search Arcade Gallery Login Register Chat  

Pages: [1] 2 3 4 5
  Print  
Author Topic: [GUIDE] Custom Profile Fields  (Read 41090 times)
0 Members and 1 Guest are viewing this topic.
Kimmie
SMF For Free Master
*
Offline Offline

Posts: 2010


View Profile WWW
Total Badges: 19
Badges: (View All)
Topic Starter Combination Level 4 Level 3 Level 2
« 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:
[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:
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:
[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:
<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:
" 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 » Logged

Stitch
SMF For Free Full Member
*
Offline Offline

Posts: 213


VMK will always remain in my heart.


View Profile WWW
Total Badges: 14
Badges: (View All)
Topic Starter Combination Level 3 Level 2 Level 1
« 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:
[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 » Logged

simply sibyl
Helpers
*
Offline Offline

Posts: 14347


On hiatus


View Profile WWW
Total Badges: 31
Badges: (View All)
Level 6 Poll Voter Webmaster Arcade Highscore Windows User
« 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:
[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 » Logged
Stitch
SMF For Free Full Member
*
Offline Offline

Posts: 213


VMK will always remain in my heart.


View Profile WWW
Total Badges: 14
Badges: (View All)
Topic Starter Combination Level 3 Level 2 Level 1
« 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
Logged

simply sibyl
Helpers
*
Offline Offline

Posts: 14347


On hiatus


View Profile WWW
Total Badges: 31
Badges: (View All)
Level 6 Poll Voter Webmaster Arcade Highscore Windows User
« 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
Logged
EyeSpyDesigns
SMF For Free Member
*
Offline Offline

Posts: 48



View Profile
Total Badges: 13
Badges: (View All)
Topic Starter Combination Level 3 Level 2 Level 1
« 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. Smiley Made my day! smitten
Logged

Zixus
SMF For Free Newbie
*
Offline Offline

Posts: 4


View Profile
Total Badges: 9
Badges: (View All)
Topic Starter Combination Level 2 Level 1 First Post
« 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?
Logged



Girls Do Rule Smiley
simply sibyl
Helpers
*
Offline Offline

Posts: 14347


On hiatus


View Profile WWW
Total Badges: 31
Badges: (View All)
Level 6 Poll Voter Webmaster Arcade Highscore Windows User
« 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.
Logged
Zixus
SMF For Free Newbie
*
Offline Offline

Posts: 4


View Profile
Total Badges: 9
Badges: (View All)
Topic Starter Combination Level 2 Level 1 First Post
« Reply #8 on: August 02, 2008, 01:00:17 pm »

Oh right, thanks Cheesy i might add like 10 then get some rest  laugh
Logged



Girls Do Rule Smiley
Stitch
SMF For Free Full Member
*
Offline Offline

Posts: 213


VMK will always remain in my heart.


View Profile WWW
Total Badges: 14
Badges: (View All)
Topic Starter Combination Level 3 Level 2 Level 1
« 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
Logged

simply sibyl
Helpers
*
Offline Offline

Posts: 14347


On hiatus


View Profile WWW
Total Badges: 31
Badges: (View All)
Level 6 Poll Voter Webmaster Arcade Highscore Windows User
« 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  Wink   It would be way down there on mine too.
« Last Edit: August 14, 2008, 10:47:13 pm by simply sibyl » Logged
Stitch
SMF For Free Full Member
*
Offline Offline

Posts: 213


VMK will always remain in my heart.


View Profile WWW
Total Badges: 14
Badges: (View All)
Topic Starter Combination Level 3 Level 2 Level 1
« Reply #11 on: August 14, 2008, 10:51:14 pm »

ohh and awww Sad buck2
Logged

simply sibyl
Helpers
*
Offline Offline

Posts: 14347


On hiatus


View Profile WWW
Total Badges: 31
Badges: (View All)
Level 6 Poll Voter Webmaster Arcade Highscore Windows User
« 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   Cheesy
Logged
Josh[y]
SMF For Free Sr. Member
*
Offline Offline

Posts: 478


<Insert whitty tagline here.>


View Profile
Total Badges: 14
Badges: (View All)
Topic Starter Combination Level 3 Level 2 Level 1
« 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.
Logged

nicolei02
SMF For Free Newbie
*
Offline Offline

Posts: 5



View Profile WWW
Total Badges: 10
Badges: (View All)
Topic Starter Combination Level 2 Level 1 First Post
« Reply #14 on: September 11, 2008, 06:50:29 am »

Forum Url: http://powertrip.smfforfree2.com
this is cool! Cheesy
thanks! you're of great help!
Logged



Pages: [1] 2 3 4 5
  Print  
 
Jump to:  



Powered by SMF 1.1.19 | SMF © 2013, Simple Machines