Where do you see that? Did it cause a problem?
@Sim would it be very hard to allow members to select which forums they receive the digest from?
In my MG EVs forum, people own one car and only want updates from the forum for that car.
So I tried the install again and the second time, it installed correctly without error.Server error log
- XF\PrintableException: Batch install error: Callback Hampel\WhatsNewDigest\Listener::nonTransactionalStopMap is invalid (error_invalid_method).
- src/XF/Mvc/Entity/Entity.php:1228
- Generated by: Stuart Wright
- Jan 14, 2025 at 8:39 AM
Stack trace
#0 src/XF/AddOn/DataType/CodeEventListener.php(73): XF\Mvc\Entity\Entity->save(true, false)
#1 src/XF/Job/AddOnData.php(110): XF\AddOn\DataType\CodeEventListener->importAddOnData('Hampel/WhatsNew...', Object(SimpleXMLElement), 0, 7.95886)
#2 src/XF/Job/AddOnInstallBatch.php(341): XF\Job\AddOnData->run(7.95886)
#3 src/XF/Job/AddOnInstallBatch.php(95): XF\Job\AddOnInstallBatch->stepData(Object(XF\Timer))
#4 src/XF/Job/Manager.php(260): XF\Job\AddOnInstallBatch->run(8)
#5 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 8)
#6 src/XF/Job/Manager.php(118): XF\Job\Manager->runJobEntry(Array, 8)
#7 src/XF/Admin/Controller/Tools.php(122): XF\Job\Manager->runByIds(Array, 8)
#8 src/XF/Mvc/Dispatcher.php(352): XF\Admin\Controller\Tools->actionRunJob(Object(XF\Mvc\ParameterBag))
#9 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', Object(XF\Mvc\RouteMatch), Object(Wutime\AdBlockTracker\XF\Admin\Controller\Tools), NULL)
#10 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(Wutime\AdBlockTracker\XF\Admin\Controller\Tools), NULL)
#11 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#12 src/XF/App.php(2485): XF\Mvc\Dispatcher->run()
#13 src/XF.php(524): XF\App->run()
#14 admin.php(13): XF::runApp('XF\\Admin\\App')
#15 {main}
Request state
array(4) {
["url"] => string(24) "/admin.php?tools/run-job"
["referrer"] => string(48) "https://www.avforums.com/admin.php?tools/run-job"
["_GET"] => array(1) {
["tools/run-job"] => string(0) ""
}
["_POST"] => array(3) {
["_xfRedirect"] => string(85) "https://www.avforums.com/admin.php?add-ons/install-from-archive-complete&batch_id=366"
["_xfToken"] => string(8) "********"
["only_ids"] => string(7) "9999470"
}
}
How is it looking?Yeah that would probably be useful on ZooChat as well.
I don't have time to build this functionality right now (focus is on getting ZooChat upgraded to XF 2.3!) - I'll put it on the todo list though.
How is it looking?
Could you create a premium version and charge for it? That would motivate you to build it and those admins who value it (like me) would be happy to pay.
/admin.php?tools/whatsnewdigest-test
, it shows the logo at the top. But when the actual digest gets sent out, it uses the text of the forum title instead of the logo.The home page of the forum. There's no problem with the URL. The logo image is public -- the code usesWhat is the actual URL that is being rendered in the emails in both cases?
publicLogoUrl
.whatsnewdigest_email
template is the culprit? 'board': '<a href="' . link('canonical:index') . '">' . $xf.options.boardTitle . '</a>'
'board':
part. For MAIL_CONTAINER
I changed: <td class="header" align="center" valign="top">
<a href="{{ link('canonical:index') }}">{$xf.options.boardTitle}</a>
</td>
<td class="summaryHeaderBar" align="center" valign="top">
<xf:if is="property('emailPublicLogoUrl')">
<a href="{{ link('canonical:index') }}"><img src="{{ base_url(property('emailPublicLogoUrl'), true) }}" alt="{$xf.options.boardTitle}" /></a>
<xf:elseif is="property('publicLogoUrl')" />
<a href="{{ link('canonical:index') }}"><img src="{{ base_url(property('publicLogoUrl'), true) }}" alt="{$xf.options.boardTitle}" width="{{ property('publicLogoWidth') ?: '' }}" height="{{ property('publicLogoHeight') ?: '' }}" class="{{ property('publicLogoUrl')|to_lower|substr(-4) == '.svg' ? 'logo-svg' : '' }}" /></a>
<xf:else />
<a href="{{ link('canonical:index') }}">{$xf.options.boardTitle}</a>
</xf:if>
</td>
I think this code in thewhatsnewdigest_email
template is the culprit?
We use essential cookies to make this site work, and optional cookies to enhance your experience.