Are we able to code an event receiver on site collection creation? I have so custom site definitions, i do everything with features. So i need to activate a feature on site collection creation.
You can use feature activated, you then fire the feature off with feature stapling on the template.
[update] To activate publishing infrastructure for example:
You have few events and you can write Event Receiver for WebProvisioned
Here is the article that explains event handlers: Implement SharePoint 2010 Site event receivers
And here is the List of Feature GUID's