Ads Inserter Download 1.5

This component/theme works with latest OSSN version.
German ~Z~ Man 11 months ago

Ads Inserter

enter image description here

This component is fetching a random ad from your pool of OssnAds and inserts a minified instance of it inside available newsfeeds (main wall, group wall and profile wall) and on the 'About User' page.

The current logic has been coded to display 1 ad per 10 postings by default.
The admin backend comes with a configurable option to reduce the number of inserted ads (internally by combining the placement with a simple random x 1 / x 0 multiplier).


V 1.5

V 1.4

  • fixed incompatibility issue with LinkPreview component

V 1.3

  • adapted requirements to Ossn 5.4

V 1.2

  • fixed: no more unnecessary ads fetching on admin backend
  • added dependency check that OssnAds component is enabled

V 1.1

  • added configurable option to get inserted ads on newsfeeds on wide screens, too
  • added configurable option to switch off ads in the right column on wide screens

V 1.0

  • initial release
us Philip Lozier Replied 1 month ago

Oh... with the regular ads component in the right colum, even the text is clickable. Would be nice if the ads with ads inserter did the same as well.


us Philip Lozier Replied 1 month ago

I don't know if this is the proper behavior or not. When ads are displayed in the right column via the ads component, clicking on the picture takes you to the link associated with the ad. With ads inserter, the same behavior does not happen. You have to click or tap on the actual URL link itself.

If it is the normal behavior, is it possible to have it updated where clicking or touching the image will go to the link as well? The URL is not very obvious when you have text associated with the ads, and many of the images supplied by the affiliate advertisers imply to click or touch the image.

Thank you.



German ~Z~ Man Replied 6 months ago

Nothing against twins. But it is sufficient if you ask the same question once.
That being said - I don't know.

us EMPOWER SOCIAL Replied 6 months ago


us EMPOWER SOCIAL Replied 6 months ago


ng Ayodeji peter Replied 7 months ago

Good morning @Arsalan please look into ads management paid version from users side, leaving out much load from the admin. Is that possible, and if possible what is the cost though is open source but yet it requires funds... Just like facebook ads management.. Thanks

German ~Z~ Man Replied 9 months ago

would be a nice to have, but actually this unnecessary triggering is avoidable with the current code base, too - IF the developer takes a little more care. 😌
fixed with 1.2

German Arsalan Shah Replied 9 months ago

Bug report getAds action is called on administrator page too

  • Go to settings and configure ads inserter
  • Check wide screen insert

Actually widescreeninsert = true is triggering that. I think OSSN needs a one global core JS and two others site and admin so component can only extend the file that is front-end or backend to avoid loading large js on backend. Maybe in OSSN 6.0

German ~Z~ Man Replied 9 months ago

There's no such option.
Available options are reachable from your admin backend administrator/component/AdsInserter

enter image description here

Breton Caroline Milk Replied 9 months ago

Where can I
repeat the ad for every 5 number of posts?


Developer: ~Z~
License ossnv4
Type: Site admin
Minimum Requirement: 5.4
Latest Version: 1.5
Last Updated 3 months ago
Repository Url View Repository