Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 13 years ago

Last modified 13 years ago

#634 closed enhancement (fixed)

Constants for tables names => change table names and share users in more installs

Reported by: nicolagreco's profile nicolagreco Owned by: nicolagreco's profile nicolagreco
Milestone: 1.5 Priority: major
Severity: normal Version:
Component: Core Keywords: needs-patch
Cc:

Description

After looking at how share users in more mu install, i thought about how share groups table, profiles table and friends connections one.

As you can see in the patch i made that:

if there is no constants definied for component_table, let's define a new one, and give the contstant value to the global,

with this patch you can change tables name without touching core, and share these tables to share bp in more installs :)

Nicola

Attachments (1)

share_friends_profiles_groups.diff (4.2 KB) - added by nicolagreco 15 years ago.
Table names as constants

Download all attachments as: .zip

Change History (8)

@nicolagreco
15 years ago

Table names as constants

#1 @DJPaul
15 years ago

  • Keywords has-patch added

#2 @apeatling
15 years ago

  • Milestone set to Future Enhancements

Moving to post 1.0

#3 @apeatling
15 years ago

  • Type changed from defect to enhancement

#4 @(none)
15 years ago

  • Milestone Future Enhancements deleted

Milestone Future Enhancements deleted

#5 @cnorris23
14 years ago

  • Keywords needs-patch added; has-patch removed
  • Milestone set to Future Release
  • Summary changed from Constants for tables names => change table names and share users in more installs + PATCH to Constants for tables names => change table names and share users in more installs

This patch needs to be updated for current trunk.

#6 @cnorris23
13 years ago

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

This has been fixed in trunk (see source:trunk/bp-core/bp-core-loader.php#L103 and source:trunk/bp-core/bp-core-loader.php#L152 for examples on how to get started).

#7 @johnjamesjacoby
13 years ago

  • Milestone changed from Future Release to 1.5
  • Severity set to normal
  • Version 1.0 deleted

Moving closed ticket out of Future Release.

Note: See TracTickets for help on using tickets.