Ads Manager 2 by Siropu

Ads Manager 2 by Siropu [Paid] 2.8.1

No permission to buy (€50.00)
Is it a bug that is looks like this, with the >= symbols after the radio button?
And why is the radio button there? The discount is reflected in the price below without clicking it. Thanks
1777587478259.webp
 
What's the best way to increase the font size of the package description under the Package column header?
 
What is the best and safest way to clear and restart statistics from scratch?

Is truncating both xf_siropu_ads_manager_stats_click and xf_siropu_ads_manager_stats_daily the safe way?
 
The one affected is one of the carousel below top breadcrumb. There is no way it has 0 views and 16 clicks. It does not make any sense.
Can you please show me the carousel settings?

Is it a bug that is looks like this, with the >= symbols after the radio button?
And why is the radio button there? The discount is reflected in the price below without clicking it.
This feature was designed to work differently. If I sell per week/month, I give the discount if the advertiser buys 2 or more not the default 1. The button is there to convert.

What's the best way to increase the font size of the package description under the Package column header?
In extra.less template:
CSS:
body[data-template="siropu_ads_manager_package_list"] .dataList-subRow
{
    font-size: 16px;
}
What is the best and safest way to clear and restart statistics from scratch?
Using the built in reset feature. You can find it in the options menu in ad list.
 
Can you please show me the carousel settings?
I added another text based ads under the Carousel package today and it has the same symtomp.
It has 1 view and 2 clicks. CTR 100%

I believe it has something to do with the Carousel setting where the number of ads are lower than # of ads to show or something.
 
@Siropu, quick question, for a promo thread, the advertise here link that shows in the forum, how can I have that go to the packages page and not the actual promo thread creation page? (Template edit?)
Thanks!
 
I would like to display a banner for the post's author within the post_macros template.
Something like this, for instance:
Bash:
<xf:if is="$post.user_id == $banner.user_id">
<xf:macro id="siropu_ads_manager_ad_macros::ad_unit" arg-position="business_signatur_banner" />
</xf:if>
How can I achieve this?
 
I would like to display a banner for the post's author within the post_macros template.
Something like this, for instance:
Bash:
<xf:if is="$post.user_id == $banner.user_id">
<xf:macro id="siropu_ads_manager_ad_macros::ad_unit" arg-position="business_signatur_banner" />
</xf:if>
How can I achieve this?
I’ve taken another look at this matter, but I’m still stuck.
Perhaps I’m approaching the whole thing the wrong way.

Using the Ads Manager, I want to enable commercial members to display a banner beneath their signatures.
The placement option itself is already available...
However, the banner should naturally only appear beneath their own signature—not beneath everyone else's.
Does anyone happen to have a tip on how I can implement this?
 
Have you tried Position criteria > Thread post author is the AD owner?

I hadn't actually found this setting yet.
That brings me closer to a solution, but it still doesn't yield the desired result.
Below is a small series of tests; I won't be able to conduct any more until the next few days.
In some respects, the results are indeed correct.
However, based on what I've seen so far, it appears that whenever the setting "Thread post author is the AD owner - on" is enabled, no banner is displayed.
Edit:
Just as an additional note:
I created a new "thread view position" for this purpose.
And I implemented it using a template modification within post_macros.

Find:
Bash:
<xf:macro id="message_macros::signature" arg-user="{$post.User}" />
Replace:
Bash:
$0
<xf:macro id="siropu_ads_manager_ad_macros::ad_unit" arg-position="nanto_business_signatur" />


Posts in his own topic
Thread author is the AD owner - on
Thread post author is the AD owner - off
Banner is displayed.

Posts in his own topic
Thread author is the AD owner - on
Thread post author is the AD owner - on
Banner is not displayed.

Posts in his own topic
Thread author is the AD owner - off
Thread post author is the AD owner - on
Banner is not displayed.


Posts in Other People's Threads
Thread author is the AD owner - on
Thread post author is the AD owner - off
Banner is not displayed.

Posts in Other People's Threads
Thread author is the AD owner - on
Thread post author is the AD owner - on
Banner is not displayed.

Posts in Other People's Threads
Thread author is the AD owner - off
Thread post author is the AD owner - on
Banner is not displayed.
 
Last edited:
Couple questions...

1) Is there a reason why template code from: siropu_ads_manager_ad_js still renders on templates listed in "Prevent ads showing in these templates"?

2) On pages/templates intended to run ads, if no adblock detection settings are used and you also are not running Google AdSense for ads, nor any backup ads - it appears the js for adblock detection/backup ads still runs and shows on page:

PHP:
var bkp = document.querySelectorAll('div[data-ba]');
        if (bkp) {
            bkp.forEach(item => {
                var ad = item;
                if (ad.querySelector('ins.adsbygoogle').style.display == 'none') {
                     XF.ajax('GET', XF.canonicalizeUrl('index.php?sam-item/' + ad.dataset.ba + '/get-backup'), {}, data => {
                         if (data.backup) {
                             ad.html(data.backup);
                         }
                     }, { skipDefault: true, global: false});
                }
            });
        }
 
I am creating a text ad package and have a bunch of issues.

1. Why is it asking to upload a banner and for alt text for a text ad? In the create ad menu it is asking this. They should only be able to use text.
2. How do I turn off the geo and device settings for the user in ad creation?
3. The usergroup discount is not working. I selected this package in the settings of the discount but this ad only does not show the discount only the others.
 
Last edited:
3. The usergroup discount is not working. I selected this package in the settings of the discount but this ad only does not show the discount only the others.
I found the bug on this one. If Minimum Purchase is 1, and Maximum Purchase is 1, the discount does not show. You have to increase the max purchase which you should not have to do.
 
4. Where do we limit the character limit of the text ad?

Very confused over text ads, and why it's treating like an image ad.
 
Bug:
The "View discounts" link does not appear in the cost column of packages unless it is a duration discount set at the package level. I have a usergroup discount and it does not show there unless you add a discount in the actual package, and then the link shows, but when you click it, the discount is actually the usergroup discount. This seems to be another bug because I created a discount that is greater than the usergroup discount, but that link shows the usergroup discount and when I click to create a package, the greater discount (package level) isn't even on the page. Seems like a two-layer bug here but I'd be happy to have the first one fixed, where, if there's a usergroup discount and they are in the group, the link shows. Thanks. PS. The package discount does show correctly if they are not eligible for a usergroup discount.
 
Is it just me, or does the “Custom HTML” field work terribly for everyone?
First of all, when I open it, I can’t see the code. It looks empty. But in reality, the code is there - it’s just invisible.

1779482554704.webp


I have to click with the mouse, and only then does it appear.

1779482527634.webp


But it can’t really be edited. If you try to place the text cursor anywhere in the code, it doesn’t work. It’s impossible - the cursor always jumps to the very end. You also can’t select part of the code with the mouse.

And it’s not just the mouse issues. You can’t move the cursor with the arrow keys either. You also can’t select code using the Shift key.
 
Is it just me, or does the “Custom HTML” field work terribly for everyone?
First of all, when I open it, I can’t see the code. It looks empty. But in reality, the code is there - it’s just invisible.

View attachment 338407


I have to click with the mouse, and only then does it appear.

View attachment 338406


But it can’t really be edited. If you try to place the text cursor anywhere in the code, it doesn’t work. It’s impossible - the cursor always jumps to the very end. You also can’t select part of the code with the mouse.

And it’s not just the mouse issues. You can’t move the cursor with the arrow keys either. You also can’t select code using the Shift key.

Not just you, been dealing with this for years :)
 
Back
Top Bottom