By Steve Hall on Friday, 15 September 2017
Posted in Technical Issues
Likes 0
Views 706
Votes 0
I have upgraded to the latest easyblog and used the viewhtml.php that you sent me in 2016 to direct users to the log in page if it was a user only post.
However the latest version of easyblog is only telling them the post cant be found when they click to vew the post.
Do you have a modified viewhtml.php to redirect them to log in to view the post
Thanks in advance.
PS I thought I had asked this question a week ago but cant find it nor a reply from you.
Hi Steve,

I believe you have update to the EasyBlog 5.1.12?
Can you replace the new attached file below and replace it in the same path:
.../components/com_easyblog/views/entry/view.html.php

You're suggested to backup the file that you want to replace beforehand for precaution
·
Friday, 15 September 2017 17:12
·
0 Likes
·
0 Votes
·
0 Comments
·
I have downloaded the file and replaced the view.html.php in the location as expected. However it does not take the user to the log in page all it says is
"Sorry but we couldn't find the blog entry that you are looking for "
I need the file view.html.php to direct the user to the log in fields if they are not already logged on as the previous file sent in 2016 did.
Thanks
·
Friday, 15 September 2017 19:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Steve,

Could you try this file instead? Download the attached file and upload it into /components/com_easyblog/views/entry/

If it still doesn't work, could you please provide us with the back end and FTP access and also provide us with the steps to replicate this so that I can check on the site?
·
Friday, 15 September 2017 21:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Sorry, this file.
·
Friday, 15 September 2017 21:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Thats cracked it thanks what was the issue ?
·
Friday, 15 September 2017 21:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Steve,

I think my colleague might have added the fix on a different block of codes and it was redirecting to the front page layout but the file which I sent you has been corrected to redirect to the login page.
·
Saturday, 16 September 2017 01:00
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you
·
Saturday, 16 September 2017 01:11
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome Steve
·
Saturday, 16 September 2017 01:14
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post