By Stefano Virgilli on Friday, 13 September 2019
Posted in General Issues
Replies 3
Likes 0
Views 468
Votes 0
In other words, can we get users to vote right away without liking the page first?
Hm, unfortunately that is current behavior, if you would like to change it, you can modify on this file and this file cant be override into your current template, mean you have to re-add this modification code in next release version.

JoomlaFolder/components/com_easysocial/controllers/polls.php

LINE 191

if (!$poll->canVote()) {
$message = JText::_('COM_EASYSOCIAL_POLLS_ERROR');

if ($poll->cluster_id) {
$tableCluster = ES::table('cluster');
$tableCluster->load($poll->cluster_id);

$clusterType = $tableCluster->cluster_type;
$message = JText::_('COM_ES_POLL_NON_MEMBER_VOTE_ERROR_MESSAGE_' . strtoupper($clusterType));
}

$this->view->setMessage($message, ES_ERROR);
return $this->view->call(__FUNCTION__);
}
·
Friday, 13 September 2019 13:33
·
0 Likes
·
0 Votes
·
0 Comments
·
mmmmmm.... a bit tricky... It would be nice to have this as an option in the Settings to toggle on/off
·
Friday, 13 September 2019 13:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Currently you are the only one who want this behavior, perhaps you can submit a request to change this behavior or add a setting for this from our forum here https://stackideas.com/forums/easysocial-feature-requests so we will see if there a lot of user who want this, then we definitely will consider this.
·
Friday, 13 September 2019 13:59
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post