I
I
I'm Yoda2019-01-29 07:25:38
1C-Bitrix
I'm Yoda, 2019-01-29 07:25:38

What is the best way to store user parameters?

Hello connoisseurs!
Puzzled by such a question, how to store viewed articles, videos, video timing and a bunch of other things? The site is an information resource. There is a lot of data to store.
The options that I came to may not be the best, and therefore I came to you, comrades, for advice. There is a chance that someone has already encountered this and will suggest a better way.
1. Create a custom field for the user and write json there;
It seemed the easiest option, but there is a limit of 255 characters per line. Not flexible in terms of administration. There may not be enough characters! Is there a way to remove the restriction?
2. When registering a user, create a section (Login / Full Name) of the user in IB and copy elements there or bind to the section through a property;
Convenient in terms of administration. I haven't fully thought out the logic of adding elements to copy or bind. Maybe there are other options for this?
3. Write in highload;
Until the end, I have not yet figured out how to implement it, because. a lot of data.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
I'm Yoda, 2019-01-29
@Anadi

In the end, I settled on the decision to write in hl [user_id, ib_articles, ib_element], etc. In the end, you can filter in the admin panel by user and other information.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question