cant purchase the addon on the site because it wont send me any confirmation email on sign up
Fixed:
- Fix error with
HIDEREPLYORREACT
tag.- Fix error
Error: Template public:forum_post_thread error: Call to a member function getEntityContentType() on null.
Fixed:
- Fix hidden content for
HIDEREPLYORREACT
tag.
Currently it is not possible to do so.Thank you, i wanted to ask a presale question, would it be possible to hide the content again after the user has unlocked it. Like if i update the thread with something new and hide it then i will want the user to like or comment again to view the updated hidden content of the thread. Is that possible?
it would be great if you added that options, thank youCurrently it is not possible to do so.
I will study your request
Add:
- Add new tag
hideusergroups
- Allows to hide the content to some usergroups
- Add permissions
- Use hide usergroups
- Bypass hide usergroups
hello i have buy the addon but only hide to guest is works .... whats the problem ? thans
Fixed:
- Fix bypass hide showtogroups
$posts = $db->fetchAll("SELECT post_id, message FROM xf_post WHERE post_id IN(" . $db->quote($firstPostIds) . ")");
$db->beginTransaction();
foreach ($posts AS $post)
{
$message = $post['message'];
foreach ($this->getHideBbCodeRepo()->getLegacyHideBbCodes() AS $oldHide => $newHide)
{
$regex = "#\[({$oldHide})[^\]]*\](.*)\[/\\1\]#siU";
$message = preg_replace_callback($regex, function ($matches) use ($oldHide, $newHide)
{
$fullBBCode = $matches[0];
if (in_array($oldHide, ['HIDE-THANKS', 'HIDETHANKS', 'HIDE-REPLY-THANKS', 'HIDEREPLYTHANKS']))
{
return "[{$newHide}=1]{$matches[2]}[/{$newHide}]";
}
else
{
return str_replace($oldHide, $newHide, $fullBBCode);
}
}, $message);
}
$db->update('xf_post', ['message' => $message], 'post_id = ?', [$post['post_id']]);
}
$db->commitAll();
Hello,having issues;
PHP:$posts = $db->fetchAll("SELECT post_id, message FROM xf_post WHERE post_id IN(" . $db->quote($firstPostIds) . ")"); $db->beginTransaction(); foreach ($posts AS $post) { $message = $post['message']; foreach ($this->getHideBbCodeRepo()->getLegacyHideBbCodes() AS $oldHide => $newHide) { $regex = "#\[({$oldHide})[^\]]*\](.*)\[/\\1\]#siU"; $message = preg_replace_callback($regex, function ($matches) use ($oldHide, $newHide) { $fullBBCode = $matches[0]; if (in_array($oldHide, ['HIDE-THANKS', 'HIDETHANKS', 'HIDE-REPLY-THANKS', 'HIDEREPLYTHANKS'])) { return "[{$newHide}=1]{$matches[2]}[/{$newHide}]"; } else { return str_replace($oldHide, $newHide, $fullBBCode); } }, $message); } $db->update('xf_post', ['message' => $message], 'post_id = ?', [$post['post_id']]); } $db->commitAll();
this wont work well on a table with 10m posts.
Hello,typo/phrasing error.
"You must be registered for see links"
phrase: xc_hide_links_from_guests_guests_error_hide_link
changed to
You must be registered to see links.
some dude thoughView attachment 294504
[XenConcept] Hide links / Medias / Images (BbCode) to guests
Feature Summary Enable Disable restrict Hide links on posts to guests Customize the error message Site Web whitelist This add-on allows you to hide your link to visitors. You can customize the error message with the template...xenforo.com
We use essential cookies to make this site work, and optional cookies to enhance your experience.