The rioters against the President were met by rioters for the President. There was a shooting incident, and Chavez was accused of opening fire on the people protesting against him. This was then used to catalyze more opposition against him when several chiefs of the army denounced him on the media (which had taken the lead in painting him black for a long time by then), which subsequently led to the overthrowing of the presidential palace guard and the taking over of the country with a rich businessman at the helm.
Ultimately as it turned out, the army itself had instigated the shooting and reports that the president had abdicated were falsified (his signature was forged and he was kidnapped). There was a major uproar and hundreds of thousands of people stormed the presidential palace, overwhelmed the army and succeeded in reinstating the president - War on Democracy
It's interesting to speculate on world affairs based on controversy and what are generally regarded as crackpot conspicay theories by the genral public who live and die by what is seen and heard in the mainstream media, but its more than just idle indulgence. There is more than meets the eye most of the time. The order of power and the lines of command are mere illusions. The world operates on a whole different spectrum from where it pretends to.
It's going to be interesting to see what happens in Iran now. It seems that most candidates are withdrawing their claims while reports from the media increasingly stress on the 'violent' crackdowns of the government. Perhaps an effort at dragging this as far as possible? Protests are still to spread outside of Tehran so we can't really say that the majority is behind the opposition. Until this whole issue clears up and some perspective can be gained, the story of what is really going on in Iran will not be known.