My Forum Posts plug-in serving malformed URLs on users profile, see below examples.
SEF version of URL string www.site.com/component/kunena/?Itemid=0&func=showcat&catid=3
Non SEF URL string www.site.com/index.php?option=com_kunena...func=showcat&catid=3
Correct URL string non SEF www.site.com/index.php?option=com_kunena...&catid=3&Itemid=1052
To clarify, I actually have 2 My Forum Posts plug-ins;
mykunenaposts - Plugin 4.1.2 July 2015 iJoomla
mykunena Plugin 2.0.3 2012-11-24 Kunena Team
The malformed URLs belong to plugin element named mykunenaposts, which, after researching appears to be JomSocials plugin, not Kunena's.
STEPS TO REPLICATE:
1 Post new topic or reply in Kunena forum
2 View users profile and click any of the topics shown in tab for Forum Posts plugin
RESULT - Presented with 404 error page
EXPECTED RESULT - To navigate to respective forum topic or reply within Kunena
BROWSER - All
I've posted perviously on Kunena forum and it appears this one is JomSocials bug.
here the fix:
Thank you for your time and help resolving this issue. I've replaced the PHP file and it fixed the bad URL in 50% of the places LOL.
It works if user clicks from Activity Stream
It does not work if user clicks from the tab wherever plugin is assigned from, still throws a 404
Please advise, and again...thank you for your help.
Details provided in first post.
I have logged in as the Super Admin I provided details for and made a test post within the forum so you can go view profile, then you will see there are 2 tabs for My Forum Posts. One tab says My Forum 404s so that you know which one is funky.
But again... this may be a moot point considering there are 2 My Forum Posts plug-ins.
please using My Forum Posts that plugin from Kunena it self. Before it Kunena team was rejected the plugin at they side.
seem now they included/made by they self already.
if jomsocial providing the plugin, it will too much issue. because jomsocial never now what Kunena changes.
The plugin that Kunena originally developed was discontinued several years ago, they no longer support this.
Kunena Support Response
The only reason I have 2 "identical" plugins installed is due to the fact that JomSocials myforumposts plug-in has never worked properly. I have never been able to "sunset" my older Kunena version.
Wish I could easily upgrade every component installed but I have so many 3rd party plug-ins daisy chained together with related customizations, I'll break 5 other things trying to fix this 1.
Here, a random user of JomSocial and Kunena has provided some insight for the JomSocial dev team, to help you fix the plugin and provide an official patch. I hesitate on applying any code from outside parties, as much as I appreciate their help, kinda need it to come through official channels for security reasons.
Thank You for that link.
that improvement will be included at 4.1.4
here the file:
We are actually in the process of server migration... the dedicated server we've been on for many years finally had RAID failure and BOTH FREAGING hard drives went bad at same time LOL.
Typical of my luck. Site is back online on new (different) dedicated server but if you still cannot access please let me know. It's most likely DNS propagation, which should be complete by the time you read this.
Just FYI, the patched plugin contains wrong URL for "no-posts.gif"
It currently uses this http://www.mydomain.xyz/plugins/community/kunena/kunena/no-post.gif
This directory exists on an older version of JomSocial but I had to create the 2 sub directories named "kunena" and upload gif.