Jump to content

(NB40) Ads After X Posts


Recommended Posts

  • 9 months later...
On 10/13/2015 at 10:35 PM, claustrier said:

BTW, An idea; instead of defining the positions (10,20,30,40,50...) it would be nice if it was possible to just define: "Every XX posts"

Is this possible with this plugin? that is, given different users may have changed their settings for how many posts show per page, would it be possible to have this simply show an ad after every 10 posts, as opposed to after x posts on a page (or all pages).

Also, what does "reverse" mean?

Link to comment
13 hours ago, Morgin said:

Can you do ads after every X posts (i.e ad after every 10th post, so if 20 posts per page is the setting, there would be 2 ads) in your enhanced ads app?

Do you mean https://invisioncommunity.com/files/file/8198-nb41-enhanced-advertisements/?

Yes, you can.


Maybe I'll add this feature for this plugin in the next version

Edited by newbie LAC
Link to comment
On 12/26/2016 at 4:11 AM, newbie LAC said:

There are many skins with different 'post design'. You can get html and use it.

Something like 


<article itemscope="" itemtype="http://schema.org/Comment" class="cPost ipsBox ipsComment ipsComment_parent ipsClearfix ipsClear ipsColumns ipsColumns_noSpacing ipsColumns_collapsePhone">
	<aside class="ipsComment_author cAuthorPane ipsColumn ipsColumn_medium">
		<h3 class="ipsType_sectionHead cAuthorPane_author ipsType_blendLinks ipsType_break" itemprop="creator" itemscope="" itemtype="http://schema.org/Person">
			<strong itemprop="name">Advertisement</strong>
		</h3>
		<ul class="cAuthorPane_info ipsList_reset">
			<li class="cAuthorPane_photo">
				<span class='ipsUserPhoto ipsUserPhoto_large'>
					<img src="%url_to_photo%" alt="Advertisement" itemprop="image">
				</a>
			</li>
		</ul>
	</aside>
	<div class="ipsColumn ipsColumn_fluid">
		<div class="ipsComment_content ipsType_medium  ipsFaded_withHover">
			<div class="cPost_contentWrap ipsPad">
				<div data-role="commentContent" itemprop="text" class="ipsType_normal ipsType_richText ipsContained">
					Advert after X posts
				</div>
			</div>
		</div>
	</div>
</article>

Change %url_to_photo% in code on photo link

Result

advafter.jpg

Sorry to bug one last time - is this still a relevant way of having the ad show up inside a box like a regular post? If I wanted to drop the profile picture and left column and only have a single box containing the ad, could i just use the article itemscope, delete the aside class, and keep only the div class?

Thanks @newbie LAC!

Link to comment
9 hours ago, Morgin said:

Sorry to bug one last time - is this still a relevant way of having the ad show up inside a box like a regular post? If I wanted to drop the profile picture and left column and only have a single box containing the ad, could i just use the article itemscope, delete the aside class, and keep only the div class?

Thanks @newbie LAC!

Hello,

 

Yes

Link to comment
  • 3 months later...
  • 2 weeks later...
  • 8 months later...

Hello

I purchased the plugin now and im trying to configure it.

I have those advertisment:

test

Advert location key(s) :5,30,55,80,105,130,155,180,205,230

test3

9,34,59,84,109,134,159,184,209,234,259,

test4

12,37,62,87,112,137,162,187,212,237,262

test5

18,43,93,143,193,262,287,312,337,362,400

The problem is every advertisment i have added does appear only in first position. Example : first one (test) appear only after post #5. After other posts such as 30,55,80 etc does not appear.

What could go wrong ?

 

Link to comment
37 minutes ago, mark2012 said:

30,55,80,105,130,155,180,205,230

The plugin will not display advert after those posts.

------------------------------------------------------------------------

Looks like you want to show the advert after 5th post because

5 -> 1st page 5th post

30 -> 2nd page 5th post

55 -> 3rd page 5th post

80 -> 4th page 5th post

105 -> 5th page 5th post

130 -> 6th page 5th post

155 -> 7th page 5th post

180 -> 8th page 5th post

205 -> 9th page 5th post

230 -> 10th page 5th post

If so check the Every page

Edited by newbie LAC
Link to comment
5 hours ago, newbie LAC said:

The plugin will not display advert after those posts.

------------------------------------------------------------------------

Looks like you want to show the advert after 5th post because

5 -> 1st page 5th post

30 -> 2nd page 5th post

55 -> 3rd page 5th post

80 -> 4th page 5th post

105 -> 5th page 5th post

130 -> 6th page 5th post

155 -> 7th page 5th post

180 -> 8th page 5th post

205 -> 9th page 5th post

230 -> 10th page 5th post

If so check the Every page

Ok, i understand. And what number should i add at Advert location key(s)  ?

I added e5 at key and now the adverts appear after posts 5, after posts 10 , after post 15 , after posts 20 etc Basically the advert does appear now 5 times per page which is not good.

And im not able to select :

Select the forums in which the ad will be shown
Reverse
Every Page

Because both boxes are frozen and not clickable.

Edited by mark2012
Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...