Sub-Boards
|
Board |
Threads |
Posts |
Last Post |
|
Albania
Delegación oficial Albanesa.
|
10 |
171 |
KËNGA E PËRSOUR PËR EUROVISION 2
by rakky
Mar 22, 2021 2:56:27 GMT 1
|
|
Alemania
Delegación oficial Alemana.
|
22 |
159 |
Unser Lied für Spanien (ESCT41)
by ganghandedcat
Aug 12, 2021 13:31:19 GMT 1
|
|
Andorra
Delegación oficial Andorrana.
|
19 |
71 |
Festival de la Cançó d’Andorra - ESCT 41
by dragotistic
Aug 4, 2021 20:33:23 GMT 1
|
|
Armenia
Delegación oficial Armenia.
|
15 |
100 |
ESCT34: YEVRATESIL 3 FINAL
by AIRIL (LOVE)
Apr 17, 2019 15:25:33 GMT 1
|
|
Austria
Delegación oficial Austriaca.
|
25 |
116 |
Wer singt für Österreich? - ESCT 33
by rakky
Jan 17, 2019 20:12:55 GMT 1
|
|
Azerbaiyán
Delegación oficial Azerí.
|
0 |
0 |
No posts have been made on this board.
|
|
Bélgica
Delegación oficial Belga.
|
2 |
6 |
ESCT 35 - Belgium National Final - Once in a lifetime
by yogscast
Nov 8, 2019 19:33:08 GMT 1
|
|
Bielorrusia
Delegación oficial Bielorrusia.
|
4 |
32 |
ESCT 35 - Eurofest 3
by spinfur
Nov 19, 2019 18:48:24 GMT 1
|
|
Bosnia & Herzegovina
Delegación oficial Bosnia.
|
5 |
251 |
EuroBosnia | ESCT 40
by patrick319
Mar 21, 2021 1:08:34 GMT 1
|
|
Bulgaria
Delegación oficial Búlgara.
|
3 |
11 |
Bulgaria at ESCT 27
by 💎👑greg2001👑💎
Aug 25, 2017 13:18:59 GMT 1
|
|
Chipre
Delegación oficial Chipriota.
|
14 |
95 |
RESULTADOS FINAL CYPRUS SONG PROJECT ESCT24
by chico_valencia15
Dec 16, 2016 20:31:56 GMT 1
|
|
Croacia
Delegación oficial Croata.
|
9 |
114 |
Dora ESCT#41 - Idi na to
by Алексито ✪
Aug 14, 2021 14:24:02 GMT 1
|
|
Dinamarca
Delegación oficial Danesa.
|
6 |
48 |
DANKS MELODI GRAN PRIX ESCT37
by eesticatch
May 18, 2020 21:27:12 GMT 1
|
|
Eslovaquia
Delegación oficial Eslovaca.
|
5 |
17 |
Eurosong 6: Back For More
by rodrigueseve
Jan 26, 2018 16:03:58 GMT 1
|
|
Eslovenia
Delegación oficial Eslovena.
|
9 |
62 |
EMA ESCT 36 Grand Final
by alesha02
Feb 18, 2020 1:45:55 GMT 1
|
|
España
Delegación oficial Española.
|
4 |
62 |
DESTINO ESCT#36
by rakky
Mar 2, 2020 5:04:21 GMT 1
|
|
Estonia
Delegación oficial Estonia.
|
14 |
114 |
ESCT 41 - ‘Oleme ikka võitlejad’
by eesticatch
Aug 15, 2021 22:09:17 GMT 1
|
|
Finlandia
Delegación oficial Finlandesa.
|
26 |
229 |
ESCT#41 | UMK 10
by varlto
Aug 14, 2021 18:37:11 GMT 1
|
|
Francia
Delegación oficial Francesa.
|
31 |
414 |
LES CHANSONS D'ABORD ( 19 ª EDICIÓN ) RESULTADOS
by olympia
Aug 15, 2021 3:12:42 GMT 1
|
|
Georgia
Delegación oficial Georgiana.
|
14 |
116 |
ESCT 41 - Simghera 6
by jcpb814
Aug 11, 2021 12:55:33 GMT 1
|
|
Grecia
Delegación oficial Griega.
|
10 |
72 |
SUPERSTARS IN GREECE | ESCT 41 | GRAND FINAL
by jcpb814
Aug 14, 2021 19:17:13 GMT 1
|
|
Holanda
Delegación oficial Holandesa.
|
6 |
30 |
Preselección Holanda ESCT38
by daleariel
Oct 1, 2020 1:27:35 GMT 1
|
|
Hungría
Delegación oficial Húngara.
|
51 |
307 |
ESCT40 - A Dal 28 - Hungary | Grand Final
by Wesley
May 6, 2022 22:33:55 GMT 1
|
|
Irlanda
Delegación oficial Irlandesa.
|
1 |
8 |
ESCT 25 Ireland National Final
by AIRIL (LOVE)
Jan 27, 2017 15:57:30 GMT 1
|
|
Islandia
Delegación oficial Islandesa.
|
23 |
344 |
Söngur fyrir Ísland | Final | ESCT 41
by chris2pei
Aug 15, 2021 5:41:47 GMT 1
|
|
Israel
Delegación oficial Israelí.
|
14 |
332 |
KDAM EUROTENGAGED VISION SONG CONTEST #40
by rakky
Mar 21, 2021 20:41:00 GMT 1
|
|
Italia
Delegación oficial Italiana.
|
10 |
43 |
Sanremo 37
by olympia
May 9, 2020 20:33:26 GMT 1
|
ESCT Delegaciones (A - I)
Status |
|
Subject |
Created By |
Replies |
Views |
Last Post |
No threads were found. |
Board Information & Statistics
Installation |
Customization |
|
|
Welcome to the help dialog for the Custom Mini-Profile Creator plugin!
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.
This step is essential as it gives the plugin everything it needs on the page to get as much profile information as possible.
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
Once you've added the HTML from the Layout Templates tab you're ready to move on to building your mini-profiles. If you want to get going and try some out now or you're not very adept at HTML, CSS, or Javascript, worry not! This plugin includes some examples for you to try out. You're free to skip to the Custom Profile Fields tab and read over this tab later when you're ready to build your own.
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.
Once you've finished building your mini-profiles it's finally time to add them to the Edit Profile page for use! To enable selection of custom mini-profiles you'll first need to add two specific custom profile fields in
Members > Custom Profile Fields in your forum's admin area:
- 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
If you're having trouble getting this plugin to work despite following the instructions in the previous tabs you may want to check that each of your themes meets the prerequisites below in
Themes > Layout Templates > Mini-Profile.
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:
<div class="$[miniprofile_class]">
Next, make sure that the default
{foreach} loop for custom fields is present inside your mini-profile. It doesn't need to be visible, so you're free to add it inside a hidden element if you don't plan on displaying it or if it would mess up the appearance of your own custom template.
{foreach $[user.mini_custom_field]}
<br /><span class="$[user.mini_custom_field.content_class]">$[user.mini_custom_field.name]: $[user.mini_custom_field.value]</span>
{/foreach}
Beyond that you can do whatever you like to the mini-profile template for the most part and it shouldn't negatively impact the plugin.
The following is a list of available variables for use in the HTML section of the mini-profile creator and their definitions. Adding any of these to a mini-profile will generate the content described in its definition in place of the variable so long as the information that variable outputs is visible to you.
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. |
You can utilize the
$(this) variable in the Javascript component to target the mini-profile
<div> element. For example, if you wanted to add a class to the mini-profile you can use:
$(this).addClass('class-name-here');
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):
if(user.group){
$(this).find('.group').show();
}
If the user has their group displayed in their profile the above Javascript would make the HTML below visible if you had it hidden with CSS.
<div class="group">$[user.group.name]<br />$[user.group.stars]</div>
Example 2 (variable has no value):
if(!user.gender){
$(this).find('.gender').hide();
}
If the user's gender isn't visible the above Javascript would hide the gender icon generated by the HTML with the "gender" class below.
<div class="gender">$[user.gender.image]</div>