Skip to:
Content

BuddyPress.org

Opened 14 years ago

Closed 14 years ago

#1619 closed defect (bug) (fixed)

avatar/username URL creation on user blogs in bp-default

Reported by: mikepratt's profile mikepratt Owned by:
Milestone: 1.2 Priority: major
Severity: Version:
Component: Keywords: sidebar, avatar link
Cc: mike@…

Description

In the Sidebar-me section where the functions bp-loggedin_user_avatar() and bp_loggedinuser_link() are used the following occurs:

On the site home page and main blog , the urls generated for user avatars are:

http://rootdomain/wp-content/blogs.dir/1/files.....

On all other blogs the URLs are:

http://rootdomain/blog-name/wp-content/blogs.dir/1/files.....

and links:

http://root-domain/members//

These URLs do not exist and it appears to be due to the appending of the userblog name onto the root domain in each funtion.

Change History (5)

#1 @mikepratt
14 years ago

as additional help, this bug can be viewed at http://mjpratt.com/poopdeck/ . It is a subdir blog on my dev site using an unaltered bp-default theme for both main and sub blogs (note nav slugs - I know you marked this as "worked for me" on #1501 but it can be seen clearly here) All slug creation worked on earlier 1.2 trunks. I do not have an exact trunk when it stopped. apologies)

#2 @mikepratt
14 years ago

  • Cc mike@… added
  • Milestone set to 1.2

#3 @apeatling
14 years ago

You can't run the bp-default theme on sub blogs unless you add the BP_ENABLE_MULTIBLOG setting to your wp-config.php file. Did you add that?

#4 @mikepratt
14 years ago

Yes. I tried both bp_enable_multiblog && bp_enable_multisite. This occurs regardless of the themes I use. On my old 1.1 setup, I used the same theme for the al the additional blogs I used (2) for clarification, blog creation is disabled, the 2 blogs are used for announcements and a help section so the theming is meant to be the same throughout. All I can imagine now is that the placement of bp_enable_multiblog/site within the wp-config might make a difference?

#5 @apeatling
14 years ago

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

(In [2398]) Fixes #1619

Note: See TracTickets for help on using tickets.