Hello!
I'd like to use demo blog application as a basis for my project. Since I'm so far _very_ newbie to Yii, wonder whether there are attempts to code some kind of 'forum' and 'quickpoll' extensions? These extensions I consider as standard must-have at nowdays sites.
Best regards,
--
dvv854
Page 1 of 1
'Forum' extension, 'QuickPoll' extension
#2
Posted 15 July 2009 - 02:09 PM
I think that should be some kind of labs in Yii extensions. Some Todo's.
#3
Posted 15 July 2009 - 02:21 PM
We've got blog subsystem -- that is flat commented set of topics of a specific user. Forum subsystem could be derived from blog if we grant access to any topic to all registered users (members). Then poll subsystem could be derived if we limit comments to be a set of options (plus, probably, allowing a member to vote (in terms of existing blog -- to 'comment') only once. Moreover, News subsystem can be considered as blog of admins 
If this is an acceptable roadmap, will any of Yii guru realize it?
--
dvv854
If this is an acceptable roadmap, will any of Yii guru realize it?
--
dvv854
#4
Posted 18 July 2009 - 08:51 AM
Quote
...Then poll subsystem could be derived if we limit comments to be a set of options (plus, probably, allowing a member to vote (in terms of existing blog -- to 'comment') only once...
Well. I tried to extend Yii enhanced blog demo http://code.google.c...gdemo-enhanced/ to support quick polls. Added to Post model 'options' column which keeps possible polling options. Added Vote model which will keep user answers per poll. Put new methods into PostController: vote, revoke. Thus, any post can be used as poll by specifying polling choices. Added QuickPoll portlet which allows user to vote for the most recent poll. Registered users can reconsider their votes, guests are not. TODO: add auto-expiry feature.
The result in form of patch is attached.
Feedback is very welcome.
--
dvv854
Attached File(s)
-
quickpoll.diff (24.32K)
Number of downloads: 0
Share this topic:
Page 1 of 1

Help













