I can't post a topic via grp.php

Hello.. When from groups i try to post a topic,

the link is in this form ""/groups/orca/forum/Test-of-group-0.htm#action=goto&new_topic=Test-of-group" so i've a 404 error..

Where Test of group is the name of the group..

So is due to a problem whith the httacces ?

Quote · 21 Feb 2009

The answer

How to Fix the Orca Groups Post Topic Error

When you go to the groups and try to click on a link you will notice that the link to the forum will not work.

This is because the link requires a "#" sign.

Open up the inc/classes/BxDolGroups.php and go to line on or about 423 and add a # in front of "forum".


$caption_item = '<div class="caption_item">';
if ( $this->isGroupMember( $iMemberID, $iGroupID ) ) //jt note - group
$caption_item .= "<a href=\"{$site['groups']}orca/#forum/{$sForumUri}-0.htm#action=goto&amp;new_topic={$sForumUri}\">{$sPostNewTopic}</a> | ";
$caption_item .= "<a href=\"{$site['groups']}orca/#forum/{$sForumUri}-0.htm\">{$sViewAllForum}</a>";
$caption_item .= '</div>';

On or about line 447, you also need to add "#" in front of forum:

//jt note
$sRetHtml .= $this->genGroupActionBtn( 'Post topic', "groups/orca/#forum/{$sForumUri}-0.htm#action=goto&amp;new_topic={$sForumUri}" );

You also need to open up templates/base/xsl/group_last_topics.xsl and to line on or about 36. You need to add a "#" in front of "topics". You need to do this:

<b>
<xsl:element name="a">
<xsl:attribute name="href">groups/orca/#topic/<xsl:value-of select="uri" />.htm</xsl:attribute>
<xsl:value-of select="title" />
</xsl:element>
</b>

Quote · 24 Feb 2009

Thank you very much for posting this.  It helped me out alot.  However, I noticed that the same link error with the missing "#" happens when listing the latest forum posts feed on the front page.  Any idea where I need to insert that to make those links work as well?  Thanks.

Quote · 3 Apr 2009
 
 
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.