Advertise Here

Author Topic: [Code] UserPage  (Read 26709 times)

0 Members and 1 Guest are viewing this topic.

Offline Agent Moose

  • Moderator
  • *****
  • Posts: 836
  • Do not PM me for Code Support or Request
    • View Profile

  • Total Badges: 32
    Badges: (View All)
    Search Level 6 Tenth year Anniversary Nineth year Anniversary Eighth year Anniversary
[Code] UserPage
« on: November 30, 2007, 06:59:48 pm »
Add this to your Headers if you don't have it already.  If you already have it, don't add it:
Code: [Select]
<script src="/jquery.js"></script>
Preview: http://usercombo.smfforfree4.com/

UserPage allowes you to have your own page!  Each one of your members can have it customised with the own text, Images and more!

Features:
-Admin Can Edit All Pages
-Everyone can have a diffrent page.
-You may use Image, Text and BBCode.
-NEW: You may now add Music.  Just add [music=URL]BAND NAME[/music] into the UserPage :).

Before you add the accual code, you have to create a profile field, so Go to:

Admin >> Features and Options >> Custom Profile Field.

1. Click the Add A Field button.
2. Make sure the Field is Enabled, and the Type of Field is set to "Text Area".  Now Save.
3. Click "Settings" on the Field you just created and make sure you have the settings like this:

4. You may Set the Settings in Red box to your choice
5. Press Save.

There ya go, You may now add this to your Footers:
Code: [Select]
<script>document.write("<script src='http://209.85.62.24/365/94/0/f367129/UserPage.js'><\/script>");</script>There ya go!

Editing The Page
1. Go to Profile >> Edit UserPage.
Another way to edit your page is when your viewing it, there is a link that says "Edit Your Page", click on that.
3. If your an Admin, you can view any users page and edit that page by clicking "Edit This Page".

Viewing The Page
1. Go to Profile >> View UserPage.
2. View anytopic and there will be a link in the Mini-Profile that says "View My Page"


Thats it!  If you have any problems with the code, please notify me :)

UserPage Updated

Backgrounds:
-Add [background=IMAGE URL] anywhere in your UserPage to change the background of your userpage.
-Quick Edit Page Link added right next to Report Page.

Music:
Just add [music=URL]BAND NAME[/music] anywhere in your UserPage and it will start playing as soon as someone visits your page
« Last Edit: June 27, 2009, 04:57:28 pm by Agent Moose »
Check out Revolution X's Brand new Code Index!

Offline Molly

  • SMF For Free Full Member
  • *
  • Posts: 157
    • View Profile
    • Oak Grove

  • Total Badges: 15
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Code] UserPage
« Reply #1 on: December 01, 2007, 09:02:10 pm »
Forum Url: http://druid.smfforfree3.com
Ok, added it and when I go to edit page it takes me to editing my profile. Help lol :crazy2:

Offline Agent Moose

  • Moderator
  • *****
  • Posts: 836
  • Do not PM me for Code Support or Request
    • View Profile

  • Total Badges: 32
    Badges: (View All)
    Search Level 6 Tenth year Anniversary Nineth year Anniversary Eighth year Anniversary
Re: [Code] UserPage
« Reply #2 on: December 02, 2007, 07:21:35 am »
Forum Url: http://druid.smfforfree3.com
Ok, added it and when I go to edit page it takes me to editing my profile. Help lol :crazy2:
You need to make sure that you have the Field set as a Text Area. ;)
Check out Revolution X's Brand new Code Index!

Offline Coreeeey

  • SMF For Free Sr. Member
  • *
  • Posts: 307
    • View Profile
    • Forum Evolve

  • Total Badges: 16
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Code] UserPage
« Reply #3 on: December 02, 2007, 10:26:24 pm »
Forum Url: http://druid.smfforfree3.com
Ok, added it and when I go to edit page it takes me to editing my profile. Help lol :crazy2:
You need to make sure that you have the Field set as a Text Area. ;)

Its the same way on my forums and I do have it set as Text Area.

Offline Molly

  • SMF For Free Full Member
  • *
  • Posts: 157
    • View Profile
    • Oak Grove

  • Total Badges: 15
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Code] UserPage
« Reply #4 on: December 03, 2007, 01:31:09 am »
Forum Url: http://druid.smfforfree3.com
Ok, added it and when I go to edit page it takes me to editing my profile. Help lol :crazy2:
You need to make sure that you have the Field set as a Text Area. ;)

It is. Here is what I have.




None of my scripts are working either (the change tab name and adding of my posting points. Only diff is I changed the jquery line but it did work right earlier.)

Edit: I changed the jquery script back to your earlier one; I will watch for when you have the bugs worked out on the new one and then change it. I can't find the thread to post that in sorry.
« Last Edit: December 03, 2007, 02:28:12 am by Gwenllian »

Offline Agent Moose

  • Moderator
  • *****
  • Posts: 836
  • Do not PM me for Code Support or Request
    • View Profile

  • Total Badges: 32
    Badges: (View All)
    Search Level 6 Tenth year Anniversary Nineth year Anniversary Eighth year Anniversary
Re: [Code] UserPage
« Reply #5 on: December 03, 2007, 02:40:44 pm »
Gwenllian, You don't have the Type Set right.  It needs to be "Text Area", not "Text".
Check out Revolution X's Brand new Code Index!

Offline Sassy Šiva™

  • SMF For Free Sr. Member
  • *
  • Posts: 292
    • View Profile

  • Total Badges: 17
    Badges: (View All)
    Level 4 Windows User Topic Starter Combination Level 3
Re: [Code] UserPage
« Reply #6 on: December 03, 2007, 03:02:07 pm »
Mine was set to text area, and it still didnt work  :'(

Offline Molly

  • SMF For Free Full Member
  • *
  • Posts: 157
    • View Profile
    • Oak Grove

  • Total Badges: 15
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Code] UserPage
« Reply #7 on: December 03, 2007, 10:09:47 pm »
Gwenllian, You don't have the Type Set right.  It needs to be "Text Area", not "Text".

Cool, changed it. It has a text box in the profile you edit to work in. Thanks Moose. :) Although when I was in a thread and clicked to view page it said I had nothing there (here ya go)

when I do; you can see it when you go to my profile. So something is still not right. Also can we change the Pagecontent to something like WebPageContent so it is more noticeable in the profile of just what it is? If I had not known what I had put there I'd have not known just what it is.
« Last Edit: December 03, 2007, 11:51:10 pm by Gwenllian »

Offline Agent Moose

  • Moderator
  • *****
  • Posts: 836
  • Do not PM me for Code Support or Request
    • View Profile

  • Total Badges: 32
    Badges: (View All)
    Search Level 6 Tenth year Anniversary Nineth year Anniversary Eighth year Anniversary
Re: [Code] UserPage
« Reply #8 on: December 04, 2007, 02:44:02 pm »
I see why yours doesn't work.  The Name of the feild should be Page Content.  Not PageContent.
Check out Revolution X's Brand new Code Index!

Offline Coreeeey

  • SMF For Free Sr. Member
  • *
  • Posts: 307
    • View Profile
    • Forum Evolve

  • Total Badges: 16
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Code] UserPage
« Reply #9 on: December 04, 2007, 07:11:06 pm »
Tell me why mine doesn't work

Offline LaundryLady

  • Helpers
  • *
  • Posts: 3253
  • Internet Challenged
    • View Profile

  • Total Badges: 26
    Badges: (View All)
    Seventh year Anniversary Sixth year Anniversary Search Poll Voter Level 5
Re: [Code] UserPage
« Reply #10 on: December 04, 2007, 08:55:24 pm »
Coreeey, If you post what you have so Agent Moose can see it, it will help him help you.


And I Play:  Mafia-Mandemz

Offline Coreeeey

  • SMF For Free Sr. Member
  • *
  • Posts: 307
    • View Profile
    • Forum Evolve

  • Total Badges: 16
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Code] UserPage
« Reply #11 on: December 05, 2007, 03:28:45 pm »
THUMBNAILS! Click them!  ;)



« Last Edit: December 05, 2007, 04:00:35 pm by Coreeeey »

Offline LaundryLady

  • Helpers
  • *
  • Posts: 3253
  • Internet Challenged
    • View Profile

  • Total Badges: 26
    Badges: (View All)
    Seventh year Anniversary Sixth year Anniversary Search Poll Voter Level 5
Re: [Code] UserPage
« Reply #12 on: December 05, 2007, 04:43:41 pm »
Moose said this in a prior post:

Quote
The Name of the feild should be Page Content.  Not PageContent.
  I see you have it the same way in your post.


And I Play:  Mafia-Mandemz

Offline Coreeeey

  • SMF For Free Sr. Member
  • *
  • Posts: 307
    • View Profile
    • Forum Evolve

  • Total Badges: 16
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Code] UserPage
« Reply #13 on: December 06, 2007, 12:53:59 am »
Moose said this in a prior post:

Quote
The Name of the feild should be Page Content.  Not PageContent.
  I see you have it the same way in your post.

Nope, if you look at Moose's instructions for this code he says that the "Name" should be "Page Content" and the "Field ID" should be "PageContent"

But any who, its working now. Could it have been because I'm on server 4 and jquery wasn't added to sever 4 until yesterday?

One more thing...Can html be used on UserPages?
« Last Edit: December 06, 2007, 01:01:16 am by Coreeeey »

Offline deathwilldie

  • Style Designer
  • *
  • Posts: 770
  • Give me an idea for a Stylesheet
    • View Profile
    • Revolution X

  • Total Badges: 28
    Badges: (View All)
    Tenth year Anniversary Nineth year Anniversary Search Eighth year Anniversary Seventh year Anniversary
Re: [Code] UserPage
« Reply #14 on: December 06, 2007, 05:10:36 am »
No you can't use html on those.