What exactly controls this setting?
My users tell me that not all @TaggedUsers are mentioned. For example, if a user taggs 10 other users in a post, maybe 3-4 of those 10 people will receive a notification. But all users have activated all notifications.
Thank you Liam. I had already tried this, but had not received any data. I solved it now with \XF::visitor() and it works like before with XF 1.5. But I only change a little. This was about connecting DokuWiki to the forum in such a way that a registered user can call the Wiki and is immediately...
I'm not angry ...
I don't even know how I get this data in XF 2.1. That's why I asked. Then come up with the answer, use \XF::visitor(). So far so good, but that's only half the battle ...
But anyway, it works now, and I thank you for your help.
These two lines were still missing ...
$app = \XF::setupApp('XF\Pub\App');
So it works now. What I find a little strange is that here it is assumed that everyone feels at home in XF code. From you professionals could also come a tip/example, how it works correctly ...
I am definitely logged in. I have called the test script also over a new menu point in xf, also there comes only empty data.
I don't know what else to check. With XF 1.5 it worked immediately with the old method. Does the script work for you without any changes if it is in the forum root?
That's internal from an add-on?. What I need would be external via PHP:
$headers = array(
$url = 'https://www.myforum.de/forum/api/me/';
$ch = curl_init();
in XF 1.5x I was able to use ...
$xf_user = XenForo_Visitor::getInstance();
... to access the data of the user who is currently logged into the XF. Using this data, I then created an automatic login in an external wiki (Dokuwiki).
How do I get this data with XF 2.1? I assume with...
I have a user in the database (table xf_user) with user_state = "valid", which looks completely normal compared to other records.
However, I cannot search for this user, neither in the forum nor in the ACP.
Can I make this user account visible again?
SELECT * FROM `xf_post` where binary username = 'frankie'
SELECT * FROM `xf_post` where binary username = 'fränkie'
By default you are right, but with "binary" MySQL can already separate this ...
Ok, reimport is not an option, the forum is live since > 14 days. If I create the missing user...
The importer seems to have a bug:
Given two users in vBulletin: frankie (user-id: 4584) and fränkie (user-id: 3417). Both accounts are summarized at import to account with lower user-id, which ist totally wrong!
SELECT * FROM `xf_post` where username in ('frankie', 'fränkie')
In total this...