Changing Groups Links

function getGroupUrl($iGroupId, $sGroupUri) {
$sLink = $this->bUseFriendlyLinks ? 'groups/entry/'.$sGroupUri : $this->sCurrFile.'?action=group&ID='.$iGroupId;
return $GLOBALS['site']['url'].$sLink;
}

How can i change the link of this function?

I don't mind if there is no a "friendly link" but I want to be http://www.yourdomain.com/grp.php?action=group&ID=*

* is the number of the group

Thanks.

Quote · 19 Oct 2008

This function is correct, but I notice that you just don`t want use permalink here,

look :

$this->bUseFriendlyLinks

this is mean that - Use or not friendly link (permalink)

you can disable permalinks for groups in admin -> settings -> permalink

Quote · 20 Oct 2008

Thank you friend. This worked!

I thought I was really messed up!

Quote · 20 Oct 2008
 
 
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.