DIR Return Create A Forum - Home
---------------------------------------------------------
Create A Forum - Support Forums
HTML https://support.createaforum.com
---------------------------------------------------------
*****************************************************
DIR Return to: Create a Forum Codes and Support
*****************************************************
#Post#: 1359--------------------------------------------------
[Code] UserPage
DIR By: Agent Moose
Date: March 16, 2011, 2:48 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!
HTML http://usercombo.createaforum.com/?action=profile;u=1;sa=UserPage
Features:
- Each user has their own page
- Users can edit their page freely, as long as it follows the
rules their page is on, and the Terms of Service for
CreateAForum.
- Users can add their own CSS
- Users can Add their own music (Only one song for now)
- Quick Edit feature
- Admins can edit/Quick Edit any page
- Report System (upgraded from SMF for Free's version of
UserPage)
- Links under "Profile" tab to view/edit your page
- Links on profile summary to view page, and if it's your
profile, or you're an admin, you get an "Edit Page" link too.
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
>
--- End Quote ---
--- 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
>
--- End Quote ---
--- 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
>
--- End Quote ---
Now that you have all that done, you may add this following code
to your footers:
Admin > Configure > Style Manager > Footers:
--- Code ---
<script type="text/javascript">
var ReportTo = new Array("ADMIN 1", "ADMIN 2", "MODERATOR 1",
"ECT.");
</script><script type="text/javascript"
src="
HTML http://z4.ifrm.com/12428/46/0/f5038014/UserPageCAF.js"></script>
--- End Code ---
You may change "ADMIN 1" ect. to the user(s) you want the
reported pages to PM to.
Example:
--- Code ---
var ReportTo = new Array("Agent Moose", "Spankr Poodle");
--- End Code ---
Or if you want it to be sent to just one user:
--- Code ---
var ReportTo = new Array("Agent Moose");
--- End Code ---
That's it!
Enjoy :)
#Post#: 1402--------------------------------------------------
Re: [Code] UserPage
DIR By: Agent Moose
Date: March 26, 2011, 9:43 am
---------------------------------------------------------
If you would like to test an upgraded version of this code, you
can register here:
HTML http://usercombo.createaforum.com/index.php
I will release the code on that forum when I get all bugs out of
it.
#Post#: 3854--------------------------------------------------
Re: [Code] UserPage
DIR By: Agent Moose
Date: March 14, 2012, 8:58 am
---------------------------------------------------------
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:
HTML http://usercombo.createaforum.com/?action=profile;u=1;sa=UserPage
#Post#: 3891--------------------------------------------------
Re: [Code] UserPage
DIR By: xboi209
Date: March 19, 2012, 12:19 pm
---------------------------------------------------------
It's been 5 days, is the code ever coming?
#Post#: 3895--------------------------------------------------
Re: [Code] UserPage
DIR By: Agent Moose
Date: March 19, 2012, 9:13 pm
---------------------------------------------------------
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.
#Post#: 4243--------------------------------------------------
Re: [Code] UserPage
DIR By: xboi209
Date: April 22, 2012, 11:08 am
---------------------------------------------------------
Been a while now o.O
#Post#: 6122--------------------------------------------------
Re: [Code] UserPage
DIR By: billk123
Date: September 8, 2012, 11:01 pm
---------------------------------------------------------
Is this finished yet?
#Post#: 7456--------------------------------------------------
Re: [Code] UserPage
DIR By: Agent Moose
Date: November 26, 2012, 7:53 pm
---------------------------------------------------------
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.
#Post#: 7458--------------------------------------------------
Re: [Code] UserPage
DIR By: xboi209
Date: November 26, 2012, 8:04 pm
---------------------------------------------------------
Agent Moose has returned!
#Post#: 7459--------------------------------------------------
Re: [Code] UserPage
DIR By: Agent Moose
Date: November 26, 2012, 8:07 pm
---------------------------------------------------------
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.
*****************************************************
Page 1 of 1