By Supporter on Wednesday, 05 October 2016
Posted in General
Likes 0
Views 181
Votes 0
About ES2 simple urls
Mark wrote:It is activated by default now since most people are using it and you cannot turn it off


This sounds to me the end of my subscriptions to SI products as the simple Urls option just does not work in multilingual environment, I just feel you do not really care too much about any multilingual environment or am I wrong (I hope so...).

EXAMPLE PROFILE URLs in ES1.4

Simple url in native en-GB:
/en/?option=com_easysocial&view=profile&id=300&Itemid=178 (should be /en/demo-account)

now switch language from en-GB to es-ES
es/community/profil/300 (should be /es/demo-account but the page displays correctly)

then back to en-GB
/en/community/perfil/300 (404 ERROR)


WITHOUT simple urls it is not working 100% neither ...:
/en/community/profile/demo-account
then switch to de-DE:
/de/gemeinschaft/profile/300 (should be /de/gemeinschaft/profil/demo-account but the page displays correctly)
now from de-DE to fr-FR:
/fr/communaute/profil/300 (should be /fr/communaute/profil/demo-account but the page displays correctly)
and now switch from fr-FR to it-IT
/it/comunita/profil/300 404 ERROR, should be /it/comunita/profilo/demo-account


I know and understand your are busy with ES 2.0.

Would you agree that we make an appointment (timezone issue) to be both online when testing and trying to solve this (very) long lasting multilingual issue for ALL components not only ES ?

Thank you for your understanding
I am sorry for the delay of this reply,

This sounds to me the end of my subscriptions to SI products as the simple Urls option just does not work in multilingual environment, I just feel you do not really care too much about any multilingual environment or am I wrong (I hope so...).

I've checked in your locally Easysocial 1.4, it seems work fine on multilingual environment in my local, you can check my video here : http://screencast.com/t/2iprLqseMWLq

What I suspect is your existing user 'alias' data is empty, so it will revert back to show this URL de/gemeinschaft/profil/demo-account , you can refer on my attached screenshot below, you also can check your database this table `#__social_users` and `alias` columns and see is it all the existing user `alias` data is empty?

If yes, can you try register an account from your site and must go through the Easysocial registration, once you have done, check back your database regarding this user data from this table `#__social_users`, it should have the `alias` data.

By the way, It looks like your Easysocial subscription has expired and in order for you to continue requesting for support, you will need an active subscription. If you have already renewed, please let us know so that we can correct this for your account then I can continuous investigate this issue in your current domain site.

Thanks for your understanding.
·
Thursday, 06 October 2016 15:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Arlex,

I am mentioning ALL stackideas components and not only ES...

Thank you for your answer but you are not testing my example you are just and only hovering on some links....
The alias in the database is there and correct.

You are also testing with the native duplicated menus and not with Falang.
Native joomla multilingual is NOT a translation it is DUPLICATED contents that are linked.

Just send me your email address and I will mail you the Falang component files for you to test.

I also sent an an email to Falang, they should contact Mark today...

To test ES1.4 on profile page:

Start from profile page in en-GB then switch to de-DE (click to change language),
now from de-DE to fr-FR (click to change language)
and now switch from fr-FR to it-IT (click to change language)
·
Thursday, 06 October 2016 16:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Oh, because you didn't mentioned that have to test with Falang component together in earlier.

This is my email address : arlex.wong@stackideas.com

Hm, to be honestly, I never use this Falang component before, I may need your help how to configure this from backend to make this work on frontend.
·
Thursday, 06 October 2016 16:35
·
0 Likes
·
0 Votes
·
0 Comments
·
I just sent you the component by mail.

Please let me know if you received it and if you succeeded to install the component and additional .xml file

I am waiting for your feedback
·
Thursday, 06 October 2016 16:52
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks, I already received your email, I will test it later when I at home.
·
Thursday, 06 October 2016 19:35
·
0 Likes
·
0 Votes
·
0 Comments
·
@Arlex

Hello Arlex,
At Stack Ideas time 01:28:00 AM you should have received 3 emails, 2 from Stéphane and 1 from me.

Please keep us updated
·
Friday, 07 October 2016 01:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

I am sorry for the delay of this reply,

Yes, I already read the email from Stephane response, it seems like Stephane already found out what is the reason why it's not working if enabled Falang in Easyblog.

By the way, can you add my colleague Mark (mark@stackideas.com) into Stephane and yours mail discussion?
·
Friday, 07 October 2016 15:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Staying polite but I am quite getting fed up with this topic subject where I im getting ZERO SUPPORT FROM YOUR SIDE....

The subject was started and brought back again to your attention several times since 2015 !!
- 9:04 PM Wednesday, 10 June 2015
- 12:35 AM Monday, 07 September 2015
- 6:20 PM Wednesday, 14 October 2015
- 10:17 PM Friday, 30 September 2016
+
- 10:51 PM Wednesday, 05 October 2016 This topic we are now writing in started 20 days ago!

Wether NATIVE Joomla or Falang, stackidieas components (EB5, ED4, ES) routers create redirection issues

I have carefully written how to reproduce one (ONE OF THE MANY) redirection issue.
I have also sent you the Falang extension for your convenience.

Last email message from Stéphane (Falang developper) on 06 October 2016 :
Hi,
a parameter in easyblog , to skip revisition will solve the problem with falang too.
The only problem is the url not translated but it's in the routeur of easyblog.
The order of your plugin are well set (automatic with falang 2.7.0)


Not only EB5 but also your other components....

We are now today the 24th October 2016 and I do not read from you anymore since the 07 October, that is 17 days.
·
Monday, 24 October 2016 20:57
·
0 Likes
·
0 Votes
·
0 Comments
·
hey there,

I am sorry for the delay of this reply, actually I did response to you at 3:38 PM Friday, 07 October 2016 and requested add my colleague Mark in that email discussion
By the way, can you add my colleague Mark (mark@stackideas.com) into Stephane and yours mail discussion?


Today, I did contact with my colleague Mark, he said he still haven't receive any email from Falang developer Stéphane yet.

By the way, I did installed Falang and installed those Easyblog element file in Falang component from backend. Then I follow what Stephane figured out that code added into my local post.php file, it display the correct translated blog content, title, and the URL alias.

But it seems like one of the code typo.

$currentLanguage = $JLang->getTag;

// replace to
$currentLanguage = $JLang->getTag();



I have found the problem it's on revisition

line 558 in administrator\components\com_easyblog\includes\post

change the method checkoutFromRevision with this one:
if falang is installed (probably need to test if plugin is published too)

public function checkoutFromRevision()
{
$workbench = $this->revision->getContent();
//sbou
if (JFile::exists(JPATH_ADMINISTRATOR . '/components/com_falang/classes/FalangManager.class.php')) {
$default_site_language =JComponentHelper::getParams('com_languages')->get("site","en-GB");
$JLang = JFactory::getLanguage();
$currentLanguage = $JLang->getTag;
if($currentLanguage != $default_site_language ){
$workbench=null;
}
}
//fin sbou
if (! $workbench) {
// somehow the revision id is exists but the revisions.content is empty.
// we need to regenerate the revisions.content.
$this->checkoutFromPost();
} else {
$this->setWorkbench($workbench);
}
$this->revision_id = $this->revision->id;
}
Keep me informed. The only problem is the url (still in your default language)
Stéphane


May i know now the issue is when you trying to access this translated blog URL alias page, it show 404 error right?

If yes, can you try add this following code into this function loadByPermalink() (check my last attached screenshot below)

// check if the Falang driver plugin enabled
$falangPluginEnabled = JPluginHelper::isEnabled('system', 'falangdriver');

if (JFile::exists(JPATH_ADMINISTRATOR . '/components/com_falang/classes/FalangManager.class.php') && $falangPluginEnabled) {
$query = array();
$query[] = 'SELECT ' . $db->quoteName('reference_id') . ' FROM ' . $db->quoteName('#__falang_content');
$query[] = 'WHERE ' . $db->quoteName('value') . '=' . $db->Quote($permalink);
$query[] = 'AND ' . $db->quoteName('reference_field') . '=' . $db->Quote('permalink');
}


and see how it goes?

But this still have another issue if those blog post didn't do any translation for the blog permalink from Falang, it will show 404 error as well.

Can you consult with Stéphane is there a function allow to check whether this blog post is it already translated from the Falang component so that we can avoid this 404 error?
·
Wednesday, 26 October 2016 02:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Arlex
I am sorry for the delay of this reply, actually I did response to you at 3:38 PM Friday, 07 October 2016 and requested add my colleague Mark in that email discussion
... Today, I did contact with my colleague Mark, he said he still haven't receive any email from Falang developer Stéphane yet.


That is not a reply.
Yes, I already read the email from Stephane response, it seems like Stephane already found out what is the reason why it's not working if enabled Falang in Easyblog.

By the way, can you add my colleague Mark (mark@stackideas.com) into Stephane and yours mail discussion?

That is a request to send new emails in cc to Mark.

There have been no more emails since 06 October because we were waiting for an answer from Stack Ideas...


Just now, I have sent an email to Falang with CC to you and Mark.

I hope we can now figure out the url issueS with Stack Ideas components (not only in EB !)

Kind regards
·
Wednesday, 26 October 2016 19:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks
·
Thursday, 27 October 2016 01:37
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post