[TH] Reactions [Deleted]

No i mean can you set the part of the criteria for usergroup promotions to be after a certain number of positive reactions?

That's the main thing we use Post Ratings for.

No, that criteria in user promotions is not available. An excellent suggestion for sure!
 
Error in the log to report...

  • ErrorException: Template error: Template public:alert_xfmg_media_react is unknown
  • src/XF/Template/Templater.php:564
  • Generated by: ***********
  • Jan 9, 2018 at 2:02 PM
Stack trace
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Template public...', '/home/site/publi...', 564, Array)
#1 src/XF/Template/Templater.php(564): trigger_error('Template public...', 512)
#2 src/XF/Template/Templater.php(519): XF\Template\Templater->getTemplateData('public', 'alert_xfmg_medi...')
#3 src/XF/Template/Templater.php(1229): XF\Template\Templater->getTemplateCode('public', 'alert_xfmg_medi...')
#4 src/XF/Alert/AbstractHandler.php(67): XF\Template\Templater->renderTemplate('alert_xfmg_medi...', Array)
#5 src/XF/Entity/UserAlert.php(67): XF\Alert\AbstractHandler->render(Object(XF\Entity\UserAlert))
#6 [internal function]: XF\Entity\UserAlert->render()
#7 src/XF/Template/Templater.php(920): call_user_func_array(Array, Array)
#8 internal_data/code_cache/templates/l1/s35/public/alert_macros.php(18): XF\Template\Templater->method(Object(XF\Entity\UserAlert), 'render', Array)
#9 src/XF/Template/Templater.php(643): XF\Template\Templater->{closure}(Object(ThemeHouse\UIX\XF\Template\Templater), Array, Array)
#10 internal_data/code_cache/templates/l1/s35/public/account_alerts_popup.php(18): XF\Template\Templater->callMacro('alert_macros', 'row', Array, Array)
#11 src/XF/Template/Templater.php(1230): XF\Template\Templater->{closure}(Object(ThemeHouse\UIX\XF\Template\Templater), Array)
#12 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('account_alerts_...', Array)
#13 src/XF/Mvc/Renderer/Json.php(81): XF\Template\Template->render()
#14 src/XF/Mvc/Renderer/Json.php(65): XF\Mvc\Renderer\Json->renderHtmlFallback('XF:Account\\Aler...', 'public:account_...', Array)
#15 src/XF/Mvc/Dispatcher.php(332): XF\Mvc\Renderer\Json->renderView('XF:Account\\Aler...', 'public:account_...', Array)
#16 src/XF/Mvc/Dispatcher.php(303): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#17 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'json')
#18 src/XF/App.php(1880): XF\Mvc\Dispatcher->run()
#19 src/XF.php(328): XF\App->run()
#20 index.php(13): XF::runApp('XF\\Pub\\App')
#21 {main}

Request state

array(4) {
["url"] => string(203) "/account/alerts-popup?_xfRequestUri=%2Fthreads%2Fthread-name.35333%2Fpage-205&_xfWithData=1&_xfToken=1515524517%2Cfee89444a46ecc148754ac903e053b3d&_xfResponseType=json&_=1515524517543"
["referrer"] => string(74) "https://www.site.com/threads/thread-name.35333/page-205"
["_GET"] => array(5) {
["_xfRequestUri"] => string(55) "/threads/thread-name.35333/page-205"
["_xfWithData"] => string(1) "1"
["_xfToken"] => string(43) "1515524517,fee89444a46ecc148754ac903e053b3d"
["_xfResponseType"] => string(4) "json"
["_"] => string(13) "1515524517543"
}
["_POST"] => array(0) {
}
}
 
This is already known and safe to ignore, the alert templates are currently missing so you'll just get some blank alerts. We should have an update tomorrow @silence
 
Yeah, someone asked about it a couple pages back as well :)

We'll be adding user criteria to be used with any system that supports it (such as group promotions) in the next couple of updates :)
 
I want to reset all reactions in forum to 0, to make fresh start for users. Could you please provide me with query I need to run in mysql?


One more question. Is it possible to change display type in Likes received (user profile) from existing

{name} liked your post in the thread {title}.

to that one from Alerts

{name} reacted {reaction} to your post in the thread {title}.

When user want to check Reactions from his profile he or she doesn't know what reaction has been received. They must check post to see that.
 
Last edited:
The new widget in member's profile should be clickable to display the content where that member received or gave reaction.
 
Seems that this breaks resource manager, if installed :(

Code:
XF\Db\Exception: MySQL statement prepare error [1054]: Unknown column 'react_users' in 'field list' in src/XF/Db/AbstractStatement.php at line 212
XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 174
XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 36
XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 46
XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 74
XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 151
XF\Db\AbstractAdapter->insert() in src/XF/Mvc/Entity/Entity.php at line 1381
XF\Mvc\Entity\Entity->_saveToSource() in src/XF/Mvc/Entity/Entity.php at line 1113
XF\Mvc\Entity\Entity->save() in src/XF/Mvc/Entity/Entity.php at line 1131
XF\Mvc\Entity\Entity->save() in src/addons/XFRM/Service/ResourceItem/Create.php at line 288
XFRM\Service\ResourceItem\Create->_save() in src/XF/Service/ValidateAndSavableTrait.php at line 40
XFRM\Service\ResourceItem\Create->save() in src/addons/XFRM/Pub/Controller/Category.php at line 268
XFRM\Pub\Controller\Category->actionAdd() in src/XF/Mvc/Dispatcher.php at line 249
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 89
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1880
XF\App->run() in src/XF.php at line 328
XF::runApp() in index.php at line 13
 
Seems that this breaks resource manager, if installed :(

Code:
XF\Db\Exception: MySQL statement prepare error [1054]: Unknown column 'react_users' in 'field list' in src/XF/Db/AbstractStatement.php at line 212
XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 174
XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 36
XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 46
XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 74
XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 151
XF\Db\AbstractAdapter->insert() in src/XF/Mvc/Entity/Entity.php at line 1381
XF\Mvc\Entity\Entity->_saveToSource() in src/XF/Mvc/Entity/Entity.php at line 1113
XF\Mvc\Entity\Entity->save() in src/XF/Mvc/Entity/Entity.php at line 1131
XF\Mvc\Entity\Entity->save() in src/addons/XFRM/Service/ResourceItem/Create.php at line 288
XFRM\Service\ResourceItem\Create->_save() in src/XF/Service/ValidateAndSavableTrait.php at line 40
XFRM\Service\ResourceItem\Create->save() in src/addons/XFRM/Pub/Controller/Category.php at line 268
XFRM\Pub\Controller\Category->actionAdd() in src/XF/Mvc/Dispatcher.php at line 249
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 89
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1880
XF\App->run() in src/XF.php at line 328
XF::runApp() in index.php at line 13

Have a look at the FAQ tab :)
 
This should probably be added to the install / update though, rather than pointing someone to FAQ.

Unfortunately not really possible, it'll add the fields if you already have XF Resource Manager or Media Gallery installed, but if you install them after Reactions is already installed there is little we can do short of extending the add-on installation process to check if these two specific add-ons are being installed which we're trying to avoid as only a couple of people have encountered this issue so far :)
 
I guess I can see that if you've got resources installed after this addon, that might be a bit complicated. Maybe find a way to setup an alert in the admin area that these are missing, pointing to the faq then, if resources are installed?

Just trying to make everyone's life a bit less complicated :P
 
We may be able to do something like that. However, we'd have to do something like this on a cron so by the time that cron happens to run chances are someone has already gotten the error and would have likely either contacted us or found that in the FAQ or a post about it in this thread anyways. Not to mention this cron would be running regardless of whether or not you ever plan on installing Resource Manager or Media Gallery
 

What browser are you using? This is happening to me and raised the concern but have gotten no support from the dev. Make sure the reactions you are using have the correct color. Check Admin PC > Reaction and Reactions types if they have the correct color. If they have the right color then this is a bug which im sure its a bug within the add-on the dev either ignored or could not find a way to resolve it. In my forum the Like displays Positive and the Positive shows the like.:ROFLMAO: We all have missed @Luke F
 

We'll look into it :)

What browser are you using? This is happening to me and raised the concern but have gotten no support from the dev. Make sure the reactions you are using have the correct color. Check Admin PC > Reaction and Reactions types if they have the correct color. If they have the right color then this is a bug which im sure its a bug within the add-on the dev either ignored or could not find a way to resolve it. In my forum the Like displays Positive and the Positive shows the like.:ROFLMAO: We all have missed @Luke F

I don't believe you have mentioned this issue, if you did it was missed. You do have several tickets -- all of which have been answered

Still hoping for the fix for the accurate count...

We'll have it out in the next update
 
Hey @Jake B. can this widget also be displayed in notable members? I think the widget is a great idea and I'm considering re-installing this. Also another question is if you fixed the error I received from uninstalling in this last update. Please let me know. These are great features which may lead me to re-install.
 
Top Bottom