Jump to content

media

Clients
  • Posts

    3,242
  • Joined

  • Last visited

  • Days Won

    3

Reputation Activity

  1. Like
    media reacted to Fosters in Notices - Supporttopic   
    We've spent the weekend focusing on several applications to address bug fixes that were brought up in the IPS Support Topics.  We'd like to thank everyone for their patience while we get back into groove of things.  
    Notices: 1 bug
    [Bug] Can't remove date We are planning for a release date in about a week for further testing, but please follow the Marketplace file and you will be notified.j
  2. Like
    media reacted to Numbered in Large community? You have a problems with sitemap!   
    IPS Sitemap generator using special database table source for refreshing - core_sitemap.
    Primary search engine source of sitemap is url https://example.com/sitemap.php which is list of sub-sitemap files. You can see list of that files proceed for this link.
    Each of that file contain no more than 1000 urls to specail pages (profile status, topic (without number of pages or comment) and other elements, with supported sitemap as core extension).
    One of our case is forum with more than 100k topics, more than 4.2kk posts and more than 6kk users. So with simply math we have 5214 sitemap files (you can simply count number of that files with command 
    select count(*) from core_sitemap; // 5214 Sitemap generator task run by default once per 15 minuts and update only one oldest element from that big list. With simple math we can try to answer question 'how many time we need for update everything?' (because users can post not only in newest and may post in some old topics... but.. new created topic will add to sitemap file only when ALL older files will newer than current file with new topic inside). So, how much time we need for update?
    5214*15 = 78210 minuts = 1303 hours = 54 days! 54! days! Search engine will add your newest content after 54 days after them posted. Incredible thing. Not believe? Or want to know this lag for your community? You can simple know your lag time with that sql:
    select FROM_UNIXTIME(updated,'%a %b %d %H:%i:%s UTC %Y') from core_sitemap order by updated asc limit 1; // Wed Nov 01 14:13:49 UTC 2017 Yep.. In our case oldest file last updated in 1 November...
    What we should do for fix it? Very fast solution - create a temp file, like a 'mycustomsitemapupdater.php' with this content:
    <?php require 'init.php'; $generator = new \IPS\Sitemap; $generator->buildNextSitemap(); $last = \IPS\Db::i()->select('FROM_UNIXTIME(updated, "%a %b %d %H:%i:%s UTC %Y")', 'core_sitemap', null, 'updated asc', 1)->first(); print_r('Oldest time now: ' . $last . PHP_EOL); And run it via web or cli so times, what you want (before oldest time not be so old).
    Solution for a longer time - add this script to the cron and run it every minute or, which better - change task 'sitemap generator' run time from 15 mins to one minute (but it may be not solve you special problem, if you need to update it faster - do it with smart).
    Better solution - wait for IPS updating of that system.
    Thanks for attension!
    P.S. If you read my text with negative speach - it's wrong. I love IPS and just want to make attension for that problem and help others with their large communities. 
  3. Like
    media reacted to Nathan Explosion in Large community? You have a problems with sitemap!   
    Has it been logged as a bug with support? If not, do so.....you can't rely solely on the Peer to Peer support forum as a way of reporting issues to the developers.
  4. Like
    media reacted to ProSkill in Large community? You have a problems with sitemap!   
    I second this @Matt
  5. Like
    media reacted to ucjohn in Large community? You have a problems with sitemap!   
    @Matt any word on why this hasn't been addressed?
  6. Like
    media reacted to opentype in Large community? You have a problems with sitemap!   
    I am also not sure what ProSkill is asking about for example. The original post is about the speed of generating sitemaps for large sites, ProSkill talks about “decrease in cached URLs”. Not sure what that is and how it relates to sitemap generation. 
  7. Like
    media reacted to forumdev99 in IPS 4.1 : ADVERTISEMENT inside the first post   
    This is working well - thanks for all the help @Upgradeovec 
    I ended up struggling to get the ad block to float to the right of the post content like i wanted it to - so that it isn't above or below the post text (unless on a small screen).
    float:right; didn't seem to work like it should, so I ended up w/ the below code which is the closest I could get to what I want.
    Please share if anyone has a better way of doing this.
    my code:
    <!-- adsense ad code in first post start --> {{if (($comment->position - 1) % \IPS\Settings::i()->forums_posts_per_page === 0)}} <div style="display:inline-block;float:right; max-width:336px;"> <ins class="adsbygoogle" style="display:inline-block;width:336px;height:280px" data-ad-client="ca-pub-00000000000" data-ad-slot="00000000000"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </div> <div style="display:inline-block;max-width:50%;"> {{endif}} <!-- this is the post content --> {$comment->content()|raw} {{if $comment->editLine()}} {$comment->editLine()|raw} {{endif}} {{if (($comment->position - 1) % \IPS\Settings::i()->forums_posts_per_page === 0)}} </div> {{endif}} <!-- adsense ad code in first post end -->  
    Thanks
     
  8. Like
    media got a reaction from Bliss99 in (NB41) Enhanced Advertisements   
    I bought this app but I do not know how to use it...
    Here are my questions
    I would like to add ads to board index page between forums; HOW? I would like to add ads between topic list  every 7 topic; How? I would like to add ads between post  every 7 post; How? I would like to add ads on blog index page every 7 blogs; How? I would like to add ads on inside a blog post; How? I would like to add ads on Gallery images; insert description; How? I would like to add ads on Clubs; insert a club description: How? Thanks
  9. Like
    media reacted to Numbered in IPS 4.1 : ADVERTISEMENT inside the first post   
    My pleasure 
  10. Like
    media got a reaction from Numbered in IPS 4.1 : ADVERTISEMENT inside the first post   
    OMG, you become my hero man....
    Thank you so much for the insight....
    Thank you thank you thank you.....
  11. Like
    media reacted to Numbered in IPS 4.1 : ADVERTISEMENT inside the first post   
    Glad to help 
    As i see below - all worked well? Isn't it?
    I didn't know google ads platform well. But i think it don't neet to get current post number (or not?).
    Anyway - this code just check your first condition - show something (ads) when current post is first post on this page (isn't it?). You can paste inside anything without show current post number. Or, you can call {$comment->position} anywhere inside post template for return that number (to html or js calling - doesn't matter).
    I think i don't understand you well (sorry for bad english).
  12. Like
    media reacted to Numbered in IPS 4.1 : ADVERTISEMENT inside the first post   
    Yes, you can . Just write your logic in that condition. As example:
    {{if (($comment->position - 1) % 5 === 0)}} // will show on 1, 6, 11, 16... every five post not depend on posts per page {{if (($comment->position) % 2 === 0)}} // will show on every second post: 2, 4, 6, 8, 10... {{if (true)}} // every post :D. perfect for money :) {{if (($comment->position + 1) % \IPS\Settings::i()->forums_posts_per_page === 0)}} // every last post on page (depends on number of posts per page setting) {{if (($comment->position - 1) % (\IPS\Settings::i()->forums_posts_per_page*2) === 0)}} // every fist post but only on 2, 4, 6.. pages write any condition what you want 
    {{if (\IPS\Member::loggedIn()->member_id === 123)}} // show something only for specific toxic member :D <style>body { font-family: 'Comic Sans MS'; color: pink; }</style> {{endif}}  
  13. Like
    media reacted to Numbered in IPS 4.1 : ADVERTISEMENT inside the first post   
    I solve some other thing, but it can help you, as i think.
    In forums-front-topics-topic i create new variable inside foreach cycle.
    before {{$postCount++;}}: 
    {{$page = (\IPS\Request::i()->page ? (\IPS\Request::i()->page - 1) * \IPS\Settings::i()->forums_posts_per_page : 0); }}
    {{$comment->position = $page + $postCount;}}
    this will add 'position' value to the comment object. it will move as a param to the forums-front-topics-post template.
    So inside post template you can get $comment->position value with values, contain number of current post from first page (23,24,25,26,27.. any). Your solution will be like {{if (($comment->position - 1) % \IPS\Settings::i()->forums_posts_per_page === 0)}} {$ads} {{endif}}
    Hope it help you 
  14. Like
    media got a reaction from forumdev99 in IPS 4.1 : ADVERTISEMENT inside the first post   
    Anyone?
  15. Like
    media reacted to Joy Rex in Upgrade from IP. 3.4.x to IPS4.0 (updated)   
    Well, you can turn your forum off and display a message for maintenance.
    You really should consider setting up a development site, getting a copy of your current forum up and running in that development environment, then upgrading the development version to see what breaks in going from 3.4.9 to 4.2.x - the post conversion as well as the database conversion alone can take a long time depending on how big your forum is.
    Once you've got everything ironed out in the development environment, you now have an idea what to watch out for when converting your live site.
    I'd also recommend communicating this change well in advance to your community so they are prepared for any downtime.
  16. Like
    media reacted to InvisionHQ in Who We Are - IP.Board 4.x   
    I think that this is a cache issue, I'm looking on this report but maybe I remove user info from widget.
  17. Like
    media reacted to InvisionHQ in Who We Are - IP.Board 4.x   
    I think that your idea can works only with large board.
  18. Like
    media reacted to InvisionHQ in Who We Are - IP.Board 4.x   
    Hi guys, I've taken this plugin as new developer.
    I try to read all posts here But it's a mess
    If the plugin still has problems I ask you to report it again.
    Thank you.
  19. Like
    media reacted to SJ77 in CodingJungle's Apps [support topic]   
    Happy Birthday!!
  20. Like
    media reacted to CodingJungle in CodingJungle's Apps [support topic]   
    make that a 4 day weekend, i live only a few miles from where the total eclipses path is taking place in missouri, so i'll be doing that on monday  
  21. Like
    media reacted to Midnight Modding in CodingJungle's Apps [support topic]   
    Do you have an app that builds computers?
  22. Like
    media reacted to CodingJungle in CodingJungle's Apps [support topic]   
    only if you have an app that can do tournaments  
  23. Like
    media reacted to SJ77 in CodingJungle's Apps [support topic]   
    Thank for the update. Really appreciate your efforts!
    Looking forward to this. I know you always do good work. so it's worth the wait.
  24. Thanks
    media reacted to CodingJungle in CodingJungle's Apps [support topic]   
    ran out of steam about 11pm last night, and been at work all day today  still got a few more hours of this grind, then when i get home i'll try to finish it off tonight  
    blame n2a for the delay, i spent 3 times as long as i wanted to on it, fighting with it  
  25. Like
    media reacted to CodingJungle in CodingJungle's Apps [support topic]   
    it is coming, i promise. hopefully later tonight, depends on how much steam i have left  
×
×
  • Create New...