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
|
Please try to reproduce this problem on demo.boonex.com ? Rules → http://www.boonex.com/terms |
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 ?
|
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 |
Any ideas where I might start to look? Anyone? Odd that this should happen to all three of my communities. |
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.
|
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 |
I re-uploaded the .htaccess file in dolphin root folder and the forums folder but this has not rectified the problem. |
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 |
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 |
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 |
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 |
/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 |
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 |
Thanks Professor. I will try your suggestion and let you know if it works. I really appreciate your time and help. |
Mine takes me to my forum topic, but opens it in a new tab instead of the same window Outdoor Community |
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 |
Your solution works Professor. Thank you so much for all your time and help. Thank you. |
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 |
Yes these were auto installs about 5 years ago. I have not made any changes to the forum page codes. |