inherit
230690
0
Jan 16, 2019 2:36:12 GMT -8
Pebbles
BE YOUR OWN HERO
1,047
April 2016
dragneel
|
Post by Pebbles on Oct 11, 2017 13:25:45 GMT -8
but it did not show up in my mini profile on the theme i am using which was also the case before but back then i was using a different theme xD the solution is perhaps simple? but i myself have no idea how to make it appear on this theme i am using right now Oh that, That's usually a simple fix. And if someone modified the mini profile classes, it would keep it from appearing. Perhaps MSG could make an input field in the manage section that would allow you to override the default placement of the mini-profile "bag" by allowing the inserting of a jQuery selector such as .mini-profile and append it. Haven't particularly looked at the coding but you are lacking the .info class on your mini profile and that's an important one. But having a specific selector on a per theme basis wouldn't really work well for a plugin and you might just need a small tweak to your theme. Or perhaps MSG could figure out what the plugin is targeting, and if it doesn't find that, then it creates it. Then it adds it. Sort of like an error check. i have no idea what you all just said haha, a lot of talk i cannot even follow but thanks for the info xD ? Pebbles , In order for the plugin to place it on the mini-profile, you have to have the .mini-profile class present - even if hidden - otherwise, it can't find the mini-profile to place the info on. I'd suggest checking to see if that class has been removed from the theme. I'm still working on custom placement and the leaderboard. No estimate of when I'll have them finished. this is what it looks like, i think you mean that first one right? so it is in there, so thats not the problem then? <div class="$[miniprofile_class]">{if $[user.is_member] && !$[user.is_deleted]}<div class="display-birth">$[user.birthday]</div> {else}<div class="display-birth"></div>{/if}
<div class="name"> {foreach $[user.mini_custom_field]}{if $[user.mini_custom_field.name] == "valentine"}<span class="$[user.mini_custom_field.content_class]"><center><br><img src="$[user.mini_custom_field.value]"></center></span>{/if}{/foreach} $[user] <br> {if $[user.custom_title]}$[user.custom_title]{/if} {foreach $[user.mini_custom_field]}{if $[user.mini_custom_field.name] == "MOTM"}<div class="MOTM">$[user.mini_custom_field.value]</div>{/if}{/foreach} </div> {if $[user.is_member]} <div class="larg-avie-container"> <div class="larg-avie" style="{foreach $[user.mini_custom_field]}{if $[user.mini_custom_field.name] == "Large Avatar"}background-image: url('$[user.mini_custom_field.value]');{/if}{/foreach}"></div> <div class="large-avatar"> <div class="mini-hover"> <center>$[user.avatar_medium]</center> <div id="mini-field"> <div class="title">ULT BIAS</div> <div class="value">{foreach $[user.mini_custom_field]}{if $[user.mini_custom_field.name] == "Bias"}$[user.mini_custom_field.value]{/if}{/foreach}</div> </div> <div id="mini-field"> <div class="value">{foreach $[user.mini_custom_field]}{if $[user.mini_custom_field.name] == "Wrecker"}$[user.mini_custom_field.value]{/if}{/foreach}</div> <div class="title">WRECKER</div> </div> <div id="mini-field"> <div class="title">GROUP(S)</div> <div class="value">{foreach $[user.mini_custom_field]}{if $[user.mini_custom_field.name] == "Group"}$[user.mini_custom_field.value]{/if}{/foreach}</div> </div> <div class="star-rank"> {foreach $[user.custom_field]}{if $[user.custom_field.name] == "K-POP Star Rank"}I am $[user.custom_field.value]{/if}{/foreach} </div> <div class="personal-message"> {if $[user.personal_text.message] != ''} $[user.personal_text.message] {/if} </div> <div id="mini-icons"> <div class="mini-icon-hover"> <i class="fa fa-comment"></i> <p>$[user.posts] Post{if $[user.posts] != 1}s{/if}</p> </div> <div class="mini-icon-hover"> <i class="fa fa-krw"></i> <p><span class="money_amount"></span> Coins</p> </div> <div class="mini-icon-hover"> <i class="fa fa-heart"></i> <p>$[user.likes] Like{if $[user.likes] != 1}s{/if}</p> </div> </div> </div> </div> </div> {/if} <div class="group-rank"> {if $[user.is_member]} {if $[user.group]} {if $[user.group.stars]} $[user.group.stars] {else} {foreach $[user.custom_field]}{if $[user.custom_field.name] == "K-POP Rank Stars"} <div class="group-rank img"><img src="$[user.custom_field.value]"></div> {/if}{/foreach} {/if} {else} $[user.rank.stars] {/if} <div class="group-rank-name"> {if $[user.group]} $[user.group.name] {else} $[user.rank.name] {/if} </div> {else} Guest {/if} </div> {if $[user.is_member]} <div class="mini-music"> {foreach $[user.mini_custom_field]} {if $[user.mini_custom_field.name] == "Music"} <div class="player"><object width="250" height="20" data="https://cldup.com/1gyTt8zrXC.swf" type="application/x-shockwave-flash"> <param value="https://cldup.com/1gyTt8zrXC.swf" name="movie"> <param name="wmode" value="transparent"> <param value="mp3=$[user.mini_custom_field.value]&loadingcolor=ffffff&buttoncolor=ffffff&slidercolor=ffffff;" name="FlashVars"> </object></div> {/if} {/foreach} </div> <div class="awards"></div> {/if} </div>
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on Oct 11, 2017 14:15:41 GMT -8
Oh that, That's usually a simple fix. And if someone modified the mini profile classes, it would keep it from appearing. Perhaps MSG could make an input field in the manage section that would allow you to override the default placement of the mini-profile "bag" by allowing the inserting of a jQuery selector such as .mini-profile and append it. Haven't particularly looked at the coding but you are lacking the .info class on your mini profile and that's an important one. But having a specific selector on a per theme basis wouldn't really work well for a plugin and you might just need a small tweak to your theme. Or perhaps MSG could figure out what the plugin is targeting, and if it doesn't find that, then it creates it. Then it adds it. Sort of like an error check. i have no idea what you all just said haha, a lot of talk i cannot even follow but thanks for the info xD ? Pebbles , In order for the plugin to place it on the mini-profile, you have to have the .mini-profile class present - even if hidden - otherwise, it can't find the mini-profile to place the info on. I'd suggest checking to see if that class has been removed from the theme. I'm still working on custom placement and the leaderboard. No estimate of when I'll have them finished. this is what it looks like, i think you mean that first one right? so it is in there, so thats not the problem then? <div class="$[miniprofile_class]">{if $[user.is_member] && !$[user.is_deleted]}<div class="display-birth">$[user.birthday]</div> {else}<div class="display-birth"></div>{/if}
<div class="name"> {foreach $[user.mini_custom_field]}{if $[user.mini_custom_field.name] == "valentine"}<span class="$[user.mini_custom_field.content_class]"><center><br><img src="$[user.mini_custom_field.value]"></center></span>{/if}{/foreach} $[user] <br> {if $[user.custom_title]}$[user.custom_title]{/if} {foreach $[user.mini_custom_field]}{if $[user.mini_custom_field.name] == "MOTM"}<div class="MOTM">$[user.mini_custom_field.value]</div>{/if}{/foreach} </div> {if $[user.is_member]} <div class="larg-avie-container"> <div class="larg-avie" style="{foreach $[user.mini_custom_field]}{if $[user.mini_custom_field.name] == "Large Avatar"}background-image: url('$[user.mini_custom_field.value]');{/if}{/foreach}"></div> <div class="large-avatar"> <div class="mini-hover"> <center>$[user.avatar_medium]</center> <div id="mini-field"> <div class="title">ULT BIAS</div> <div class="value">{foreach $[user.mini_custom_field]}{if $[user.mini_custom_field.name] == "Bias"}$[user.mini_custom_field.value]{/if}{/foreach}</div> </div> <div id="mini-field"> <div class="value">{foreach $[user.mini_custom_field]}{if $[user.mini_custom_field.name] == "Wrecker"}$[user.mini_custom_field.value]{/if}{/foreach}</div> <div class="title">WRECKER</div> </div> <div id="mini-field"> <div class="title">GROUP(S)</div> <div class="value">{foreach $[user.mini_custom_field]}{if $[user.mini_custom_field.name] == "Group"}$[user.mini_custom_field.value]{/if}{/foreach}</div> </div> <div class="star-rank"> {foreach $[user.custom_field]}{if $[user.custom_field.name] == "K-POP Star Rank"}I am $[user.custom_field.value]{/if}{/foreach} </div> <div class="personal-message"> {if $[user.personal_text.message] != ''} $[user.personal_text.message] {/if} </div> <div id="mini-icons"> <div class="mini-icon-hover"> <i class="fa fa-comment"></i> <p>$[user.posts] Post{if $[user.posts] != 1}s{/if}</p> </div> <div class="mini-icon-hover"> <i class="fa fa-krw"></i> <p><span class="money_amount"></span> Coins</p> </div> <div class="mini-icon-hover"> <i class="fa fa-heart"></i> <p>$[user.likes] Like{if $[user.likes] != 1}s{/if}</p> </div> </div> </div> </div> </div> {/if} <div class="group-rank"> {if $[user.is_member]} {if $[user.group]} {if $[user.group.stars]} $[user.group.stars] {else} {foreach $[user.custom_field]}{if $[user.custom_field.name] == "K-POP Rank Stars"} <div class="group-rank img"><img src="$[user.custom_field.value]"></div> {/if}{/foreach} {/if} {else} $[user.rank.stars] {/if} <div class="group-rank-name"> {if $[user.group]} $[user.group.name] {else} $[user.rank.name] {/if} </div> {else} Guest {/if} </div> {if $[user.is_member]} <div class="mini-music"> {foreach $[user.mini_custom_field]} {if $[user.mini_custom_field.name] == "Music"} <div class="player"><object width="250" height="20" data="https://cldup.com/1gyTt8zrXC.swf" type="application/x-shockwave-flash"> <param value="https://cldup.com/1gyTt8zrXC.swf" name="movie"> <param name="wmode" value="transparent"> <param value="mp3=$[user.mini_custom_field.value]&loadingcolor=ffffff&buttoncolor=ffffff&slidercolor=ffffff;" name="FlashVars"> </object></div> {/if} {/foreach} </div> <div class="awards"></div> {/if} </div>
If you are talking about the default theme, the mini profile contains class="mini-profile mp-iconic awarded" But I can't find the plugin enabled on your forum. Is it active on that theme for www.cutekpopforum.net/?
|
|
inherit
230690
0
Jan 16, 2019 2:36:12 GMT -8
Pebbles
BE YOUR OWN HERO
1,047
April 2016
dragneel
|
Post by Pebbles on Oct 11, 2017 15:11:07 GMT -8
i have no idea what you all just said haha, a lot of talk i cannot even follow but thanks for the info xD ? this is what it looks like, i think you mean that first one right? so it is in there, so thats not the problem then? <div class="$[miniprofile_class]">{if $[user.is_member] && !$[user.is_deleted]}<div class="display-birth">$[user.birthday]</div> {else}<div class="display-birth"></div>{/if}
<div class="name"> {foreach $[user.mini_custom_field]}{if $[user.mini_custom_field.name] == "valentine"}<span class="$[user.mini_custom_field.content_class]"><center><br><img src="$[user.mini_custom_field.value]"></center></span>{/if}{/foreach} $[user] <br> {if $[user.custom_title]}$[user.custom_title]{/if} {foreach $[user.mini_custom_field]}{if $[user.mini_custom_field.name] == "MOTM"}<div class="MOTM">$[user.mini_custom_field.value]</div>{/if}{/foreach} </div> {if $[user.is_member]} <div class="larg-avie-container"> <div class="larg-avie" style="{foreach $[user.mini_custom_field]}{if $[user.mini_custom_field.name] == "Large Avatar"}background-image: url('$[user.mini_custom_field.value]');{/if}{/foreach}"></div> <div class="large-avatar"> <div class="mini-hover"> <center>$[user.avatar_medium]</center> <div id="mini-field"> <div class="title">ULT BIAS</div> <div class="value">{foreach $[user.mini_custom_field]}{if $[user.mini_custom_field.name] == "Bias"}$[user.mini_custom_field.value]{/if}{/foreach}</div> </div> <div id="mini-field"> <div class="value">{foreach $[user.mini_custom_field]}{if $[user.mini_custom_field.name] == "Wrecker"}$[user.mini_custom_field.value]{/if}{/foreach}</div> <div class="title">WRECKER</div> </div> <div id="mini-field"> <div class="title">GROUP(S)</div> <div class="value">{foreach $[user.mini_custom_field]}{if $[user.mini_custom_field.name] == "Group"}$[user.mini_custom_field.value]{/if}{/foreach}</div> </div> <div class="star-rank"> {foreach $[user.custom_field]}{if $[user.custom_field.name] == "K-POP Star Rank"}I am $[user.custom_field.value]{/if}{/foreach} </div> <div class="personal-message"> {if $[user.personal_text.message] != ''} $[user.personal_text.message] {/if} </div> <div id="mini-icons"> <div class="mini-icon-hover"> <i class="fa fa-comment"></i> <p>$[user.posts] Post{if $[user.posts] != 1}s{/if}</p> </div> <div class="mini-icon-hover"> <i class="fa fa-krw"></i> <p><span class="money_amount"></span> Coins</p> </div> <div class="mini-icon-hover"> <i class="fa fa-heart"></i> <p>$[user.likes] Like{if $[user.likes] != 1}s{/if}</p> </div> </div> </div> </div> </div> {/if} <div class="group-rank"> {if $[user.is_member]} {if $[user.group]} {if $[user.group.stars]} $[user.group.stars] {else} {foreach $[user.custom_field]}{if $[user.custom_field.name] == "K-POP Rank Stars"} <div class="group-rank img"><img src="$[user.custom_field.value]"></div> {/if}{/foreach} {/if} {else} $[user.rank.stars] {/if} <div class="group-rank-name"> {if $[user.group]} $[user.group.name] {else} $[user.rank.name] {/if} </div> {else} Guest {/if} </div> {if $[user.is_member]} <div class="mini-music"> {foreach $[user.mini_custom_field]} {if $[user.mini_custom_field.name] == "Music"} <div class="player"><object width="250" height="20" data="https://cldup.com/1gyTt8zrXC.swf" type="application/x-shockwave-flash"> <param value="https://cldup.com/1gyTt8zrXC.swf" name="movie"> <param name="wmode" value="transparent"> <param value="mp3=$[user.mini_custom_field.value]&loadingcolor=ffffff&buttoncolor=ffffff&slidercolor=ffffff;" name="FlashVars"> </object></div> {/if} {/foreach} </div> <div class="awards"></div> {/if} </div>
If you are talking about the default theme, the mini profile contains class="mini-profile mp-iconic awarded" But I can't find the plugin enabled on your forum. Is it active on that theme for www.cutekpopforum.net/?no it is not enabled because then people would see the stuff and click on it but there is no bag, so they be clicking on stuff for nothing, dont want to confuse people and we not ready yet with preparations (thread event wise i mean) (i tested it myself before , collected one or two and no bag appeared in the mini profile) so if that ^^^^ is not in my mini profile template(which is strange because i thought it was there, at least someone else said it is.... but now looking at it i'm like confused because i don't see it really), as shown above in spoilers, how / where do i add it? maybe this is the solution to it all?
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on Oct 11, 2017 19:03:28 GMT -8
If you are talking about the default theme, the mini profile contains class="mini-profile mp-iconic awarded" But I can't find the plugin enabled on your forum. Is it active on that theme for www.cutekpopforum.net/?no it is not enabled because then people would see the stuff and click on it but there is no bag, so they be clicking on stuff for nothing, dont want to confuse people and we not ready yet with preparations (thread event wise i mean) (i tested it myself before , collected one or two and no bag appeared in the mini profile) so if that ^^^^ is not in my mini profile template(which is strange because i thought it was there, at least someone else said it is.... but now looking at it i'm like confused because i don't see it really), as shown above in spoilers, how / where do i add it? maybe this is the solution to it all? I'm assuming that the .mini-profile class is created in the variable you had $[miniprofile_class] in your template Not sure though. Tumbleweed do you know if that's the case? You highly intelligent theme troubleshooter you
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,846
January 2015
msg
|
Post by Lynx on Oct 11, 2017 19:37:44 GMT -8
Hi! It doesn't work for the theme dandelion >.< I edited the mini profiles a tiny bit, too, so if someone has an idea what to add to the code, please... *sparkly eyes* It's really awesome, I'm happy to wait for leaderboards etc., but knowing specifically e.g. "add this <hunt> code to your mini profile" so you can see the bag would be really neat X3 Thank you and keep up the great job, this is so amaziiing! :3 Link to forum, please. Also, please be sure the plugin is running and I can look at a guest-friendly thread. I don't need to post anything, I just need to be able to see the mini-profiles.
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,846
January 2015
msg
|
Post by Lynx on Oct 11, 2017 20:14:12 GMT -8
Pebbles, I think I've spotted the issue. You've got mini-profiles that don't show your avatar until you mouseover the mini-profile. Looking through the plugin code, it's also looking for the .avatar class - as this is what it uses to know where to place it in the mini-profile. I'll make it a priority to get the user placement done for it, as I have a feeling that this may also be the issue with the Dandelion Theme that Night Sky Pirate is using (either that or they are missing the .mini-profile class on that theme). Are you using a custom theme (one you made) or one from the Theme Library? If from the library, what's the name of it - so I can install it on my test forum. If it's a custom theme, I may need to register on your forum. Also, what version of the plugin do you have installed? EDIT: As a note, even though you may not be able to see the counts right now, the data is stored in keys - so your members can still participate in it. The data will keep (unless the keys are cleared), so your members can still build up their counts while I work on getting it to display on that theme for you.
|
|
inherit
230690
0
Jan 16, 2019 2:36:12 GMT -8
Pebbles
BE YOUR OWN HERO
1,047
April 2016
dragneel
|
Post by Pebbles on Oct 12, 2017 3:29:03 GMT -8
Lynxversion 0.2.0 is installed and the theme is designed by me but coded for me by someone else , it is not in the library thank you
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on Oct 12, 2017 8:08:04 GMT -8
Pebbles , I think I've spotted the issue. You've got mini-profiles that don't show your avatar until you mouseover the mini-profile. Looking through the plugin code, it's also looking for the .avatar class - as this is what it uses to know where to place it in the mini-profile. I'll make it a priority to get the user placement done for it, as I have a feeling that this may also be the issue with the Dandelion Theme that Night Sky Pirate is using (either that or they are missing the .mini-profile class on that theme). Are you using a custom theme (one you made) or one from the Theme Library? If from the library, what's the name of it - so I can install it on my test forum. If it's a custom theme, I may need to register on your forum. Also, what version of the plugin do you have installed? EDIT: As a note, even though you may not be able to see the counts right now, the data is stored in keys - so your members can still participate in it. The data will keep (unless the keys are cleared), so your members can still build up their counts while I work on getting it to display on that theme for you. She has .large-avatar for her main avatar and .avatar-wrapper for her hover effect one but no .avatar
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,846
January 2015
msg
|
Post by Lynx on Oct 12, 2017 8:45:05 GMT -8
Lynxversion 0.2.0 is installed and the theme is designed by me but coded for me by someone else , it is not in the library thank you Could I get you to enable the plugin for Everyone, please? It'll be hard for me to find what will work for you in the interim if it's not running since I won't be able to check possibilities for you if the plugin data isn't there. Pebbles , I think I've spotted the issue. You've got mini-profiles that don't show your avatar until you mouseover the mini-profile. Looking through the plugin code, it's also looking for the .avatar class - as this is what it uses to know where to place it in the mini-profile. I'll make it a priority to get the user placement done for it, as I have a feeling that this may also be the issue with the Dandelion Theme that Night Sky Pirate is using (either that or they are missing the .mini-profile class on that theme). Are you using a custom theme (one you made) or one from the Theme Library? If from the library, what's the name of it - so I can install it on my test forum. If it's a custom theme, I may need to register on your forum. Also, what version of the plugin do you have installed? EDIT: As a note, even though you may not be able to see the counts right now, the data is stored in keys - so your members can still participate in it. The data will keep (unless the keys are cleared), so your members can still build up their counts while I work on getting it to display on that theme for you. She has .large-avatar for her main avatar and .avatar-wrapper for her hover effect one but no .avatar I saw that, as well as the theme not having the "normal" parent-child relationships. The .large-avatar is a child of .large-avie-container which is then a child of .mini-profile - it's got an extra over the normal. And, as you said, there's no .avatar itself, so it's not finding a starting point to get its parent to which the plugin adds in the info in after that point: //Loop through every item of the built array of users on page $.each(userData, function(key, value) { var userID = value.toString(); var elemClone = $(paperBag).clone();
var candies = pb.plugin.key('sh_obj_amount').get(userID);
// Place prize bag on mini-profile of each user in array $('.user-' + value).parent().find('.avatar').after(elemClone);
//User's prize is hopefully a gosh dang number and not and object if (typeof candies != 'object') { $('.user-' + value).parent().find('.prizeNum').text(candies); } $('.user-' + value).parent().find('.prizeBag').addClass('userBag-' + value); });
|
|
inherit
230690
0
Jan 16, 2019 2:36:12 GMT -8
Pebbles
BE YOUR OWN HERO
1,047
April 2016
dragneel
|
Post by Pebbles on Oct 12, 2017 9:51:39 GMT -8
Lynx version 0.2.0 is installed and the theme is designed by me but coded for me by someone else , it is not in the library thank you Could I get you to enable the plugin for Everyone, please? It'll be hard for me to find what will work for you in the interim if it's not running since I won't be able to check possibilities for you if the plugin data isn't there. She has .large-avatar for her main avatar and .avatar-wrapper for her hover effect one but no .avatar I saw that, as well as the theme not having the "normal" parent-child relationships. The .large-avatar is a child of .large-avie-container which is then a child of .mini-profile - it's got an extra over the normal. And, as you said, there's no .avatar itself, so it's not finding a starting point to get its parent to which the plugin adds in the info in after that point: //Loop through every item of the built array of users on page $.each(userData, function(key, value) { var userID = value.toString(); var elemClone = $(paperBag).clone();
var candies = pb.plugin.key('sh_obj_amount').get(userID);
// Place prize bag on mini-profile of each user in array $('.user-' + value).parent().find('.avatar').after(elemClone);
//User's prize is hopefully a gosh dang number and not and object if (typeof candies != 'object') { $('.user-' + value).parent().find('.prizeNum').text(candies); } $('.user-' + value).parent().find('.prizeBag').addClass('userBag-' + value); });
i have enabled it but removed the images of the candy, i hope thats ok, i just dont want people to get confused and it was also suppose to be a surprise sorta thing , it would be lame if they already know what is going to happen before i say stuff xD thank you for helping and i hope the person who coded the theme for me did not make it too difficult for this to get sorted edit: the bag is randomly appearing in my chatbox at the bottom lol , the heck is going on xD
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on Oct 12, 2017 11:21:15 GMT -8
Could I get you to enable the plugin for Everyone, please? It'll be hard for me to find what will work for you in the interim if it's not running since I won't be able to check possibilities for you if the plugin data isn't there. I saw that, as well as the theme not having the "normal" parent-child relationships. The .large-avatar is a child of .large-avie-container which is then a child of .mini-profile - it's got an extra over the normal. And, as you said, there's no .avatar itself, so it's not finding a starting point to get its parent to which the plugin adds in the info in after that point: //Loop through every item of the built array of users on page $.each(userData, function(key, value) { var userID = value.toString(); var elemClone = $(paperBag).clone();
var candies = pb.plugin.key('sh_obj_amount').get(userID);
// Place prize bag on mini-profile of each user in array $('.user-' + value).parent().find('.avatar').after(elemClone);
//User's prize is hopefully a gosh dang number and not and object if (typeof candies != 'object') { $('.user-' + value).parent().find('.prizeNum').text(candies); } $('.user-' + value).parent().find('.prizeBag').addClass('userBag-' + value); });
i have enabled it but removed the images of the candy, i hope thats ok, i just dont want people to get confused and it was also suppose to be a surprise sorta thing , it would be lame if they already know what is going to happen before i say stuff xD thank you for helping and i hope the person who coded the theme for me did not make it too difficult for this to get sorted edit: the bag is randomly appearing in my chatbox at the bottom lol , the heck is going on xDIt appears in the chatbox because those little mem faces do have the .avatar class.
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,846
January 2015
msg
|
Post by Lynx on Oct 12, 2017 17:42:08 GMT -8
UPDATE:
I'm going to try and get the user placement done as soon as possible. Hopefully, this will resolve anyone who has an issue with it not showing in the mini-profiles due to customized themes (the most likely cause). If I get time, I'll also see about adding in profile placement - but the mini-profiles will have priority to get working first.
Please do not ask for an ETA for this being completed. Please remember that I'm working off of David Clark's code, so I need to pick it apart as well so I can figure out how to do this.
|
|
inherit
230690
0
Jan 16, 2019 2:36:12 GMT -8
Pebbles
BE YOUR OWN HERO
1,047
April 2016
dragneel
|
Post by Pebbles on Oct 16, 2017 10:18:40 GMT -8
UPDATE: I'm going to try and get the user placement done as soon as possible. Hopefully, this will resolve anyone who has an issue with it not showing in the mini-profiles due to customized themes (the most likely cause). If I get time, I'll also see about adding in profile placement - but the mini-profiles will have priority to get working first. Please do not ask for an ETA for this being completed. Please remember that I'm working off of David Clark's code, so I need to pick it apart as well so I can figure out how to do this. you can do it, i believe in you!!!!!!!!
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on Oct 16, 2017 11:46:17 GMT -8
UPDATE: I'm going to try and get the user placement done as soon as possible. Hopefully, this will resolve anyone who has an issue with it not showing in the mini-profiles due to customized themes (the most likely cause). If I get time, I'll also see about adding in profile placement - but the mini-profiles will have priority to get working first. Please do not ask for an ETA for this being completed. Please remember that I'm working off of David Clark's code, so I need to pick it apart as well so I can figure out how to do this. I believe in you toooooo!
|
|
inherit
250184
0
Oct 29, 2017 15:13:35 GMT -8
gpmegaman
2
October 2017
gpmegaman
|
Post by gpmegaman on Oct 29, 2017 13:52:44 GMT -8
Hi running a forum and people are getting seemingly impossibly high numbers on the scavenger hunt, is there any way they're cheating, and if so what could I do to stop it?
|
|