Create a new poll?

Hi all,

 

Ok is there a easy way for when a member creates a new poll question that i can set it so that the poll is always showing to 'everyone' and remove the option showing on the create poll screen that gives the member the option to change it to 'me only', 'friends', 'members', 'everyone'??

 

And also wanted to make it so nobody can comment on the poll (except the creator) as standard and put it so everyone can vote on it as standard, but remove the options that members can see when creating the polls?

 

Cheers

 

Charlie 

You Creature!!
Quote · 26 Jul 2012

Anyone please?

You Creature!!
Quote · 26 Jul 2012

   

You Creature!!
Quote · 29 Jul 2012

Quote · 29 Jul 2012

no easy way

Quote · 29 Jul 2012

 Dam :( So it's not a case of just commenting out a little bit of code then to get rid of those options?

 

Cheers.

 

 

no easy way

 

You Creature!!
Quote · 29 Jul 2012

go to phpmyadmin and run this query

UPDATE `sys_privacy_actions` SET `default_group`='2' WHERE `title` = '_bx_poll_allow_comment';

It will set the default privacy settings for commenting to only the poll's creator.

Now edit modules/boonex/poll/classes/BxPollModule.php at line 902

comment this

/*'allow_view_to' => $this -> oPrivacy -> getGroupChooser($this -> aPollSettings['member_id']

                                            , $this -> aModuleInfo['uri'], 'view', array(), _t('_bx_poll_allow_view') ),

 

                    'allow_comments_to' => $this -> oPrivacy -> getGroupChooser($this -> aPollSettings['member_id']

                                            , $this -> aModuleInfo['uri'], 'comment', array(), _t('_bx_poll_allow_comment') ),*/

Clear the DB cache and done. Enjoy. :)

so much to do....
Quote · 29 Jul 2012

 Prashank25 your the man!! to the rescue once again, worked like a charm.

 

cheers bud :) 

 

go to phpmyadmin and run this query

UPDATE `sys_privacy_actions` SET `default_group`='2' WHERE `title` = '_bx_poll_allow_comment';

It will set the default privacy settings for commenting to only the poll's creator.

Now edit modules/boonex/poll/classes/BxPollModule.php at line 902

comment this

/*'allow_view_to' => $this -> oPrivacy -> getGroupChooser($this -> aPollSettings['member_id']

                                            , $this -> aModuleInfo['uri'], 'view', array(), _t('_bx_poll_allow_view') ),

 

                    'allow_comments_to' => $this -> oPrivacy -> getGroupChooser($this -> aPollSettings['member_id']

                                            , $this -> aModuleInfo['uri'], 'comment', array(), _t('_bx_poll_allow_comment') ),*/

Clear the DB cache and done. Enjoy. :)

 

You Creature!!
Quote · 30 Jul 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.