Jump to content

(NB40) Ads After X Posts

Featured Replies

Following from my questions in the other thread (enhanced adverts), is there a way of placing the ad before the first post?

Edited by PPlanet

  • Replies 198
  • Views 18.3k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

Posted Images

  • Author
Just now, PPlanet said:

Following from my questions in the other thread (enhanced adverts), is there a way of placing the ad before the first post?

Currently no.

I can add this feature.

Please do so if you can, because that's pretty much what I need. :)

  • Author
20 minutes ago, PPlanet said:

Please do so if you can, because that's pretty much what I need. :)

I did (rework) but not fully tested. If you want do it PM me and I'll give you new version.

Pm sent. :)

:thumbsup: Thumbs up. Working as expected. Thank you very much.

  • 1 month later...

I have 5 random ads to be shown after 2nd post. How do I ransomize them? 

  • Author

Hello,

13 hours ago, BABOO2018 said:

I have 5 random ads to be shown after 2nd post. How do I ransomize them? 

Nohow. The plugin will display all adverts

13 hours ago, BABOO2018 said:

I have 5 random ads to be shown after 2nd post. How do I ransomize them? 

I use a javascript for that:

<script language="JavaScript"><!--

//Javascript Created by Computerhope http://www.computerhope.com

//store the quotations in arrays

images = new Array(5);

images[0] = "<a href = 'https://www.example.com'><img src='https://www.example.com/banner1.jpg' alt='Alt Text'></a>";

images[1] = "<a href = 'https://www.example.com'><img src='https://www.example.com/banner2.jpg' alt='Alt Text'></a>";

images[2] = "<a href = 'https://www.example.com'><img src='https://www.example.com/banner3.jpg' alt='Alt Text'></a>";

images[3] = "<a href = 'https://www.example.com'><img src='https://www.example.com/banner4.jpg' alt='Alt Text'></a>";

images[4] = "<a href = 'https://www.example.com'><img src='https://www.example.com/banner5.jpg' alt='Alt Text'></a>";

  
index = Math.floor(Math.random() * images.length);

document.write(images[index]);

//done

// --></script>

You just create an ad using this code and change to suit you. Cheers

  • 1 month later...

@newbie LAC

is it working on new 4.3.x?

Hi @newbie LAC. Pretty awesome plug-in, thank you! Can you please elaborate on what "I" does in the plug-in pid settings? Also, I am trying to make it so an ad appears just before the last updated/added post in a thread, regardless of position. For direct links to the last updated post in a thread, I can directly link to the thread with "?do=getNewComment" appended to the query string. 

Edited by 33andrain

  • Author

Hello,

30 minutes ago, 33andrain said:

Can you please elaborate on what "I" does in the plug-in pid settings?

"l" is last post. Start read from here

1 hour ago, newbie LAC said:

Hello,

"l" is last post. Start read from here

Thanks. My apologies for missing this exchange in my research. I am still not having any luck and I am sure I am just doing something silly. Would appreciate your assistance. Attached are my settings for the plugin now, however by going here, you can see I am still not seeing the ad after the last post in the thread.

I am trying to show an ad after the first post of each page, and then an ad before the last post in each thread.

 

Screenshot 2018-04-29 06.41.55.png

  • Author
1 hour ago, 33andrain said:

Would appreciate your assistance. Attached are my settings for the plugin now, however by going here, you can see I am still not seeing the ad after the last post in the thread.

You link goes to 24 page and Every page param unchecked. In this case advert will be displayed on the first page

  • 3 weeks later...
On 4/25/2018 at 7:24 AM, newbie LAC said:

Hello,

Yes

Great news, i guess you can mark the mod in marketplace as compatible for 4.3.x ?

This would make it more visible for members looking for working addons for this version

  • Author

Hello,

13 hours ago, Karel Beuckelaere said:

Great news, i guess you can mark the mod in marketplace as compatible for 4.3.x ?

Done

  • 2 months later...

It is not working with 4.3.5, when trying to install.

Error:

Sorry, there is a problem

The page you requested does not exist

Error code: 1S160/2

  • Author
14 hours ago, wimg said:

It is not working with 4.3.5, when trying to install.

Error:

Sorry, there is a problem

The page you requested does not exist

Error code: 1S160/2

Hello,

I can't reproduce

widgets.thumb.jpg.faacaac30581146c44176bb107903a8c.jpg

version.jpg.5216407ee2cdfec2e2e7cec782bde454.jpg

  • 4 weeks later...

sorry posted in wrong topic

Edited by Sergey_SV
sorry posted in wrong topic

  • Author

Hello,

4 minutes ago, Sergey_SV said:

this I could do with, 

This plugin doesn't support any conditions.

1 minute ago, newbie LAC said:

Hello,

This plugin doesn't support any conditions.

sorry, wrong topic! will post in the right one.

Hi,

Just bought this and trying to configure it

As per screenshot I am in the plugin options

Fore some reason I cannot untick all forums or tick reverse and everypage boxes

add-after-4th-post.thumb.png.3716f1223ff9417f7199b5b59bab6c05.png

  • 1 month later...

Nevermind, I figured out a way to get what I needed with CSS and the not selector!

Edited by David T. Cole

Recently Browsing 0

  • No registered users viewing this page.