This discussion is related to the
Pockets addon.
@ToddPockets is a _really_ well designed plugin. Kudos. So I'm thinking that I'm probably just overlooking something here...
I have a pocket in the panel at given index 2. My Vanilla install is version 2.0.11.
Neither the Page settings nor the Roles conditions seem to work. Setting the Page to anything besides (All) makes the pocket disappear from all pages. And setting a role condition doesn't do anything at all: all roles seem to be able to see the pocket.
Any idea of what might be going on?
0 · ·
Comments
- Spam
- Abuse
0 · Insightful Awesome LOL ·- Spam
- Abuse
0 · Insightful Awesome LOL ·- Spam
- Abuse
1 · Insightful Awesome LOL ·- Spam
- Abuse
0 · Insightful Awesome LOL ·- Spam
- Abuse
0 · Insightful Awesome LOL ·- Spam
- Abuse
0 · Insightful Awesome LOL ·Are we to assume that the current version of this plugin (and others? which others? all the ones here?) is to be found on github, not on the Vanilla addons list here?
Is there anywhere on this site where that is made clear? I can't find any reference to it in the doco.
Also, I see at github that you (assuming you are tburry) made some change to class.pockets.plugin.php on May 7, 2011, but the addon itself here shows a last update date of November 2010. I'm not sure what we're meant to do with that -- is the November 2010 version here an old version, and we need to download the github version, or just the newer files from github, or...
Again, I'm not trying to be difficult here, but the process is very unclear, at least to me.
Further, why are some plugins on github? Are those ones written/maintained by the Vanilla devs? If so, same question as before: should we expect that the most current working versions can be found here in the actual Vanilla addons directory, given they are in some sense 'core' plugins maintained by the devs? Are versions at github not ready for primetime in some sense?
I've been champing at the bit to get my busy community site from 1.1.10 to the 2.x branch for over a year now, but functionality (mostly achieved through some key plugins like nuggets/pockets) isn't quite there yet. I'd be happy to get involved in fixing code and submitting bugs if it will help things along, but I am honestly unclear on what the process is here (and I admit I am a bit bewildered by github).
- Spam
- Abuse
0 · Insightful Awesome LOL ·Is it ready for primetime? I'm going to go give it a go on my testbed...
Edit: Bummer. I can't figure out how to make it do the Magic.
- Spam
- Abuse
0 · Insightful Awesome LOL ·So hooray, and I guess I'll just try to remember to always check there too, if (an Approved?) plugin is not working...
- Spam
- Abuse
0 · Insightful Awesome LOL ·That's why not of this was announced yet.
- Spam
- Abuse
0 · Insightful Awesome LOL ·After all this time I'm finally getting a little enthusiastic about moving off of 1.x...
- Spam
- Abuse
0 · Insightful Awesome LOL ·i see that Stav says it is working...am i missing something here? is this fixed or not?
thank you for your help.
- Spam
- Abuse
0 · Insightful Awesome LOL ·Vanilla Wiki, Tastes Great! 31,000 viewers can't be wrong.
- Spam
- Abuse
0 · Insightful Awesome LOL ·Same problem, I believed, that 1.0.3b from Github will fix this problem, but didn't see any changes, still can't limit pocket to a specific role.
- Spam
- Abuse
0 · Insightful Awesome LOL ·@Todd Hi, I'm just finishing customizing my new Vanilla based forum, and only thing that I need is to put some Js content on page, that should be displayed only for registered users. Pockets addon would be best option to do this, but in latest vanilla It doesen't work like it should, and as i see not only I have this problem - content is showed for all users, even if I restrict this in addon settings.
I know, that You are probably very busy, and this addon isn't on Your top position to do, but I just only want to know what are the chances (in %) that You will fix this addon in the next ~30 days, beacause I don't know is it worth it to wait or better start create own simple addon to put this content in other way.
- Spam
- Abuse
0 · Insightful Awesome LOL ·@stavthewonderchicken, all of our source code is maintained at github and so it will often be ahead of the stuff in the addons section.
I will try to clear off the pockets issues this week. I don't think they are that difficult to fix.
- Spam
- Abuse
2 · Insightful 2Awesome LOL ·@Todd is the Github build all fixed up at this point/
Vanilla Wiki, Tastes Great! 31,000 viewers can't be wrong.
- Spam
- Abuse
0 · Insightful Awesome LOL ·Same question as @hbf
- Spam
- Abuse
0 · Insightful Awesome LOL ·@Todd -- Got a chance to look at this? Still stumped. Issue raised on Github in duplicate.
- Spam
- Abuse
0 · Insightful Awesome LOL ·@leafmonster : Did you try the latest version of 'Pockets' available on GitHub? I am using it on my forum, and it's working like a charm.
- Spam
- Abuse
0 · Insightful Awesome LOL ·@badlearner - Can You limit pocket display to a specific user group ? I was trying this latest version from GitHub, and I still didn't see any change.
- Spam
- Abuse
0 · Insightful Awesome LOL ·@vaniller : Absolutely. Let me show you.
- Spam
- Abuse
0 · Insightful Awesome LOL ·@vaniller : I'm on Vanilla 2.1a, and Pockets doesn't seem to be working, like you said. But when I tested it on Vanilla 2.0.18.3, it actually worked. So, I don't understand what could be wrong.
This site (belongs to @aery ) http://forum.gtricks.com/ uses pockets, and it's working.
- Spam
- Abuse
0 · Insightful Awesome LOL ·@badlearner @vaniller Thanks for the responses.
I've upgraded to Vanilla 2.0.18.4 and Pockets 1.0.4 from Github... And the roles conditions still don't seem to do anything. Also the new mobile-only/no-mobile conditions don't seem to work either, in fact, the boxes don't stay checked when I save the pocket.
What am I missing here?
- Spam
- Abuse
0 · Insightful Awesome LOL ·I'm not much of a coder so I could be totally wrong, but attempting to read the code, it certainly looks to me like the Conditions feature isn't implemented. Specificially, the CanRender() function of the Pocket class which returns whether the pocket should show up or not, has no clause to to test for role or permission conditions. Nor can I find this tested for anywhere else in the Pockets codebase...
I'd guess it's just one or two lines of code to add this... Anyone?
- Spam
- Abuse
0 · Insightful Awesome LOL ·Same problem. Pockets show to all roles :(
- Spam
- Abuse
0 · Insightful Awesome LOL ·So there is still no solution for this?
- Spam
- Abuse
0 · Insightful Awesome LOL ·