View Issue Details

IDProjectCategoryView StatusLast Update
840Composrpointspublic2012-09-21 14:28
ReporterGuest Assigned ToChris Graham  
PrioritynormalSeverityminor 
Status resolvedResolutionfixed 
Summary840: 'give points' button shows up when viewing posts in form when privilege 'use points' is turned off..
Descriptiontitle is self descriptive.

To fix this, just need to change the 'if' line in sources\cns_topicview.php , in function cns_render_post_buttons to include the has_specific_permission part at the end of the following as such:

    if ((addon_installed('points')) && (!is_guest()) && (!is_guest($_postdetails['poster'])) && (has_specific_permission($_postdetails['poster'],'use_points')) )


TagsNo tags attached.
Attach Tags
Time estimation (hours)
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

Chris Graham

2012-09-21 09:42

administrator   ~984

Thanks

Issue History

Date Modified Username Field Change