By Philippe on Tuesday, 01 June 2021
Posted in Technical Issues
Replies 7
Likes 0
Views 623
Votes 0
Hello,

For the next version of EasySocial, could you make the modification mentioned in a previous post ?
It would make more sense.

I did consult with our developer regarding this before I replied you, we will consider to change the behavior show the view as page owner first instead of showing current logged in user (if the current logged in user is that page owner).


Thank you,
Philippe
Just for your information, We did implement this in 3.2.15 last time but we noticed that once we switch to this behavior "ViewAs" page by default, it will cause a lot of issues because the first we implement this "Page" feature all the thing is actually based on NOT to show "ViewAs" page at first, so it is not an easy task to change this behavior and we decided to change back this behavior to original in 3.2.16.
·
Tuesday, 01 June 2021 10:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Okay Arlex.
And if I modify the following file, what problems will I have ?
Because yet it seems to work well.

/administrator/components/com_easysocial/includes/template/helpers/form.php

$viewAs = $session->get('easysocial.viewas', 'user', SOCIAL_SESSION_NAMESPACE);

Replace with :

$viewAs = $session->get('easysocial.viewas', 'page', SOCIAL_SESSION_NAMESPACE);

Thank you,
Philippe
·
Wednesday, 02 June 2021 02:40
·
0 Likes
·
0 Votes
·
0 Comments
·
If I recall correctly, these are the issue what we encounter last time :

1. Site admin can't react to any stream item from the Page (Don't test it from his own Page).

2. if using Site admin react one of the stream items from the Page, it will show duplicate data from the reacted list.

3. the reaction part show duplicated e.g. react "happy" then react "sad", it will mart these reaction +1 from this single user.

4. When the Page admin react the stream item e.g.
- Open 2 browsers and log in Page owner and Page admin.
- Page owner submit a new story post.
- Page owner react Love.
- Page admin react Happy, it will show the correct even refresh the page.
Okay, the issue will happen now, when the Page admin react Love (viewas page)

the expected result should be love = 2 but it showing happy = 1 and love = 2
but when you refresh the page, it will show correctly.

5. and etc.
·
Wednesday, 02 June 2021 18:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you Arlex for your your detailed explanations

This also poses a problem on the Native Mobile App.
Because if I own a Page, I cannot post as a Page on my Page.

Logically here, the correct behavior should be to publish as a Page.

Philippe
·
Friday, 04 June 2021 04:27
·
0 Likes
·
0 Votes
·
0 Comments
·
This also poses a problem on the Native Mobile App.
Because if I own a Page, I cannot post as a Page on my Page.

Logically here, the correct behavior should be to publish as a Page.

I see, thanks for the report, I will log into our issue tracker in native mobile milestone so that it will show an option "ViewAs" that allow the owner to select.
·
Friday, 04 June 2021 12:21
·
0 Likes
·
0 Votes
·
0 Comments
·
But in Native App too, please make sure that View As Page is selected by default.

Because otherwise the owners of the Pages won't pay attention.
And they will post as User instead of as Page


The easiest would probably be not to offer a selector, and that an owner or an admin of a Page can only publish as a Page. This is the main purpose of a Page.

Thank you for your understanding,
Philippe
·
Friday, 04 June 2021 13:06
·
0 Likes
·
0 Votes
·
0 Comments
·
It is not possible to set the ViewAs default to Page, but we will see what we can do about this in native mobile.
·
Friday, 04 June 2021 18:57
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post