How can I work the number of clicks on a link into the math that determines item order? What I'd eventually like to do is have multiple variables that can be run through a formula to determine the order of links.
Such as:
1) # of votes
2) # of clicks
3) # of times e-mailed
4) # of comments
5) # of comments that get voted up/down
6) Pagerank/Alexa rating of URL submitted
In the admin, you choose which of these you want to turn on, you assign weights to each factor and then that determines their order on the site...
How do-able would something like this be?
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| |||
| So this doesn't work if the story is not opened in new window?
|
| |||
|
bflora has said something really important, and opens up new ways to do formulas if we manage to do it. Quote:
|
| ||||
| More sorting option
There is a way how to do that. Visit Code: WWW.VSELINK.ORG Filter by a date:
The problem is this is heavy customized Pligg searching and filtering and there is NO EASY way how to do that. Moreover, this is pretty hardcoded and definitely dirty solution. One way or another it works anyway. I think I could submit a few basic steps how i made it if you like.
__________________ =Everything that has a beginnig has an end= =Nevere stop fighting= Site: http://www.vselink.org Last edited by AnAlienHolakres3; 11-16-2007 at 08:43 AM. |
| ||||
| Exact answer
I will think about it,there must be some easier way which is more appropriable for you
__________________ =Everything that has a beginnig has an end= =Nevere stop fighting= Site: http://www.vselink.org |
| |||
|
Cool. I'm new to Pligg, but have been reading up on it, here in the forums and elsewhere online. I've also been reading a lot of commentary on the Digg model and voting sites in general and it seems to me that Pligg could really separate itself from the pack as a CMS if it expanded its idea of how someone could order the content. If an admin had 10-12 options for how he wanted to order the links, and could weight the different variables in a forumula....well that'd be pretty awesome. I found a link to a php script that will return the alexa ranking of a URL. You can see it here: http://data.alexa.com/data?cli=10&da...=www.slate.com When someone submits a link, pligg could lookup the alexa ranking of the submitted URL and store that in the database. If that number could be factored into that ranking math, that'd be really awesome. I guess I've just been thinking of how Pligg's got the Digg model more or less figured out...so what's next when Digg becomes not so cool anymore? Modules that would add these functions would really take it to the next level, using both explicit and implicit data (both votes/ratings and views/alexa/pagerank/# comments/#e-mailed etc etc) I'd be happy to chat off forum about this if anyone's interested. I think this could be a really neat project. |
| |||
|
I wrote this in another post but I thought I'd lay it down here, just so someone could inform me if im wrong. At first glance this seems great... but, I see a problem. I oft click through stories and find I don't like them, I'm not sure i'd like a point put towards a story that way. Or maybe I'm just missing the point of the addon? |
| ||||
|
Great. I am going to use the code to implement in the video part of the site. the idea is counting video views of all videos on my site (view = clicks). ----------------------------------------- my pligg site: www.ebenta.com |
| |||
|
I am curious to know if anyone has worked out the kinks in getting this click tracking method to work on a Pligg site using the 5 star voting method...
|
| ||||
|
Hi First of all great mod, I have followed all the steps as you said and double checked the nothing is missing but I am still getting this onclick="sendClickedValue(21,1);" just above this story ( Pick a FREE one) and obviously because of this the click are not adding up, the default "1" can be seen over the votes. "Just FYI I have modified link_summary.php in libs which makes the two columned contentbox, I hope this is not making any problems" Could you please tell me what did I do wrong? thanks RESOLVED: My mistake I did not add it INSIDE <a> tags Its working now...BUT the links on top i.e. Postedby: Category, Tags etc are not showing any more Last edited by computerbar; 01-03-2008 at 08:01 AM. Reason: Resolved |
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Submit Antispam Addon v 0.1 | AnAlienHolakres3 | Pligg Modules | 22 | 10-01-2008 05:08 PM |
| Special Advertising Add-On for banners Tutorial | AnAlienHolakres3 | Modification Tutorials | 18 | 07-30-2008 09:25 AM |
| [mod] count clicks instead of votes | abcdefgary | Modification Tutorials | 8 | 06-14-2008 11:34 PM |
| Pligg Team Addon Installation GUIDE & MANUAL | AnAlienHolakres3 | Modification Tutorials | 17 | 04-07-2008 03:41 PM |
| Vote count and Title Link only on front page | tommy818 | General Help | 1 | 10-25-2007 04:40 AM |






Its working now...
Linear Mode

