It'd also be cool if there was a way to configure drigg so that promotion could be based on multiple factors:
- votes - you could choose from positive (+5 and -3 = +5), negative (+5 and -3 = -3), combined (+5 and -3 = +2) or absolute votes (+5 votes and -3 votes = 8 absolute votes)
- number of reads
- number of comments
- voting on comments

This would make the stories that are promoted far more interesting. They wouldn't just be the stories people agree with but the stories they find interesting and controversial. The above factors are examples (there are probably others). They should be weightable (for example: you should be able to make it that a vote = 100 points, a comment = 20 points each, votes on comments = 5 points each, reads = 1 point each). Then you would make the treshold for promotion 1500 or something. The point being that there more activity there is surrounding a story the more likely it is to get promoted.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

philipsim’s picture

I'm also interested in this and might be willing to contribute to a bounty. Specifically I'm interested in giving points for reads and comments. Both of these are very reflective of a stories popularity and can help boost a story even if people are too apathetic to vote.

mercmobily’s picture

Hi,

The architecture really allows for any kind of promotion mechanism.

How would you like it t work, philipsim? That is, what would you like to configure, and when should stories be promoted?

How much can you bounty for this feature?

Bye!

Merc.

philipsim’s picture

I'd simply be happy with a read equal a vote. Just a field in either Extra Voding module or Drigg module, that allows you to set number of points for each read. If you were going to do it, it would probably make sense to allow for points for each comment, etc as was mentioned in the first post.

I can't imagine it would be very difficult? Let me know what you'd need.

mercmobily’s picture

Assigned: Unassigned » mercmobily

Hi,

Assigning to myself, in the batch of improvements I will be working on shortly.

Merc.

ajayg’s picture

You may want to consider the algorithm used by Node radioactive module. The more there is some action on node the more radioactive (means ranks higher some way) the scoop becomes. But the radioactivity decays over time so the older scoopes unless read recently will slowly go down the rank.

mercmobily’s picture

Hi,

Is there a radioactive module I can use?

that would be _great_...

Merc.

ajayg’s picture

See here
http://drupal.org/project/radioactivity

It seems to make any node radioactive. So wondering if it can make scoopes radioactive.

mercmobily’s picture

Hi,

It will, and yes, it will work.
Nice one. Thank you for the link!

Merc.

cedricfontaine’s picture

Assigned: mercmobily » cedricfontaine
Artem’s picture

subscribing

cedricfontaine’s picture

Radioactivity module supports votingapi and you could set a value when a user votes, reads or comments a scoop.

I'll add a way to promote or unpromote related to the radioactivity of the node.

mercmobily’s picture

Hi,

I think Radioactive will cover most of the request.
However, there is this bit:

- votes - you could choose from positive (+5 and -3 = +5), negative (+5 and -3 = -3), combined (+5 and -3 = +2) or absolute votes (+5 votes and -3 votes = 8 absolute votes)

I think it would be cool to add these as 4 more promotion basis. It would be a good way for you Cedric to get how to add promotion rules -- you can see that drigg_promote is ready for it. The "combined" one isn't necessary, because it basically already exists. However, the others are possibly interesting: somebody might want to promote a story that has received enough positive votes even if it has received lots of negative ones. Or, somebody might decide to promote a story just because it got so many negative votes (absurd, but why not), or more realistically, somebody might want to promote a story just because it received many votes (see the "absolute votes" part of the deal).

Do you know what I mean?

Bye,

Merc.

cedricfontaine’s picture

Status: Active » Needs review
FileSize
4.92 KB

Here is a patch which offers support for Radioactivity. Could anyone test it on a running drigg site ?

You need to setup radioactivity before for drigg node.

mercmobily’s picture

Hi,

If nobody else does, I will.
BUT, if somebody else here is willing, I will save myself some time.

Bye,

Merc.

cedricfontaine’s picture

I think after that I'll add a way to unpromote a story based on radioactivity. What do you think ? Should we unpromote and promote back in order to move order on the main page ?

ajayg’s picture

I think we should. If a story has not seen any activity for a long time, it should get un promoted so that the next one in the queue gets forward(promoted).THis shows the site is live. Otherwise if there are not enough votes for a story, nothing will change and the front page may look static.

mercmobily’s picture

Hi,

This should be moved to a different discussion. If you want to continue this discussion, then please open a new ticket.
The general answer is "no". Drigg isn't a system that should be used to have a list of changing news on the front page. Drigg is meant to be a news hub, where the news is published in cronological order. People might subscribe by RSS. What would happen then?

Unpromoting needs to be carefully planned. Once a story gets unpromoted, it should also get "killed" -- this is how serious this should be. Killed means "unreachable in any way other than a direct link", which is an existing feature.

This is how _every_ other hub software works -- and for good reasons.

Again, discussion on unpromoting should go to a different ticket. But this will give you a rather precise idea of the problems involved,

Merc.

cedricfontaine’s picture

As always, you're probably right.

I'll add a way to promote only if a ratio between plus and minus is there. :

Ratio 0.5 means that you want to have at least 10 votes plus for 5 votes minus.
Ratio 1 means that you want to have at least 10 votes plus for 10 votes minus
Ratio 2 means that you want to have at least 10 votes plus for 20 votes minus.

And also I'll add an absolute points to promote. If you set absolute to 10, you need at least 10 positive points (not counting minus) to promote. If you set to -10, you need at least 10 negative points to promote.

And we should be great with that. Don't you think ?

mercmobily’s picture

Hi Cedric,

While I think yours would be the most "optimised" way of doing it, I think too many users would be confused by it.
I think I would rater see, in the config options, three new promotion rules, each one with its own checkbox and each one following the template for the existing one:

-- Promotion method 2 --
[ ] Activate?
How many votes (negative OR positive) before a story is published to the home page (10 positive and 3 negative = 13)

-- Promotion method 3 --
[ ] Activate?
How many negative votes before a story is published to the home page -- positive votes here won't matter 10 positive and 3 negative = 3

-- Promotion method 4 --
[ ] Activate?
How many positive votes before a story is published to the home page -- negative votes here won't matter (10 positive and 3 negative = 10)

Of course, we should change the wording of the first method as:

-- Promotion method 1 --
[ ] Activate?
What should the voting balance be before a scoop goes to the home page:
(10 positive and 3 negative = 7)

THEN the radioactive

-- Promotion method 5 --
[ ] Activate?
Promote if radioactivity level reaches:

I actually made this one up -- I am not sure what should be configured for the radioactive bit.

Please note that you can check if a story should be promoted in two spots:

* In the cron

* When a vote is cast

Right now, nothing happens in the cron. It might stay that way... I am not sure. But, the option is there!

Bye,

Merc.

cedricfontaine’s picture

Could a user check method 1 and method 3 for example ?

bflora’s picture

Has the radioactivity been committed to the latest dev release?

sikjoy’s picture

There is also the External Link Popularity module that would be worth considering here. It works in conjuction with the Voting API module and casts votes when users follow the external link in the scoop.

mercmobily’s picture

Hi,

@Cedric: About #20, yes. users could check multiple ways of promoting, and if ANY one of them promotes the node then great!

@bflora: simply visiting http://drupal.org/project/radioactivity would have told you that no, it hasn't. So, there is no radioactivity for D6, which is a pail. but hopefully it will get ported soon.

@sicjoy: that's interesting, but I am not entirely sure it's relevant here

Merc.

sikjoy’s picture

Ah the relevance would be that you could promote scoops based on the number of readers who follow the link. It's an indication of how interesting the scoop is to your readers.

mercmobily’s picture

Hi,

True. However, it would be a bit tricky to figure out which link got clicked on, I think. I looked into this a while ago, and it became a bit of a nightmare. It's one of those things that looks good on paper and then... :-D

Merc.

bflora’s picture

Merc,

Sorry, I meant, has this radioactivity feature been added to the latest DRIGG dev release? I'm still a little confused by the lingo here on Drupal.org. I see there's a patch up above and I see there's a dev release of Drigg marked on the same day, August 27. Does that mean that the dev release includes the patch? I'd be happy to test it out if so.

mercmobily’s picture

Hi,

Nope, the patch is not committed yet.
And it was my fault, not yours -- I misunderstood you :-D

Bye!

Merc.

cedricfontaine’s picture

Here it is... This is a patch which create 4 new promotions method. Each one can work in conjunction of others.

Radioactivity method is the most interesting one, I think. With the help of Radioactivity module maintainer, we also add a way to add or remove Radioactivity according to vote value. Please refer to the radioactivity_up_down_voting plugin.

Any review or test will be appreciated.

mercmobily’s picture

Hi,

Before I test it... which version of Radioactivity do we need in order to test the new feature?

Bye!

Merc.

cedricfontaine’s picture

I've been using radioactivity-5.x-1.2-rc1.

radioactivity-5.x-1.2-rc2 adds a way to add radioactivity depending on the vote (positive or negative) but it doesn't work for me now. I'm working with the developer of the radioactivity module to make it works.

mercmobily’s picture

Hi,

Shall I wait before testing the patch?

Merc.

cedricfontaine’s picture

No you can test with the simple votingapi in radioactivity. But you just can setup radioactivity on vote, no difference between positive and negative

mercmobily’s picture

Hi,

I can't really be the only person testing this... any other takers?
Hellowwww Drigg users? :-D I know you are here when you submit support requests and bug reports... and now...? :D

Merc.

bflora’s picture

I will also test this.

Cedric, I don't understand your last comment. Is this patch ready to test...or not? And what does it do? You say it adds 4 new promotion methods....what are they? I need to know what behavior to look for in order to test it properly.

cedricfontaine’s picture

This patch works and everything is explained in comment #19

bflora’s picture

Cedric,

can you explain how to get this rolling?

So I install node radioactivity.

Then how do I configure it? Do i need to create a new radioactivity profile and do something to it?

Then I need to patch drigg?

I just want to make sure I know how this works. Thanks!

mercmobily’s picture

Hi,

@bflora: you need to apply the patch in #28. Please see http://drupal.org/patch to see how to patch.

@cedric: please let us all know about the other questions :-D

Bye,

Merc.

bflora’s picture

Hey Merc,

Yep. I can figure out the patching alright. I'm just not sure what to do with node radioactivity....it'd got almost as many options as Drigg!

taqwa’s picture

subscribing

mercmobily’s picture

Hi,

Lukas, are you able to do some testing as well?

Merc.

cedricfontaine’s picture

How to use it with RadioActivity is straight forward.

* Install and activate RadioActivity module.
* Create a new decay profile for RadioActivity
* Define value to event node view, submitted comment, published comment, vote
* activate in Drigg promotion Promotion method 5 : Radioactivity
* Define Decay profile to use (number not name)
* Define How much Radioactivity before a story goes to the home page.

That's it !

mercmobily’s picture

Hi Cedric,

Quick note... about this one:

* Define Decay profile to use (number not name)

Is it possible to make a small select menu here instead? This is for the final patch, not this one.

I am waiting for Drigg v.6 (!). So, this is the last patch/feature that will make it to D5 (and D6) before we decide that the D5 branch is only for bug fixing. It should happen next week!

Merc.

simillibus’s picture

Cedric,
thanks for this!

I've installed your patch & am playing with it as well - installed without difficulty, & initial tests see it working ok.
Will keep you tooned with my experience with it.

Have set it up with equal weight given to an up vote & a comment, with radioactive decay (rapid for now, to test the system).

Will Taylor
National College of Natural Medicine
Portland, Oregon | US

bflora’s picture

Ok. This appears to be working. Awesome.

So to recap for latecomers (and to make sure understand it):

If you apply this patch to Drigg's promotion module and install Node Radioactivity, you can promote nodes based on how much "energy" they receive from votes, comments and clicks.

Using the Radioactivity module, you can setup how voting, commenting and clicking bestows "energy" to a node.

taqwa’s picture

testing now on our site. will let you know how it goes

bflora’s picture

I'm able to give radioactivity to nodes.......but they're not being promoted when they reach the energy level I specify.

In the Drigg promotion admin page, the radioactivity option asks me for "Radioactivity Profile to use"

What format does that input take? The decay profile ID? The name of the profile? Maybe that's where I'm going wrong.

I've got it set to promote at 11 energy...and have nodes over 20 not being promoted...

Gonna have to switch back to straight voting until I get this sorted out...

taqwa’s picture

I'm not entirely sure if this bug is related to this patch, but some of my nodes have started to appear twice on my promoted pages.

mercmobily’s picture

Hi,

Lukas: ?!?!?!?
I don't think it would be because of this patch.
Can I have an URL to your site?

Merc.

taqwa’s picture

Sure. But be warned. We are using a heavily modified/hacked version of drigg.

www.meccho.com

mercmobily’s picture

Hi,

My goodness, it _is_ very customised.

Please open a new issue, Lukas.
In that new issue, please tell me if you modified ANY of the core code.

Bye.

Merc.

taqwa’s picture

haha. We've always wondered what you would think of the site. I think the appropriate name for what we have would be "dreddit" rather than "drigg". :-)

Anyway, for now it doesn't seem like this is a radioactivity bug. Thanks for the offer to help Merc, but we think it might have to do with one of the mods we made. If it turns out to be a problem with core, we'll let you know.

cedricfontaine’s picture

>In the Drigg promotion admin page, the radioactivity option asks me for "Radioactivity Profile to use"

> What format does that input take? The decay profile ID? The name of the profile? Maybe that's where I'm going wrong.

You have to use the decay profile ID, right.

Tell me if it works for you.

tauno’s picture

I am seeing the same problem with nodes not being promoted when they reach/pass the energy amount I have defined. I am using drigg 1.36 with the patch above applied as well as radioactivity 1.2rc2 with the updated up/down module from cvs. I only have one decay profile, and my drigg promotion decay profile setting is set to 1. Promotion method #1 still works as expected.

I am happy to help debug if you have some suggestions on where to look first.

bflora’s picture

still seeing same problem myself. Nodes not being promoted via radioactivity.

bflora’s picture

So on the decay profile that I want to use with Drigg....what do I put in the field for "vote down" energy? -5? Something else? I'm not seeing the energy go down when I vote stuff down.

Ive got three slots in the decay profile that are vote-related:

Vote up
Vote down
Vote

What do I put in there for each?

delmont’s picture

Using drupal 5.15, drigg 5.x-1.36 (with patch applied in #28) and radioactivity radioactivity-5.x-1.2 and having the same problem as #53. Looking inside the database seeing radioactive levels in the 99.xx range when I've set the drigg module to promote them to front at 65, but not seeing the promotions.

Drigg settings for Promotion are using Method 5 only using the only radioactivity profile I've made (#1) and a radioactivity level of 65.

Uncertain if I need to have the drigg autovoting enabled or disabled in conjunction with radioactivity module.

Radioactivity settings are
Incident energy from node view: 15
Incident energy from submitted comment: 10
Incident energy from published comment:10
Incident energy from vote up:15
Incident energy from vote down:0
Incident energy from vote: 10

Using only Core, Vote up/down, Node, and Voting API support for the radioactivity module. Any suggestions?

mercmobily’s picture

Hi,

Can you check if it works with Extra Voting Forms?

Merc.

delmont’s picture

My install is the standard drigg install, and extra voting forms is installed, and was working before I applied the patch. I'm not certain exactly what you mean by "if it works with Extra Voting Forms".

Extra Voting Forms is installed and was working with karma until I applied the patch. I don't see any value inputs for Extra Voting Forms in the radioactivity settings profile, if that's what you mean.

jzimmerman’s picture

I'm having the same issue you have. I have applied the patch so that I now have the 5 methods of promotion.
When I use method 1, I have no problem getting the scoops to promote to the front page. But when I use 2-5 they do not promote. I think that may mean that radioactivity is not working with Extra Voting Forms. Or I have some other issue?

I'm not sure how to fix this problem either. I've been searching but haven't found anything to fix it.

ajayg’s picture

Any update on this? Or any help required with testing?

mercmobily’s picture

Status: Needs review » Closed (won't fix)

Hi,

OK, the radioactivity extension hasn't been forward-ported to Drigg 6.x because:

* When we ported Drigg to 6.x, radioactivity didn't work
* I had a few reports of VERY random home page promotion
* The original coder, Cedric, has since then left Drigg
* RadioActivity's developer is great, but has very limited amounts of time to work on it

I won't implement radioactivity in Drigg until Radioactivity has reached a stable release. At that point, I will accept the forward-port of the radioactivity patch that was there for Drigg 5.

Bye,

Merc.

philbar’s picture

Version: 5.x-1.x-dev » 6.x-1.x-dev
Status: Closed (won't fix) » Active

Radioactivity has stabilized!

mercmobily’s picture

Status: Active » Postponed

Hi,

OK. But... I don't _really_ want to do this, it's too bug prone. I had all sorts of weird reports. I will do it once they actually come up with a proper release, which they haven't yet.

Merc.

carlo75’s picture

Interesting feature, please find the time
for insert in next release... in that regard
mercmobily are u still leading actively this project?

Akela’s picture

I realize that the last post here was a year ago, but has anything come of the original suggestion? Or, perhaps, is there another module that does something similar for D6?

I've been looking, but I keep coming up empty...