UPDATES EasyBlog 6.0.11 Released! Update to the latest version now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is offline
It is currently off working hours and most of us aren't around

Rest assured that we will get back to you as soon as the day starts tomorrow!
  Support is offline

Alias error

ACV multimedia · ·
9:07 PM Wednesday, 24 June 2020
Urgent
Hi,

We made a modification in the file:
.../components/com_easyblog/themes/wireframe/blogs/entry/default.posts.php in order to restrict permissions to certain users.


if ($post->category_id == 8 && $this->my->guest) {
$currentUri = $post->getPermalink(true, true);
$uri = base64_encode($currentUri);

$url = EB::getLoginLink($uri);

return $post->app->redirect($url);
}


We have duplicated this code for 4 different categories, and now the alias doesn't work well, the url is not correct. In this case it should be /casos-de-exito and it comes out /recursos.

Can the error come from this modification?
The replies under this section are restricted to logged in users or users with an active subscription with us