Conversation Essentials

Conversation Essentials [Paid] 2.8.5

No permission to buy ($45.00)
@Xon

Seeing this in our AdminCP.

Code:
Server error log

    Error: Unsupported operand types internal_data/code_cache/templates/l3/s31/public/forum_view.php:233

    Generated by: Unknown account Jul 16, 2019 at 3:03 PM

Stack trace

#0 src/XF/Template/Templater.php(1301): XF\Template\Templater->{closure}(Object(SV\ConversationEssentials\XF\Template\Templater), Array)
#1 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('forum_view', Array)
#2 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#3 src/XF/Mvc/Dispatcher.php(418): XF\Mvc\Renderer\Html->renderView('XF:Forum\\View', 'public:forum_vi...', Array)
#4 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#5 src/XF/Mvc/Dispatcher.php(360): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#6 src/XF/Mvc/Dispatcher.php(53): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#7 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#8 src/XF.php(390): XF\App->run()
#9 index.php(20): XF::runApp('XF\\Pub\\App')
#10 {main}

Request state

array(4) {
  ["url"] => string(23) "/classifieds/reloading/"
  ["referrer"] => bool(false)
  ["_GET"] => array(1) {
    ["/classifieds/reloading/"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}
 
@Xon

Seeing this in our AdminCP.

Code:
Server error log

    Error: Unsupported operand types internal_data/code_cache/templates/l3/s31/public/forum_view.php:233

    Generated by: Unknown account Jul 16, 2019 at 3:03 PM

Stack trace

#0 src/XF/Template/Templater.php(1301): XF\Template\Templater->{closure}(Object(SV\ConversationEssentials\XF\Template\Templater), Array)
#1 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('forum_view', Array)
#2 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#3 src/XF/Mvc/Dispatcher.php(418): XF\Mvc\Renderer\Html->renderView('XF:Forum\\View', 'public:forum_vi...', Array)
#4 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#5 src/XF/Mvc/Dispatcher.php(360): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#6 src/XF/Mvc/Dispatcher.php(53): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#7 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#8 src/XF.php(390): XF\App->run()
#9 index.php(20): XF::runApp('XF\\Pub\\App')
#10 {main}

Request state

array(4) {
  ["url"] => string(23) "/classifieds/reloading/"
  ["referrer"] => bool(false)
  ["_GET"] => array(1) {
    ["/classifieds/reloading/"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}
Can you grab the contents of the file forum_view.php:233 +- 5 lines so I can determine if it is this add-on or something unrelated?
 
Can you grab the contents of the file forum_view.php:233 +- 5 lines so I can determine if it is this add-on or something unrelated?

Sure, here it is.

Code:
    $__finalCompiled .= trim('
        ' . $__templater->fn('page_nav', array(array(
        'page' => $__vars['page'],
        'total' => $__vars['total'],
        'link' => 'forums',
        'data' => $__vars['forum'],
        'params' => $__vars['filters'],
        'wrapperclass' => 'block-outer-main',
        'perPage' => $__vars['perPage'],
    ))) . '
        ' . $__compilerTemp2 . '
        ') . '</div>

    ';
    $__vars['dateLimits'] = array('-1' => 'Any time', '7' => '' . '7' . ' days', '14' => '' . '14' . ' days', '30' => '' . '30' . ' days', '60' => '' . '2' . ' months', '90' => '' . '3' . ' months', '182' => '' . '6' . ' months', '365' => '1 year', );
    $__finalCompiled .= '
    ';
 
That is a template modification mangling things. This doesn't look like something this add-on affects, as Conversation Essentials doesn't extend the forum_view template.

You best bet is to disable template modifications extending the forum_view template until it works again and see which add-on owns it.
 
While translating I saw this small glitch @Xon:

phrase=option_explain.convess_copy_to_thread_mode
text=Ignores permissions from other add-ons</strong>

The opening strong tag is missing.
 
Xon updated Conversation Essentials with a new update entry:

2.1.3 - Bugfix update

  • Fix invalid HTML in "Copy to Thread Mode" option's explain phrase
  • Ensure thread's start date is set correctly when when exporting conversations and preserving dates

If threads are not being marked as read in the forum you've exported conversations to. Run these SQL queries;
SQL:
update xf_thread
join xf_post on xf_post.post_id = xf_thread.first_post_id
set xf_thread.post_date = xf_post.post_date
where xf_thread.post_date <> xf_post.post_date;

update xf_thread...

Read the rest of this update entry...
 
Would it be possible to not include searching through private conversations with default search?
Right now, when a member uses the basic search box to search through the forum, also private conversations are included. This can be a bit confusing.
I think conversations should only be searched when you are in the conversation section, or when you specify in advanced search.
 
@Mr. Jinx My Search Improvements add-on lets you set the content weight for conversation (or other search types) to zero so it isn't included in the general search but still works from content specific search results.

The weight of zero works with MySQL or ElasticSearch back-ends, but a non-zero weight requires ElasticSearch
 
That's great, I will see if I can get round to buying the add on tomorrow (well later) :)

Thank you.
:D

Just out of curiosity, where would I be able see the deleted conversations?
Currently; things go into the "Trash" folder, and then if a user "deletes" it from there a "really deleted" flag is set.

There isn't a way to easily see them, but the idea is to keep history as with some simple database edits they can be revived vs restoring from backup.
 
Back
Top Bottom