Log in

Stats

  • Category: Tools
  • License: GNU General Public License (GPL) version 2
  • Updated: 2013-1-9
  • Downloads: 2326
  • Recommendations: 14

Other Projects

View saurabh's plugins

CKEditor with Image Upload for Elgg 1.8

Using this plugin you can upload Image to blogs, comments everywhere in your social network

Last updated 202 days ago

This is first version this plugin we are working on this to make it more user friendly. Please give us your feedback and suggestion, So that we can improve this plugin and share with the elgg community.

Now using this plugin you can upload Image to blogs, comments everywhere in your social network from your locale machine. It's very helpful in the blog plugin.

Installation:

Please see plugin start .PHP and find below URL please use the URL as per your server and give the path of your Dev environment

// Dev URL

//Production URL

.

 

Release Notes:

This is updated version of this plugin.

Just copy in the Mod and use it !!! Please let me know if any feedback..

I am happy to update or modify this plugin

Note :-  Just copy in the Mod and use it !!!  below steps does not required

Please see plugin start .PHP and find below URL please use the URL as per your server and give the path of your Dev environment

// Dev URL

//Production URL

I would Like to thanks @Matt Beckett  and @PaweĊ‚ Sroka (vazco) who provided me the starting point to implement this plugin.

Comments

  • Felixrubens 461 days ago

    Great job! It worked perfectly!

    I would suggest that you put all the functions contained in the plugin extended_tinymce.

    But the work is very good. In my case I can not use the plugin tinymce because of conflicts with others that use. Then this plugin is its serving me enough. Thank you!

    I will recommend!

  • saurabh 461 days ago

    Thanks !!!

    Can you please evaluate more what I need to do "I would suggest that you put all the functions contained in the plugin extended_tinymce"

  • rjcalifornia 459 days ago

    This has some deprecated warnings, and it doesn't adjust to the layout size.

     

    Regards,

  • DhrupDeScoop 459 days ago

    elgg's core embed + tinymce seems ok to work ok

  • rjcalifornia 459 days ago

    @Dhrup haha the core's embed uploads the picture to the files plugin. So if you have a blog with tons of images, those images will appear in the activity page, so it's not quite 'pretty'

  • DhrupDeScoop 459 days ago

    i'd go for patching mod\blog\views\default\river\object\blog\create.php - only 4 lines of code to code  with ;-P the we can really be pretty @ 'haha'

  • DhrupDeScoop 459 days ago

    i did a test fo blogs & embedded images - you should test too; core embed is better by 800%

  • rjcalifornia 458 days ago

    Core embed is good, Dhrup, but as I said before it uploads the image to the file plugin and then the activity appears in the river.

  • saurabh 458 days ago

    Hi ALL,

    Thanks for using my pugin !!! ..Please let me know the issues.. I am still working on this I will sure make it 900% better then any other plugin. :) :) :) ..

    Please recommends if you have any suggestion or any issues. Next release very soon

  • rjcalifornia 458 days ago

    Could you do something about the editor size? It doesn't adjust well to elgg layout

  • DhrupDeScoop 458 days ago

    @RJC: i do not follow what issues you have with blogs' river displays.
    this is my blogs/ images test and looks quite fine to my eyes
    no funny stuff, and seems 'pretty' enough in the river.
    ithink the same can be also handled and customised with the embed
    extender unless one wants to reinvent the core embed wheel -->

    image

  • rjcalifornia 458 days ago

    @Dhrup The thing is when you use the embed, and you want to upload a picture, that picture you upload and use on a blog post, appears on the activity page. That's not really pretty.

  • DhrupDeScoop 458 days ago

    do your testing first, post your screenshots here, then we can see the issues firsthand.

  • rjcalifornia 458 days ago

    I did my testing :D

    -Clean only using embed + files + blog

    -Write blog.

    -Upload picture with the core embed plugin

    -The picture uploaded appears in the activity stream as: Admin has uploaded a new file 'picture 1.png'

    -The blog post appears normal.

  • DhrupDeScoop 458 days ago

    screenshots ?
    tho sounds like your 'issues' do not exist.
    and how would i know from before ?
    i checked the blog's river object code!
    there's nothing there to make to river 'ugly'
    sooo - ckeditor + core embed works fine
    (as i tested before) therefore maybe
    seems - the wheel is being re-invented here?
    i.e. fixing something that's not broken ?!

     

  • kisssssss4ever 458 days ago

    I like this plugin but how to set up page layout? This editor is bigger than elgg layout while creating blog I can see this editor is bigger than the elgg layout required :(

    This plugin is amazing just need this fixing please :)

  • kisssssss4ever 458 days ago

    And also I want Text Alignment left right etc as well how I can add that?

  • rjcalifornia 457 days ago

    Seriously Dhrup? You couldn't understand what I said? Ok, look below:

     

    image

     

    Picture uploaded with the core embed on a blog appears in the activity stream. Unnecessary. Useless.

  • DhrupDeScoop 457 days ago

    1) there is no image embedded in your screenshot
    2) looks pretty much the same as EmbedExtender or WireTube does for other media
    3) if the issue is - the words Picture 1.png -> that can be fixed in the river object view of Blogs

    my original point simply that there's nothing wrong with core embed which cannot be fixed or enhanced in a few lines of code rather than a plugin of several 000`s lines ;)

  • saurabh 457 days ago

    @@ Dhrup: Can you please tell community what exact fix or enhancement needed for emded . I would recommend you for the interest of the community can you create a plugin which will have your suggesting and share here it really going to help everyone.  :) :) :) :)

     

  • DhrupDeScoop 457 days ago

    @RJC: the situational semantics would most likely resemble matts' profile url some months back which was released (only 20 lines of code) to illustrate the php-code-plethora contrasted to an alternative plugin for the same functionality and developed within the bounds of some 'framework' and approx 700 loc total. 

  • rjcalifornia 457 days ago

    @Dhrup You don't seem to understand me. The activity you see there is because I uploaded a picture using the core embed plugin. I uploaded the picture, then I was about to embed it, when I went to the activity stream and I saw this activity river. That's what is wrong. The embed should not use the files plugin to upload pictures, it should be independent to avoid showing those river entries. I don't know why you don't understand that.

    CKeditor lets you embed pictures (and upload) without making unnecessary river entries. It is not about 'reinventing the wheel' it is about coming with a better functionality than the core embed or Tinymce

     

  • rjcalifornia 457 days ago

    @Dhrup for the record, the 20-700 lines example is something entirely different that cannot be applied here, since CKeditor is different that Tinymce and the 'embed' feature that comes in CKeditor is quite useful

  • DhrupDeScoop 457 days ago

    maybe you've been using the wrong analogy. i think what you want is like how agilez isolates all activity *away from the river and it looks like there is zero ctivity.. unless the user is in the 'right place' -> then they see all relevant activities, files, blogs, everything ;) that btw was done by not coding more but trimming out unneeded code blocks!

  • Matt Beckett 457 days ago

    I understand what you're talking about rj

    If you don't need the files plugin to be used for anything other than back-end embedding, then what Dhrup proposes (preventing the files plugin from posting to the river) is a valid solution.  However, if you want to use files as-is, and have a seperate method to imbed into content on a one-time basis where your 'files' listings and river aren't affected then another solution is required.

    I have often thought the same thing.