Closed (won't fix)
Project:
SimpleAds
Version:
7.x-1.7
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
25 Jan 2012 at 20:08 UTC
Updated:
9 Jun 2023 at 17:28 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
minnur commentedHi! Looks like you are on the right direction.
You may also try add custom order. See simpleads.api.php (this will work only for automatically generated blocks, NOT for blocks created in Views)
Comment #2
minnur commented@Spry_Julia, Do you still need assistance with this ? If not, please close this issue.
Thank you.
Comment #3
juliakoelsch commentedSorry about that -- I'll close it for now. This feature has been put on hold. If it comes up and I have questions, I'll let you know. Thanks for your help!
Comment #4
jaskegreen commentedThis is exactly what I need as well. What needs to be added to the api file to make the sorting by weight work so higher ranked ads show more often?
Cheers,
Jason
Comment #5
minnur commented@jaskegreen you will need add some logic to SQL query and you probably will need to add a new entity field and "Join" that field in your custom SQL query.
Comment #6
jaskegreen commentedErr, haven't done custom SQL in a long while. I don't really have the time right now to make this happen. If anyone has the itch and is able to rank the ads, it would be of great service to all.
Cheers
Comment #7
tiagojsag commented+1 for this feature
Comment #8
firfin commentedMarked and closed #1881250: Weighting of Campaigns as a duplicate.edit: Apparantly this is an unrelated issue, sorry.
Did anyone get this functionality working with SimpleAds ?
I think the Random Weight or Probabilistic Weight modules might help getting to a working solution for this.
Client request : "Some ads are more random than others." :-)
Comment #9
firfin commentedMarked #1894414: Display probability as a duplicate.
Comment #10
barurumm commentedAnyone with a working solution?
Comment #11
dtamajon commentedI have created a patch to allow sort ads using draggableviews. The idea is you can create your own draggableview to sort the ads, and then select that view on the block as the order mode.
I have done it over 7.x-1.9 version.
This is a first version with my current needs, so any test and improvements are welcome.
Comment #12
dtamajon commentedJust to say, the first time you edit an existing ads block, you will see 2 errors given that there are 2 new fields. After you save the block, the error will not appear again. And of course, it does not happen with a new ads block.
Comment #13
dtamajon commentedIn the previous patch, not sorted ads were not included in the results. Now, those results are included and you can choose if you want them at the beginning or at the end of the list.
Comment #14
minnur commented