Forum Post Links Broken On Homepage

The forum block on the home page shows my forum posts but when I click on the post link, I am not taken to the topic directly. Instead I am taken back to the home page so the forum post links don't take me anywhere !

Below is the info from the block:

Caption Lang Key:     _bx_forum_forum_posts

Url of RSS feed:   {SiteUrl}forum/?action=rss_all

Quote · 17 Jan 2013

Please try to reproduce this problem on demo.boonex.com ?

Rules → http://www.boonex.com/terms
Quote · 23 Jan 2013

I was unable to create the same problem on the boonex demo. The boonex demo site is a 'perfect world' scenario for fresh installs. My site is an upgrade from 7.0.9 and not a fresh install.

My forum post links on the home page do not lead to the post directly. The links lead back to the home page even though in the browser address bar it gives the address of the forum post. The same problem has hit all three of my communities after the upgrade to 7.1

Please try to reproduce this problem on demo.boonex.com ?

 

Quote · 23 Jan 2013

demo.boonex.com was upgraded from 7.0.9 as well and there is no such problem, you maybe need to ask some specialist to have a look at this problem.

Rules → http://www.boonex.com/terms
Quote · 30 Jan 2013

Any ideas where I might start to look? Anyone? Odd that this should happen to all three of my communities.

Quote · 30 Jan 2013

Just checked and I also have this problem in 7.0.9. So it looks like this is an old problem that has followed me to 7.1

I notice that in order to get to the forum post directly, the address needs to include a hash symbol.

For example:   http://mydomain.com/forum/#topic/test.htm

However, the links to the forum post from my index page do not include the hash and they just open up a page that directs to the index page.

For example:   http://mydomain.com/forum/topic/test.htm

 

demo.boonex.com was upgraded from 7.0.9 as well and there is no such problem, you maybe need to ask some specialist to have a look at this problem.

 

Quote · 2 Feb 2013

It maybe you have some problem with .htaccess file in Dolphin root folder and/or forums folder. Try to check these files and/or reupload them.

Rules → http://www.boonex.com/terms
Quote · 4 Feb 2013

I re-uploaded the .htaccess file in dolphin root folder and the forums folder but this has not rectified the problem. Cry

Quote · 8 Feb 2013

i would love to take a look at it and see if i can help - are you willing to post the url for your site?

caredesign.net
Quote · 8 Feb 2013

first thing i noticed is the link itself is acting up - if you click on a forum post, it adds a - just before the .htm - will let you know what else i see. I dont see this on all your links though

caredesign.net
Quote · 8 Feb 2013

ok - it is something with the links when the post is created. if you hover over your forum link on the homepage, you will see whatever.com/forum/topic/whatever, but the actual post is at whatever.com/forum/#topic/whatever

caredesign.net
Quote · 8 Feb 2013

i just looked at another site that has forums, and it does not add the # to the posts, so something in your forums module is adding it. That may take a lil more time to figure out though.

caredesign.net
Quote · 8 Feb 2013

/inc/js/jquery.dolRSSFeed.js - around line 41:

'<a href="' + item.link + 'l" target="_blank">'

trying to find out where the item.link definition is at - this is where you can manually add a # to fix your problem on your home page

caredesign.net
Quote · 9 Feb 2013

ok - i found a small workaround to help you out - if anyone else finds a more efficient way to fix this, please respond.

OK - go to forum/inc/header.inc.php

around line 48 - look for this:

$gConf['rewrite']['topic'] = 'topic/%s.htm';

change tothis:

$gConf['rewrite']['topic'] = '#topic/%s.htm';

save, upload, and clear your cache

Again - this is just a workaround i found that should work.

caredesign.net
Quote · 9 Feb 2013

Thanks Professor. I will try your suggestion and let you know if it works. I really appreciate your time and help.

Quote · 12 Feb 2013

Mine takes me to my forum topic, but opens it in a new tab instead of the same window

Outdoor Community
Quote · 12 Feb 2013

For some reason, the /topic/ in the url is not working, but the /#topic/ version will go to the correct page. On my site, if in the forums module, then clicking on a forum topic gives me the /#topic/ in my url. On my homepage however, I get /topic/ in the url.

So, my workaround, force adds the # in front of topic/ when clicking link on homepage.

caredesign.net
Quote · 12 Feb 2013

Your solution works Professor. Thank you so much for all your time and help. Thank you. Smile

Quote · 13 Feb 2013

please keep in mind that this is just a workaround, but it does not resolve the actual problem that  you are having. I would highly suggest having someone with more experience look at whats going on. But just as a curiousity - cause i have seen it a lot lately - did you use an autoinstaller, and did you make any custom changes to any of your page codes?

caredesign.net
Quote · 13 Feb 2013

Yes these were auto installs about 5 years ago. I have not made any changes to the forum page codes.

Quote · 14 Feb 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.