Help
Discuss or request ArrowChat modifications
User avatar
nenuc0
Free
 
Posts: 2
Joined: 06 Apr 2016, 16:05

 

by nenuc0 07 Apr 2016, 01:16

Hello!

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

Thank you
User avatar
Jason
Customer
 
Posts: 2329
Joined: 12 Dec 2009, 16:06

 

by Jason 07 Apr 2016, 08:44

This can be changed in the get_link function in the includes/integration.php file.
User avatar
nenuc0
Free
 
Posts: 2
Joined: 06 Apr 2016, 16:05

 

by nenuc0 07 Apr 2016, 09:59

Thanks for the help.
User avatar
RNetwork
Customer
 
Posts: 11
Joined: 29 Nov 2016, 04:43

 

by RNetwork 01 Jun 2017, 07:09

Is it possible to use the username as variable in the profile URL? Example: domain.com/users/username/
User avatar
wp180
Customer
 
Posts: 9
Joined: 16 Mar 2020, 11:21

 

by wp180 12 Aug 2021, 12:30

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.
User avatar
Jason
Customer
 
Posts: 2329
Joined: 12 Dec 2009, 16:06

 

by Jason 12 Aug 2021, 16:37

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
User avatar
wp180
Customer
 
Posts: 9
Joined: 16 Mar 2020, 11:21

 

by wp180 15 Aug 2021, 06:10

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.