Release Notes

2.5 (2013-10-25):
 

  • added: related blogs on full view (sidebar or blog footer)
  • added: owner information below blog
  • added: blog container navigation (previous/next blog) on full view
  • added: settings to control new full view views
  • added: "in group" text added to subtitle of a blog
  • added: featured blogs page
  • added: new image size support
  • added: support for the blog image in the river
  • changed: CSS cleanup
  • changed: moved blog image to own view
  • removed: owner transfer code (replaced by ColdTrick/entity_tools plugin)
  • thanks for the update..

    i was testing this and updating my 'containers' plugin to reflect the new blog_tools features and found that i am unable to save the 'show user info under blog' setting correctly on the blog save page using the code in the save form of this version of blog_tools.

    here is the code i created for containers that now works with this feature of blog_tools:

        if (empty($blog)) {
            $show_owner_value = elgg_extract("show_owner", $vars, $show_owner_setting);
        } else
        {
            if ($blog->show_owner == '')
            {
                if ($vars['show_owner'] == '')
                {
                    $show_owner_value = elgg_extract("show_owner", $vars, $show_owner_setting);
                }
                else
                {
                    $show_owner_value = $vars['show_owner'];
                }
            }
            else
            {
                $show_owner_value = $blog->show_owner;
            }
        }

  • i'm looking through the save action for blog_tools and i am not seeing where or how the 'show_owner' field is being saved... did you miss that part out? or am i missing some knowledge of how the variable is intended to be saved?

  • hmm.. i experienced a strangey issue with my code editor while looking at blog_tools so got confused by what i was seeing. i have containers working with blog_tools now... possibly the code change i pasted was unnecessary as i had missed out making a needed update to the save action in my own plugin.

  • Hi Jerome,

    Thank you for this nice plugin.

    I am trying to put some articles in highlights on a carousel (I use some tags to filter through "elgg_get_entities_from_metadata"). I would like to put the article's image but I do not understand how to get it and what to do for it.

    By the way, I would like to know if it would be possible to get the article's in different size (one for the carousel and one for the river) ?

    Regards

    Clem.

     

  • @cvoeil:

    I am trying to put some articles in highlights on a carousel (I use some tags to filter through "elgg_get_entities_from_metadata"). I would like to put the article's image but I do not understand how to get it and what to do for it.

    if ($entity->icontime) $icon = elgg_view_entity_icon($entity, $size);

    By the way, I would like to know if it would be possible to get the article's in different size (one for the carousel and one for the river) ?

    By default there are two 'sizes' one for listing and the full view. If you like more views, you have to make them yourself

  • @jerome,

    It works fine,

    Thank you very much,

    Clem,

  • Seems to work great. Thanks!

    Is there a way to influence how the "related blogs" are chosen, and how many of them are shown?

  • Any ideas why the icon/image isn't shown in artikel or list view?

    The icon is uploaded though, and shown in the edit area..

  • hi herome,

    is there a way to make the master image size bigger? like 800px?

  • @[cim]

    is there a way to make the master image size bigger? like 800px?

    Yes there is, if you change the values of $CONFIG->icon_sizes["master"]. Please keep in mid that this change will work on ALL icons (eg user, groups). And only on new icons.

    Also see https://github.com/Elgg/Elgg/blob/1.8/engine/lib/views.php#L1652

  • what is the intended functionality and use for the "feature/unfeature" setting - dont see any UI layout changes after setting a blog post to "featured". Thanks

  • @Jerome so the blog icons master size uses the default user icon sizes right?

  • To my knowledge, no other views/plugins uses the "master" size except yours. Changing it to 1000x1000 master size wouldn't hurt but best to make it fluid by scaling when necessary via CSS.

  • If you guys want to change the default master size or whatever, paste this at the bottom in your settings.php

    $CONFIG->icon_sizes = array(
    'topbar' => array('w' => 16, 'h' => 16, 'square' => TRUE, 'upscale' => TRUE),
    'tiny' => array('w' => 25, 'h' => 25, 'square' => TRUE, 'upscale' => TRUE),
    'small' => array('w' => 40, 'h' => 40, 'square' => TRUE, 'upscale' => TRUE),
    'medium' => array('w' => 100, 'h' => 100, 'square' => TRUE, 'upscale' => TRUE),
    'large' => array('w' => 200, 'h' => 200, 'square' => FALSE, 'upscale' => FALSE),
    'master' => array('w' => 1000, 'h' => 1000, 'square' => FALSE, 'upscale' => FALSE),
    );

    I set my max width and height for "master" size to 1000x1000. Of course this can be change to whatever you desire.

  • sorry for the previous question and I just noticed where the Featured blogs go. is there any way to make featured blog title and perhaps a few words excerpt be displayed on the Activity page -> within the grey column (default Elgg theme) 

  • Seems to have a bug: I try to toggle featured but i get an error GUID:xxxxx is not a valid ElggBlog. The guid is alright tough.Have no idea what is wrong here.

  • @Tauvic Ritter

    Seems to have a bug: I try to toggle featured but i get an error GUID:xxxxx is not a valid ElggBlog. The guid is alright tough.Have no idea what is wrong here.

    Maybe there is something wrong in your database. try disabling the Blog plugin en re-enabling it. Maybe this helps?

  • Good, very useful plugin.
    Sometimes leaves a question mark when I upload an image. What could it be? thanks

    image

  • Hello,
    I have a small doubt here:

    Allow advanced publication options
    With this users can select a publication and expiration date for blogs. Requires a working daily CRON.

    What daily CRON we have to create?

    Thank you,
    Regards.

  • @Marius Modoranu

    Allow advanced publication options
    With this users can select a publication and expiration date for blogs. Requires a working daily CRON.

    What daily CRON we have to create?

    Please checkout http://docs.elgg.org/wiki/Cron

  • @tunist could you arrange Containers to work with this plugin? For me the dropdown menu it just dissapears on activating blog tools...

  • i am using containers with blog_tools ok. containers needs to be beneath blog_tools in the plugin list.

  • @tunist, no it works, thanks!

  • Hi
    Very good job!
    I need to know how to display a list of blogs, with separate elements: title, image, abstract.
    Does anyone resolved this situation before?
    Use Elgg 1.9
    Thank

Jerome Bakker

Developer @ ColdTrick IT Solutions

Stats

  • Category: Tools
  • License: GNU General Public License (GPL) version 2
  • Updated: 2019-11-20
  • Downloads: 8825
  • Recommendations: 44

Other Projects

View Jerome Bakker's plugins