teamever / everpsblog Goto Github PK
View Code? Open in Web Editor NEWFree blog module for Prestashop 1.7 & 8
Home Page: https://www.team-ever.com/prestashop-1-7-un-module-de-blog-gratuit/
License: Academic Free License v3.0
Free blog module for Prestashop 1.7 & 8
Home Page: https://www.team-ever.com/prestashop-1-7-un-module-de-blog-gratuit/
License: Academic Free License v3.0
Bonjour ! J'ai installé ce module il y a quelques jours mais chaque tentative d'accès à sa configuration me redirigeait vers une Erreur 500. J'ai voulu le désinstaller et réinstaller sa dernière version via GitHub et à présent je n'arrive tout simplement plus à l'installer :
Une solution ? Merci d'avance !
Hello,
en entête je vois pour la licence un "tous droits réservés": accepterais-tu de passer ta licence en AFL 3.0 (licence standard) ou MIT ?
En fait, à ce stade je ne suis pas sûr que nous ayons le droit d'utiliser ton module légalement.
Bien à toi,
I am trying to use the module on almost fresh PrestaShop installation and I receive errors while adding Post and Author.
PHP version: 7.4.24
PrestaShop version: 1.7.8.0
Current theme in use: classic
Installation is done via Docker
Trace for Post Adding:
Symfony\Component\Debug\Exception\ContextErrorException: Notice: Trying to access array offset on value of type nullat var/cache/dev/smarty/compile/7c/cc/af/7cccafd77d004e6fa87955b64636e3027a686ecd_0.file.form.tpl.php:916
at Block_117711286061824a2fb6ac30_76661435->callBlock(object(Smarty_Internal_Template))
(vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php:248)
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_117711286061824a2fb6ac30_76661435), object(Smarty_Internal_Template))
(vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php:184)
at Smarty_Internal_Runtime_Inheritance->process(object(Smarty_Internal_Template), object(Block_117711286061824a2fb6ac30_76661435))
(vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php:156)
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(Smarty_Internal_Template), 'Block_117711286061824a2fb6ac30_76661435', 'input', 0)
(var/cache/dev/smarty/compile/7c/cc/af/7cccafd77d004e6fa87955b64636e3027a686ecd_0.file.form.tpl.php:1478)
at Block_171969554661824a2fb5e9d9_39617553->callBlock(object(Smarty_Internal_Template))
(vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php:248)
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_171969554661824a2fb5e9d9_39617553), object(Smarty_Internal_Template))
(vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php:184)
at Smarty_Internal_Runtime_Inheritance->process(object(Smarty_Internal_Template), object(Block_171969554661824a2fb5e9d9_39617553))
(vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php:156)
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(Smarty_Internal_Template), 'Block_171969554661824a2fb5e9d9_39617553', 'field', 0)
(var/cache/dev/smarty/compile/7c/cc/af/7cccafd77d004e6fa87955b64636e3027a686ecd_0.file.form.tpl.php:1515)
at Block_18964176761824a2fb041e8_84166521->callBlock(object(Smarty_Internal_Template))
(vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php:248)
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_18964176761824a2fb041e8_84166521), object(Smarty_Internal_Template))
(vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php:184)
at Smarty_Internal_Runtime_Inheritance->process(object(Smarty_Internal_Template), object(Block_18964176761824a2fb041e8_84166521))
(vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php:156)
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(Smarty_Internal_Template), 'Block_18964176761824a2fb041e8_84166521', 'input_row', 0)
(var/cache/dev/smarty/compile/7c/cc/af/7cccafd77d004e6fa87955b64636e3027a686ecd_0.file.form.tpl.php:1674)
at Block_100994086861824a2fac2934_96406321->callBlock(object(Smarty_Internal_Template))
(vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php:248)
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_100994086861824a2fac2934_96406321), object(Smarty_Internal_Template))
(vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php:184)
at Smarty_Internal_Runtime_Inheritance->process(object(Smarty_Internal_Template), object(Block_100994086861824a2fac2934_96406321))
(vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php:156)
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(Smarty_Internal_Template), 'Block_100994086861824a2fac2934_96406321', 'fieldset', 0)
(var/cache/dev/smarty/compile/7c/cc/af/7cccafd77d004e6fa87955b64636e3027a686ecd_0.file.form.tpl.php:1840)
at Block_29591128561824a2fa5a0b6_59597802->callBlock(object(Smarty_Internal_Template))
(vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php:248)
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_29591128561824a2fa5a0b6_59597802), object(Smarty_Internal_Template))
(vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php:184)
at Smarty_Internal_Runtime_Inheritance->process(object(Smarty_Internal_Template), object(Block_29591128561824a2fa5a0b6_59597802))
(vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php:156)
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(Smarty_Internal_Template), 'Block_29591128561824a2fa5a0b6_59597802', 'defaultForm')
(var/cache/dev/smarty/compile/7c/cc/af/7cccafd77d004e6fa87955b64636e3027a686ecd_0.file.form.tpl.php:39)
at content_61824a301d8e96_60602906(object(Smarty_Internal_Template))
(vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123)
at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(Smarty_Internal_Template))
(vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114)
at Smarty_Template_Compiled->render(object(Smarty_Internal_Template))
(vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216)
at Smarty_Internal_Template->render(false, 0)
(vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:232)
at Smarty_Internal_TemplateBase->_execute(object(Smarty_Internal_Template), null, null, null, 0)
(vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116)
at Smarty_Internal_TemplateBase->fetch()
(classes/helper/Helper.php:114)
at HelperCore->generate()
(classes/helper/HelperForm.php:314)
at HelperFormCore->generate()
(classes/helper/HelperForm.php:67)
at HelperFormCore->generateForm(array(array('form' => array('tinymce' => true, 'description' => '...', 'submit' => array('name' => 'save', 'title' => 'Save', 'class' => 'button pull-right'), 'buttons' => array(array('href' => 'https://.../admin/index.php?controller=AdminEverPsBlogPost&token=488628d7936e00637b92d285b5efd109', 'title' => 'Cancel', 'icon' => 'process-icon-cancel')), 'input' => array(array('type' => 'hidden', 'name' => 'id_ever_post'), array('type' => 'select', 'label' => 'Associated categories', 'desc' => 'Please choose at least one category', 'hint' => 'Choose one or more categories', 'name' => 'post_categories[]', 'class' => 'chosen', 'identifier' => 'name', 'multiple' => true, 'options' => array('query' => array(array('id_ever_category' => '1', 'title' => 'Root', 'meta_title' => '', 'meta_description' => '...', 'link_rewrite' => 'root', 'content' => 'Root', 'bottom_content' => '', 'id_lang' => '1', 'id_parent_category' => '0', 'id_shop' => '1', 'date_add' => '2021-10-24 11:42:07', 'date_upd' => '2021-10-24 11:42:07', 'index' => '0', 'follow' => '0', 'sitemap' => '0', 'active' => '1', 'category_products' => '', 'is_root_category' => '1', 'count' => '0', 'featured_image' => 'https://...//img/logo-1635522847.jpg')), 'id' => 'id_ever_category', 'name' => 'title')), array('type' => 'select', 'label' => 'Default categories', 'desc' => 'Please choose default category', 'hint' => 'Will be used on breadcrumb', 'name' => 'id_default_category', 'options' => array('query' => array(), 'id' => 'id_ever_category', 'name' => 'title')), array('type' => 'select', 'label' => 'Associated tags', 'desc' => 'Please choose at least one tag', 'hint' => 'Choose one or more tags', 'name' => 'post_tags[]', 'class' => 'chosen', 'multiple' => true, 'options' => array('query' => array(), 'id' => 'id_ever_tag', 'name' => 'title')), array('type' => 'select', 'label' => 'Associated products', 'desc' => 'Please choose at least one product', 'hint' => 'Choose one or more product', 'name' => 'post_products[]', 'class' => 'chosen', 'multiple' => true, 'options' => array('query' => array(array('id_product' => '8', 'id_supplier' => '0', 'id_manufacturer' => '0', 'id_category_default' => '2', 'id_shop_default' => '1', 'id_tax_rules_group' => '0', 'on_sale' => '0', 'online_only' => '0', 'ean13' => '', 'isbn' => '', 'upc' => '', 'mpn' => '', 'ecotax' => '0.000000', 'quantity' => '0', 'minimal_quantity' => '1', 'low_stock_threshold' => null, 'low_stock_alert' => '0', 'price' => '29.000000', 'wholesale_price' => '5.350000', 'unity' => '', 'unit_price_ratio' => '0.000000', 'additional_shipping_cost' => '0.000000', 'reference' => '', 'supplier_reference' => '', 'location' => '', 'width' => '0.000000', 'height' => '0.000000', 'depth' => '0.000000', 'weight' => '0.000000', 'out_of_stock' => '2', 'additional_delivery_times' => '1', 'quantity_discount' => '0', 'customizable' => '0', 'uploadable_files' => '0', 'text_fields' => '0', 'active' => '0', 'redirect_type' => '404', 'id_type_redirected' => '0', 'available_for_order' => '1', 'available_date' => '0000-00-00', 'show_condition' => '0', 'condition' => 'new', 'show_price' => '1', 'indexed' => '0', 'visibility' => 'both', 'cache_is_pack' => '0', 'cache_has_attachments' => '0', 'is_virtual' => '0', 'cache_default_attribute' => '0', 'date_add' => '2021-10-25 16:07:18', 'date_upd' => '2021-10-26 17:58:20', 'advanced_stock_management' => '0', 'pack_stock_type' => '3', 'state' => '1', 'product_type' => '', 'id_shop' => '1', 'id_lang' => '1', 'description' => '...', 'description_short' => '...', 'link_rewrite' => 'black-tablecloth', 'meta_description' => '...', 'meta_keywords' => '', 'meta_title' => 'Black Indian style tablecloth', 'name' => 'Black tablecloth', 'available_now' => '', 'available_later' => '', 'delivery_in_stock' => '', 'delivery_out_stock' => '', 'manufacturer_name' => null, 'supplier_name' => null, 'rate' => 0.0, 'tax_name' => '')), 'id' => 'id_product', 'name' => 'name')), array('type' => 'select', 'label' => 'Author', 'desc' => 'Please choose post author', 'hint' => 'Else will be shop name', 'name' => 'id_author', 'options' => array('query' => null, 'id' => 'id_ever_author', 'name' => 'nickhandle')), array('type' => 'text', 'label' => 'Post meta title', 'desc' => 'Most of search engines do not accept more that 65 characters', 'hint' => 'Important for your SEO !', 'maxchar' => 65, 'required' => true, 'name' => 'meta_title', 'lang' => true, 'autoload_rte' => true, 'cols' => 60, 'rows' => 30), array('type' => 'text', 'label' => 'Post meta description', 'desc' => 'Most of search engines do not accept more that 165 characters', 'hint' => 'Important for your SEO !', 'maxchar' => 165, 'required' => true, 'name' => 'meta_description', 'lang' => true, 'autoload_rte' => true, 'cols' => 60, 'rows' => 30), array('type' => 'text', 'label' => 'Post link rewrite', 'desc' => 'For rewrite rules, required for SEO', 'hint' => 'Will set post base URL', 'required' => true, 'name' => 'link_rewrite', 'class' => 'copy2friendlyUrl', 'lang' => true, 'autoload_rte' => true, 'cols' => 60, 'rows' => 30), array('type' => 'text', 'label' => 'Post title', 'desc' => 'Add here post title', 'hint' => 'Will be shown on each pages', 'required' => true, 'name' => 'title', 'lang' => true, 'autoload_rte' => true, 'cols' => 60, 'rows' => 30), array('type' => 'textarea', 'label' => 'Post content', 'desc' => 'Add here post content', 'hint' => 'Will be shown on each pages', 'required' => true, 'name' => 'content', 'lang' => true, 'autoload_rte' => true, 'cols' => 60, 'rows' => 30), array('type' => 'textarea', 'label' => 'Post excerpt', 'desc' => 'Add here post excerpt', 'hint' => 'Will be shown on listings', 'required' => true, 'name' => 'excerpt', 'lang' => true, 'autoload_rte' => false, 'cols' => 60, 'rows' => 30), array('type' => 'file', 'label' => 'Post image', 'desc' => 'Will be shown on post top', 'hint' => 'Useful for sharing on social medias', 'name' => 'post_image', 'display_image' => true, 'required' => true, 'image' => '<image src="https://..." style="max-width:150px;"/>'), array('type' => 'switch', 'label' => 'SEO index post ?', 'desc' => 'Set yes to index, no to noindex', 'hint' => 'Else post won't be available on Google', 'name' => 'index', 'is_bool' => true, 'values' => array(array('id' => 'active_on', 'value' => 1, 'label' => 'Yes'), array('id' => 'active_off', 'value' => 0, 'label' => 'No'))), array('type' => 'switch', 'label' => 'SEO follow post ?', 'desc' => 'Set yes to follow, no to nofollow', 'hint' => 'Nofollow will block search engines from following links on this post', 'name' => 'follow', 'is_bool' => true, 'values' => array(array('id' => 'active_on', 'value' => 1, 'label' => 'Yes'), array('id' => 'active_off', 'value' => 0, 'label' => 'No'))), array('type' => 'switch', 'label' => 'SEO sitemap post ?', 'desc' => 'Set yes to sitemap, no to nositemap', 'hint' => 'Please generate sitemaps after changing this rule', 'name' => 'sitemap', 'is_bool' => true, 'values' => array(array('id' => 'active_on', 'value' => 1, 'label' => 'Yes'), array('id' => 'active_off', 'value' => 0, 'label' => 'No'))), array('type' => 'datetime', 'label' => 'Date add', 'desc' => 'Add here post date', 'hint' => 'Default date add will date post has been created', 'required' => true, 'name' => 'date_add', 'lang' => false, 'cols' => 60, 'rows' => 30), array('type' => 'select', 'label' => 'Post status', 'desc' => 'Select if published, draft or more', 'hint' => 'Pending is "waiting for review"', 'name' => 'post_status', 'options' => array('query' => array(array('id_status' => 'draft', 'name' => 'draft'), array('id_status' => 'pending', 'name' => 'pending'), array('id_status' => 'published', 'name' => 'published'), array('id_status' => 'trash', 'name' => 'trash'), array('id_status' => 'planned', 'name' => 'planned')), 'id' => 'id_status', 'name' => 'name')))))))
(modules/everpsblog/controllers/admin/AdminEverpsBlogPostController.php:767)
at AdminEverPsBlogPostController->renderForm()
(classes/controller/AdminController.php:2195)
at AdminControllerCore->initContent()
(classes/controller/Controller.php:306)
at ControllerCore->run()
(classes/Dispatcher.php:518)
at DispatcherCore->dispatch()
(admin/index.php:93)
Trace for Author Adding:
Symfony\Component\Debug\Exception\ContextErrorException: Notice: Trying to access array offset on value of type nullat modules/everpsblog/controllers/admin/AdminEverPsBlogAuthorController.php:337
at AdminEverPsBlogAuthorController->renderForm()
(classes/controller/AdminController.php:2195)
at AdminControllerCore->initContent()
(classes/controller/Controller.php:306)
at ControllerCore->run()
(classes/Dispatcher.php:518)
at DispatcherCore->dispatch()
(admin/index.php:93)
Hi
I have a Prestashop 1.7.8.7 instance which uses version 5.3.25 of your module.I would like to go to the last Version in order to take advantage of the password function.
Is there a particular process to achieve the update? During the update will all the parameters be preserved?
Thanks in advance.
Hello,
In the next versions it could be interesting to allow the locking of a post by a password.
The objective is to allow access to a post thanks to a password in defined to certain visitors, this password is common to all visitors.
J'ai eu cet erreur au moment d'utiliser la pagination: ?page=2
à modifier par $meta_desc
everpsblog/controllers/front/blog.php
Line 121 in 130d00a
Please, Help-me how install this script?
Hello,
I encountered this issue
New installation on a PS 1.7.8.8 with 2 languages
When modifying a category of the blog, if by mistake a space is put at the end of the 'Category link rewrite' field
Registration keeps space well (which does not seem to be the case in the case of a prestashop with a single language)
The display of the category in FO gives an error of the type "Too many redirects"
Bonjour,
Si on désactive les commentaires, il faudrait également ne pas afficher dans mon compte le bloc "Mes commentaires"
A priori en remplacant
<a class="col-lg-4 col-md-6 col-sm-6 col-xs-12" href="{$link->getModuleLink('everpsblog','customercomments')|escape:'htmlall':'UTF-8'}"> <span class="link-item"> <i class="fto-doc-text-inv mar_r4 fs_lg material-icons hvr-wobble-to-bottom-right">notifications_active</i> {l s='My comments' mod='everpsblog'} </span> </a>
par
{if isset($allow_comments) && $allow_comments} <a class="col-lg-4 col-md-6 col-sm-6 col-xs-12" href="{$link->getModuleLink('everpsblog','customercomments')|escape:'htmlall':'UTF-8'}"> <span class="link-item"> <i class="fto-doc-text-inv mar_r4 fs_lg material-icons hvr-wobble-to-bottom-right">notifications_active</i> {l s='My comments' mod='everpsblog'} </span> </a> {/if}
Dans le fichier modules\everpsblog\views\templates\hook\my-account.tpl
ça à l'air d'être bon mais je ne sais pas si il y a d'autres impact ailleurs
Peut être bloquer complétement le controller customercomment en redirigeant vers une 404 si les commentaires ne sont pas activés ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.