Actually it does on RC1... on all 3 of my forums I have.Thank you Chris, but don't work on XenFor 1.2.0 RC1, nothing appears![]()
I do not understand why it does not work for me, I checked the files are present and I reimport the xml and still nothing.Actually it does on RC1... on all 3 of my forums I have.
Tested on original style (1.2.0 RC1) and same problem nothing display.No idea.
Probably style related.
In /library/UnreadPostCount/Listener.php check the sectionTested on original style (1.2.0 RC1) and same problem nothing display.
$unread = XenForo_Model::create('UnreadPostCount_Model_Unread')->getUnreadPostCount($userId, $nodeIds);
$whatsNewPhrase = new XenForo_Phrase('whats_new');
$whatsNewPhraseQuoted = preg_quote($whatsNewPhrase->__toString());
It's work now ! thank you TracyIn /library/UnreadPostCount/Listener.php check the section
and try changing the segment XenForo_Phrase('whats_new') where the whats_new reflects the phrase in the language you selected (if the base ACP phrases are in another language - if in English it probably won't do any good).Code:$unread = XenForo_Model::create('UnreadPostCount_Model_Unread')->getUnreadPostCount($userId, $nodeIds); $whatsNewPhrase = new XenForo_Phrase('whats_new'); $whatsNewPhraseQuoted = preg_quote($whatsNewPhrase->__toString());
$unread = XenForo_Model::create('UnreadPostCount_Model_Unread')->getUnreadPostCount($userId, $nodeIds);
$whatsNewPhrase = new XenForo_Phrase('whats_new');
$whatsNewPhraseQuoted = preg_quote($whatsNewPhrase->__toString());
$unread = XenForo_Model::create('UnreadPostCount_Model_Unread')->getUnreadPostCount($userId, $nodeIds);
$whatsNewPhrase = new XenForo_Phrase('new_posts');
$whatsNewPhraseQuoted = preg_quote($whatsNewPhrase->__toString());
That's what I said to do in the first place.In that case, you do not need to edit the Listener.php since you can go into the ACP -> Appearance -> Phrases and do the below
View attachment 51863
Otherwise when you update, your edit will be over-written.
Yeah, but apparently it's not working for him, so I'm wondering if the whats_new title is actually set as new_posts instead of the default, which I think with his change taking in the listener.php may be what the problem is.That's what I said to do in the first place.
We use essential cookies to make this site work, and optional cookies to enhance your experience.