Skip to:

Opened 12 years ago

Closed 11 years ago

Last modified 11 years ago

#4596 closed enhancement (fixed)

Template function to get group->creator_id

Reported by: djpaul's profile DJPaul Owned by: modemlooper's profile modemlooper
Milestone: 1.7 Priority: low
Severity: minor Version:
Component: Groups Keywords: needs-testing has-patch


We should add a groups template loop function to return the group->creator_id property. We already have many simliar functions for the group's other properties, and we should expose this to avoid theme authors having to access the global directly.

Attachments (1)

4596.patch (2.4 KB) - added by modemlooper 12 years ago.

Download all attachments as: .zip

Change History (8)

#1 @DJPaul
12 years ago

  • Keywords needs-patch added

Puntable unless someone wants to write a patch for fame and glory.

#2 @modemlooper
12 years ago

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

#3 @modemlooper
12 years ago

  • Keywords has-patch needs-testing added; needs-patch removed

patch creates two functions:

bp_group_creator() and bp_group_creator_permalink()

#4 @DJPaul
12 years ago

  • Keywords needs-patch added; has-patch removed

Thanks for patch. I think we should also add a function to just return the user ID?

#5 @modemlooper
12 years ago

I was thinking the same thing, ill add that.

12 years ago

#6 @modemlooper
12 years ago

  • Keywords has-patch added; needs-patch removed

Added more functions


#7 @johnjamesjacoby
11 years ago

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

(In [6614]) Add some extra group template tags. Also, correctly pass $group through related output functions. Props modemlooper. Fixes #4596.

Last edited 11 years ago by johnjamesjacoby (previous) (diff)
Note: See TracTickets for help on using tickets.