google structured data and rich cards and search bar in search results

i was trying to get look of search results display in google like all other big sites website results looks like in Google search with google structured data and rich cards and search bar in search results .

I tried to follow google docs examples on structured data for displaying search bar in search results for site with in google search results its not working

for example if you google the site elgg.org it cleanly presents  elgg with side bar at right and  site details and search bar with in search results i was trying to implement same following google docs it just not working is there a plugin available in elgg which gives same results and provides search results  like when we search for elgg.org in google ? if there is no plugin what needs to modified to make it work ? also elgg.org site source is on github i belive which lines i need to look in to get same search results as elgg does in google?