Blog Download 8.3

German Michael Zülsdorff 10 years ago

Blog


A component allowing members to create simple blogs in your social network.

Note: Blog requires Textarea Support to be installed and enabled, first.

  • Blog page layout on PC used with GoBlue theme

enter image description here


  • Blog page layout on cellphone with GreenByGreen theme in darkmode

enter image description here

For your convenience, all Ossn default language files are already in place, but (except of the English and German one) still need translation.
Volunteers are welcome!
You can send your translated ossn.XX.php language files to
[email protected]



Changes:

V 8.3

  • making use of Ossn 8.6's new time_updated database feature for last-edited timestamps

V 8.2

  • fixed Ossn 8.5 compatibility issue with default notification views

V 8.1

V 7.2

  • added 'Latest Blogs' gadget

V 7.1

  • refined search (Blog contents AND title) plus reduced false positives from CSS inside of the contents
  • added Hungarian language file
  • verified to work with PHP 8.2

V 6.5

  • making use of Textarea Support 6.7's enhanced image scaling mechanism

V 6.4

  • removed superfluous div from view page which was consuming extra space

V 6.3

  • added wider margin to blog pages

V 6.2

  • fixed: blog pages overlapping friends column on the right
  • added: blog title to comment and like notifications
  • changed: the list of blogs created by a member appears on profile subpage now (like photo alblums)

V 6.1

  • Ossn 6.x support
  • verified PHP 8 compatibility
  • exclude blogs of blocked members from blog search
  • fixed alignment of Blog comments section
  • added Korean localization

Outdated Ossn 5.x releases

V 2.19

  • "Share" button on top of blog removed. Replaced by "Share Link" below the blog if Content Sharing 2.0 is enabled

V 2.18

V 2.17

  • fixed appearance of blog comments on wide screens

V 2.16

  • removed proprietary elements and colors for smoother theme integration
  • automatic grid layout of action buttons on narrow devices
  • usage of complete screen width
  • 'Confirm' dialog when trying to delete a blog

V 2.15

  • fixed crash on edit- and add-page if member is not logged in

V 2.14

  • requirements adapted to Ossn 5.4

V 2.13

  • blogs with complete list of comments may be shared anywhere now
  • copy share link to clipboard for easier pasting
  • fixed overlapping of blog wall entries if blog starts with an image or a video
  • added Chinese language file
  • adapted to TextareaSupport 2.8

V 2.12

  • refined components requirement check
  • added Indonesian language file
  • license update

V 2.11

  • compatibility fixes for TextareaSupport 2.5

V 2.10

  • added blog content search

V 2.9

  • fixed shared link for sites with Ossn root in a subdirectory

V 2.7

  • Android compatibility fix for share widget (make link selectable)

V 2.6

  • added 'Share' button displaying a link to be used outside your Ossn community
  • ugly 'sort by' link replaced by bootstrap button

V 2.5

  • fixed issue with lowercase tab on profile page
  • placeholder added to title field to prevent it from being left blank

V 2.4

  • Blog lists will display a 'last edit' timestamp now and may be sorted by date (most recent on top) or by member names (alphabetically)
  • In case you're not satisfied with the format of the timestamp you can easily customize it by editing line #23 of the component's language files

V 2.3

  • fix disappearing blog previews from newsfeed page 2 and above

V 2.2

  • hide blog pages from logged out members

V 2.1

  • some sanitizing added to blog preview

V 2.0

  • WYSIWYG editing
  • a 300 character preview of the blog is shown on the main wall
  • blogs can be liked and commented
  • blog owner notifications on likes and comments
  • cancel/back links for easier navigation

V 1.0

  • initial release
Comments
German Holger A. Replied 4 years ago

It's not possible to install OSSN 6.0 with TextareaSupport 6.3, because Textarea Support 6.3 is not included at OSSN6, you have to register and download it on another Website.

German Michael Zülsdorff Replied 4 years ago

Good news, Balamurali:

Textarea Support 6.3 comes with the necessary interface included now to enable TinyMCE image uploads and pasting images from your clipboard. It needs Ossn 6.0, though.

So, please upgrade your site to Ossn 6.0 first, then install Textarea Support 6.3 and Blog 6.1

in Balamurali Govindan Replied 4 years ago

I just found something interesting...

https://www.tiny.cloud/drive/

Will explore this further and see if makes sense and would work.

in Balamurali Govindan Replied 4 years ago

Thanks Z-Man. Appreciate the help.

Creating my article is easy this way, but educating the users of the system to do this would be the challenge. Hope there is something with latest TinyMCE, that helps with this. Will research. It would be nice if this opens the camera or gallery interface in the mobile phones, so easy to upload images.

Thank You.

German Michael Zülsdorff Replied 4 years ago

Thank you for the details, Balamurali.

TinyMCE would need an extra interface to store direct image uploads or clipboard content on a server. This is not available by default, and that makes sense because there's no standard which way to accomplish this task where these files should be stored.

In other words: As long as this interface has not been developed, you can only link to images which are already stored somewhere. This must not be a completely different server, you may use images of your Ossn photo albums, too.

So, my way of displaying an image inside a blog is

  • store that image inside an album of my site, first
  • view that image inside my album (MYSITE/photos/view/35 for example)
  • right-click that image an choose "Copy image location" (resulting a link like MYSITE/album/getphoto/4/6ba0545e1677ba93497ca44dda78fb2e.png?size=view for example)
  • use TinyMCE's toolbar button [Insert/edit image]
  • and paste the formerly copied image url

Admittedly not a really comfortable method, but currently the only workaround.

in Balamurali Govindan Replied 4 years ago

You take a screenshot of some screen in your laptop. This copies the image in the clipboard. Then you go to the blog editor and paste it there.

The image is attached and seen on the edit blog screen also, but not visible in the Post or in the blog view.

Another issue: in the TinyMCE editor there is no option to pick a file of an image (*.jpg or *.png) from the computer or mobile. There is an option to only give a link, which means the user should have a place on the internet where they could store these images and then use these URLs.

Please guide me with a solution for both the issues. Thank You.

German Michael Zülsdorff Replied 4 years ago

I have no idea from where you copied a link like that.
Please provide the detailed steps which way you did it.

At least it's not a valid image format. Image files should end like .jpg or .png

in Balamurali Govindan Replied 4 years ago

Important/Critical issue:

While adding a blog, when I copy-paste an image (from the clipboard), it shows fine in the TinyMCE editor, but after saving it doesn’t display the image in the article, and also doesn't display the image in the related post (of the blog).

While editing the Blog, I could see the image though.

When I check the Html code in the TinyMCE editor it shows like below... it is a blob and the blob is not loading in the Post and the Blog! Is this a known issue?

Code:
<p><img src="blob:https://<OSSNURL>/6fd118ac-1555-45fe-a25d-e5dde6d2c423" alt="" /></p>

Please help. Thank You.

Dutch Everwijn Overberg Replied 6 years ago

Thank you for the effort of updating the component. Unfortunately I can not tell you if the update worked because I solved it before I saw you did.

I did a little digging and it seems that Tiny MCE and Chrome have had a love/hate relationshop dating as far back as 2016 causing this type of problem. The fix is simple, but why it works I don't understand.

If you get the blank field instead of the editor all you have to do is go to Chrome settings --> Advanced --Reset settings that fixes it. Afterwards you can simply activate all plugins and extentions you use in Chrome the editor keeps working. Don't ask me why.

In any case the problem is solved this way and I moved on to another issue I have but that is not for this page, because it is about another component. ;-)

German Michael Zülsdorff Replied 6 years ago

Thank you very much for your helpful feedback, Everwijn.

Unfortunately, I don't own a Chromebook to verify why the editor is not? or too late? initialized, but I have changed the code a) to allow a little more initialization time, and b) if that still fails to pop up an alert box to let your members know that their device/browser is not compatible, and c) hide the input field afterwards in order to make editing impossible.

Please give it a try and

  1. temporarely disable all components (Blog,Bio, About User) that depend on TextareaSupport
  2. Delete TextareaSupport 2.9
  3. Upload and enable TextareaSupport 2.10
  4. Re-enable the candidates of step 1

I'm curious of the result.

Component

Developer: Michael
License ossnv4
Type: Communication
Requires OSSN Version : 8.6
Latest Version: 8.3
Last Updated 5 months ago
Repository Url View Repository