An insight into the communication between β-olefin/phenyl olefin-mediated acceptors and porphyrin π-system: a way to establish porphyrin based chemodosimeters and chemosensors.