Board | Threads | Posts | Last Post | |
---|---|---|---|---|
The Encyclopedia Here you can find everything you'll need to know about the forum and community; rules, account registeration, info, ect. |
7 | 7 |
How To Begin by Burn May 13, 2019 14:36:14 GMT -6 |
|
News & Announcements Find monthly Newsletters pertaining the site and roleplay here |
1 | 1 |
Opening News Bulletin by Burn May 13, 2019 13:41:58 GMT -6 |
|
Tips, Hints, & Help Find Q&A's, FAQ, and a Moderation thread here. Or post a thread to get help from staff and other members! |
21 | 24 |
指的是计算机程序 by account_disabled Apr 16, 2024 23:15:16 GMT -6 |
|
Board Wide Plots Have plot ideas for the site? Separate roleplays that can be hosted on this site? Create a thread and tell us about them here! |
3 | 3 |
Board | Threads | Posts | Last Post | |
---|---|---|---|---|
Roleplay Information Here you can find everything you'll need to know about the world of Fire Valley! |
6 | 6 |
History of Fire Valley by Burn Jun 7, 2019 16:58:21 GMT -6 |
|
Character Registration & Adoption You must post an application for each of your characters here. You can also adopt other characters, or put uo your own for adoption Sub-board: Character Adoption |
3 | 18 |
Character Registration by Ghost Dec 26, 2020 18:38:24 GMT -6 |
|
IC Details here you can find all the in character details here, biographies, development boards, plotters, and trackers Sub-boards: Biographies, Plotters , Trackers , Development Threads |
14 | 15 |
Board | Threads | Posts | Last Post | |
---|---|---|---|---|
Northern Valley Find the locations to the north of the valley here, this would include Fire Falls, The Gateway, and the mysterious Dark Forest Sub-boards: Mount Washburn, Dark Forest, The Gateway, Fire Falls |
4 | 4 |
并支持该品牌在捷 by account_disabled Jan 2, 2024 4:18:46 GMT -6 |
|
Mid Valley You can find all sorts of locations around the center of the valley, such as the Densite, Aurora Lake, The Rendezvous Site, and Border Springs Sub-boards: The Densite, Fire Fields, The Rendezvous, Border Springs |
1 | 1 |
用有价值的息来提高效率幅从 by account_disabled Jan 26, 2024 22:45:32 GMT -6 |
|
Southern Valley Everywhere in the southern half of the valley can be found here, this would include locations such as Misty Woods, Bighorn Cliffs, and the Blackstone River. Sub-boards: Bighorn Cliffs, Misty Woods |
4 | 29 |
In the algorithm developing by account_disabled Mar 11, 2024 21:58:42 GMT -6 |
Board | Threads | Posts | Last Post | |
---|---|---|---|---|
Member News Going away for a while? Or possibly dropping from the forum? Please inform us here and be safe on your travels |
1 | 1 | ||
Member Chat Talk about anything you like here, create threads for certain discussions, and find the discord link inside! |
1 | 3 | ||
Forum Games Play games or create new ones here |
2 | 4 |
Count To 35 Before A Staff Posts! by Burn Aug 13, 2019 9:51:58 GMT -6 |
Board | Threads | Posts | Last Post | |
---|---|---|---|---|
Affiliation Here you may affiliate with the Fire Valley website. |
1 | 1 |
Affiliation Form by Burn May 9, 2019 8:39:54 GMT -6 |
|
Advertising Here you may advertise any of your animal roleplays, this board is guest friendly |
0 | 0 | No posts have been made on this board. |
Board | Threads | Posts | Last Post | |
---|---|---|---|---|
General Archives Archived Off Topic threads, trackers, plotters, info, ect. Sub-boards: FV Info, Trackers/plotters, News, Off Topic |
3 | 3 | ||
Roleplay Archives Achived roleplay threads, biographies, dev threads, ect. Sub-boards: Dev Threads, Biographies, FV1, FV2, FV3 |
2 | 4 |
|
||||||
|
Installation | Customization |
---|---|
Click on any of the tabs above to go through the plugin configuration process!
You can access this menu at any time by clicking on the icon in the bottom right bar (may not be applicable if you're on Forums.net), or you can disable the welcome window and/or the icon by going to Plugins > Manage > Custom Mini-Profile Creator and changing the Show Help option.
To make the profile variables work you'll need to add a new line to the very end of Themes > Layout Templates > Mini-Profile and paste the code below on it. The code should be placed completely outside of the mini-profile, so if you're using the default mini-profile template this will be after the very last closing </div> tag. This needs to be done on every theme you have the plugin enabled on as the template is theme-specific.
If your mini-profile template is already customized and you've hit the variable limit for your template you're free to remove any lines from the code below if they contain information that you don't plan on using. For example, if you have no plans to ever add a user's IP to their mini-profile for staff reference you can remove <div class="mp-info ip">$[user.ip]</div> from the code and everything else will still work just fine.
Click to show example
Here's a quick rundown of each of the components in Plugins > Manage > Custom Mini-Profile Creator:
Name
This is the name you'll be adding to your custom profile field dropdown once you've finished coding the mini-profile. Pretty self-explanatory. Make sure this name is unique from every other name you use for your mini-profiles or you'll end up overwriting the earlier ones in the list.
HTML
This is the HTML that will go inside your mini-profile. You can use just about any HTML tag here so long as it's appropriate for where the mini-profile is showing on the page. Please refrain from using <style> or <script> tags here. You have the next two sections for that! Also, remember that mini-profiles can show multiple times on the same page, so you shouldn't add ID attributes to any of your elements here. Two elements on the same page cannot have the same ID per HTML standards.
CSS
This is where you'll place what would normally go in your forum's style sheet or what would normally be between <style> tags. Try to code your mini-profile's HTML in a way that will allow you to target it specifically with your selectors. For example, you can surround all of the content in your HTML with a <div> element with a class and target that class and its child elements specifically with your CSS. That way you don't accidentally target every mini-profile on the page with CSS that was meant for the one you're building. One more thing: The forum theme's CSS still applies beforehand, so your mini-profile may look right in one theme but not in another. The best way to circumvent this is to define as many styles as you can to override the theme's CSS.
Javascript
Anything that normally goes between <script> tags will go here. This one's a bit tricky since you'll obviously want to target the custom mini-profile specifically. Luckily there's an easy way to do that. In your statements you can use the $(this) variable to target the mini-profile if you're coding using jQuery. Otherwise, if you only plan on using standard Javascript you can target $(this)[0] instead.
- Mini-Profile Theme
- Staff Mini-Profile Theme
Mini-Profile Theme is for mini-profiles that are designed for member use. You can set the Who Can Edit option for this field to Staff With Power if you only want staff to be able to choose mini-profiles for users. Otherwise, if you want members to freely be able to choose their own mini-profiles you can choose Members and Staff With Power.
Staff Mini-Profile Theme is for mini-profiles designed specifically for staff use. This field is completely optional.
Set the type for both of these fields as Drop Down Selection. Click on the (View/Edit) link to add mini-profile names to each of these fields.
If you've just installed this plugin you should have three different mini-profiles already installed by default: Example 1, Example 2, and Example 3. You can add these to your dropdowns to test them out and see the plugin in action.
Click to show example
First, ensure that opening tag of your mini-profile template includes the $[miniprofile_class] variable in its class. On the default ProBoards theme it should look something like this:
<br /><span class="$[user.mini_custom_field.content_class]">$[user.mini_custom_field.name]: $[user.mini_custom_field.value]</span>
{/foreach}
To reference your forum's custom profile fields you can use $[user.customfieldname], substituting "customfieldname" with your custom field's name. You'll need to type the name in all lowercase with no spaces and only use characters A-Z and 0-9.
For example, Mini-Profile Theme becomes $[user.miniprofiletheme]. This will output the value of the custom field. In the case of this example, it'll be the name of the mini-profile theme you've chosen in your profile.
IMPORTANT NOTE: These will only work if you followed the steps in the Installation tab of this window on each of your themes. Any themes that do not include the template code specified there will not have these variables replaced in the mini-profile.
$[user] | User's display name link. |
$[user.age] | User's age (if visible to you). |
$[user.avatar] | User's current avatar. |
$[user.badges] | User's list of badges. |
$[user.birthday] | User's date of birth (if visible to you). |
$[user.color] | Hex color of user's group. If user is not in a group this will return inherit. |
$[user.custom_title] | User's custom title. |
$[user.email] | User's email (if visible to you). |
$[user.gender.image] | Image associated with the gender selected in the user's profile (if available). |
$[user.gender.text] | Name of gender selected in the user's profile (if available). |
$[user.group.name] | Name of user's current display group. |
$[user.group.stars] | Star images associated with user's current display group. |
$[user.id] | User's numerical ID. |
$[user.instant_messenger] | User's list of instant messengers specified in their profile (if available). |
$[user.invisible] | Returns 1 if a user is invisible. More useful for Javascript. |
$[user.ip] | User's IP address (if visible to you). |
$[user.is_online] | Returns Member is Online if user is currently online. |
$[user.is_staff] | Returns 1 if a user is designated as staff. More useful for Javascript. |
$[user.last_online] | Timestamp showing when user was last online. |
$[user.likes] | Number of likes this user's posts have received. |
$[user.location] | Location specified in user's profile. |
$[user.name] | User's display name in plain text. |
$[user.personal_text] | User's most recent status. |
$[user.posts] | User's post count. |
$[user.rank.name] | User's current posting rank. |
$[user.rank.stars] | Star images associated with user's current posting rank. |
$[user.registered_on] | Timestamp showing the date/time the user registered on the forum. |
$[user.registered_on_short] | Condensed version of user's registration date. |
$[user.social_network] | User's list of social networks specified in their profile (if available). |
$[user.username] | Outputs the user's login username in plain text. |
$[user.warning.bar] | User's warning bar (if it exists). |
$[user.warning.level] | User's current warning level (if visible to you). |
$[user.website] | Website specified in user's profile. |
Profile variables can also be used in the Javascript component in this plugin. In Javascript the value undefined is used to signify that a value doesn't exist for the variable you've specified. With this in mind you can use profile variables in Javascript conditional statements within the plugin similar to how they're used in the actual layout templates section of the admin area.
- if(variable) will only run if the variable you specify has a value.
- if(!variable) will only run if the variable you specify has no value.
Example 1 (variable has value):
$(this).find('.group').show();
}
Example 2 (variable has no value):
$(this).find('.gender').hide();
}