Bug #2301
closed
Kunena karma buttons missing in advanced mode
Added by nant almost 14 years ago.
Updated almost 14 years ago.
Start date:
06 February 2011
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
- 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>
- Estimated time set to 2:00 h
- 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 ?
- 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.
- Status changed from Resolved to Closed
krileon wrote:
Added joomlapolis example to xml.
Thanks, committed in r1429 .
Also available in: Atom
PDF