newbie LAC

+Clients
  • Content count

    3,138
  • Joined

  • Last visited

  • Days Won

    12

newbie LAC last won the day on January 3

newbie LAC had the most liked content!

About newbie LAC

  • Rank
    Community Regular
  • Birthday 07/11/1

IPS Marketplace

  • Resources Contributor
    Total file submissions: 92

Recent Profile Visitors

26,115 profile views
  1. (NB40) Ads After X Posts

    Hello, How can I reproduce the problem? Please give me more information. Plugin settings, advert settings, topic count posts etc
  2. (NB41) Content Ratings

    Hello, You can't use this application on 3.4.9. I think you use similar app created by Saiga. I don't know how his app works and stores data.
  3. (NB41) Enhanced Advertisements

    {{if request.controller == 'search' and !isset(request.q)}} <div class="cSearchAd">Advert 1</div> <style> .cSearchAd, div[data-controller="core.front.search.main"] { display: table-cell; } .cSearchAd { float: right; border: 3px solid red; height: 600px; width: 300px; margin: 0 10px; } </style> {{endif}} and {{if request.controller == 'search' and isset(request.q) and request.q == 'adv'}} <div class="cSearchAd">Advert 2</div> <style> .cSearchAd, div[data-controller="core.front.search.main"] { display: table-cell; } .cSearchAd { float: right; border: 3px solid red; height: 600px; width: 300px; margin: 0 10px; } </style> {{endif}} Selector div[data-controller="core.front.search.main"] Position Insert advert before the chosen element(s)
  4. (NB41) Enhanced Advertisements

    Hello, Is this for 4.1.9 or for 4.2?
  5. (NB41) Enhanced Advertisements

    {{if $advert = \IPS\core\Advertisement::loadByLocation('footer_text_advert_1')}} {$advert|raw} {{else}} Some other link. {{endif}}
  6. (NB40) Ads After X Posts

    l-X (without spaces) l-1 l-2 etc
  7. (NB41) Enhanced Advertisements

    Hello, I don't know how you will set up your ads for this. Therefore I propose my solution HTML {{$r = mt_rand(1,3);}} {{if $r == 1}} <div class="ipsMessage ipsMessage_error"> This is an error message. </div> {{elseif $r == 2}} <div class="ipsMessage ipsMessage_success"> This message indicates something happened successfully. </div> {{else}} <div class="ipsMessage ipsMessage_warning"> This message warns the user of something terrible (or not so terrible). </div> {{endif}} Selector #elContent Position Insert advert before the chosen element(s) Result (I refresh the page)
  8. (NB40) Recent Topics/Posts

    Hello, I'll make separate settings for member/guest. Now you can make reverse changes.
  9. (NB40) Ads After X Posts

    Hello, I added it but not uploaded yet on MP.
  10. do { $beer++; } while ($sober); SELECT pill FROM Morpheus WHERE pill='blue' OR pill='red' ORDER BY RAND() LIMIT 1;
  11. (NB41) Enhanced Advertisements

    Hello, You can do it via js $("#elSearchField").attr("placeholder", "Eat at Joes Pizza");
  12. (NB41) Social Count Fans

    My widget haven't layout for horizontal section. So I used if ($this->orientation != 'vertical') { return ''; } It's a better for performance. I think I'll add new setting for "Grid" style/theme With horizontal it will looks like
  13. (NB41) Social Count Fans

    It's a core issue and related with "orientation". applications/cms/sources/Blocks/Block.php public static function display( $block, $orientation=NULL ) When you use {block} tag you can't pass orientation variable. Solution Open plugins/nb41socialcountfans/widgets/nbSocialCountFans.php Find and comment if ($this->orientation != 'vertical') { return ''; } or change to if (isset($this->orientation) and $this->orientation != 'vertical') { return ''; }
  14. (NB41) My Football

    Not easy as you think. Ask IPS staff. I can't manage payments.
  15. (NB41) Social Count Fans

    Give me some time to check