inherit
(?)?
188910
0
Jan 26, 2013 13:30:48 GMT -8
♥ ℒʊ√ ♥
Clouds float into my life no longer to carry rain or usher storm but to add color to my sunset sky.
10,458
January 2013
luv
|
Post by ♥ ℒʊ√ ♥ on Dec 23, 2016 12:26:41 GMT -8
Scott and/or Brian ~
Any idea what the user name isn't being picked up in this code?
function clickBag() { var prizeNum = $(this).find(".prizeNum").text(); var userName = $(this).parent().find(".user-link").text(); proboards.alert("Trick or Treat!", "<img style='float:left; padding:15px; padding-right:20px;' src='" + pb.plugin.get('scavenger_hunt').settings.container_image_url + "'>" + prizeNum + " " + pb.plugin.get('scavenger_hunt').settings.prize_name_plural + " in " + userName + "'s bag!<br><br>" + pb.plugin.get('scavenger_hunt').settings.container_text); }
|
|
#e61919
Support Staff
224482
0
1
Nov 22, 2024 17:59:24 GMT -8
Scott
“Asking for help isn't giving up... it's refusing to give up.”
24,521
August 2015
socalso
|
Post by Scott on Dec 23, 2016 12:36:09 GMT -8
|
|
inherit
(?)?
188910
0
Jan 26, 2013 13:30:48 GMT -8
♥ ℒʊ√ ♥
Clouds float into my life no longer to carry rain or usher storm but to add color to my sunset sky.
10,458
January 2013
luv
|
Post by ♥ ℒʊ√ ♥ on Dec 23, 2016 12:41:05 GMT -8
Thanks, Scott .
If you need a working example, we're playing the game on our forum.
|
|
#e61919
Support Staff
224482
0
1
Nov 22, 2024 17:59:24 GMT -8
Scott
“Asking for help isn't giving up... it's refusing to give up.”
24,521
August 2015
socalso
|
Post by Scott on Dec 23, 2016 12:49:43 GMT -8
♥ ℒʊ√ ♥ , We think it might have to do with the placement of the plugin, that another one that affects the mini profile is interfering with the code. Try changing this: var userName = $(this).parent().find(".user-link").text(); to this: var userName = $(this).closest('.mini-profile').find(".user-link").text();
|
|
inherit
(?)?
188910
0
Jan 26, 2013 13:30:48 GMT -8
♥ ℒʊ√ ♥
Clouds float into my life no longer to carry rain or usher storm but to add color to my sunset sky.
10,458
January 2013
luv
|
Post by ♥ ℒʊ√ ♥ on Dec 23, 2016 12:57:39 GMT -8
Ok, I'll put it in, Scott , and let you know.
Thank you.
|
|
inherit
(?)?
188910
0
Jan 26, 2013 13:30:48 GMT -8
♥ ℒʊ√ ♥
Clouds float into my life no longer to carry rain or usher storm but to add color to my sunset sky.
10,458
January 2013
luv
|
Post by ♥ ℒʊ√ ♥ on Dec 23, 2016 13:05:08 GMT -8
LoL ~ Scott ~
It picks the user name up ~ and repeats it!!!!!
|
|
#e61919
Support Staff
224482
0
1
Nov 22, 2024 17:59:24 GMT -8
Scott
“Asking for help isn't giving up... it's refusing to give up.”
24,521
August 2015
socalso
|
Post by Scott on Dec 23, 2016 13:20:51 GMT -8
That should've worked. Try putting the line back how it was and then move the scavenger hunt plugin up higher above the color smear plugin. Let us know how that works out for you.
|
|
inherit
(?)?
188910
0
Jan 26, 2013 13:30:48 GMT -8
♥ ℒʊ√ ♥
Clouds float into my life no longer to carry rain or usher storm but to add color to my sunset sky.
10,458
January 2013
luv
|
Post by ♥ ℒʊ√ ♥ on Dec 23, 2016 13:59:42 GMT -8
Done and done, Scott.
But now back to the original problem. No member name showing up.
|
|
#e61919
Support Staff
224482
0
1
Nov 22, 2024 17:59:24 GMT -8
Scott
“Asking for help isn't giving up... it's refusing to give up.”
24,521
August 2015
socalso
|
Post by Scott on Dec 23, 2016 14:12:14 GMT -8
Hmmm.... ok. Ulises is has been here looking over my shoulder. Gonna turn him loose on this one.
|
|
inherit
(?)?
188910
0
Jan 26, 2013 13:30:48 GMT -8
♥ ℒʊ√ ♥
Clouds float into my life no longer to carry rain or usher storm but to add color to my sunset sky.
10,458
January 2013
luv
|
Post by ♥ ℒʊ√ ♥ on Dec 23, 2016 14:24:08 GMT -8
No worries if it can't be figured out. It's almost time to leave for the holiday.
I'm not sure anyone really clicks on the number collected container.
|
|
inherit
226544
0
Oct 5, 2018 10:29:39 GMT -8
Ulises
4,881
November 2015
umacklin
Ulises Weirdo
|
Post by Ulises on Dec 23, 2016 14:42:44 GMT -8
That was a weird one. So first I found out why Scott and I's fix didn't work. A plugin is adding duplicating the display name that the scavenger hunt plugin is looking for: Try disabling that plugin (temporarily) and put in the original fix that we mentioned before, for a start.
|
|
inherit
(?)?
188910
0
Jan 26, 2013 13:30:48 GMT -8
♥ ℒʊ√ ♥
Clouds float into my life no longer to carry rain or usher storm but to add color to my sunset sky.
10,458
January 2013
luv
|
Post by ♥ ℒʊ√ ♥ on Dec 23, 2016 14:44:30 GMT -8
Disabling ColorSmear, Ulises ?
EDIT: Cute, cute, cute.
I just spotted Baby New Year here on Support. And I see there's no problem with the number container here.
|
|
inherit
226544
0
Oct 5, 2018 10:29:39 GMT -8
Ulises
4,881
November 2015
umacklin
Ulises Weirdo
|
Post by Ulises on Dec 23, 2016 14:51:11 GMT -8
Woops! I totally forgot to say which plugin. The plugin to disable would be "Replace Display Name With Image (1.1.1)" Sorry! ♥ ℒʊ√ ♥
|
|
inherit
(?)?
188910
0
Jan 26, 2013 13:30:48 GMT -8
♥ ℒʊ√ ♥
Clouds float into my life no longer to carry rain or usher storm but to add color to my sunset sky.
10,458
January 2013
luv
|
Post by ♥ ℒʊ√ ♥ on Dec 23, 2016 14:52:25 GMT -8
Ok. Color Smear is disabled.
The original fix is added and the fix is still doing the same thing it did when Color Smear was enabled . It's repeating the User's name.
So Color Smear isn't affecting it.
|
|
#e61919
Support Staff
224482
0
1
Nov 22, 2024 17:59:24 GMT -8
Scott
“Asking for help isn't giving up... it's refusing to give up.”
24,521
August 2015
socalso
|
Post by Scott on Dec 23, 2016 14:53:51 GMT -8
Ok. Color Smear is disabled.
The original fix is added and the fix is still doing the same thing it did when Color Smear was enabled . It's repeating the User's name.
So Color Smear isn't affecting it. See Ulises's post right above. He listed the plugin there.
|
|