Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
[Poll Plugin] Solution to clash between Poll Plugin and Roletitle plugin*
UnderDog
MVP
This discussion was created from comments split from: [Solved] Has anybody got Polls running with 2.0.18.4?.
There was an error rendering this rich post.
0
Answers
I get this error when clicking "Attach a poll":
-k0nsl
@k0nsl
Clearly there is some kind of clash between the two plugins.
What does it say on line 75?
At this point - you are going to have to disable the either the poll plugin or the roletitle plugin.
until there is a fix.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Yeah, that seems to be the only way so far.
-k0nsl
@k0nsl
Fwiw - it sounds like an interesting bug to solve, in that one would learn a bit by solving it. So, if I get a fix that allows both to be enabled - I will post it.
By the way - look at kpoll. I've been thinking about writing a new plugin based on the seemingly non-supported plugin by @cereal. Do you have any ideas of enhancements, or changes - aside from the obvious bug you reported. I'm hoping to get a few sponsors, even if it is a minimal amount of $, to help support my effort. So, if anyone thinks it is worthwhile and you want to sponsor let me know.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
I'll look into it all soon. Thanks re: kpoll, I'll look at that as well. It's just that I am a bit busy right now with a bunch of commitments.
Best wishes,
-k0nsl
here is a fix for poll and roletitle
I modified roletitle plugin
in class.roletitle.plugin.php
I also added made a few mods to allow individual users to add and delete and reset there own poll but not anyone elses and few other cosmetic changes. I'll release it if I get a slight contribution of $. Otherwise the fix above should be fine for you to enable both roletitle and poll plugins.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
i forgot to say @k0nsl - solved your issue - give it a try above and post back if it works for you.
also if you use either of the poll plugins - make sure to add the fixes for XSS scripting vulnerablities that I posted.
http://vanillaforums.org/discussion/comment/163979/#Comment_163979
I believe i added a change for kpoll also - but I don't have the link.
I also added made a few mods to allow individual users to add and delete and reset there own poll but not anyone elses and few other cosmetic changes as well as the xss script vulnerability fix. I'll release it if I get a slight contribution of $. Otherwise the fix above should be fine for you to enable both roletitle and poll plugins.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Hi,
Got your message. Thanks!
I've not tried this yet, but will do. I'm currently running 2.1a32 (was running latest stable prior -- when using polls / roletitle). Does polls work on 2.1a32? I've not tried, but I would presume it doesn't since that version is pretty different to the stable release offered for download here on vanillaforums.org
In any case, thanks a lot for the solution peregrine.
-k0nsl
I'm not sure if poll will run on 2.1a32, haven't tested. There doesn't seem too be much interest in this plugin anyway, so it wouldn't be worth the trouble upgrading without sponsorship, if it doesn't work in 2.1a32. I've only tested on 2.0.18.4 where the fixes I made work.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.