Experiencing a 401 Unauthorized Error During Update?
If you're seeing a 401 Unauthorized error when trying to update your Joomla extension, it's likely due to our new two-factor authentication (2FA) security measure for your Download ID.
To resolve this, check your email (Spam folder?) for a message to approve your server or device, or read our detailed blog post here(
onlinecommunityhub.nl/best-practice/new-...-extension-downloads) to understand the steps involved. This will guide you through approving your server for future updates.
Question Exclude Auto Placement
- Emanuel Rodriguez
- Topic Author
- Offline
- Posts: 2
- Thank you received: 0
Is there a way to automatically add ads in the middle of the article and not just at the beggining or end? without having to add the code in each article.
Please Log in to join the conversation.
- Ruud van Lent
- Offline
- Posts: 1640
- Thank you received: 107
So when you select 'after title', it will show after the title on the article view, but also after every title on the featured articles view.
If you only want it to show on the article and not on the featured view, you can exclude com_content.featured.
Yes there is, but (currently) only in combination with an additional plugin.Is there a way to automatically add ads in the middle of the article and not just at the beggining or end? without having to add the code in each article.
One of my customers uses the following setup to displays adds after the second image on an article (just as an example):
ochCall2Action is used to insert the addcode with an advanced regex: the regex is a technical term for a 'search' and replace. So it will search for the second occurance of the <img> element on article content and when found it will add the {ochaddads code in that position.
Then the ochAddAds plugin is executed and that replace the code with the actual add.
ochCall2Action has additional 'auto positions' (top, bottom, readmore, after first image, after first paragraph) as well as these advanced 'regex' positions you can define yourself.
I think there are also other (free?) plugins that enable you to do that (regularlabs rereplacer?)
having said this, you are the second one who asked for more positions, so I think the advanced regex option the ochCall2Action plugin has would make a good feature also for ochAddAds. I will put that on the todo list, and do not get your hopes up to fast, top of the todo is J5 and whatever that will bring / break
Please Log in to join the conversation.
- eesa mas
- Offline
- Posts: 1
- Thank you received: 0
Please Log in to join the conversation.
- Ruud van Lent
- Offline
- Posts: 1640
- Thank you received: 107
as said ochAddAds uses advanced (auto) placement features from ochCall2Action: so a combination of these two plugins can achieve (almost) any placement of the ads.
I have added the task to have the ochCall2Action advanced placements (regex / in- and excludes, etc.) into ochAddAds on my todo list. Because my holidays are starting soo and I will be in maintenance mode myself I have subscribed you (Emanual and Eesa) to ochCall2Action: you can now download that plugin as well.
Hope this helps for the short term.
regards,
Ruud.
Please Log in to join the conversation.
- Emanuel Rodriguez
- Topic Author
- Offline
- Posts: 2
- Thank you received: 0
Please Log in to join the conversation.
- Ruud van Lent
- Offline
- Posts: 1640
- Thank you received: 107
Feel free to join the discussion!
Please Log in to join the conversation.