Jump to content

Duken

Clients
  • Posts

    410
  • Joined

  • Last visited

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Projects

Forums

Events

Store

Gallery

Posts posted by Duken

  1. In running ipb 4.3.x and superhep 1.2. 

    I read about the update for 1.3

    New feature of the 1.3 version: support for the IPS Pages Category Images plugin for the top SuperHelp category level

    What does this mean ? Can I add images next to a superhelp article? Is there an example somewhere? Thanks! 

    On de demo site it looks like the template is not selected for superhelp. 

    Regards

  2. On 3/30/2018 at 1:48 AM, sadams101 said:

    I did implement all mods and am seeing positive results since I did it. At a low point I had 111,000 indexed, which really makes no sense at all given that I have nearly 1M posts, well over 100K topics, and an article site also that has 5K articles. As you can see it is going up fast now, and is up to 187,000. Since there are built in canonical links, I would not block anything in the robots.txt file:

    image.thumb.png.ed64ee4ebeb57d88b5cc79af710b7785.png

     

    image.thumb.png.790e6410aec556d4685d4afddaef830c.png

    Hi, could you tell is how the index is going at the moment? If its good ill implement is alsof. Thx. 

  3. On 9-1-2018 at 9:18 AM, Upgradeovec said:

    Did it.

    Before:

    560fb-clip-60kb.thumb.png.53405ae0d5239668fd2709ca004582d7.png

    After:

    8b412-clip-54kb.thumb.png.417ab7264be2c322ed9be06769de71e6.png

    No issues detected by several sitemap online checking tools:

    35e97-clip-24kb.png.b4a055c7a67df204799ea35ed45a67a2.png

    I did it very ugly. Just for try and check. You can improve it by yourself (and share it with us, please):

    /applications/core/extensions/core/Sitemap/Content.php

    line 209: after $data line add that:

    
    if (get_class($node) === 'IPS\forums\Forum' && isset($node->last_post)) {
        $data['lastmod'] = $node->last_post;
    }

    and line 259 (line 262 after add previous) add after $data line that:

    
    if (get_class($item) === 'IPS\forums\Topic' && isset($item->last_post)) {
        $data['lastmod'] = $item->last_post;
    }

    After that the sitemap script should re-generate all sub-sitemaps for write new data to db.

    And I haven't done changing correct lastmod in index sitemap, depended on newer date inside sub-sitemap.

    Thanks.

    How did you changed this? 

    My content.php from line 209:

    $data = array( 'url' => $node->url() );
                        
                        $priority = intval( isset( $settings["sitemap_{$nodeClass::$nodeTitle}_priority"] ) ? $settings["sitemap_{$nodeClass::$nodeTitle}_priority"] : self::RECOMMENDED_NODE_PRIORIY );
                        if ( $priority !== -1 )
                        {
                            $data['priority'] = $priority;
                            $entries[] = $data;
                        }
                    }
                }
            }

    So i need to add:

    if (get_class($node) === 'IPS\forums\Forum' && isset($node->last_post)) {
        $data['lastmod'] = $node->last_post;
    }

    Like this?

    209: $data = array( 'url' => $node->url() );

    209: $data = if (get_class($node) === 'IPS\forums\Forum' && isset($node->last_post)) {
        $data['lastmod'] = $node->last_post;
    }

     

  4. 3 hours ago, opentype said:

    Not seeing that on any of my 4.2.7 installations. Please open the database settings for the article database and briefly replace the SuperGrid frontpage template with any of the stock templates. Does the problem persist or does it go away?

    Thank you, i also have it with the default template. Ill inform ipb.

     

    screenshot-www.duken.nl 2018-01-15 16-21-40-811.png

  5. On 29-7-2017 at 9:27 PM, tekguru said:

     

    On 2)  I don't want to change the core of the system, just I'd prefer to link to the topic instead of the article?

    I would love that too. No we have duplicate content. I know it's a IPS "feature". Maby someone has a solution. 

  6. 14 minutes ago, Duken said:

    Sorry for the kick. But anyone an idea what the $record is for changed date? I cant find it. So i can change

          {datetime="$record->record_publish_date"}

    to

          {datetime="$record->record_*CHANGED*_date"}

     

    Thank you :)

    never mind, found it.

    It is "record_edit_time" 

    EDIT

    Damn its not, when is older then 7 days you get 1 jan 1970.

     

  7. On 26-7-2017 at 7:44 AM, Duken said:

    Works great with 4.2. Love this plugin.

    Is there a way to change the "edited on xxxx by xxxx"  from the button to the top or onder the data when it is created? 

    Thank you

    I can add something behind:

    </div>
          {datetime="$record->record_publish_date"}
    </div>    

    But what is needed for the change date?

    screenshot-www.duken.nl-2017-07-26-07-41-34.thumb.png.ed746c6da04be2a8676876e04fbc560b.png

    Sorry for the kick. But anyone an idea what the $record is for changed date? I cant find it. So i can change

          {datetime="$record->record_publish_date"}

    to

          {datetime="$record->record_*CHANGED*_date"}

     

    Thank you :)

  8. Works great with 4.2. Love this plugin.

    Is there a way to change the "edited on xxxx by xxxx"  from the button to the top or onder the data when it is created? 

    Thank you

    I can add something behind:

    </div>
          {datetime="$record->record_publish_date"}
    </div>    

    But what is needed for the change date?

    screenshot-www.duken.nl-2017-07-26-07-41-34.thumb.png.ed746c6da04be2a8676876e04fbc560b.png

×
×
  • Create New...