Page 1 of 1

User profile page

PostPosted: 07 Apr 2016, 01:16
by nenuc0
Hello!

Where I can change the user profile page? instead of ../users.php?id=$ use the profile page of my website

Thank you

Re: User profile page

PostPosted: 07 Apr 2016, 08:44
by Jason
This can be changed in the get_link function in the includes/integration.php file.

Re: User profile page

PostPosted: 07 Apr 2016, 09:59
by nenuc0
Thanks for the help.

Re: User profile page

PostPosted: 01 Jun 2017, 07:09
by RNetwork
Is it possible to use the username as variable in the profile URL? Example: domain.com/users/username/

Re: User profile page

PostPosted: 12 Aug 2021, 12:30
by wp180
Is it possible to use the username as variable in the profile URL? Example: domain.com/users/username/
That's the thing i need also.

Re: User profile page

PostPosted: 12 Aug 2021, 16:37
by Jason
Is it possible to use the username as variable in the profile URL? Example: domain.com/users/username/
Yes, in the integration file. You can change the
Code: Select all
" . TABLE_PREFIX . DB_USERTABLE . "." . DB_USERTABLE_USERID . " link
in both the get_online_list(), get_friend_list(), and get_user_details() functions to:
Code: Select all
" . TABLE_PREFIX . DB_USERTABLE . "." . DB_USERTABLE_NAME . " link
The $link variable in the get_link() function will then return the username.

https://www.arrowchat.com/docs/installation/#get-link

Re: User profile page

PostPosted: 15 Aug 2021, 06:10
by wp180
Thanks, that's it.

Oner more thing i want to change: I want to open a new window, if somebody klick at the username, at the moment it's in the same tab.