Hi Mike!
Thanks for your response, you were exactly right about what I was trying to do. I got everything working and just wanted to post this sample code for others who may be trying to do the same thing:
// Note: $user is assumed to be an \XF\Entity\User
// Add a secondary group to a user...
Hi-
I'm wondering if someone can provide some definitive information on how to properly add/remove secondary user groups to/from a user in an addon. So far, I've consulted these threads:
https://xenforo.com/community/threads/add-secondary-usergroup.163004/...
Hi there-
We're in the process of moving from XF1 to XF2 and I'm currently rewriting all of our addons. I've figured a lot out on my own using documentation and other threads in this community, but one thing I can't seem to get 100% right is handling the content in ajax modals/popups. For...
I understand that, but I think you missed my issue. In the other thread, Chris said a warning action should result in a ban with triggered set to 1. Our temporary bans caused by warning actions don't have triggered set to 1. That's what I'm trying to figure out.
Hi there-
I know this has been posted before under: https://xenforo.com/community/threads/bug-while-banning-with-warning-points.99795/
Since that thread is in the "resolved" forum I didn't know if I should reply there (so I posted here).
In that thread, it's mentioned that the ban_user_id is...
Hi-
When you go to a thread and lock it using the moderator actions menu, there is a moderator log entry.
When you reply to a thread and uncheck "Set thread status: Open" (to lock the thread), there is NO moderator log entry.
I looked around a bit and found some threads about XF not logging...
No, the group they're in with the highest priority doesn't have any CSS. I suppose that explains it because I looked in the database and the user's display_style_group_id is the group with the highest priority (and no CSS).
I was assuming XF would only consider the priorities from groups with...
The markup is directly on the user group. Here's an example:
One of the users who has no markup is in the group with the above markup, in addition to a couple others. The CSS looks valid...
Awesome, so I think I have my moderators all sorted out for now.
The CSS issue however, I'm still struggling with. I removed one of the users without CSS markup from their staff groups (the ones with CSS defined) and added them back. Still looks like their name isn't getting any CSS markup.
Thanks for the prompt replies... We did use a custom importer so that may explain it (our other admin did the import work, so I'm not sure exactly which but I think he mentioned something about DigitalPoint). I was hoping rebuilding user caches would sort it out, but I suppose I shouldn't expect...
Hi there-
We just completed the migration of a pretty large forum from vBulletin 3.x to XenForo 1.5.x. So far, everything has been going pretty well but we're noticing some weird behavior with the is_moderator flag on users. I'm not sure if something is wrong somewhere in our XF or if we're...