Annual Star

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:
  1. Disable the extension in the ACP (not sure if it's needed....just in case).
  2. Open the ext/rmcgirr83/annualstar/event/listener.php file using a strict text editor
  3. FIND this section within the file public function viewtopic_modify_post_row($event)
  4. FIND this line $event['post_row'] = array_merge($event['post_row'], array('ANNUAL_STAR' => $event['user_poster_data']['annual_star']));
  5. 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));
  6. Save the file and reupload into the same directory you downloaded it from to edit the file
  7. Re-enable the extension
  8. DONE!
Before
before.PNG
before.PNG (9.16 KiB) Viewed 128 times
After
after.PNG
after.PNG (8.38 KiB) Viewed 128 times