BuddyDev

Search

BuddyPress Extended User Groups Widget

Tagged: 

  • Participant
    Level: Initiated
    Posts: 7
    Cecile on #11691

    Hello Brajesh,
    Thanks for your plugin, simple and efficient, I love it !
    I am using you plugin for an intranet that uses BP, groups, and groups with forum. The widget directly links to the group discussion page, and I need to change this behaviour,
    I Would like it to link to the forum of the group.
    Is this possible and may you help me as I am not a developper. I found the bit of code that links to group permalink, but I don’t know what I should write so it links to permalink/forum.
    Thanks for your help

  • Keymaster
    (BuddyDev Team)
    Posts: 24211
    Brajesh Singh on #11694

    Hi Cecile,
    Thank you.

    In the plugin, Please change this code

    
    							<a href="<?php bp_group_permalink() ?>"
    							   title="<?php bp_group_name() ?>"><?php bp_group_avatar_thumb() ?></a>
    

    to

    
    							<a href="<?php bp_group_permalink() ?>forum/"
    							   title="<?php bp_group_name() ?>"><?php bp_group_avatar_thumb() ?></a>
    

    Also, Please change this

    
    
    <a href="<?php bp_group_permalink() ?>" title="<?php bp_group_name() ?>"><?php bp_group_name() ?></a>
    

    to

    
    <a href="<?php bp_group_permalink() ?>" title="<?php bp_group_name() ?>forum/"><?php bp_group_name() ?></a>
    
    

    That will do it. Hope that helps.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 7
    Cecile on #12774

    Hello Brajesh, thanks for your answer and sorry for my being so slow but I have been somewhat under the water for the last month or so.

    So well I added your code, but alas it did not work as expected. if you need any informationabout my installation, please tell me so

  • Keymaster
    (BuddyDev Team)
    Posts: 24211
    Brajesh Singh on #12814

    Hi Cecile,
    Can you please post your modified code on pastebin?

    Thank you
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved