Skip to:

Opened 14 years ago

Closed 14 years ago

#1548 closed defect (bug) (fixed)

missing edit/delete button on forum topics

Reported by: chouf1's profile chouf1 Owned by: hempsworth's profile hempsworth
Milestone: 1.2 Priority: major
Severity: Version:
Component: Keywords: has-patch
Cc: hempsworth


wpmu 2.8.6 stable
BP 1.1.3 stable

A long tread with 15 topics on each page (total 3), on each first topic at the top of the list, the edit/delete button isn't appearing.
the button is on all the other topics...

you can view here:

Attachments (1)

1548.patch.diff (484 bytes) - added by hempsworth 14 years ago.

Download all attachments as: .zip

Change History (4)

#1 @hempsworth
14 years ago

  • Cc hempsworth added
  • Keywords needs-patch added

Line 885 of bp-forums-templatetags.php disables the admin links if it's the first post in a topic, however it's counting the first post on paginated outputs as the first in the whole topic.

This is the specific piece needing a look at...

/* Never show for the first post in a topic. */
if ( 0 == $topic_template->current_post )

#2 @hempsworth
14 years ago

  • Keywords has-patch added; needs-patch removed
  • Owner set to hempsworth
  • Status changed from new to accepted

Patch fixes this problem, only disables admin links if you're on the first page of replies.

#3 @apeatling
14 years ago

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

(In [2377]) Fixes #1548 props hempsworth

Note: See TracTickets for help on using tickets.