Log in

Stats

  • Category: Media
  • License: GNU General Public License (GPL) version 2
  • Updated: 2013-3-19
  • Downloads: 1884
  • Recommendations: 16

Releases

Other Projects

View rjcalifornia's plugins

News Plugin for elgg 1.8 for Elgg 1.8

News Admin only for elgg 1.8

Last updated 415 days ago

This is just a clone of the blog plugin, converted into a news plugin. It is not only a language change, everything changed, even the URL.

It is a framework-less plugin. I saw someone requesting for it and just did it. It is only for Admins, so this is more of  a 'press release' plugin. Simple yet powerful.

Release Notes:

-Removed 'All', 'Friends', 'Mine' tab (costakisc)

-Added a Grid View Layout

-Settings Page

Comments

  • kisssssss4ever 434 days ago

    Lovely plugin, that is what I REALLY WANTED.

    Thank you so much rjcalifornia & costakisc

    I want one more changes :) Please is it possible to hide or remove (Admin published a news post or By Admin)

    I would like to make a new account on website called NEWS and through that account I want to publish the news. Or just want to remove/ hire (news published by)

     

    Because if I post any news then other users would see that I am posting news, I do not want to show them who is posting the news, Or the 2nd option is to make a new user called (news) and post news through that account.

    Is it possible? :)

  • costakisc 434 days ago

    give me a few to look into it, i am sure it is possible to remove it

     

  • TheMuller 434 days ago

    Very nice.

    The News plugin would stand out even more, if there was a publish date. When the author want to publish the news..

  • costakisc 434 days ago

    it is possible, guess you would also like it removed from the river?

  • costakisc 434 days ago

    @muller, you mean to have it saved as a draft and then posted at a given date in the future?

     

  • kisssssss4ever 434 days ago

    wow costakisc yes please do that as I said above, I love this plugin sounds interesting specially Grid view I like. But I do not want to post as Admin, I wanna make a new user called News and post news through that account or just want to show the website name/logo instead of (published by Admin)

  • costakisc 434 days ago

    i can tell you how to make the changes to the news page immediately.  the river activity  i will actually have to look at the code.  but i need specifics of what you want and where you want it.  for the code you are asking it would be special code just for you, not sure how many people want the news posted as you are asking

     

  • costakisc 434 days ago

    @kiss, 

    look in news/views/default/object/news.php somewhere around line 23 i think.

    /*$owner_icon = elgg_view_entity_icon($owner, 'tiny');
    $owner_link = elgg_view('output/url', array(
    //'href' => "news/owner/$owner->username",
    'text' => elgg_echo('News'),
    'is_trusted' => true,
    )); */
    $author_text = elgg_echo('News posted');
    $date = elgg_view_friendly_time($news->time_created);

    now to do it correctly for the elgg_echo, you should create something in the language file so it can be translated if needed.  Then there is the matter of an icon that is no longer there, do you want an icon of some sort, or nothing at all?

  • costakisc 434 days ago

    and the grid view can easily be put into your blogs, i know you asked about that in the past

  • elgg!gal 434 days ago

    Its a nice plugin. Thankyou. Recommended.

  • kisssssss4ever 434 days ago

    costakisc bro yes I changed this line >>   $author_text = elgg_echo('byline', array($owner_link));   into >> $author_text = elgg_echo('News posted'); 

    But still I can see my user profile avatar next to the news when I publish. Read my PM for details.

    2nd thing yes I WOULD LOVE to have grid view for my blogs and pages as well. Please help me with that too.

    I LOVE this news plugin and I wanted it so badly and now I can have that on elgg only want to change that my user avatar thing next to the news then would be perfect for me. Because I do not want to show my users that news I am publishing I would like to show my site logo there instead of my avatar.

    Many many thanks in advance.

  • kisssssss4ever 434 days ago

    wow I just removed the following codes;

    $owner_icon = elgg_view_entity_icon($owner, 'tiny');
    $owner_link = elgg_view('output/url', array(
    'href' => "news/owner/$owner->username",
    'text' => $owner->name,
    'is_trusted' => true,
    ));

    And now I can not see my avatar next to the news. But I wish if I am able to show News Icon or my Site logo there.

  • kisssssss4ever 434 days ago

    Another thing now, I can see in the wire it says (Admin published a news post). How I can change that in the wire? So that users will not be able to see my name & avatar (user Admin) and in the wire it would show only news posted something like that??

    Sorry for my poor english but I hope costakisc you understand what I want

  • costakisc 434 days ago

    i got your pm kisssss, give me a few to get it worked out.  really busy lately so spare time is limited.

  • kisssssss4ever 433 days ago

    Thanks a lot costakisc,

    And one more feature I am thinking would be great for this plugin if possible. Because now only one admin can post news, would be great if we can add moderators or give access to few members who can also post news on the site. Because one admin is hard to collect & update news all the time. I would like to give access to post news to only few members who can post news as well so that site will have more new news if few members have power to post on it.

    What you guys thing is that good idea? For me I think that would be really great so that my site will have more latest news from various members and other normal members can only read the news.

  • costakisc 433 days ago

    i have never looked in to the moderators/roles idea in elgg, so i wouldnt look for that anytime soon.  couple updates i am working on:  admin setting to turn on/off news post for users or admin only, publishing a draft at a future date and embedding/uploading images in the way that phloor did.  the first two shouldnt be that hard, the last i am unsure of.

  • zerocool22 432 days ago

    Can you change the size of the thumbnails? It would be great if you can add pretty good size pictures so you also can see what the article is about?

     

    Thanks

  • costakisc 432 days ago

    what thumbnails exactly are you talking about?  and working on an article picture

     

  • zerocool22 431 days ago

    On the All site news page, there are these tiny thumbnails where you cannot make up what the article is about.

  • Rishab 429 days ago

    @costakisc

    I am sorry brother, it did not register with me... why is this plugin used for?
    How is it different than the blog plugin?

  • costakisc 429 days ago

    in reality there is no difference except this says news. It just gives you an admin only page where you can  post news articles or whatever you would like to talk about, moview reviews, game reviews, etc.... just for admins and no users.

    @zero, i still do not know what thumbnails you are talking about, the only thing that appears on my page, is the user icon and the excerpt.  could you post a screenshot?

     

  • rjcalifornia 429 days ago

    @zerocool22 There are no thumbnails. Ask Costakisc said, there are no thumbnails.

    @costakisc It would be very useful if we gather the code posted here and include it in the next release. I've been super busy lately but I would like that we could deliver something more than just a 'copy of blogs' which actually right now is kinda far away from the blogs plugin :D

     

    @all There's a delay in new releases, I'm super extremely busy :(

  • costakisc 429 days ago

    figured you were, me too.  I just drop in from time to time to check comments and mail.  I have a admin setting to turn on or off the users ability to post news, working on thumbnails, and some jquery css stuff i found that looks cool.  i'll send a pm later when i have a little time

     

  • costakisc 428 days ago

    @rj, we are going to turn this into a legit stand alone plugin, that will resemble nothing in the blogs but the framework.  i have the icon deal work out that kiss was asking for.  i coded it for him, but will work it out as an admin option if you think its worth it, also the admin option to allow users to post.  working on the thumbnail now, but its probably gonna take some time.

  • costakisc 428 days ago

    would be cool is somebody would find a decent image of a newspaper, say about 40px x 40px.  KISSSYYYPOOO????