By User on Sunday, 05 July 2020
Posted in General Issues
Replies 3
Likes 0
Views 410
Votes 0
Hello.
I unpublished videos in backend. For example this one:
https://stranakrovi.com/videos/20805-londonskij-forest-gamp
with title Лондонский Форест Гамп

It was hidden in "All videos" and "User's videos" section

But I still can find it with search: https://stranakrovi.com/search?q=Лондонский%20Форест%20Гамп
and I can access it with link as Guest https://stranakrovi.com/videos/20805-londonskij-forest-gamp

Expected result: Video should be visible only for Admins. And should not be searchable.

Thanks.
Hey there,

and I can access it with link as Guest https://stranakrovi.com/videos/20805-londonskij-forest-gamp


I am able to replicate this on my local site.

We will see if we can do something about it.

But I still can find it with search: https://stranakrovi.com/search?q=Лондонский%20Форест%20Гамп


May I know how did you unpublish the video in the backend?

Because I try to unpublish the Лондонский Форест Гамп video again and it can't be searched anymore.
·
Monday, 06 July 2020 11:21
·
0 Likes
·
0 Votes
·
0 Comments
·
May I know how did you unpublish the video in the backend?
Oh, seems I unpublished this video by
UPDATE `****_social_videos` SET state = '0' WHERE `path` LIKE '%liveleak%'
and it doesn't effect on Smart Search (as expected). So I'll purge index in Smart Search and index it again.

I hope in next ES version unpublished videos will not be available for non-admins.
Thanks.
·
Monday, 06 July 2020 23:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

Yes, if you just run the SQL query manually in the database, others are not going work such as make the video can't be searched after unpublished because the respective PHP script does not been executed.
·
Tuesday, 07 July 2020 10:16
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post