An interesting system for "published" - can drigg do this?
Hi guys,
I'm new to drigg, I've recently switched over from pligg and so far I'm much more impressed with the power of the back end.
I have a bit of a long winded question to which I'm hoping someone could help me with.
I'd like each story that gets submitted to the site to have 30 days in which to get as many votes as possible - after 30 days the story can no longer have any more votes cast to it OR the votes no longer count or some similar mechanism.
I THEN want a set of vocabularies which we'll call "Section One", "Section Two", "Section Three" and so on, to then be populated by stories which, over the last 30 days, have received the most votes - but remember as I've already said, stories can only be voted on for 30 days, after which votes no longer count.
Here's the complicated bit which I hope I will explain well enough. Say the cut off point for the "Section One" 30 day period is the 15th of September - any story whose 30 day vote period ends AFTER that date would then be eligible to be published in a vocabulary called "Section Two". But if the story submitted has a 30 day vote period which ends BEFORE that cut off point then if the story gets enough votes it will end up in "section one".
The "published" section of vocab "Section One" would then populate itself every 30 days with the top ten (or any number for that matter) stories of the last 30 days. The "upcoming" section would act as a leaderboard for what will potentially be promoted into the "published" section.
Do you think such a system is possible in drigg?
Alternatively, maybe this system would work if the I allowed drigg to publish things in the traditional fashion, ie, an upcoming stories section, then stories move to a "published" section, and then I have a system that places that content into "Section One" or "Section Two" based on the criteria I've already mentioned, the stories having the MOST votes inside a 30 day period, which section it gets filed into is based purely on when it's 30 day vote period ends.
I know it is long winded and complicated but can anyone offer any help here?
Your best bet...
Hi,
your request seems to require quite a bit of custom programming. The data is there, and it's definitely possible. However, it's not something that can be done in half an hour, nor even half a day (and maybe not even in half a week).
I suggest you ask a Drupal consultant to help you. There is a section in the Drupal website for people looking for Drupal experts.
Bye!
Merc.
Is it not possible to do
Is it not possible to do something along the lines of this with the Views module? If I create a view that shows only nodes submitted between two dates, and then sorts them in ascending according to the number of votes? I could even tell it to display as many results as I wished...
This method might allow for me to leave the "upcoming" and "published" sections as they are, and have a third custom section made with views to display the nodes as I wanted...?
I don't know ANY php but I'll give this a go and let you know how it goes...
I am not sure...
Hi,
I am not sure if what you want to do is possible with Views alone. I would tend to think that it's not... but I've been proved wrong in the past :-D
Let me know how it goes!
Merc.