Is the `Iddah (waiting period) of the divorced effective from the time the divorce took place, or from the time of registering it at the court?
It is considered effective from the very moment her divorce took place, but not from the time of registering it at the court. And Allah Knows Best.
What is the ruling on someone who vowed to fast for two consecutive months, but failed to do so?
He is obliged to fulfill his vow by fasting for two consecutive months, but if he fails to do so then, it remains a debt on him until he either fulfills his vow, or dies. In case of his death, his guardian is supposed to fast on his behalf, or donate food from his estate in return for fasting, but if the guardian fails to do so then, it is all in the Hands of Allah.
What is the ruling when the monthly period when exceeding (15) days?
The maximum duration of menstruation is 15 days. If it exceeds this, it is considered irregular bleeding (Istihada). In this case, one must perform ghusl (Ritual bath) after menstruation, pray, and make wudu for each prayer after its time begins. She should return to her previous menstrual habit regarding duration and timing. For example, if her period used to be from the 20th to the 27th of each month, this is considered her menstruation period. Anything before or after this is Istihada, during which she only leaves prayer and fasting for the habitual menstrual days, then performs ghusl and resumes praying.
Is it permissible to swear by (Allah "The Living")?
Yes, it is permissible because "The Living" is one of Allah`s Attributes.