na11
New Member
Hello, hi!
Posts: 44
inherit
225976
0
Apr 16, 2017 14:23:15 GMT -8
na11
Hello, hi!
44
October 2015
na11
|
Post by na11 on Nov 27, 2016 7:24:43 GMT -8
How can I change the trick or treat text? Like when you click on a user's bag...: How do I change the title? haha you copycat i guess there is no need to reply to your pm then anymore seeing this you can change these things in the plugin settings you know how to get there? just at the manage page click on the plugin and then click whats the prize there you can edit things oh wait you mean this thing that cant be edited in there you have to click build on manage page, the plugin, components then find this where it says the current title proboards.alert("Collecting Snowflakes!", "<img style='float:left; padding:15px; padding-right:20px;' src='" + Thanks a bunch. lol I'm not a copycat, I just love that idea.
|
|
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 Nov 27, 2016 9:29:40 GMT -8
Thanks a bunch. lol I'm not a copycat, I just love that idea. you're welcome and i was just teasing ya
|
|
inherit
226892
0
Nov 24, 2024 14:02:56 GMT -8
m2marsh
Come find us again y'all!
925
November 2015
m2marsh
|
Post by m2marsh on Nov 27, 2016 17:25:00 GMT -8
Need some help... I have everything working great, but after I've collected 5 prizes and the PB toolbar indicates there is a gift on the page, I have a problem. When I click the gift when the indicator is on, my PB bar messes up and looks like this (see lower right of graphic). It doesn't clear when I click OK on the present found screen. But after I hit my refresh button, it changes to this, which is still messed up: Any ideas how to fix this?
|
|
inherit
226892
0
Nov 24, 2024 14:02:56 GMT -8
m2marsh
Come find us again y'all!
925
November 2015
m2marsh
|
Post by m2marsh on Nov 28, 2016 6:32:46 GMT -8
Need some help... I have everything working great, but after I've collected 5 prizes and the PB toolbar indicates there is a gift on the page, I have a problem. When I click the gift when the indicator is on, my PB bar messes up and looks like this (see lower right of graphic). It doesn't clear when I click OK on the present found screen. But after I hit my refresh button, it changes to this, which is still messed up: Any ideas how to fix this? I managed to fix it by replacing the Prize detector deactivated image. Apparently it didn't like the one I was using.
|
|
inherit
190152
0
Apr 28, 2019 15:11:21 GMT -8
isavarg
40
February 2013
isavarg
|
Post by isavarg on Nov 28, 2016 7:19:45 GMT -8
I installed this recently as I noticed it was being used on the support forum. Could you add something that will turn the plugin on and off, so that it can be used at certain times such as Christmas and Easter, but at other times it's switched off? I think that users might lose interest if it's on all the time. I also think that hunting for more than one image might be a good idea, too, if it's possible. I was a member of a forum a while a go (it wasn't a proboards forum) and they had an event at Easter where different eggs were hidden around the board and members had to find them - if you completed the set then you got a prize. That might be a fun thing to do.
|
|
inherit
yllaciledehcysP citsatkranS
161169
0
Nov 28, 2013 18:47:45 GMT -8
moonbeam
I have NO IDEA what "psychedelic insultment" is, but I'm clearly a victim of it!
7,230
December 2010
lmccull
|
Post by moonbeam on Nov 28, 2016 19:25:05 GMT -8
isavarg, just like any other plugin, you just go to Admin > Plugins > Manage and uncheck it when you want to turn it off.
I will be using a snowflake theme, too. Guess that's popular, lol. However, in testing, I never get more than one snowflake at a time, even though I've collected over 20. Ideas? I've perused the build section, and I'm not sure how to activate it when the "Halloween features" are turned off. I admit that I'm no coder, however, so I'm probably missing something simple. Could I leave the Halloween stuff on, but then just change that text, maybe?
|
|
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 Nov 28, 2016 20:04:15 GMT -8
moonbeam , even here on Support, the turkey hunt we just finished only garnered one turkey at a time.
No multiples like the original Halloween hunt.
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,848
January 2015
msg
|
Post by Lynx on Nov 28, 2016 23:51:31 GMT -8
moonbeam (and anyone else interested), To get the random number with Halloween Feature turned off, go into the Build of the plugin. Starting at Line 36 of the JS Component, you should see: $(this).remove(); //Current user's candy totals var dataCheck = pb.plugin.key('sh_obj_amount').get(userID); //If data exists for this user, increment. Otherwise, if (typeof dataCheck !== 'undefined') { var intprizeBag = parseInt(userprizeBag); var incrementNum; //If user has unlocked prize cloner, prize pickups can now range from 1 to x if (userprizeBag >= 20 && halloweenFeatures == 1) { incrementNum = Math.floor(Math.random() * 6) + 1; } else { incrementNum = 1; }
Line 44 is the one you want: if (userprizeBag >= 20 && halloweenFeatures == 1) {
If you want it only when Halloween Feature is off, change to: if (userprizeBag >= 20 && halloweenFeatures == 0) {
If you want the random number whether Halloween Feature is on or off, change it to this: if (userprizeBag >= 20) {
Adjust the userprizeBag >= 20 to a number that you want it random. For example, if you want it to start doing the random amount after 10 items are collected, change that to userprizeBag >= 10Be sure to save. EDIT: You can also change this line (same section): incrementNum = Math.floor(Math.random() * 6) + 1;
to alter the random number range. Just change the 6 to what you want for your upper limit. If you want a random number from 1 to 10 items, just change that line to this: incrementNum = Math.floor(Math.random() * 10) + 1;
|
|
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 Nov 29, 2016 0:00:41 GMT -8
Thank you, Lynx .
Very detailed directions.
Much appreciated.
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,848
January 2015
msg
|
Post by Lynx on Nov 29, 2016 0:01:50 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 Nov 29, 2016 0:03:54 GMT -8
Oh, we will.
Single increment is boring!!!!!
Your directions are very easy to follow.
Perfect.
|
|
inherit
yllaciledehcysP citsatkranS
161169
0
Nov 28, 2013 18:47:45 GMT -8
moonbeam
I have NO IDEA what "psychedelic insultment" is, but I'm clearly a victim of it!
7,230
December 2010
lmccull
|
Post by moonbeam on Nov 29, 2016 8:12:19 GMT -8
moonbeam , even here on Support, the turkey hunt we just finished only garnered one turkey at a time.
No multiples like the original Halloween hunt. Oh, good to know. I obviously didn't play enough to have noticed, lol.
Lynx - Thank you so much! That worked perfectly, once I replaced a closing parenthesis I accidentally deleted.
Next question. I notice that in the images tab of the build plugin section, that there are options to add one or more additional images. I tried adding a second (different) snowflake image, thinking maybe it would rotate between the 2 or something. Didn't happen. So, I am wondering if that is possible at all and how to do it. If not, what would be the purpose of adding another image?
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,848
January 2015
msg
|
Post by Lynx on Nov 29, 2016 11:07:45 GMT -8
moonbeam, The images tab in a plugin's build can take more images, but the JS would then have to reference that image for it to be used. That would require some JS modifications to use any additional images that were put there. The Images tab in the Build is typically used for having images "pre-packaged" with a plugin to use. For example, if you've used Brian's NPC Profiles plugin, that little sword icon that's used comes with the plugin - it's image is in the image tab. Peter may have also used the Images tab for the images used on the Yootil Bar. I hope that makes sense. If not, I'll try to explain better. EDIT: I'm glad you enjoy the mod above. Have fun!
|
|
inherit
yllaciledehcysP citsatkranS
161169
0
Nov 28, 2013 18:47:45 GMT -8
moonbeam
I have NO IDEA what "psychedelic insultment" is, but I'm clearly a victim of it!
7,230
December 2010
lmccull
|
Post by moonbeam on Nov 29, 2016 12:12:55 GMT -8
Got it, Lynx. I will leave it alone as it's not that big of a deal to only have one image.
|
|
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 Nov 29, 2016 12:14:00 GMT -8
moonbeam , a real simple way to add multiple images that would change on page load is to host them on this site and then simply put that one link in the plugin's URL.
That's what I do for my avatars here that change on page load.
|
|