Does the key variable have to be anything specific? Or can I just make up my own? For example if I want to add the "Premium" group to a user, I just use "premium" as the key?
I want to be able to programmatically add a user to a secondary group through a PHP script once they've upgraded to premium on my website.
I'm looking in Xenforo/Model/UserGroup.php for a function to add a secondary group to a user, but I can't seem to find one.
I can find...
Works great but it's including the @ tag in the URL for me? So instead of:
http://www.ausfifa.com/profile.php?user=Member
It comes up as:
http://www.ausfifa.com/profile.php?user=@Member
I know it's possible to just update the username column in xf_user table, but doing it this way wont update any of the username references in the other tables, such as "last_post_username" in xf_thread.
The only way to change the username properly in all database tables is to do it by editing...
I really just need to know which code handles the post user sidebar (which displays username, user title, avatar etc.)... I'm not asking how to code it. I just want to know where I should be looking... anybody?
I am running Xenforo on my PHP website which has its own database tables, and I'd like to be able to display information from these tables for each user when they post.
Example of what I want to achieve:
Please note that the info would need to come from database tables outside of Xenforo...
You are right. After looking over the error log again, it seems like they're all legit errors. They just never appeared until I started using the XF environment, so I thought there was something wrong with the server error log. Thanks.
While you're here, would you mind taking a look at this...
I have a PHP website which has its own user accounts/log in system, and I've integrated XF into that system using a bridge. When a user registers an account, a Xenforo account is also created for that user, and they are automatically logged into this XF account when they log in to my site. I'm...
Nope, it returns "www.ausfifa.com/forums/index.php?members.php?=1" as the link.
No matter what you return from the method, there's always the forums/index.php? in front of it.