Skip to main content
20 events
when toggle format what by license comment
Apr 3, 2021 at 14:04 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Dec 4, 2020 at 13:04 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Aug 6, 2020 at 12:06 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Apr 8, 2020 at 12:03 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Dec 10, 2019 at 12:01 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Aug 12, 2019 at 11:02 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Apr 14, 2019 at 14:19 comment added mickmackusa Since this page has been bumped by the system, I started to think about your issue again. Can you provide some actual sample rows from your #__banners table? (Of course, you can obfuscate any private/sensitive data), but I'd like to consider some options based on some of the column values.
Apr 14, 2019 at 11:00 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Mar 15, 2019 at 10:49 answer added Irata timeline score: 1
Mar 13, 2019 at 21:54 comment added mickmackusa Thank you, yes, I think this is much clearer now. I haven't personally done any work with Joomla banners yet so I'll need to look through the db and associated scripts to understand what might need to be adjusted for your purpose.
Mar 13, 2019 at 14:25 comment added Wesley Ferreira But Joomla is doing: 200 per banner, so you get 600 and the other 200 advertisers each. Could I be clearer? Anyway, thanks for everything up here.
Mar 13, 2019 at 14:25 comment added Wesley Ferreira My native language is Portuguese (Brazil) and I write using Google Translate, maybe the difficulty. Example: I sell you and two other people the right to advertise their companies for 30 days on my site. As a clothing merchant, for example, you will have an advertisement (banner jpg) of blouse, shoe, dress (3 banners). The other two people choose to advertise only one product each (1 banner). So, you (3 banners), person A (1 banner) and person B (1 banner). In this case, if I have 1000 impressions on the site, they should be 333 for you, 333 for A and 333 for B.
Mar 13, 2019 at 13:44 comment added mickmackusa Could you perhaps edit your question to further specify the business logic with your more realistic details? If you can break it down in plain English, there is sure to be someone who can piece together the technical aspects for you. I may or may not be the one tp solve this, but I am not confident that I fully understand things regarding "advertisers", "raffles", and "equal certainty of division". Keep working with us, it will all be worth it.
Mar 13, 2019 at 12:08 comment added Wesley Ferreira Theoretically, what he wanted to do was ask for two raffles (first, the client and then the client's first draw banner). I have already observed that even the random function obeys an equal certainty in division. So it would be something "theoretically" simple to solve. I just do not have the technical knowledge for this!
Mar 13, 2019 at 12:08 comment added Wesley Ferreira In fact, the actual scenario is comprised (today) by twelve advertisers who insert and delete new ads in real time. I simplified the creation of the scenario to be clear the visualization of the problem. But advertising duplication is definitely not functional at all. I have already tried to find in the mod_banner code and com_banner the line that calls the randomize function, without success.
Mar 12, 2019 at 23:18 comment added mickmackusa Am I understanding your conundrum?
Mar 12, 2019 at 23:17 comment added mickmackusa For this basic scenario, I feel like you might just "pad" (duplicate) the current respective ads for Client A and C to create "balance". This gets trickier as the factors of equality will change with different ad counts. I mean if you had 2 and 3 and 4 ads (for A, B, C), then you would have to pad all Clients to 12 ads each (so that there would be equal distribution within their own pool of ads as well). In other words, A would have 6 copies of each (2) ads; B would have 4 copies of 3 ads; C would have 3 copies of 4 ads. Even as I type this out, this seems like a real headache to manage.
Mar 12, 2019 at 23:12 history edited mickmackusa CC BY-SA 4.0
Modified title, added spaces and bullet points to question body for easier reading.
Mar 12, 2019 at 15:35 review First posts
Mar 12, 2019 at 23:18
Mar 12, 2019 at 15:30 history asked Wesley Ferreira CC BY-SA 4.0