inherit
186796
0
Feb 4, 2023 11:13:42 GMT -8
hollowxrequiem
26
December 2012
hollowxrequiem
|
Post by hollowxrequiem on Jan 19, 2016 9:35:43 GMT -8
Wormopolis , We just started testing the plugin on our test site! We're really excited for it, but we're having a problem with the alters avatar not matching the default avatar size. I've inputted the avatar dimensions in the plugin, but instead of sizing it correctly, the size stays as a small square and the image just appears..zoomed in? is the best way to describe it. I've left the dimensions blank in hopes the avatar will resize to default, and changed the dimensions to see what would work. But I think we're just missing something… cc-test-site.proboards.com/thread/15/testing
|
|
inherit
233623
0
Oct 11, 2016 14:26:41 GMT -8
sunzhao
22
June 2016
sunzhao
|
Post by sunzhao on Jul 10, 2016 18:22:46 GMT -8
I am in need of some technical assistance with layouts, using Alters. Our forum has a custom MP layout. This layout works fine in NPC Profiles, because it works with a lot of standard fields.
My problem is Alters, in that it only has one layout, and I need several multiple option points within it. Upon attempting to insert some IFs, it all goes to crap and won't work. So I'm here to see if anyone knows what could fix this.
We are using a Hover Image in the MP, and this is the line in the layout.
<div style="width:100%;height:300px;background-image: url('http://storage.proboards.com/5598878/i/V4FVmNuKAkTX5MxkH7M9.png'); {foreach $[user.mini_custom_field]}{if $[user.mini_custom_field.name] == "Hover Image"} background-image:url('$[user.mini_custom_field.value]');{/if}{/foreach} background-size:cover;text-align:center;clear:both;">
As you can see, the FOREACH looks at custom fields in the profile, and finds one named Hover Image, upon that it takes the direct image link and puts it as the hover image, which is on display by default.
The IF I need are to cover multiple hover images, for up to 3 Alters per member. One alter would be easy to add a simple Alter Hover field and change the Hover Image line in the above code. What I will be forced into should I not be able to get this working.
However, I want to use an Alter field as a check. Basically in the Personal Text, each Alter can be named 1, 2, or 3. Then the IF would look at the appropriate custom field based on this. (Alter Hover 1, Alter Hover 2, Alter Hover 3)
Basically, the theoretical script I have should work like this:
IF $[Alter_Personal_Text] == 1, THEN look at Custom Field named "Alter Hover 1" and grab the link to post in Background URL. ELSEIF $[Alter_Personal_Text] == 2, THEN look at Custom Field named "Alter Hover 2" and use that link instead.
This should be possible. But I don't have the technical skill for knowing exactly how to write it. I tried putting in the IF and test, with the result that the MP had the default image, and a line 1 == 1 at the top left corner of the image.
Which I can figure is the part of the script where my IF is located. Because $[Alter_Personal_Text] would be seen in the layout as 1, and so 1 == 1.
Can someone help me with this? This is the last of three layouts and if I can get it working the forum will be perfect.
|
|
Silv
New Member
Posts: 19
inherit
202570
0
Apr 5, 2018 18:29:15 GMT -8
Silv
19
November 2013
silv
|
Post by Silv on Jul 13, 2016 18:23:26 GMT -8
Wormopolis Hi Wormo! Your plugin is amazing! Would you be able to tell me the variable for: Display Name Color? I can't find it. I want to use it elsewhere in my MP layout so that it looks the same as the regular mini profiles on the site. Also, for some reason I'm not able to change the display font for the alter names. Would you know any solutions for that? Thank you!
|
|
inherit
252196
0
Apr 1, 2020 20:50:38 GMT -8
queensaundry
1
January 2018
queensaundry
|
Post by queensaundry on Jan 16, 2018 10:03:55 GMT -8
Greetings, Wormopolis
My name is Queen Saundry an admin for a forum called continent ria. We are avid users of your brilliant alters (1.6.5 Beta) plug in. Lately though we have been experiencing a problem with it. It's time to update a few more alters and add them in and as an option for user id it lists my deleted members as options but not me or my other admin or any active members on the list. I can't create any alters right now for any of my members or myself. I tried the user id's as i have them listed but none work to bring us up as options. How might i be able to fix this bug?
|
|