Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#731 closed defect (bug) (fixed)

Reason for not using Customizable Slugs

Reported by: slaffik's profile slaffik Owned by: slaffik's profile slaffik
Milestone: Priority: critical
Severity: Version:
Component: Keywords: slugs
Cc:

Description

If somebody do this than widgets will not work.
See the code in bp-groups-widgets.php, for example, (from 43rd line):

<a href="<?php echo site_url() . '/groups' ?>" id="newest-groups"><?php _e("Newest", 'buddypress') ?></a> | 
<a href="<?php echo site_url() . '/groups' ?>" id="recently-active-groups"><?php _e("Active", 'buddypress') ?></a> | 
<a href="<?php echo site_url() . '/groups' ?>" id="popular-groups" class="selected"><?php _e("Popular", 'buddypress') ?></a>

Not echo site_url() . '/groups' but echo site_url() . BP_GROUPS_SLUG is needed.

Change History (4)

#1 @slaffik
15 years ago

  • Owner set to slaffik
  • Status changed from new to assigned

#2 @burtadsit
15 years ago

slaffik, see: http://trac.buddypress.org/ticket/723 for a workaround that includes your find.

#3 @apeatling
15 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [1505]) FIxes #731

#4 @(none)
15 years ago

  • Milestone Groups 1.1 deleted

Milestone Groups 1.1 deleted

Note: See TracTickets for help on using tickets.