Coder Social home page Coder Social logo

beesblog's Introduction

thirty bees

Crowdin Forum

thirty bees is a matured e-commerce solution which once started as a fork of PrestaShop 1.6.1.11 and is still compatible with (almost) all PS 1.6 modules. Its focus is on stability, correctness and reliability of the rich feature set, to allow merchants to focus on growing their business.

Supporters

thirty bees is commited to being free and open source. We are also committed to making all software that thirty bees develops free and open source. For that reason we have setup a Backers page so our community can help support us. Please feel free to sign-up as a backer to help support ThirtyBees so it can grow and thrive!

thirty bees screenshot

Roadmap

  • Remove really old code. Like retrocompatibility code for PS 1.4 and older.
  • Remove pointless configuration switches in back office. Quite a number of them are outdated or useless, just distracting merchants and slowing down operations.
    • Support for multiple encryption algorithms. One reliable encryption is entirely sufficient.
    • Support for mixed HTTP/HTTPS sites. This was a good idea in 2005, but triggers browser warnings today.
    • ...
  • Package management for JavaScript and CSS vendor packages as well.
  • Bring all modules provided by thirty bees to the standards level of default modules.
  • Bootstrap 4 for back office.

Requirements

Support for these general requirements (except recommendations) gets tested during installation, so one can simply try to proceed. A proceeding installation means all requirements are met.

  • PHP 7.4 - PHP 8.3
  • Apache or nginx
  • Linux or MacOS
  • MySQL 5.5.3+ or MariaDB 10+
  • PHP extensions:
    • Required:
      • bcmath
      • gd
      • json
      • mbstring
      • openssl
      • mysql (PDO only)
      • xml (SimpleXML, DOMDocument)
      • zip
    • Recommended:
      • imap (for allowing to use an IMAP server rather than PHP's built-in mail function)
      • curl (for better handling of background HTTPS requests)
      • opcache (not mandatory because some hosters turn this off in favor of other caching mechanisms)
      • apcu/redis/memcache(d)

Installation for Shop Owners

  • Download the latest release package (thirtybees-vXXX.zip, ~43 MiB).
  • Unpack this ZIP file into your web hosting directory. If you have no shell access, unpack it locally and upload all files, e.g. with FileZilla. Using a subdirectory works fine.
  • Direct your browser to your webhosting, it should show the installer.
  • Follow instructions.

Installation for Developers

You can install the master or follow a release package

  • Recursively clone the repository and choose tag release version number from the -b parameter:
$ git clone https://github.com/thirtybees/thirtybees.git --recurse-submodules
  • Then cd into the thirtybees folder
  • Run composer to install the dependencies - you have to choose composer file according to php version
$ COMPOSER=composer/<php>/composer.json composer install
$  php install-dev/index_cli.php --newsletter=1 --language=en --country=us --domain=thirty.bees:8888 --db_name=thirtybees --db_create=1 --name=thirtybees [email protected] --firstname=thirty --lastname=bees --password=thirtybees
  • Arguments available:
--step          all / database,fixtures,theme,modules                   (Default: all)
--language      Language iso code                                       (Default: en)
--all_languages Install all available languages                         (Default: 0)
--timezone                                                              (Default: Europe/Paris)
--base_uri                                                              (Default: /)
--domain                                                                (Default: localhost)
--db_server                                                             (Default: localhost)
--db_user                                                               (Default: root)
--db_password                                                           (Default: )
--db_name                                                               (Default: thirtybees)
--db_clear      Drop existing tables                                    (Default: 1)
--db_create     Create the database if not exist                        (Default: 0)
--prefix                                                                (Default: tb_)
--engine        InnoDB                                                  (Default: InnoDB)
--name                                                                  (Default: thirty bees)
--activity                                                              (Default: 0)
--country                                                               (Default: fr)
--firstname                                                             (Default: John)
--lastname                                                              (Default: Doe)
--password                                                              (Default: 0123456789)
--email                                                                 (Default: [email protected])
--license       Show thirty bees license                                (Default: 0)
--newsletter    Get news from thirty bees                               (Default: 1)
--send_email    Send an email to the administrator after installation   (Default: 1)

Contributing

See CONTRIBUTING.md

Testing

See TESTING.md

beesblog's People

Contributors

captain-flam avatar cienislaw avatar dh42 avatar firstred avatar getdatakick avatar gofenice avatar joybuggycom avatar lathanao avatar marcin-j-pl avatar nemops avatar selwynorren avatar therampagerado avatar traumflug avatar yaniv14 avatar zengraph avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

beesblog's Issues

Meta title and description?

It seems the module doesn't have any way to specity meta title and description, could this be added? It's one of the rare instance in the platform that doesn't expose this.

Sitemap includes links to blog posts for disabled language variants

Hello people, I found a bug with the Bees Blog v1.6.1 - by thirty bees under Thirtybees 1.5 Bleeding Edge (Latest).

My website is in English and French and If I create a Blog Post in English only and select (tick) English for the selection for "Available for these languages", the Blog Title and Link Rewrite fields will automatically be created for the French language using the data that is used for the English Post. (English is the default language for my site)

If I try to manually deleted the contents in those fields for the French language and click the Save or Save and Stay button, those fields will again be automatically filled with what is used for the English Post.

This is bad, because the sitemap will generate links for those Blog posts that don't exist for the French language.

Can anybody replicate this behavior and confirm that this is a bug for this module?

Latest Posts on Home Page

Hi,

Please can you advise how I can get the latest blog posts on my home page for thirtybees. I have almost fully transitioned my prestashop to thirtybees, however I need to show the latest posts on my home page.

Would appreciate any help

Thanks

Product Reference for blog entries

Howdy all,

Thanks so much for the hard work in the BeesBlog. It looks amazing. I was really excited about product references in the blog, however it worked opposite to what I thought it would.

So right now, when I link a product to a blog post, it shows the reference to the blog post on the product details page, however is the opposite possible?

The products referenced to rather be shown in the blog post and not the product page?

Bees blog entries does not included in sitemap generated

The problem with module for sitemap creating and bees blog module.

Sitemap module recognizes beesblog installed, i.e. on the settings page appears a checkbox for beesblog posts/categories include/exclude, but it won't generate real sitemap - there's no any entry related to bees blog in the generated xml.

Error when creating new post

Hi,

When creating a new blog post I am noticing a core error here. The blog post image shows from teh previous article and once saved in the database it show 0 as the ID

Would this be an issue with the code to add a new post or with the database itself?

Sitemap not indexing Beesblog

Hi
seems that the sitemap module is not indexing the blog module at all, is there an option somewhere I should be activating?

Post author override

Please allow an author override for blog posts. It could be global in module configuration or locally in each post.

Post images are not responsive

Images put in post body are not responsive which looks bad on mobile. As workaround, I add class img-responsive by hand in source, but this should be added by default or as a checkbox in adding image dialog.

Translatable slugs for the blog and it's categories + language switcher

Hello there!

So one simple problem is preventing us from pushing the blog on live which is the fact that both languages have the same slug for the blog, and it's categories. Those need to be translatable.

I'm not quite sure what that entails, is it possible at all?

Per example, we have a category, named [EN]Category 2/[Fr]Catégorie 2
their URLs are:
/en/blog/category/category-2
/fr/blog/category/categorie-2

I would assume this has to do with the fact that the fact that controller slugs are not translatable?

And the language switcher doesn't seem to support nice URLs and therefore gives duplicate content, which is bad for SEO. The URL in the language switcher is something like this:
/en/category?cat_rewrite=categorie-2

Can we somehow get these fixed?

Posts on the home page

Hi, not so long ago you added the ability to have recent posts on the home page. Your mod worked really well and thanks for that, however is it possible to make a few extra tweaks?

  1. Post Image to show
  2. Show truncated list of the first paragraph of the post content? or possibly the ability to specify the intro paragraph that shows on the home page
  3. Ability to restrict how many images will show on the home page. I want it set at 4 however it keeps on showing 5.

My current website https://orren.co.za/ shows what I am really after.

Thanks so much

hookHeader: validate existence of blog post

When accessing blog url for post that does not exists, following message is thrown:

Trying to get property of non-object

Location:
modules/beesblog/beesblog.php line 569

Disqus not working properly

Howdy,

I think I am doing something wrong with the Disqus portion of the module. I added a comment to one of the blogs and I noticed two things

  1. The comment count does not show how many comments have been added (To be fair the is only one - lol)

  2. My own comment I made shows on every blog post I have on my system

Not compatible with UTF-8

When I try to enter text in Czech or Cyrillic, blog module shows ????? instead of text:

System Environment:

Server information Linux #1 SMP Tue Aug 15 17:50:02 EDT 2017 x86_64
Server software version Apache
PHP version 7.0.24
Memory limit 512M
Max execution time 30

MySQL version 10.1.24-MariaDB-cll-lve
MySQL server localhost
MySQL name vinazbul_thbe550
MySQL user vinazbul_thbe550
Tables prefix tbep_
MySQL engine InnoDB
MySQL driver DbPDO

thirty bees version 1.0.3
Default community theme

Blog url key to filter to breadcrumbs

So when I change the blog URL key, in my case I changed it from 'blog' to 'journal' would it be possible then to update the breadcrub automatically as well. Right now I have to make use of translations to translate the breadcrub word Blog to Journal The URL it reflects would be exactly the same, so if it can understand the URL then can it not take on the same naming as well?

Additional image type for posts presented in widgets

Currently default post_image is used in all widgets ie. recent post and so on. Images are set as responsive and resized from bigger size, which have negative impact on load speed. It would be best to add additional type for example post_miniature which will be used by widgets.

Create blog specific hook

Howdy,

Is there a possibility of creating a specific hook for the Blog so that we can plugin in the side column modules for the blog to only show on the blog and not on the other pages. Something like
displayBeestBlogLeft

That way we can position the recent posts, categories and popular posts into this hook?

Beesblog - multishop

Module does not work properly in multishop mode.
The blog home page always displays all posts, including those created for other shops.

Sitemap not linking post images correctly

Hi,

I have tried my best to fix this however my PHP skills are extremely limited when it comes to Thirty Bees (I only know procedural PHP). So after the fix for blog in the sitemap I see the images are being listed in the sitemap however the url is wrong. It links the image link with the domain name. For example:

image:loc/img/beesblog/posts/9-post_default.jpg</image:loc>
instead of
image:lochttps://www.orren-life.com/img/beesblog/posts/9-post_default.jpg</image:loc>

This image url issue is only with the blog module

Error when creating a blog post with no link rewrite specified

Failing to enter a link rewrite causes an error when saving, and even though the blog post is saved, neither the title or content is saved.

If no link rewrite has been manually entered, the module should create a link rewrite from the post title.

Allow setting order of related products

Currently, only 3 related products are viewed in frontend, but in BO you can add more than 3. Problem is that related products are sorted alphabetically, which doesn't allow you to order them as you like, especially when you add more than 3.

Adding possibility to manually set order of related products will improve functionality a lot - you could add more than 3 products and place 3 most important on visible positions.

Lots of duplicate code

While looking around to find help for this: https://forum.thirtybees.com/topic/647/beesblog-module-cannot-be-installed I found that three entire modules get installed twice.

First instance appears because installing Bees Blog also installs Bees Blog Categories, Bees Blog Popular Posts and Bees Blog Recent Posts.

Seconds instance can be found inside the Bees Blog module, in modules/beesblog/widgets/

Both appear to contain identical code and views, but which one is the right one?

Cannot add new category in Bees blog module

Whenever I try to add a new category in blog module, I got 500 error. Server logs show the following error:

[Fri Jan 04 06:41:22.389934 2019] [:error] [pid 106490] [client ip:46291] PHP Notice: Uninitialized string offset: 5 in /var/www/www-root/data/www/domain.com/modules/beesblog/controllers/admin/AdminBeesBlogCategoryController.php on line 378, referer: http://domain.com/admin###/index.php?controller=AdminBeesBlogCategory&addbees_blog_category&token=c004163d7e98cfad041ebe500041765f
[Fri Jan 04 06:41:22.390009 2019] [:error] [pid 106490] [client ip:46291] PHP Fatal error: Cannot access empty property in /var/www/www-root/data/www/domain.com/classes/ObjectModel.php on line 306, referer: http://domain.com/admin###/index.php?controller=AdminBeesBlogCategory&addbees_blog_category&token=c004163d7e98cfad041ebe500041765f

missing translation

Sorry again for being lazy.
in category.tpl line #72 you have {l s='of' mod="beesblog"} which prevent the string from being translatable.

it should be {l s='of' mod='beesblog'} - single quotes

Comment Count not working

Disqus allows for the amount of comments to be counted. as far as I can tell the code should be working right according to their code examples, however nowhere is it pulling through in the post info. The link to the disqus thread works, however its not showing the correct comment count

Possible improvement in Image upload error

In the processImage function, you should change

if ($error = ImageManager::validateUpload($files[$postImageInput], 4000000)) {
$this->errors[] = $this->l('Invalid image');
return false;

to

if ($error = ImageManager::validateUpload($files[$postImageInput], 4000000)) {
$this->errors[] = $error;
return false;

Edit : While we're at it, why 4000000 bytes? It seems rather...arbitrary

Blog last mod date in Sitemap

Should the last mod date (Published date) not be one of the variables in the Sitemap generation? I see this is listed on the product side. I think it may be good to do this on the blog side as well?

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.