Create A Forum - Support Forums

Support => Create a Forum Codes and Support => Topic started by: Agent Moose on March 16, 2011, 07:48:25 pm

Title: [Code] UserPage
Post by: Agent Moose on March 16, 2011, 07:48:25 pm
Well, hello there :)

I have decided to re-create the UserPage code I had created for SMF For Free for CreateAForum.  It's not all up to par like the SMF For Free version, but it has the basics :)

Preview: Clicky! (http://usercombo.createaforum.com/?action=profile;u=1;sa=UserPage)

Features:

Setting up:
Create a profile Field:
Before you can create a profile field, you need to make sure that you have the Custom Profile Field addon on:
 - Go to Core Features, and under there you will see an option for "Advanced Profile Fields".  Make sure that it's on.
Now go to Features and Options > Profile Fields > New Field
Here are the options you need to set:

Quote
Name: Page Content
Description: This is the area for your page.  You may add anything you wish, as long as it follows the Terms of Service.
Profile Section: Forum Profile
Show on Registration: (Your choice)
Show on Topic View: Unchecked
Choose Placement: Standard (with title)
Field Type: Large Text
Maximum Length: 0
Dimensions:
    Rows: 10
    Columns: 30
Allow BBC: Checked
Privacy: Users can see this field; owners can edit it
Searchable: (Your choice)
Active: Checked

Quote
Name: Page CSS
Description: Insert your own CSS so your page can be unique!
Profile Section: Forum Profile
Show on Registration: (Your choice)
Show on Topic View: Unchecked
Choose Placement: Standard (with title)
Field Type: Large Text
Maximum Length: 0
Dimensions:
    Rows: 4
    Columns: 30
Allow BBC: Checked
Privacy: Users can see this field; owners can edit it
Searchable: (Your choice)
Active: Checked

Quote
Name: Page Music
Description: Insert a Music URL (.mp3, .wav, .midi, .mid) for your background music on your page.
Profile Section: Forum Profile
Show on Registration: (Your choice)
Show on Topic View: Unchecked
Choose Placement: Standard (with title)
Field Type: Text
Maximum Length: 255
Allow BBC: Checked
Input Mask: No HTML
Privacy: Users can see this field; owners can edit it
Searchable: (Your choice)
Active: Checked

Now that you have all that done, you may add this following code to your footers:
Admin > Configure > Style Manager > Footers:
Code: [Select]
<script type="text/javascript">
var ReportTo = new Array("ADMIN 1", "ADMIN 2", "MODERATOR 1", "ECT.");
</script><script type="text/javascript" src="http://z4.ifrm.com/12428/46/0/f5038014/UserPageCAF.js"></script>

You may change "ADMIN 1" ect. to the user(s) you want the reported pages to PM to.
Example:
Code: [Select]
var ReportTo = new Array("Agent Moose", "Spankr Poodle");Or if you want it to be sent to just one user:
Code: [Select]
var ReportTo = new Array("Agent Moose");

That's it!

Enjoy :)
Title: Re: [Code] UserPage
Post by: Agent Moose on March 26, 2011, 02:43:23 pm
If you would like to test an upgraded version of this code, you can register here:
http://usercombo.createaforum.com/index.php

I will release the code on that forum when I get all bugs out of it.
Title: Re: [Code] UserPage
Post by: Agent Moose on March 14, 2012, 01:58:28 pm
It's been awhile since I have released anything coding wise, but I am always updating codes (mainly UserPage :P)

I have recently did a major update on this code.  I have got the first post of this topic ready for you all, but the code isn't uploaded yet because it is on my computer, which I am not on right now.

I will inseart the code in the first post later today though :)  For now, you can look at the new features here:
http://usercombo.createaforum.com/?action=profile;u=1;sa=UserPage
Title: Re: [Code] UserPage
Post by: aIURbliS on March 19, 2012, 05:19:38 pm
It's been 5 days, is the code ever coming?
Title: Re: [Code] UserPage
Post by: Agent Moose on March 20, 2012, 02:13:50 am
It is.  The day I posted this I noticed a problem with the code though, so I couldn't add it :\  Sorry about that.  I will get it up sooner or later, I promise.
Title: Re: [Code] UserPage
Post by: aIURbliS on April 22, 2012, 04:08:41 pm
Been a while now o.O
Title: Re: [Code] UserPage
Post by: billk123 on September 09, 2012, 04:01:07 am
Is this finished yet?
Title: Re: [Code] UserPage
Post by: Agent Moose on November 27, 2012, 01:53:49 am
As I said, sooner or later.  It was more later than sooner, but it's done :D

The first post has been edited with the code.  If you find any bugs, please report it to this topic.
Title: Re: [Code] UserPage
Post by: aIURbliS on November 27, 2012, 02:04:23 am
Agent Moose has returned!
Title: Re: [Code] UserPage
Post by: Agent Moose on November 27, 2012, 02:07:59 am
Going to be honest, probably wont be posting very long :P  Not sure how long I will be back. :P

EDIT:
Had to edit the first post.  I updated the code because it wasn't running on IE or FF from where I uploaded the code at.