PPlanet Posted January 3, 2018 Share Posted January 3, 2018 (edited) Following from my questions in the other thread (enhanced adverts), is there a way of placing the ad before the first post? Edited January 3, 2018 by PPlanet Link to comment
newbie LAC Posted January 3, 2018 Author Share Posted January 3, 2018 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. Link to comment
PPlanet Posted January 3, 2018 Share Posted January 3, 2018 Please do so if you can, because that's pretty much what I need. Link to comment
newbie LAC Posted January 3, 2018 Author Share Posted January 3, 2018 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. PPlanet 1 Link to comment
PPlanet Posted January 3, 2018 Share Posted January 3, 2018 Thumbs up. Working as expected. Thank you very much. Link to comment
Aurélio "Baboo" Posted February 26, 2018 Share Posted February 26, 2018 I have 5 random ads to be shown after 2nd post. How do I ransomize them? Link to comment
newbie LAC Posted February 27, 2018 Author Share Posted February 27, 2018 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 Link to comment
PPlanet Posted February 27, 2018 Share Posted February 27, 2018 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 Link to comment
mark007 Posted April 24, 2018 Share Posted April 24, 2018 @newbie LAC is it working on new 4.3.x? Link to comment
newbie LAC Posted April 25, 2018 Author Share Posted April 25, 2018 Hello, 11 hours ago, mark007 said: is it working on new 4.3.x? Yes mark007, pequeno, MeMaBlue and 1 other 4 Link to comment
33andrain Posted April 29, 2018 Share Posted April 29, 2018 (edited) 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 April 29, 2018 by 33andrain Link to comment
newbie LAC Posted April 29, 2018 Author Share Posted April 29, 2018 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 33andrain 1 Link to comment
33andrain Posted April 29, 2018 Share Posted April 29, 2018 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. Link to comment
newbie LAC Posted April 29, 2018 Author Share Posted April 29, 2018 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 33andrain 1 Link to comment
PCHelpforumBE Posted May 19, 2018 Share Posted May 19, 2018 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 Link to comment
newbie LAC Posted May 20, 2018 Author Share Posted May 20, 2018 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 PCHelpforumBE 1 Link to comment
wimg Posted August 18, 2018 Share Posted August 18, 2018 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 Link to comment
newbie LAC Posted August 19, 2018 Author Share Posted August 19, 2018 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 Link to comment
Sergey_SV Posted September 10, 2018 Share Posted September 10, 2018 (edited) sorry posted in wrong topic Edited September 10, 2018 by Sergey_SV sorry posted in wrong topic Link to comment
newbie LAC Posted September 10, 2018 Author Share Posted September 10, 2018 Hello, 4 minutes ago, Sergey_SV said: this I could do with, This plugin doesn't support any conditions. Link to comment
Sergey_SV Posted September 10, 2018 Share Posted September 10, 2018 1 minute ago, newbie LAC said: Hello, This plugin doesn't support any conditions. sorry, wrong topic! will post in the right one. Link to comment
Unlucky Posted September 17, 2018 Share Posted September 17, 2018 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 Link to comment
newbie LAC Posted September 17, 2018 Author Share Posted September 17, 2018 Hello, 2 minutes ago, Unlucky said: Fore some reason I cannot untick all forums or tick reverse and everypage boxes https://invisioncommunity.com/forums/topic/421457-nb40-ads-after-x-posts/?do=findComment&comment=2689291 Unlucky 1 Link to comment
Jed Rosenzweig Posted November 9, 2018 Share Posted November 9, 2018 (edited) Nevermind, I figured out a way to get what I needed with CSS and the not selector! Edited November 9, 2018 by David T. Cole Link to comment
Recommended Posts