Project

General

Profile

Actions

Bug #2301

closed

Kunena karma buttons missing in advanced mode

Added by nant about 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
06 February 2011
Due date:
% Done:

100%

Estimated time:
2:00 h

Description

[11:18:20 μμ] Beat: the karma buttons can be added in CB 1.4
[11:18:29 μμ] Beat: i think they are missing for real
[11:18:35 μμ] Beat: open a CB ticket for that


Files

2301.patch (1.14 KB) 2301.patch krileon, 07 February 2011 17:00
2301b.patch (3.3 KB) 2301b.patch krileon, 09 February 2011 16:56
Actions #1

Updated by krileon about 13 years ago

  • File 2301.patch 2301.patch added
  • Status changed from Assigned to Resolved
  • Assignee changed from krileon to beat
  • % Done changed from 0 to 100

Added extra substitutions for karmaplus and karmaminus. Simply used [karmaplus] to render the plus icon and use [karmaminus] to render the minus icon. They are conditional so Kunena will only display them if permitted; otherwise nothing will display. They behave the same way they normally would without CB, but can be used as substitutions now. Example of sidebar karma row as follows.

<li class="kpost-karma">Karma: [cb:userfield field="forumkarma"/] [karmaminus] [karmaplus]</li>

Actions #2

Updated by beat about 13 years ago

  • Estimated time set to 2:00 h
Actions #3

Updated by beat about 13 years ago

  • Subject changed from Kunena karma buttons missing in advanced mode? to Kunena karma buttons missing in advanced mode
  • Status changed from Resolved to Assigned
  • Assignee changed from beat to krileon
  • % Done changed from 100 to 80

Fixed a bit differently in PHP file in commit r1425 .

Probably some documentation is needed in XML of the plugin about that feature ?

Or should a default nice display including these 2 be shown in the admin ?

Actions #4

Updated by krileon about 13 years ago

  • File 2301b.patch 2301b.patch added
  • Status changed from Assigned to Resolved
  • Assignee changed from krileon to beat
  • % Done changed from 80 to 100

Added joomlapolis example to xml.

Actions #5

Updated by beat about 13 years ago

  • Status changed from Resolved to Closed

krileon wrote:

Added joomlapolis example to xml.

Thanks, committed in r1429 .

Actions

Also available in: Atom PDF