inherit
223590
0
May 17, 2023 9:13:21 GMT -8
Kitty Katt
My Username is @kittykatt (with 2 t's in katt)
821
July 2015
kittykatt
|
Post by Kitty Katt on Aug 26, 2016 18:38:08 GMT -8
Brian, I have just installed this plugin and found a small issue. I commend you on your explanations, as they were enough to allow me to get it set up. However, on the third tab for the help window (3. Custom Profile Fields), when I click on the Show Example button, this is what came up. As you can see, the examples did not display. As I said, your explanations were enough for me to get this working, but I thought you might like to know about this. Thank you.
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Aug 28, 2016 8:00:08 GMT -8
It will utilize the avatar you have selected in your profile if its dimensions meet or exceed those of the mini-profile itself. Uploading an avatar directly to the forum won't work since the forum resizes the image itself to fit within a 150x150 boundary, so you've got to link one externally to make that work. can you give me a example of the code and were to put it in please? and thanks again, There's no code required. All you have to do is go to Profile > Edit Profile > Avatar and link a large avatar.
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Aug 28, 2016 8:06:13 GMT -8
Brian , I have just installed this plugin and found a small issue. I commend you on your explanations, as they were enough to allow me to get it set up. However, on the third tab for the help window (3. Custom Profile Fields), when I click on the Show Example button, this is what came up. As you can see, the examples did not display. As I said, your explanations were enough for me to get this working, but I thought you might like to know about this. Thank you. No such issues on my end when performing the same action on your forum. The images are part of the plugin itself so it should be obtaining the correct links every time. Is the problem still happening? If so, when you right-click the images and select View Image what links are you taken to?
|
|
inherit
223590
0
May 17, 2023 9:13:21 GMT -8
Kitty Katt
My Username is @kittykatt (with 2 t's in katt)
821
July 2015
kittykatt
|
Post by Kitty Katt on Sept 1, 2016 8:24:19 GMT -8
Brian , I have just installed this plugin and found a small issue. I commend you on your explanations, as they were enough to allow me to get it set up. However, on the third tab for the help window (3. Custom Profile Fields), when I click on the Show Example button, this is what came up. As you can see, the examples did not display. As I said, your explanations were enough for me to get this working, but I thought you might like to know about this. Thank you. No such issues on my end when performing the same action on your forum. View AttachmentThe images are part of the plugin itself so it should be obtaining the correct links every time. Is the problem still happening? If so, when you right-click the images and select View Image what links are you taken to? It would seem as though I have been made into a liar, as the images are showing correctly now. My apologies for wasting your time.
|
|
inherit
233623
0
Oct 11, 2016 14:26:41 GMT -8
sunzhao
22
June 2016
sunzhao
|
Post by sunzhao on Sept 1, 2016 16:59:36 GMT -8
I have been working on this on my forum: cherryrp.boards.net Testing an MP as a staff member to be used as a basis for others.
What I'm working with so far is a piecemeal MP cobbled together from some of your examples, and Leif's Hover MP.
Essentially there is a hover image and border, with a group tag from Example 1, then when hovering it displays a "card" similar to Example 2, that can flip when you hover over the FLIP text at the bottom right corner. Which so far works well after I got it pieced together and adjusted some things.
My issue is, Custom Profile fields will display $[user.customprofilefieldname] if the field is empty. Trying to use the CPFs for RP character information, and the problem I think lies in the Layout Template.
{foreach $[user.mini_custom_field]} <div class="mp-info $[user.mini_custom_field.content_class]">$[user.mini_custom_field.value]</div> {/foreach}
As far as I can tell, that is looking for the value, but if the field is empty, it will only use the field name itself. I'm not sure how to edit it to leave the field blank if the CPF is blank.
In Leif's Hover MP layout, this is used:
{foreach $[user.mini_custom_field]}{if $[user.mini_custom_field.name] == "Character Age"}$[user.mini_custom_field.value]{/if}{/foreach}
When I used that before, if a CPF was blank, the field remained blank in the MP. Would I need to include an IF in the layout portion I pasted above, for each of my CPF's, in order to get this same effect?
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Sept 4, 2016 8:21:09 GMT -8
sunzhao : I recommend using the JS section to hide your element if it doesn't have a value. Example HTML: Example JS: By surrounding the content with an element containing a class you can use an if statement in the JS section to determine whether or not that element shows based on whether or not the custom field has a value.
|
|
inherit
233623
0
Oct 11, 2016 14:26:41 GMT -8
sunzhao
22
June 2016
sunzhao
|
Post by sunzhao on Sept 5, 2016 16:51:50 GMT -8
I didn't think of that. I'm very limited in my knowledge of coding and stuff. I work best with examples I can learn from. One reason why I'm cobbling together an MP taking key features from the examples provided.
The basic design is going to be the Leif Hover + bits from 1 and 2 like I mentioned. A more advanced design I want is to turn the hover into those two shutters from Example 3. Where you cut your hover image in half, and upload it twice, and the shutters pull open to "cut" your image, revealing the card beneath.
But that is one I'll have to work on at a later time, when I can attempt to piece it together and make it functional.
Anyways, thank you a lot for the help. I was stalled with trying to figure what to do for this. Now I can continue work on the MP.
|
|
inherit
233623
0
Oct 11, 2016 14:26:41 GMT -8
sunzhao
22
June 2016
sunzhao
|
Post by sunzhao on Sept 11, 2016 5:00:16 GMT -8
I've got another question.
You mention using "Default" in order to apply CSS or Javascript to any MP on the forum.
Am I correct in thinking that if I write the CSS/JS special in the Default layout for the plugin, then I go into my board's MP Layout and write the HTML parts in that, then it would only apply to guests, or those without an MP selected in their profile?
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Sept 11, 2016 8:39:52 GMT -8
I've got another question. You mention using "Default" in order to apply CSS or Javascript to any MP on the forum. Am I correct in thinking that if I write the CSS/JS special in the Default layout for the plugin, then I go into my board's MP Layout and write the HTML parts in that, then it would only apply to guests, or those without an MP selected in their profile? It will apply to every mini-profile regardless of the user's registration status, including those that have already been customized by the plugin.
|
|
inherit
237981
0
Oct 9, 2016 12:31:07 GMT -8
bajaturoman
6
October 2016
bajaturoman
|
Post by bajaturoman on Oct 9, 2016 11:37:54 GMT -8
So today I installed the mini profile creator plugin for my forum and everything was working fine, until i changed the names of the 3 profiles. (They were Example 1, Example 2, Example 3) After that, on my thread, it showed my mini profile, but under it, the normal avatar. I changed the names in the Mini-Profiles dropdown menu on the edit profile section. Please help me solve this problem. How the thread looks like now:
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Oct 9, 2016 12:07:36 GMT -8
bajaturoman: Can you use a name other than "Default" for your mini-profile? Default is a special name that runs for every user even if they have no mini-profile selected. This is causing the page to add two mini-profiles instead of just one.
|
|
inherit
237981
0
Oct 9, 2016 12:31:07 GMT -8
bajaturoman
6
October 2016
bajaturoman
|
Post by bajaturoman on Oct 9, 2016 12:11:50 GMT -8
bajaturoman : Can you use a name other than "Default" for your mini-profile? Default is a special name that runs for every user even if they have no mini-profile selected. This is causing the page to add two mini-profiles instead of just one. Thanks for the help!
|
|
inherit
207092
0
Apr 3, 2019 14:49:45 GMT -8
Eaglenz
163
March 2014
theropod
|
Post by Eaglenz on Oct 16, 2016 17:10:35 GMT -8
BrianHi, I'd like to be able to add the other custom mini-profile fields to Example 1, how can I add them to it?
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Oct 17, 2016 8:17:15 GMT -8
Brian Hi, I'd like to be able to add the other custom mini-profile fields to Example 1, how can I add them to it? Can you expand on this? If you're referring to the custom fields you specified in Members > Custom Profile Fields in the admin area there's instructions on how to add those in the User Variables tab of the plugin's help window (accessible in the bottom right bar if you have the help window enabled on the forum).
|
|
inherit
207092
0
Apr 3, 2019 14:49:45 GMT -8
Eaglenz
163
March 2014
theropod
|
Post by Eaglenz on Oct 17, 2016 12:05:35 GMT -8
Brian Hi, I'd like to be able to add the other custom mini-profile fields to Example 1, how can I add them to it? Can you expand on this? If you're referring to the custom fields you specified in Members > Custom Profile Fields in the admin area there's instructions on how to add those in the User Variables tab of the plugin's help window (accessible in the bottom right bar if you have the help window enabled on the forum). I already found a way around my question, however thanks for the reply. There is another problem though, I keep getting "Error 1: "mp-info-holder" element not found in this theme's Mini-Profile layout template". I have tried reinstalling the plugin with the default data and installing everything just like before, but the problem persists.
|
|