Which ad type? I've been able to reproduce this with promo threads.I turn them off, press save, but nothing happens. After refreshing the page, the options remain enabled.
That's not possible. Cron jobs run 4 times a day and after the first notification, they are not sent anymore. How can they get 1000 per day?Advertisers complain that they receive about 1000 messages per day.
My add-on adds a template modification to MAIL_CONTAINER email template. Is that add-on working with that template or using its own?Do I need to add any code to his template for the ads to show up?
Hmm... not sure (how do I check this?)... the email template I am interested in is called: dbtech_mail_digestMy add-on adds a template modification to MAIL_CONTAINER email template. Is that add-on working with that template or using its own?
<mail:subject>{$digest.title}</mail:subject>
<xf:if is="$digest.introduction"><p>{$digest.introduction|raw}</p></xf:if>
<xf:if is="$content is not empty">
<xf:foreach loop="$content" value="$templateParams">
<xf:include template="{$templateParams.template}">
<xf:set var="$settings" value="{$templateParams.settings}" />
<xf:set var="$content" value="{$templateParams.content}" />
</xf:include>
<hr />
</xf:foreach>
<xf:else />
<p>{{ phrase('dbtech_mail_digest_no_content') }}</p>
</xf:if>
<xf:if is="{$user.dbtech_mail_newsletter_frequency} > 1">
{{ phrase('dbtech_mail_newsletter_reducefrequency_further_link', {
'param1': '<a href="' . link('canonical:dbtech-mail/digests/reduce-frequency', $digest, {'c': $user.email_confirm_key, 'user_id': $user.user_id}) . '">' . phrase('dbtech_mail_click_here') . '</a>'
}) }}
{{ phrase('dbtech_mail_newsletter_increasefrequency_link', {
'param1': '<a href="' . link('canonical:dbtech-mail/digests/increase-frequency', $digest, {'c': $user.email_confirm_key, 'user_id': $user.user_id}) . '">' . phrase('dbtech_mail_click_here') . '</a>'
}) }}
<xf:else />
{{ phrase('dbtech_mail_newsletter_reducefrequency_link', {
'param1': '<a href="' . link('canonical:dbtech-mail/digests/reduce-frequency', $digest, {'c': $user.email_confirm_key, 'user_id': $user.user_id}) . '">' . phrase('dbtech_mail_click_here') . '</a>'
}) }}
</xf:if>
<p class="minorText"><a href="{{ link('canonical:dbtech-mail/digests/settings', $digest) }}">{{ phrase('dbtech_mail_configure_digest_content_settings') }}</a></p>
<p class="minorText"><a href="{{ link('canonical:email-stop/content', $user, {'t': 'dbtech_mail_digest', 'id': $digest.digest_id}) }}">{{ phrase('dbtech_mail_newsletter_unsubscribe_link') }}</a></p>
<xf:if is="$brandingVariables">
<p class="footer p-footer-copyright">{$brandingVariables.flavour}
<a rel="nofollow noopener" href="https://www.dragonbyte-tech.com/store/{$brandingVariables.productid}/?utm_source={$brandingVariables.utm_source}&utm_campaign=product&utm_medium={$brandingVariables.utm_medium}&utm_content={$brandingVariables.utm_content}" target="_blank">{$brandingVariables.title}</a>.
<br />
<a rel="nofollow noopener" href="https://www.dragonbyte-tech.com/?utm_source={$brandingVariables.utm_source|raw}&utm_campaign=site&utm_medium={$brandingVariables.utm_medium}&utm_content={$brandingVariables.utm_content}" target="_blank">Copyright © {$brandingVariables.date} DragonByte Technologies Ltd.</a>
</p>
</xf:if>
<xf:page option="template"></xf:page>
Try this:and has this code:
<mail:subject>{$digest.title}</mail:subject>
<xf:if is="$digest.introduction"><p>{$digest.introduction|raw}</p></xf:if>
<xf:if is="$content is not empty">
<xf:set var="$samAds" value="{{ sam_mail_ads($xf.toUser) }}" />
<xf:macro template="siropu_ads_manager_ad_macros" name="ad_unit" arg-ads="{{ sam_mail_position_ads($samAds, 'mail_above_content') }}" arg-position="mail_above_content" />
<xf:foreach loop="$content" value="$templateParams">
<xf:include template="{$templateParams.template}">
<xf:set var="$settings" value="{$templateParams.settings}" />
<xf:set var="$content" value="{$templateParams.content}" />
</xf:include>
<hr />
</xf:foreach>
<xf:macro template="siropu_ads_manager_ad_macros" name="ad_unit" arg-ads="{{ sam_mail_position_ads($samAds, 'mail_below_content') }}" arg-position="mail_below_content" />
<xf:else />
<p>{{ phrase('dbtech_mail_digest_no_content') }}</p>
</xf:if>
<xf:if is="{$user.dbtech_mail_newsletter_frequency} > 1">
{{ phrase('dbtech_mail_newsletter_reducefrequency_further_link', {
'param1': '<a href="' . link('canonical:dbtech-mail/digests/reduce-frequency', $digest, {'c': $user.email_confirm_key, 'user_id': $user.user_id}) . '">' . phrase('dbtech_mail_click_here') . '</a>'
}) }}
{{ phrase('dbtech_mail_newsletter_increasefrequency_link', {
'param1': '<a href="' . link('canonical:dbtech-mail/digests/increase-frequency', $digest, {'c': $user.email_confirm_key, 'user_id': $user.user_id}) . '">' . phrase('dbtech_mail_click_here') . '</a>'
}) }}
<xf:else />
{{ phrase('dbtech_mail_newsletter_reducefrequency_link', {
'param1': '<a href="' . link('canonical:dbtech-mail/digests/reduce-frequency', $digest, {'c': $user.email_confirm_key, 'user_id': $user.user_id}) . '">' . phrase('dbtech_mail_click_here') . '</a>'
}) }}
</xf:if>
<p class="minorText"><a href="{{ link('canonical:dbtech-mail/digests/settings', $digest) }}">{{ phrase('dbtech_mail_configure_digest_content_settings') }}</a></p>
<p class="minorText"><a href="{{ link('canonical:email-stop/content', $user, {'t': 'dbtech_mail_digest', 'id': $digest.digest_id}) }}">{{ phrase('dbtech_mail_newsletter_unsubscribe_link') }}</a></p>
<xf:if is="$brandingVariables">
<p class="footer p-footer-copyright">{$brandingVariables.flavour}
<a rel="nofollow noopener" href="https://www.dragonbyte-tech.com/store/{$brandingVariables.productid}/?utm_source={$brandingVariables.utm_source}&utm_campaign=product&utm_medium={$brandingVariables.utm_medium}&utm_content={$brandingVariables.utm_content}" target="_blank">{$brandingVariables.title}</a>.
<br />
<a rel="nofollow noopener" href="https://www.dragonbyte-tech.com/?utm_source={$brandingVariables.utm_source|raw}&utm_campaign=site&utm_medium={$brandingVariables.utm_medium}&utm_content={$brandingVariables.utm_content}" target="_blank">Copyright © {$brandingVariables.date} DragonByte Technologies Ltd.</a>
</p>
</xf:if>
<xf:page option="template"></xf:page>
Code:LogicException: Cannot save with validation errors. Use validate() to ensure there are no errors. (First error: Sorry! You have reached your limit <b>0</b> links per post. There are <b>1</b> link in your post, please remove them to submit.) src/XF/Service/ValidateAndSavableTrait.php:36 Generated by: Unknown account 17.05.2023 at 21:00 Stack trace #0 src/addons/Siropu/AdsManager/Entity/AdExtra.php(89): XF\Service\Thread\Editor->save() #1 src/addons/Siropu/AdsManager/Service/Ad/PromoThreadManager.php(55): Siropu\AdsManager\Entity\AdExtra->togglePromoThreadOptions() #2 src/addons/Siropu/AdsManager/Entity/AdExtra.php(177): Siropu\AdsManager\Service\Ad\PromoThreadManager->save() #3 src/XF/Mvc/Entity/Entity.php(1277): Siropu\AdsManager\Entity\AdExtra->_postSave() #4 src/XF/Mvc/Entity/Entity.php(1323): XF\Mvc\Entity\Entity->save(false, true) #5 src/addons/Siropu/AdsManager/Service/AdExtra/Manager.php(104): XF\Mvc\Entity\Entity->saveIfChanged(true, false) #6 src/addons/Siropu/AdsManager/Behavior/ExtraUpdatable.php(51): Siropu\AdsManager\Service\AdExtra\Manager->save() #7 src/XF/Mvc/Entity/Entity.php(1280): Siropu\AdsManager\Behavior\ExtraUpdatable->postSave() #8 src/addons/Siropu/AdsManager/Entity/Invoice.php(177): XF\Mvc\Entity\Entity->save() #9 src/XF/Mvc/Entity/Entity.php(1277): Siropu\AdsManager\Entity\Invoice->_postSave() #10 src/addons/Siropu/AdsManager/Cron/Invoice.php(23): XF\Mvc\Entity\Entity->save() #11 src/XF/Job/Cron.php(37): Siropu\AdsManager\Cron\Invoice::processExpiredInvoices(Object(XF\Entity\CronEntry)) #12 src/XF/Job/Manager.php(260): XF\Job\Cron->run(8) #13 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 8) #14 src/XF/Job/Manager.php(86): XF\Job\Manager->runJobEntry(Array, 8) #15 job.php(43): XF\Job\Manager->runQueue(false, 8) #16 {main} Request state array(4) { ["url"] => string(8) "/job.php" ["referrer"] => string(41) "https://www.domain.com/forums/new/" ["_GET"] => array(0) { } ["_POST"] => array(0) { } }
In reading your error, it appears to me that you have some other setting with another addon that restricts the amount of links that a user can post. Do you have another addon or setting in Xenforo that controls the number a links a user or usergroup can post?
(First error: Sorry! You have reached your limit <b>0</b> links per post. There are <b>1</b> link in your post, please remove them to submit.)
HiThere isn't.
Please send me a PM with that zip to take a look.will you add support to this in the next release?
Is this two seperate ads in one location or two seperate locations merging both ads? If its the former then it would be a custom template issue from my previous experience.Apologies if I'm posting this in the wrong place. If this is the wrong place, maybe someone can tell me where I should have posted it?
I created to Ads using Ads Manger Lite but they both show up on the same page - stacked one on top of the other.
See here,
Home
themikephillipsforum.com
Can someone tell me what I'm doing wrong and how to make it so I can place multiple ads/banners but only have ONE banner ad show up at a time.
Thank you,
Mike Phillips
Is this two seperate ads in one location or two seperate locations merging both ads? If its the former then it would be a custom template issue from my previous experience.
I had the same issue, I think the ad location was being called twice in the template. I had had the themer resolve it at the time as he was paid to sort issues. I would review the code.It's 2 separate ads - and I only want one to appear at a time at the top of the forum.
As a person clicks to a different page or refreshes their screen, I was hoping the ads would change/rotate.
It would seem to me that this software is capable of doing what I want it to do - I just don't know how to set it up.
Mike
You have to use a package in order to manage/rotate multiple ads.I just don't know how to set it up.
You have to use a package in order to manage/rotate multiple ads.
Should be. You still have issues?Has this (php 8 compatibility) been resolved?
Is there an update on this?I will have to look into the geolite databases and see what data is supported and if it is free or not.
We use essential cookies to make this site work, and optional cookies to enhance your experience.