Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions

You are not logged in.

Announcement

#1 2014-11-14 16:27:20

swg1cor14
Member
Registered: 2014-11-13
Posts: 5

Chat Operator Photo location

I have a backend for my administrators to handle other stuff but I wanted:

Operator uploads photo from MY backend
Photo gets put into folder that LHC would put file
lh_user and my table gets updated with same info

Basically I want it to work both ways. If they change photo in LHC, this software puts it in a specific place and links to it a certain way. If operator changes photo in MY backend, I want it to go there as well. So both backends have same photo.

So I know what tables to edit, but I can't figure out the folder structure LHC uses for placing these profile pictures.

Last test I did, it put the filepath as var/userphoto/2014y/11/14/2/

Is /var/userphoto hard coded?
2014y is the year obviously
11 is the month
14 is the day

But what is the 2?

Offline

#2 2014-11-14 16:28:38

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Chat Operator Photo location

2 is the user id record if I remember it well.

Offline

#3 2014-11-14 16:30:45

swg1cor14
Member
Registered: 2014-11-13
Posts: 5

Re: Chat Operator Photo location

Ok that would make sense. That user I did the test on was with user_id of 2.

Offline

Board footer