Spanner Posted October 4, 2013 Share Posted October 4, 2013 File Name: (SD) Hide Poll Votes File Submitter: Spanner File Submitted: 03 Oct 2013 File Category: User and Social Engagement Supported Versions: IP.Board 3.3.x, IP.Board 3.4.x Author: Dawid Baruch (IPSBeyond.pl)Opis: Hook pozwala na ukrywanie wyników ankiet dla wybranych grup w wybranych forach do czasu zamknięcia tematu.Description: Hook allows to hide poll votes from selected groups in selected forums until topic was closed. here to download this file Link to comment Share on other sites More sharing options...
Cabola Posted October 7, 2013 Share Posted October 7, 2013 Looks kinda interesting! Link to comment Share on other sites More sharing options...
Cabola Posted February 19, 2014 Share Posted February 19, 2014 There's a bug in it, if you use the quick edit feature then it resets the checkmark for hiding the results! Link to comment Share on other sites More sharing options...
GreatestEver Posted November 16, 2014 Share Posted November 16, 2014 Works fine on the full version of my forum, but on the mobile skin it creates an error Link to comment Share on other sites More sharing options...
Cabola Posted November 23, 2014 Share Posted November 23, 2014 Works fine on the full version of my forum, but on the mobile skin it creates an errorwhat error are you getting there? On the mobile skin I mean.. Link to comment Share on other sites More sharing options...
Cabola Posted May 22, 2015 Share Posted May 22, 2015 There's a bug in it, if you use the quick edit feature then it resets the checkmark for hiding the results!I never posted the fix I came up with:Open the xml and find (~ line 268): public function handleData( $insert ) { $this->DB->update( 'topics', array( 'sd_hpv' => intval( $this->request[ 'sd_hpv' ] ) ), "tid={$insert[ 'post_data' ][ 'topic_id' ]}" ); }Replace with this: public function handleData( $insert ) { if (!IPS_IS_AJAX) { $this->DB->update( 'topics', array( 'sd_hpv' => intval( $this->request[ 'sd_hpv' ] ) ), "tid={$insert[ 'post_data' ][ 'topic_id' ]}" ); } } Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.