- Disable the extension in the ACP (not sure if it's needed....just in case).
- Open the ext/rmcgirr83/annualstar/event/listener.php file using a strict text editor
- FIND this section within the file
public function viewtopic_modify_post_row($event)
- FIND this line
$event['post_row'] = array_merge($event['post_row'], array('ANNUAL_STAR' => $event['user_poster_data']['annual_star']));
- ADD AFTER
Code: Select all
/* remove joined date from viewtopic*/ $joined = $event['user_poster_data']['joined']; $event['post_row'] = !empty($event['user_poster_data']['annual_star']) ? array_merge($event['post_row'], array('POSTER_JOINED' => '')) : array_merge($event['post_row'], array('POSTER_JOINED' => $joined));
- Save the file and reupload into the same directory you downloaded it from to edit the file
- Re-enable the extension
- DONE!
Frequently Asked Questions
Remove Joined Date From Viewtopic
If you want to remove the joined date from within viewtopic using this extension perform the following steps: