*

Alex_PY

  • ***
  • 59 posts
Random display of ads in the premium block does not work
« on: February 09, 2023, 07:36:30 PM »
Hello

I set up 4 ads in the premium block on the main page.

I got the 5th premium ad.
The oldest premium ad has stopped showing in this block

The "Show Latest Items in Random Order" switch is set in the theme settings - but it does not enable random display of ads in the Premium block.

How to fix this situation? People pay for impressions in the premium block, but their ad there after a while is replaced by newer ones and is not shown.

Site:
https://mihogar.com.py

Sincerely, Alex.

*

MB Themes

Re: Random display of ads in the premium block does not work
« Reply #1 on: February 10, 2023, 01:06:47 PM »
Delta theme use osc_get_premiums() funciton to get premiums on home page.
Theme has no impact on order of retrieved premium items, it's handled by Osclass.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Alex_PY

  • ***
  • 59 posts
Re: Random display of ads in the premium block does not work
« Reply #2 on: February 10, 2023, 03:14:47 PM »
Do you have the ability to copy the code from "Show Latest Items" and paste it into Premium? So that both there and there everything is covered by the Delta theme?
Just like this - your product looks unfinished, don't you think?

What then is the point of taking money from customers for premium - if only the last 4 (how many we have chosen) premium ads are shown in the premium block?

*

MB Themes

Re: Random display of ads in the premium block does not work
« Reply #3 on: February 10, 2023, 03:46:25 PM »
You run theme on Osclass and until Osclass provide particular functions, theme does not need to modify these and can easily reuse all functions from core. It's theme, layout for Osclass that's primary function is to present Osclass and plugins features to front.

This is how theme picks premiums in main.php
Code: [Select]
<?php osc_get_premiums(del_param('premium_home_count')); ?>
In functions.php, you can find this line:
Code: [Select]
function del_random_items($numItems = 10, $category = array(), $withPicture = false) {

and change to:
Code: [Select]
function del_random_items($numItems = 10, $category = array(), $onlyPremium = true) {

and few lines bellow to change:
Code: [Select]
if($premiums == 1) {
into:
Code: [Select]
if($premiums == 1 || $onlyPremium) {
Then you will change in main.php this one:
Code: [Select]
<?php osc_get_premiums(del_param('premium_home_count')); ?>
Into:
Code: [Select]
<?php del_random_items(del_param('premium_home_count'), array(), truetrue); ?>
« Last Edit: February 10, 2023, 03:53:48 PM by MB Themes »
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Alex_PY

  • ***
  • 59 posts
Re: Random display of ads in the premium block does not work
« Reply #4 on: February 10, 2023, 04:02:46 PM »
Many thanks for the detailed answer.
I will ask programmers to implement it. Based on the results, I will write to you.

*

Alex_PY

  • ***
  • 59 posts
Re: Random display of ads in the premium block does not work
« Reply #5 on: February 10, 2023, 04:05:37 PM »
With all due respect:

And yet, I don’t understand why this can’t be implemented into the theme right away, but I myself need to make corrections to some files that will disappear with the next theme/core update?

Did you just send me a solution?

*

MB Themes

Re: Random display of ads in the premium block does not work
« Reply #6 on: February 10, 2023, 04:21:55 PM »
Because current solution that product use is functioning as designed.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Alex_PY

  • ***
  • 59 posts
Re: Random display of ads in the premium block does not work
« Reply #7 on: February 10, 2023, 04:51:58 PM »
Look here. With all due respect, we speak different languages.

You speak to me in the language of a programmer: It works like this, and you can do it like this. I see that you are a very good programmer who understands your product in depth.

I speak to you in the language of the buyer: I bought a product from you, and it partially does not fulfill its functions. Let's make sure your product is the best in your niche. I'm not just wasting my time to paint in detail - what works "a little wrong". My time is worth money, just like yours.

It's just me, instead of doing marketing - I have to do coding and search for programmers who can finalize your product. For which I have already paid you money. And try to prove to you that my proposals - people need them. Because I am your link between you and the true consumer of your product. I'm not the end user, but my clients are your end users. And I talk to them - and see what they can't do. That is why I am giving you all their words.

The amount of the purchase from you - I already announced to you in one of the messages - you deleted it. And this is not the last purchase. I plan to buy 6-8 more plugins for my project. See screenshot.

It's like you can't understand - I'm one of your most dedicated customers - who actually loves what you do. And I'm ready to pay you more.

But -

again, after each update - all the changes made according to your advice (on my private server) disappear - and again I have to hire a programmer who will return everything to the working state I need.

What do you think - is this normal? Constantly refine an already purchased product?

*

Alex_PY

  • ***
  • 59 posts
Re: Random display of ads in the premium block does not work
« Reply #8 on: February 10, 2023, 04:56:42 PM »
List of planned purchases, as promised.

Concerning: The product is designed as intended - please answer me again to the question:

I have 4 clients.
All 4 bought 1 premium placement for 2 weeks

The 5th is coming. Buys premium.
The 1st ad (with an incomplete term) disappears forever and is not shown.

The 1st client asks me a reasonable question:
And where is my ad, for the promotion of which I paid?

And I answer him with your words:
"Because current solution that product use is functioning as designed."

Do you think this is a serious answer? :)

*

MB Themes

Re: Random display of ads in the premium block does not work
« Reply #9 on: February 10, 2023, 08:21:07 PM »
Your business plan is your business plan, osclass is osclass and theme is theme.
Theme was designed to show XY premium listings provided by Osclass and that is what it does.
Please check demo if you are not sure how product should work.
You got already provided workaround so do not see point to continue in this conversation.
Your personal requirements are interesting, not telling bad, but 100 people has 100 different point of views...
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Alex_PY

  • ***
  • 59 posts
Re: Random display of ads in the premium block does not work
« Reply #10 on: February 10, 2023, 10:25:50 PM »
You have disappointed me. Being in Europe - you have a very non-European attitude towards your customers. I will take your answer into account in the subsequent choice of my actions.

That is, from your point of view, is it normal to sell a product that cannot be fully used as a result?
A product that was flawed at the design stage?

I gave you a very specific description of the situation.

What should I do?

I have 4 clients.
All 4 bought 1 premium placement for 2 weeks

The 5th is coming. Buys premium.
The 1st ad (with an incomplete term) disappears forever and is not shown.

The 1st client asks me a reasonable question:
And where is my ad, for the promotion of which I paid?
« Last Edit: February 10, 2023, 10:38:16 PM by Alex_PY »

*

MB Themes

Re: Random display of ads in the premium block does not work
« Reply #11 on: February 10, 2023, 11:17:30 PM »
That is your business requirement.
You bought product in state presented on demo.
Premium feature of listing has many different meanings and how you present it is your business.
Home page block is not primary function.

What if you have 1000 premiums and random select will never pick 1 listing to home page? What will you tell to customer?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Alex_PY

  • ***
  • 59 posts
Re: Random display of ads in the premium block does not work
« Reply #12 on: February 11, 2023, 06:58:15 AM »
What will you answer me if I ask you this question?
What if in the "recent ads" block out of 10,000 new ones - one does not show up even once? :) - this is your standard functionality, isn't it?

How would I make Premium? - Yes, in the same way that Google Adwords sells its premium places on search. Ad rotation. Google doesn't sell its 4 positions at the top of the page to only 4 advertisers, does it?
Do they do it somehow for the same search query? The easiest way - to show ads "in turn", "in a circle"?
And they increase the frequency of display depending on the amount of payment for showing an ad (from the bid). I have been doing promotion at Google Adwords for 15 years now, and I know perfectly well how they were able to solve this issue.

- But, you can't do that - You are not Google, and you do not have enough programming experience to do this (or enough?)- that's why I suggested the same path that you already applied - in the "recent ads" block - "Pseudo-random display of ads to customers"

I dare say that in the time that you spent answering me - you could have integrated the code that you showed me in one of your answers several times already. As far as I understand - you want to defend your point of view - but not to resolve the issue. It's a pity.

***
On this page you wrote that: "All OsclassPoint plugins were tested with theme"
https://osclasspoint.com/osclass-themes/general/delta-osclass-theme-i170

The demo video clearly shows the premium block everywhere.

And, it CLEARLY shows the use of the OSClass-payment plugin.

At the same time, there are no restrictions on the number of premium ads.

Moreover, in the OS-Class pay plugin itself there is no limit on the number of premium ads displayed at the same time.

There is also no limit on how many people can order premium ads at the same time. That is, for my (for example) 4 allowed places - "premium promotion" can be bought by any number of people.

"Smooth things over", "cut corners" - I don't know how to translate it into English.

From which the client (I) created a false impression, and false expectations.
***

***
From my point of view, this is a banal omission at the design stage.
***

And the straight forward solution is to make the "premium block" sample the same as the "latest ads" sample. Just borrow for this ad marked as "premium". And refuse the sampling provided by the regular kernel engine.

Well, or just enter into the code what you once already wrote to me in the answer.

What is the difficulty, I do not understand?
Should I pay you 20 euros extra for this modification? Which will go into release, and which other users will be able to use?

Against the backdrop of the 1000 euros I paid for all your software and your plugins, 20 euros is not such a big amount. My time is worth more than all this correspondence and verbiage that is happening right now.

Let's solve the issue, shall we?

Or - this is not your theme/plugin, and under the license agreement with the developer - you do not have the right to change the functionality?

I don't understand you:
I found a problem that has been dragging on since the development stage.
I asked you to find his solution.
You showed it to me.
I suggested that you implement it.
You categorically stand your ground that "we will not implement", although you recognize the problem?

What is the question, I really don't understand you?

What will you choose now?

"Strike a pose" - to punish the "presumptuous clinet" who "dare to tell you" - and will you endlessly engage in demagoguery and polemics?

Or say:

Here's a great idea that will make my product better?
« Last Edit: February 11, 2023, 10:00:53 AM by Alex_PY »

*

Alex_PY

  • ***
  • 59 posts
Re: Random display of ads in the premium block does not work
« Reply #13 on: February 11, 2023, 07:10:00 AM »
You have a great motto in your logo.
In this situation, you should remove it.

Because in the context of the resulting situation - the product is not of high quality.

*

SIG

  • ***
  • 31 posts
Re: Random display of ads in the premium block does not work
« Reply #14 on: February 11, 2023, 09:47:28 AM »
Hi!
It is easier to reduce the size of the premium block in ssl so that one row includes 4 or 6 and then the issue will be closed.
Next: Theme settings - The number of premium on the main 8 or 12 to fit in 2 rows.