Resource icon

[bd] Tag Me for XenForo 1.3 3.2.0

No permission to download
@xfrocks
I notice that /js/bdTagMe/frontend.js is loaded on forum index and other page outside of thread view. Do you know the reason? If my portal and forum index is the most often loaded pages, and there is no reason to use bd tag me there, I think it's better to not load extra js for every page refresh.
 
@xfrocks
I notice that /js/bdTagMe/frontend.js is loaded on forum index and other page outside of thread view. Do you know the reason? If my portal and forum index is the most often loaded pages, and there is no reason to use bd tag me there, I think it's better to not load extra js for every page refresh.
IIRC, it was loaded for the quick status poster.
 
Is there a way to tag 2 different user groups with the same initial name?
For example, groups name:
Johnny

2nd group name:
Johnny Bravo

When I try to tag Johnny Bravo, It tags Johnny (Although it shows both in the drop-down when you start to tag). Even if I click on Johnny Bravo from the drop-down, it still tags Johnny.
 
2.0.1 + xf 1.2.2 is not working

$engine->notifyTaggedUsers3('post', $post['post_id'], $post['user_id'], $post['username'], 'tag', $this->_taggedUsers, $notifiedUserIds['alerted'], $notifiedUserIds['emailed'], $forumWatchModel, $options);

i guess bug here - $this->_taggedUsers is null

additional info:
$notifiedUserIds['alerted'] = {array}[0]
$notifiedUserIds['emailed'] = {array}[0]
$post['message'] = "@name test 345"
user "name" exist
 
it must be like
PHP:
$newMessage = '';
        $taggingModel = $this->getModelFromCache('XenForo_Model_UserTagging');
        $_taggedUsers = $taggingModel->getTaggedUsersInMessage($post['message'], $newMessage, '');


        $options = array(bdTagMe_Engine::OPTION_MAX_TAGGED_USERS => $this->getOption(self::OPTION_MAX_TAGGED_USERS));
        //$engine->notifyTaggedUsers3('post', $post['post_id'], $post['user_id'], $post['username'], 'tag', $this->_taggedUsers, $notifiedUserIds['alerted'], $notifiedUserIds['emailed'], $forumWatchModel, $options);
        $engine->notifyTaggedUsers3('post', $post['post_id'], $post['user_id'], $post['username'], 'tag', $_taggedUsers, $notifiedUserIds['alerted'], $notifiedUserIds['emailed'], $forumWatchModel, $options);
in file bdTagMe\XenForo\DataWriter\DiscussionMessage\Post.php
 
2.0.1 + xf 1.2.2 is not working

$engine->notifyTaggedUsers3('post', $post['post_id'], $post['user_id'], $post['username'], 'tag', $this->_taggedUsers, $notifiedUserIds['alerted'], $notifiedUserIds['emailed'], $forumWatchModel, $options);

i guess bug here - $this->_taggedUsers is null

additional info:
$notifiedUserIds['alerted'] = {array}[0]
$notifiedUserIds['emailed'] = {array}[0]
$post['message'] = "@name test 345"
user "name" exist
If you have $this->_taggedUsers == null, that means you have some add-on prevented the original _messagePreSave from running.

PHP:
class XenForo_DataWriter_DiscussionMessage_Post extends XenForo_DataWriter_DiscussionMessage
{
...
protected function _messagePreSave()
{
/** @var $taggingModel XenForo_Model_UserTagging */
$taggingModel = $this->getModelFromCache('XenForo_Model_UserTagging');

$this->_taggedUsers = $taggingModel->getTaggedUsersInMessage(
$this->get('message'), $newMessage,'bb'
);
$this->set('message', $newMessage);
}
...
}
 
Is there a way to tag 2 different user groups with the same initial name?
For example, groups name:
Johnny

2nd group name:
Johnny Bravo

When I try to tag Johnny Bravo, It tags Johnny (Although it shows both in the drop-down when you start to tag). Even if I click on Johnny Bravo from the drop-down, it still tags Johnny.
This has been fixed. New version should be available soon.
 
This has been fixed. New version should be available soon.
Is there an option to tag certain groups with permissions?
Let's say I want to tag "registered user groups", but I want that only management would be able to tag this user group, is it possible?
 
Is there an option to tag certain groups with permissions?
Let's say I want to tag "registered user groups", but I want that only management would be able to tag this user group, is it possible?
There is option for permission to tag user group but you cannot set for each target group. Once you allow the permission, the group will be able to tag all available other group.
 
This is really weird - i've noticed that the tag alerts have been showing up blank.

blanktags.webp

I haven't added any other new addons, only upgraded existing ones.

I disabled all addons except this and it still does it. Running Xenforo 1.2.2
 
Last edited:
This is really weird - i've noticed that the tag alerts have been showing up blank.

View attachment 59999

I haven't added any other new addons, only upgraded existing ones.

I disabled all addons except this and it still does it. Running Xenforo 1.2.2
Blank alert indicates problem with template or phrase. Please check for contents of template `alert_post_tag` and phrase `x_tagged_you_in_post_in_thread_y`. Try changing style / language to see if it works somewhere.
 
Blank alert indicates problem with template or phrase. Please check for contents of template `alert_post_tag` and phrase `x_tagged_you_in_post_in_thread_y`. Try changing style / language to see if it works somewhere.

Phrase x_tagged_you_in_post_in_thread_y is {name} tagged you in a post in the thread {title}, so that's ok.

Template alert_post_tag does not exist. I looked in the product xml for 2.0.1 and could not see it in there either.
 
Back
Top Bottom