Code Monkey home page Code Monkey logo

cjblog's Introduction

CjBlog - Joomla! Blogging Platform

CjBlog is a free Joomla! component for creating awesome community blogs

  • CjBlog is a community blogging software for Joomla®. That means it can be useful on websites where you need community participation in creating content. For a personal blogging website for your own needs, CjBlog is not a recommended software. For personal blogs, Wordpress does more than you need.
  • CjBlog provides all means of encouragement to the community participants in the form of points, badges, personal blog page for each user, personal profile page, user avatars etc. Again, these features are overshoot for a one person personal blog.
  • CjBlog does not create articles on its own database tables, rather uses Joomla articles system. We believe there is no point in re-inventing the whole wheel. Joomla articles system is well tested by thousands of volunteers and is extremely stable. So we choose it to power CjBlog.
  • CjBlog is not just confined to blogging, but can also be extended to the whole website echo system. with the powerful tools such as avatars, points system, badges, user profiles, it can be well suitable for a community website. A separate document for API is available for integrating CjBlog with third party extensions.

Read the documentation here:

https://docs.shondalai.com/cjblog/

Copyright 2023 BulaSikku Technologies Pvt. Ltd.

Licensed under the Gnu GPL, Version 2.0 or later (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

https://www.gnu.org/licenses/gpl.html

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

cjblog's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cjblog's Issues

Add Easy Profile as avatar and profile provider

In version 1.4.2 we worked on adding Easy Profile as avatar and profile (and profile text) provider.

Issue

Easy Profile is not is the dropdown list as provider for the avatar and for the profile page

Expected result

Easy Profile should be selectable as provider in both the Avatar and profile page

Proposed solution

Add Easy Profile as option in administrator/components/com_cjblog/config.xml
for fields:
profile_component and avatar_component

This will work as the actual logic for Easy Profile's avatar and profile page URL is still in cjlib/api

Next step

If we can agree on this change I can create a PR for that.

Avatar size in Author_info not respecting configured size

Not all avatar providers have the functionality to create multiple thumbnailsizes like cjbog does.
Easy Profile has two avatars: the original (in my case configured to 200x200) and a thumbnail (50x50)

Issue

When displaying the avatar in the author_info (layout) the image is retreived via the cjlib api. The api function getUserAvatarImage returns the original Easy Profile avatar (size 200x200). the layout author_info will display the avatar with the 200x200 size NOT respecting configured size $params->get('article_avatar_size', 96);

Expected result

All avatars (from all avatar providers) should be able to display the avatar in the configured size

Proposed solution

Change
....style="min-width: <?php echo $avatarSize;?>px;">
to
style="max-width: <?php echo $avatarSize;?>px;">

in layout/author_info.php

Next step

If we can agree on this change I can create a PR for that.

Missing Article / author info on top of article

Not sure if this is intended or not :)

Issue

the Article view is 'missing' the article / author / social Media sharing info on the top of the article

Expected result

There should be a info box (configurable to show / hide) on top of the article showing:
author avatar, author name (both linked to profile if pro-capabilities)
hits, hot or not, category, etc.
Social Media sharing buttons.

Proposed solution

add a additional layout that will be added via the cjblog content plugin to the article text vai this line of code:
$article->text = '<div id="cj-wrapper">' . $toolbarHtml . $titleHtml . $tagsHtml . $imagesHtml . $article->text . $socialSharingHtml . $authorInfoHtml . '</div>';

Next step

Discuss if this is left out intentionally, if not and it needs to be readded a layout (design / functionality) should be discussed.

Article images handled by cblog content plugin corrupting template

Hi,
one of the features of template (eg Gavick) is the special position etc. they have in the template for fulltext images

Issue

when enabling cjblog the displayed article is 'corrupted' when it comes to the placement of the fulltext image

Expected result

Fulltext image should be handled by the template OR by cjblog

Proposed solution

Create a configuration option with which you can disable handling the full text image by cjblog in the plg_content_cjblog

Next step

Discuss if this is an option, if so I can do a PR for that.

Screenshot with cjblog (fulltext image handled by plg_content_cjblog)
selection_143

Screenshot without cjblog (fulltext image handled by template)
selection_144

Pro-capabities not working correct

In version 1.4.2 we added the pro-capabilities functionality. That functionality was to configure via ACL a Joomla group that would have additional functionalities:

  1. About text would be displayed
  2. Avatar would link to profile page
  3. Name would link to profile page

When a user was NOT member of the configured Joomla Group the above three rules would not apply (no about text, no links to user profile)

Issue

Version 2.0 only handles the about text via the pro-capability and not the avatar and profile link.
When an author is NOT member of the pro-capability ACL his avatar and name will still link to his profile.

Expected result

When an author is NOT member of the pro-capability ACL his avatar and name should NOT link to his profile.

Proposed solution

There are two possible solutions for this:

  1. add pro-capability check to api/getUserProfileUrl
  2. add pro-capalitity to all cjlog views / layouts that call api/getUserProfileUrl (this is how it was handled in 1.4.2)

Next step

I think this change should be part of cjlib/api/getUserProfileUrl because then you do one change and change it for all current and future functionality.

Custom tag for Social Media buttons

In version 1.4.2 we added a custom tag (e.g. {jssocials}) as Social Media buttons provider.

Issue

Version 2.0 handles the placement of Social Media buttons via corejoomla plugins that are triggered on onSocialsDisplay. One plugin is provided as part of the cjlib package.

Expected result

It should be possible to configure a custom tag (text field) that will be displayed and rendered as part of the content plugins to add the possibility of adding other (existing / non corejoomla plugins) to add Social Media buttons.

Proposed solution

There are two solutions:

  1. Preferred (for me :) > add in the plg_corejoomla_socials.zip an extra text field 'custom tags'
    return the contents of that text field if not empty. Tested this and it works)

  2. Create a new plugin that triggers on onSocialsDisplay and that returns the configured text field.

Next step

I can do both preferred changes for you (not via PR as these plugins are part of cjlib which is not on github).
Easiest would be to make the change for the plg_corejoomla_socials plugin as this will then be automatically be part of the cjlib package.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.