XenForo
Administrative
- Thread starter
- Admin
- #1
I have written an addon through which our users can withdraw their quickpoll votes.
Problem is that for this I had to completely override the function "getPollInput" (XF\Helper\Poll) by the addon to add a new field called "remove_vote", because I have not found a way how to add a new field into the existing filters. This is of course impractical when Xenforo changes something here itself. Is there a more elegant way to simply add a new field to the existing poll filters?
Read more
ادامه مطلب...
Problem is that for this I had to completely override the function "getPollInput" (XF\Helper\Poll) by the addon to add a new field called "remove_vote", because I have not found a way how to add a new field into the existing filters. This is of course impractical when Xenforo changes something here itself. Is there a more elegant way to simply add a new field to the existing poll filters?
Original...
Click to expand...
Read more
ادامه مطلب...