Ads Inserter Download 1.3

This component/theme works with latest OSSN version.
German ~Z~ Man 4 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).


CHANGES

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
Comments
German ~Z~ Man Replied 1 month ago

Yep,
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 1 month 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 2 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 2 months ago

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

German ~Z~ Man Replied 3 months ago

I'm happy to announce that ads inserting is working also on wider screens now.

German ~Z~ Man Replied 3 months ago

Okay,
then obviously we're not very much in line with what we want. Anyway, I tried to explain why it makes sense to update Ossn. And as it doesn't need a developer to INSTALL Ossn - and you managed that - it doesn't need a developer to UPGRADE. It's a few steps and you're done.

https://www.opensource-socialnetwork.org/wiki/view/708/how-to-upgrade-ossn

us Mary Greg Replied 3 months ago

I'm not a developer and I can't update my website so I want to get access to this component for my version...(((

German ~Z~ Man Replied 3 months ago

I'm sorry, no.
Have a brief look into Changes.txt and ChangeLog.txt at https://github.com/opensource-socialnetwork/opensource-socialnetwork
and you'll get an idea how many things have been fixed and enhanced in the meantime. Thus I see no good reason for creating and extra component for your outdated release and would very much recommend to update your site to the latest OSSN instead.

us Mary Greg Replied 3 months ago

Is it possible to make Ads Inserter available for version 5.0 or not?

German ~Z~ Man Replied 4 months ago

So my answer is no.
Because on wider screens ads appear in the right column.

Component

Developer: ~Z~
License ossnv4
Type: Site admin
Minimum Requirement: 5.4
Latest Version: 1.3
Last Updated 1 month ago
Repository Url View Repository

Versions