inherit
173855
0
Apr 23, 2024 9:59:44 GMT -8
Texas
I check in every once in a while...
869
November 2011
petermaggio
|
Post by Texas on Dec 5, 2016 10:28:50 GMT -8
David Clark, It appears as though this plugin might be causing problems with other plugins using the PBN bar? support.proboards.com/thread/605683/theme-changer-pluginAs far as I can tell, the problem seems to be that, if another plugin adds an image to the PBN bar, it will get shoved off the side (along with the settings icon) by the little icon that tells you whether there is an item on the page. Like I said in that thread, the problem could very well be with my Theme Changer plugin, but I'd thought I'd check to see what you think.
|
|
inherit
223366
0
Jun 20, 2024 5:38:45 GMT -8
mikemcd
176
July 2015
mikemcd
|
Post by mikemcd on Dec 5, 2016 17:30:28 GMT -8
I really like this plugin. Is there any way I can have the number of items collected display in the user's profile pages instead of their mini profiles?
Well, I commented out the bit below and everything still works and it clears the mini profiles.
/*
//Add prize bag to profiles
var paperBag = $('<div class="prizeBag"><img src="' + pb.plugin.get('scavenger_hunt').settings.container_image_url + '"><div class="prizeCountContainer"><span class="prizeCount"><span class="prizeNum">0</span> <img class="prizeIcon" src="' + pb.plugin.get('scavenger_hunt').settings.small_prize_image_url + '"></span></div></div>');
var userData = [];
*/ Adding it to the main profile will be a bit beyond my feeble abilities.
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,849
January 2015
msg
|
Post by Lynx on Dec 5, 2016 22:35:25 GMT -8
I really like this plugin. Is there any way I can have the number of items collected display in the user's profile pages instead of their mini profiles? Well, I commented out the bit below and everything still works and it clears the mini profiles. /*
//Add prize bag to profiles
var paperBag = $('<div class="prizeBag"><img src="' + pb.plugin.get('scavenger_hunt').settings.container_image_url + '"><div class="prizeCountContainer"><span class="prizeCount"><span class="prizeNum">0</span> <img class="prizeIcon" src="' + pb.plugin.get('scavenger_hunt').settings.small_prize_image_url + '"></span></div></div>');
var userData = [];
*/ Adding it to the main profile will be a bit beyond my feeble abilities. You can try adding this to the Profile template where you want it to show: <div class="prizeBag"><img src="' + pb.plugin.get('scavenger_hunt').settings.container_image_url + '"><div class="prizeCountContainer"><span class="prizeCount"><span class="prizeNum">0</span> <img class="prizeIcon" src="' + pb.plugin.get('scavenger_hunt').settings.small_prize_image_url + '"></span></div></div>
I haven't tested this, so it may not work. I'm not sure if templates can grab plugin settings or not (I've never had to test that).
|
|
inherit
223366
0
Jun 20, 2024 5:38:45 GMT -8
mikemcd
176
July 2015
mikemcd
|
Post by mikemcd on Dec 6, 2016 4:58:44 GMT -8
Lynx It didn't work, but it tried to. The click functionality tried to work, but the counter was stuck at 0 and the images were broken.
|
|
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 Dec 7, 2016 13:07:50 GMT -8
I have three members who are saying that the number of presents in the present found dialog box differs from the number of presents in the mini profile. I know it isn't a big deal, but is there a fix for this?
|
|
inherit
223366
0
Jun 20, 2024 5:38:45 GMT -8
mikemcd
176
July 2015
mikemcd
|
Post by mikemcd on Dec 7, 2016 15:22:50 GMT -8
I would like the prizes to show up about 90% less than they already do. What do I need to modify in the build to do that? Thanks!
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,849
January 2015
msg
|
Post by Lynx on Dec 7, 2016 16:29:52 GMT -8
I have three members who are saying that the number of presents in the present found dialog box differs from the number of presents in the mini profile. I know it isn't a big deal, but is there a fix for this? Can they get a screenshot for you - 1 of the popup message and another (without getting any additional items) of their profile? It should be pulling from the same variable. Have you done any other modifications to the build (other than the previous mod I posted)? I would like the prizes to show up about 90% less than they already do. What do I need to modify in the build to do that? Thanks! I don't have time tonight, but I did take a quick look at the build. There's a few areas that need to be adjusted to lower the chances of a prize showing up. Unless someone beats me to it, I'll try to get the mod out for you tomorrow sometime (I'll post it here).
|
|
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 Dec 7, 2016 17:16:43 GMT -8
I have three members who are saying that the number of presents in the present found dialog box differs from the number of presents in the mini profile. I know it isn't a big deal, but is there a fix for this? Can they get a screenshot for you - 1 of the popup message and another (without getting any additional items) of their profile? It should be pulling from the same variable. Have you done any other modifications to the build (other than the previous mod I posted)? I'll try. I can't recreate the issue myself. One of them might be tech savvy enough to grab a screenshot. I've only made modifications suggested in this thread (I think pretty much solely by you! -- thanks!). But I have swapped out most of the graphics and some of the text in the dialog boxes.
|
|
inherit
223366
0
Jun 20, 2024 5:38:45 GMT -8
mikemcd
176
July 2015
mikemcd
|
Post by mikemcd on Dec 8, 2016 19:53:05 GMT -8
I don't have time tonight, but I did take a quick look at the build. There's a few areas that need to be adjusted to lower the chances of a prize showing up. Unless someone beats me to it, I'll try to get the mod out for you tomorrow sometime (I'll post it here). I've figured it out. The following is the segment I've modified. I've commented in the defaults. Increasing the numbers makes the prizes appear less. //On page load, run code with default odds //default is 2 var oddsModifierNumber = 12; rollTheDice(oddsModifierNumber);
//On page change event, rerun code proboards.on('pageChange', function() {
//Reset everything $('.prizeContainer, .prizeDetector').remove(); unbindFunctions(); bindFunctions();
//Halve odds, because changing pages is easy //default is 4 oddsModifierNumber = 24; rollTheDice(oddsModifierNumber); });
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,849
January 2015
msg
|
Post by Lynx on Dec 8, 2016 22:07:41 GMT -8
Sorry I didn't get back to with this sooner, mikemcd. Glad you got it figured out though!
|
|
inherit
223366
0
Jun 20, 2024 5:38:45 GMT -8
mikemcd
176
July 2015
mikemcd
|
Post by mikemcd on Dec 9, 2016 16:49:51 GMT -8
Any takers for helping me to get this prize bag into the user profile page instead of the mini profiles?
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,849
January 2015
msg
|
Post by Lynx on Dec 9, 2016 21:12:57 GMT -8
To any interested: I'll be working on a modified version of the plugin to add features that have been requested here to have them as options in the UI (so you won't need to modify the code anymore). HOWEVER, as this is not my plugin originally, I'll be posting it as an attachment and stating that it is a modified version - it will NOT be submitted to the library due to the fact that it is not my plugin. With all of the recent requests though, I'll work on a modified copy and try to get all of these requests added in as options. mikemcd - I'll see about trying to get an option in for: Profile, Mini-Profile or Both. I haven't done anything with putting information there, so it may be out of my knowledge range. If so, I apologize in advance.
|
|
inherit
223366
0
Jun 20, 2024 5:38:45 GMT -8
mikemcd
176
July 2015
mikemcd
|
Post by mikemcd on Dec 10, 2016 7:03:45 GMT -8
Lynx One thing I've modified already that would be cool to include is the option to have the hidden image be different than the actual prize in the alert window. This has allowed me to... hide wall meat. The hidden image is a crack with transparency that looks like a damaged part of a wall. When clicked it alerts that they have found meat, and shows the meat. The modified branch of the plugin is attached. EDIT: Oh, and Todge's Creature Hunt II plugin does exactly what I'm talking about for adding plugin info to the user's profile tab. I messaged Todge for a code snippit, but I understand if that's not something they can get around to or are willing to send. I've been keeping Todge VERY busy lately with support for a couple of their plugins and am extremely thankful with what help has been given lately. Top notch people, you and Todge. Attachments:Wall Meat.pbp (9.71 KB)
|
|
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 Dec 10, 2016 12:29:40 GMT -8
I have three members who are saying that the number of presents in the present found dialog box differs from the number of presents in the mini profile. I know it isn't a big deal, but is there a fix for this? Can they get a screenshot for you - 1 of the popup message and another (without getting any additional items) of their profile? It should be pulling from the same variable. Have you done any other modifications to the build (other than the previous mod I posted)? I would like the prizes to show up about 90% less than they already do. What do I need to modify in the build to do that? Thanks! I don't have time tonight, but I did take a quick look at the build. There's a few areas that need to be adjusted to lower the chances of a prize showing up. Unless someone beats me to it, I'll try to get the mod out for you tomorrow sometime (I'll post it here). Lynx , here is a screenshot that shows the number of prizes in the dialog box vs. the miniprofile are different.
|
|
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 Dec 10, 2016 12:30:34 GMT -8
To any interested: I'll be working on a modified version of the plugin to add features that have been requested here to have them as options in the UI (so you won't need to modify the code anymore). HOWEVER, as this is not my plugin originally, I'll be posting it as an attachment and stating that it is a modified version - it will NOT be submitted to the library due to the fact that it is not my plugin. With all of the recent requests though, I'll work on a modified copy and try to get all of these requests added in as options. mikemcd - I'll see about trying to get an option in for: Profile, Mini-Profile or Both. I haven't done anything with putting information there, so it may be out of my knowledge range. If so, I apologize in advance. Great! Will it be an attachment here in this thread?
|
|