By Sabih on Tuesday, 05 July 2016
Posted in Technical Issues
Likes 0
Views 602
Votes 0
Hey there,

I had this topic once inside another topic and since there is no solution yet, I decided to make a new thread.

You can see on the following screnshots the two links should lead to the same page, but they do not. The left one is the link I want it to be, the right one is bad and I have no idea where it is coming from.

Solution: I want the link from the post lead to the same category view as the category link from the category module links to.

Link 1, the bad link:



Link 2, the good link:





Regards,
Sabih
Actually that was known issue, try download my attached files and replace into following file location and see how it goes.

JoomlaFolder\components\com_easydiscuss\views\index\view.html.php
JoomlaFolder\components\com_easydiscuss\themes\wireframe\posts\item.php
JoomlaFolder\administrator\components\com_easydiscuss\includes\easydiscuss.php
·
Wednesday, 13 July 2016 23:08
·
0 Likes
·
0 Votes
·
0 Comments
·
http://sicherung.zazeni.de/forum/forums/5-zwischenmenschliches/6-freundschaften - This is an overview view that displays the category and it's childs.

http://sicherung.zazeni.de/forum/kategorien/zwischenmenschliches/freundschaften - This is a single category view that displays posts on the particular category.

If you have a more complicated category hierarchy, for instance there is subcategory from "FREUNDSCHAFTEN", you will face problems as there is no way to display these subcategories.
·
Wednesday, 06 July 2016 16:00
·
0 Likes
·
0 Votes
·
0 Comments
·
But how can I get rid of that first thing? It totally screws my whole url structure and makes no sense, since it is the absolute same content as the second one. In ED3 the category link inside the recent posts layout went just fine and now it is broken.

All links from ED3 do no longer work and give a 404 after updating to ED4 due to this senseless view screen:

Here is an example of the same topic, first screenshot made with ED3 and second screenshot after updating to ED4:

ED3:



ED4:

·
Wednesday, 06 July 2016 17:03
·
0 Likes
·
0 Votes
·
0 Comments
·
Do you mean the ID prefixes on the permalink? There is actually a bug in EasyDiscuss 3 where it wasn't respecting the settings "Allow unicode aliases" but it was fixed in EasyDiscuss 4.

In EasyDiscuss 3, the option "Allow unicode aliases" are disabled by default even if you turned it on. Hence your urls doesn't have an id prefixed to it.

I have turned this off in your test site and the urls wouldn't have the id prefix any longer
·
Thursday, 07 July 2016 16:48
·
0 Likes
·
0 Votes
·
0 Comments
·
I have turned this off in your test site and the urls wouldn't have the id prefix any longer


But still some old thread links do not work any longer. Another example:

ED3 /forum/kategorien/koerper-geist/gesundheit-fitness-ernaehrung/müdigkeit <- Live site
ED4 /forum/koerper-und-geist/gesundheit-fitness-ernaehrung/muedigkeit <- Backup site

Using the old ED3 url gives a 404 on ED4. Maybe because of the missing ä ö ü letters and additionally because of the missing "kategorien" inside the url. Nevertheless some urls work in spite of the different url, but I prefer the urls would stay as before after an update.
·
Thursday, 07 July 2016 21:21
·
0 Likes
·
0 Votes
·
0 Comments
·
hey Sabih,

I've applied some fix in these following files, that forum/forums should work fine now. (your dev site)

JoomlaFolder\administrator\components\com_easydiscuss\models\menu.php
JoomlaFolder\components\com_easydiscuss\router.php



But still some old thread links do not work any longer. Another example:

ED3 /forum/kategorien/koerper-geist/gesundheit-fitness-ernaehrung/müdigkeit <- Live site
ED4 /forum/koerper-und-geist/gesundheit-fitness-ernaehrung/muedigkeit <- Backup site

Using the old ED3 url gives a 404 on ED4. Maybe because of the missing ä ö ü letters and additionally because of the missing "kategorien" inside the url. Nevertheless some urls work in spite of the different url, but I prefer the urls would stay as before after an update.

I've checked in your both site, it seems like this `kategorien` URL menu alias is different with the menu type, you can refer on my attached screenshot below.

Perhaps you can try set that `menu heading` menu type to use this `kategorien` into your dev site and see how it goes?
·
Friday, 08 July 2016 14:20
·
0 Likes
·
0 Votes
·
0 Comments
·
I've applied some fix in these following files, that forum/forums should work fine now. (your dev site)


Yep, that forum/forums is gone now, thank you.

I've checked in your both site, it seems like this `kategorien` URL menu alias is different with the menu type, you can refer on my attached screenshot below.

Perhaps you can try set that `menu heading` menu type to use this `kategorien` into your dev site and see how it goes?


I had it before and switched back now to the same menu item. This helped for the categorie tree module on the left side. But the structure of the topic links is still different from ED3. Am I the only one facing this problem?
·
Friday, 08 July 2016 16:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

I am sorry for the delay of this reply,

I've applied some fix in these following file in your dev site.

JoomlaFolder\administrator\components\com_easydiscuss\includes\router.php
JoomlaFolder\components\com_easydiscuss\router.php


Now it should display the correct URL but for some reason it still show 404 error, I will continuous troubleshoot on your site and keep you update
·
Monday, 11 July 2016 17:57
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Arlex,

thank you very much for your effort. I really appreciate this. But I know why it still gives a 404. In ED3 Unicode aliases did not work Mark said. But for some reason it worked for topic titles. That is why it gives this 404. See the following example:

Backup site giving 404:
/forum/kategorien/koerper-geist/gesundheit-fitness-ernaehrung/mUEdigkeit

Live site working:
/forum/kategorien/koerper-geist/gesundheit-fitness-ernaehrung/mÜdigkeit
·
Monday, 11 July 2016 18:07
·
0 Likes
·
0 Votes
·
0 Comments
·
You're welcome.

Hm, that is true, to fix this you have to enable this `Allow unicode aliases` option from backend > Easydiscuss > search engine .
·
Tuesday, 12 July 2016 01:03
·
0 Likes
·
0 Votes
·
0 Comments
·
We are getting closer.

Now the url is:

/forum/kategorien/koerper-geist/gesundheit-fitness-ernaehrung/248-müdigkeit

Can we get rid of the "248-"? Then all links are identical to ED3 finally.




But unfortunately the links below the post in recent view still differs from the category links from the category tree module:



Is it possible to make red the same link as green? Green is the correct link and red is different for no reason. Having this and the ID above removed would make it perfect!
·
Tuesday, 12 July 2016 07:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,



Now the url is:

/forum/kategorien/koerper-geist/gesundheit-fitness-ernaehrung/248-müdigkeit

Can we get rid of the "248-"? Then all links are identical to ED3 finally.

Unfortunately that was not possible to get rid of this post ID when you enable `Allow unicode aliases` this setting.

The only way you can make is edit the post which title contain the unicode aliases, then change the unicode to use English character.


But unfortunately the links below the post in recent view still differs from the category links from the category tree module:

Is it possible to make red the same link as green? Green is the correct link and red is different for no reason. Having this and the ID above removed would make it perfect!

Actually that is When you click on the `Red` area link is actually go to Forum category view instead of go to single category page.

But if you would like to achieve this, you can download my hack file from my attached file and replace into this following file location JoomlaFolder\components\com_easydiscuss\themes\wireframe\posts\item.php
·
Tuesday, 12 July 2016 16:04
·
0 Likes
·
0 Votes
·
0 Comments
·
But if you would like to achieve this, you can download my hack file from my attached file and replace into this following file location JoomlaFolder\components\com_easydiscuss\themes\wireframe\posts\item.php


So cool! Thank you very much for this. I really appreciate this big improvement.

Unfortunately that was not possible to get rid of this post ID when you enable `Allow unicode aliases` this setting.

The only way you can make is edit the post which title contain the unicode aliases, then change the unicode to use English character.


I see. Thank you for this explanation which makes it clear. I really feel sorry for what I have to say now but for some reason the topic listing in the backend does not work so I can not change the characters for each thread. You can replicate it by searching for the thread "müdigkeit" or "muedigkeit" in the backend of my backup site. It does not even show all categories to filter for.
·
Tuesday, 12 July 2016 18:02
·
0 Likes
·
0 Votes
·
0 Comments
·
It seems like this issue already fix in locally, when you search `muedigkeit` this keyword, you have to re-select again that category to `select a category` option, then it will show the result.

I already help you changed that `Ü` to `u`, it should work fine now, and I already help you disable that `Allow unicode aliases`.

http://sicherung.zazeni.de/forum/kategorien/koerper-geist/gesundheit-fitness-ernaehrung/mudigkeit
·
Wednesday, 13 July 2016 13:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you Arlex, I really appreciate the effort you provide and therefor I am really sorry coming up with another problem.



The link to the last reply is not working any longer.


For real, please tell me these are not problems that occure on my site only. I feel bad for finding so many complains.
·
Wednesday, 13 July 2016 20:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you Arlex! It is working now. \o/

I can finally prepare installing ED4. I really appreciate you being so patient with me.
·
Thursday, 14 July 2016 07:57
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You are most welcome. Glad to hear that your issue has been resolved now.

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.
·
Thursday, 14 July 2016 10:15
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post