Jump to content

[Module] Free Blog Module - A usefull PrestaShop Module


SONIC PEAN
 Share

Recommended Posts

Be warned this module adds an author's tab across the top of your admin page, taking up tab real estate. Otherwise it worls OK on PS 1.4.4.1 and 1.4.5.1 and I think it would be OK. I've deleted it though because of that 'annoyware' issue.

Share this post


Link to post
Share on other sites

Looking forward to using this but I have a problem. Please visit my current test site: www.sportszonetemplates.net and see how the blog ended up on my pages. I can't figure out what I did wrong.

 

It's not on the home page which is ok for me but I wanted it to show up on all of the product pages on the left column as you had it in your demo.

 

Plus I get an error message at the bottom of the page "

Page not available

 

error.gif We're sorry, but the Web address you entered is no longer available

 

Any suggestions?

Share this post


Link to post
Share on other sites

Thanks for your reply.

 

 

Before removing the module.

 

 

I uninstalled the module. I note that the directory is deleted.

 

 

and install again.

 

I follow the instructions in Readme.txt

 

I uploaded the module and get ready to install.

 

 

 

install

 

The system says "this module has been installed" But it appears like not installed...

Share this post


Link to post
Share on other sites

@Sparrowsitn

You can go to .htaccess file and check if there is somelines like below was added into .htaccess. If it was added then it should work or your server not support url rewrite.

RewriteRule ^en/blog/([0-9]*)_([a-zA-Z0-9-]*).html$ /prestashop143/modules/plblog/frontent/list-post.php?plidc=$1&plcn=$2&.php?isolang=en [QSA,L]

@JesusAlpedrete

I checked on our server many times and it works fine. I'm not sure what caused your problem, Could you try on a fresh prestashop and install this module.

Thanks

 

Share this post


Link to post
Share on other sites

@Sparrowsitn

You can go to .htaccess file and check if there is somelines like below was added into .htaccess. If it was added then it should work or your server not support url rewrite.

RewriteRule ^en/blog/([0-9]*)_([a-zA-Z0-9-]*).html$ /prestashop143/modules/plblog/frontent/list-post.php?plidc=$1&plcn=$2&.php?isolang=en [QSA,L]

@JesusAlpedrete

I checked on our server many times and it works fine. I'm not sure what caused your problem, Could you try on a fresh prestashop and install this module.

Thanks

Thanks your fast supported. I'll try it. :)

Edited by kentocdo (see edit history)

Share this post


Link to post
Share on other sites

Hi, first, thanks to share this usefull module :)

 

I spend some hours trying to understand how to change the url-friendly option on Preference->SEO&URLs, I like to change the "blog/all-post.html" to something short like "notes", when I make the change and click save appears a red warning message saying "Page field is no valid", no matter what I change, a red warning appears everytime, more over if I don't change anything and click save the error comes too.

 

Try to change over the DDBB and on the module files but later the links on the frontend stops to work.

Hope you can find a solution.

 

Regards!

Guille.-

 

Pd: I'm from Argentina, sorry about my poor english, with time and practice will go better and better.

Share this post


Link to post
Share on other sites

Hello!

There are some little issues I noticed today -

*When you add categories title don't copy on other languages if they are empty and same thing with tags(when you add tag in default shop language and back office language category name and tags name shows - "--")(when adding posts it works fine).

*When you add post and don't write a description: it shows 2 same errors. Statuss and Alow comment turns off. Tags disappear.

And maybe it is possible in future to make improvement - possibility to edit post date and time.

Share this post


Link to post
Share on other sites

Hello Dim Dukov.

Please let me know which prestashop version you used? And could you give me the link that you see white screen.

Thanks

 

Hi Sonic Pean,

 

i use prestashop 1.4.5.1. i send you pm shop name, at moment white screen is not active. when enable blog module i have get white screen, view source in browser show empty page. i just put folder in /modules, install in BO, maybe i miss something. when i unhook blog from anywere(modules->position) no problem, if transplent blog module site miss again.

 

 

sorry for may poor language.

 

Regards

 

 

[edit]

when transplate blog to left side, site gone. if transplate to right site, all menu and butons missed but site work.

Share this post


Link to post
Share on other sites

Hi Sonic Pean, I wonder if has some option to show a date navigation menu, like years and months, maybe this can be done touching some of the code but I like to be sure if it is possible before make some experiments.

Regards,

Guille.-

Share this post


Link to post
Share on other sites

Hi Dim Dukov,

You don't need to transptant. You just install the module and go to the configure. We have option so you show it left, right or disable. It may solve your problem.

Thanks

 

Hi, yes i dont need transplent modules, i see after install they already transplent, but my site fail after this. i unhook all modules then site is back. yesterday all day test but cant get this nice module :(

Share this post


Link to post
Share on other sites

Thanks for this good addon.

 

But .. when i install it on a fresh 1.4.5.1 install i get the same message as others = error during installation .. anyway i can configure it, view it on my frontend but ... how use it ?

 

As far as i've read the readme.txt, a Blog entry should appear on my tools BO menu ? i can't find it

 

is there is a "Konami hidden" config menu somewhere or did the instal really failed ? :)

Share this post


Link to post
Share on other sites

I installed this module but it isn't showing up in my backoffice? I checked under all the module categories and it isn't there. I decided to check my FTP folders. It is indeed there in the modules folder but not in the backoffice page. Any ideas?

Share this post


Link to post
Share on other sites

Hi SONIC!

I'm noticed some issues:

*when I set "Allow Unregistered Users To Comment" option to Off I can't post a comment even I'm loged in.

*when capcha is turned off it shows error message under comment section that name, email and comment fields are required.

 

Prestashop version - 1.4.6.1, Blog module version 1.1.7.

  • Like 1

Share this post


Link to post
Share on other sites

Hi,

I'm not sure your question. You can set number latest post showed on home page.

Thanks

Hello!

I have question - how to make that in home page there are displayed for example 5 latest posts(in view similer like in post categorie section)?

thanks

Share this post


Link to post
Share on other sites

Hi,

I'm not sure the problem you got. Please make sure the folder plblog will put in webroot/modules/ dir then it will showed.

Or I guess maybe you just showed installed module in modules tab in back office so you did not see this.

Thanks

I installed this module but it isn't showing up in my backoffice? I checked under all the module categories and it isn't there. I decided to check my FTP folders. It is indeed there in the modules folder but not in the backoffice page. Any ideas?

Share this post


Link to post
Share on other sites

Hi,

It is our module issues. We will fix and update ASAP. Thank for founding this.

Thanks

Hi SONIC!

I'm noticed some issues:

*when I set "Allow Unregistered Users To Comment" option to Off I can't post a comment even I'm loged in.

*when capcha is turned off it shows error message under comment section that name, email and comment fields are required.

 

Prestashop version - 1.4.6.1, Blog module version 1.1.7.

Share this post


Link to post
Share on other sites

Hi,

It is our module issues. We will fix and update ASAP. Thank for founding this.

Thanks

And maybe you can make that registred customer don't have to write in his name and e-mail in comment section, because he alredy are registred and we have his name and e-mail.

Share this post


Link to post
Share on other sites

Hi !

Thanks for the module.

 

But i got a problem :

 

mywebsite.fr/en/blog/all-post.html works fine.

but

mywebsite.fr/fr/blog/all-post.html dosn't work ! :(

404 La page que vous avez demandée n'existe plus

 

The french version is the principal version of the website. So, i have to fix it !

 

Thanks !

 

Prest 1.4.5.1

Share this post


Link to post
Share on other sites

Hi, amazing module ! Just what i was looking for !!!

Thanks for all your effort and hard work!

 

I only have three questions

1. Why does it do this thing to the button "view all" under the BLOG LATEST POST

 

2. Why doesnt it show the blog categories ?

 

3. Can i disable the blog tags ?

 

url is www.audio-soul.gr/shop

 

Thanks !!!

Share this post


Link to post
Share on other sites

I installed this module but it isn't showing up in my backoffice? I checked under all the module categories and it isn't there. I decided to check my FTP folders. It is indeed there in the modules folder but not in the backoffice page. Any ideas?

Same problem... How to fix it? No PBlog tab, but from modules I can configure it or delete...

Share this post


Link to post
Share on other sites

I installed this module but it isn't showing up in my backoffice? I checked under all the module categories and it isn't there. I decided to check my FTP folders. It is indeed there in the modules folder but not in the backoffice page. Any ideas?

 

Make sure you upload just the /plblog folder to your modules so you have modules/plblog and not /modules/plblog_v1.1.6/plblog_v1.1.6/plblog or even /modules/plblog_v1.1.6/plblog

  • Like 2

Share this post


Link to post
Share on other sites

Hello! I have Prestashop 1.4.4.0, And i have many problems with translations, I have only one Language Instaled "ES-España" Im from Argentina, The language is the only one, and have ID:1. I have created the ES.PHP File, but the module doesnt translate. And with friendly-URL Doesnt work "View All" in lastest post. Thaks!

Share this post


Link to post
Share on other sites

Hi

 

I recently installed the 1.1.6 version of this module in my store in Spainhttp://www.frikito.com. My version of Prestashop is 1.4.1.0 and I have a problem with the names of users who leave a comment in the blog. A person with an accent on a letter such as "Andrés" can not write. Must be put without the accent and if you putthe name and surname (leaving a space between the first and last name) can not.Only lets you put one of the 2, or the name or surname. How I can fix these two things?

 

thanks

 

Juan Miguel

Share this post


Link to post
Share on other sites

The module is great!

 

But 3 small things

1. "Lastest Posts" should be "Latest Post" - Where do i change this?

2. When you set Latest posts to right it loses the pl_block class

3. The body id uses the url to generate a name would be neater for styling perposes to just call it <body id="blog">

 

Thanks

Neil

Share this post


Link to post
Share on other sites

Neil,

 

1.In plblog/frontent/tpl/Blog_l.tpl & Blog_r.tpl change line 5

<h4>Lastest Posts</h4>

for

<h4>{l s='Blog Latest Post' mod='plblog'}</h4>

Then it will be editable in back office / Translations / Modules

 

2. Lins 6 in the above files are your class

 

3. Not sure sorry. I'm a chef not a coder!

 

Do you have the same problem as me with not enabled posts still appearing in the latest post block?

 

Daniel

Share this post


Link to post
Share on other sites

hehe Well done, Daniel. Don't know why but i had completely ignored the tpl folder when i was looking.... I'm obviously tired. Bring on the Christmas holidays!

 

Yes i do have the same problem, perhaps we can copy some code from plpost as that seems to work perfectly?

 

Thanks

Neil

  • Like 1

Share this post


Link to post
Share on other sites

Hi Neild,

The module is great!

 

But 3 small things

1. "Lastest Posts" should be "Latest Post" - Where do i change this?

2. When you set Latest posts to right it loses the pl_block class

3. The body id uses the url to generate a name would be neater for styling perposes to just call it <body id="blog">

 

Thanks

Neil

The first we upload update version for fixing words typo. For your small issues.

1, If you changes the text you need to go tpl file. It should be plblog\frontent\tpl\blog_l.tpl and blog_r.tpl

2, I'm not sure your problem, If you set latest post block to right side, it should be fine

3, I'm not sure your problem.

Thanks

Share this post


Link to post
Share on other sites

no its fine the error was mine, I hadn't looked at the tpl file. Now that i have i 1. renamed lastest posts and 2. added a class to the latest post block right.

 

The last one was that it'd be great if the module created an ID tag for the body of the document, so that whenever a blog page is displayed a specific set of css rules could be added. I was going to hide all the side boxes until users go to the blog page.

Share this post


Link to post
Share on other sites

Got it..

Replace Line 733 in plblog/plblog.php

  WHERE (a2.id_pl_blog_category != 1) AND a1.id_lang = ".$cookie->id_lang."

 

With

  WHERE (a2.id_pl_blog_category != 1) AND (a2.post_status=1) AND a1.id_lang = ".$cookie->id_lang."

 

This will prevent non enabled blog posts showing in "Latest Posts"

 

Daniel

  • Like 1

Share this post


Link to post
Share on other sites

Hi

 

I recently installed the 1.1.6 version of this module in my store in Spainhttp://www.frikito.com. My version of Prestashop is 1.4.1.0 and I have a problem with the names of users who leave a comment in the blog. A person with an accent on a letter such as "Andrés" can not write. Must be put without the accent and if you putthe name and surname (leaving a space between the first and last name) can not.Only lets you put one of the 2, or the name or surname. How I can fix these two things?

 

thanks

 

Juan Miguel

Hi

 

What one same thing happens to me is happening to me?. Have you tried to write a comment on a post with a name (with space between the first and last name) or a name with accents?. Not if you just happen to me or not and if that only happens to me, how do you think that I can solve?

 

thanks

 

Juan Miguel

Share this post


Link to post
Share on other sites

Hi, Juan

In /plblog/frontent/controllers/DetailsController.php

line 390

 return preg_match('/^[^<>;=#{}]*$/u', $name);

I think this is where your problem lies. If bypassed you can add anything in the name box but It is there for a reason. I've tried adding \p{L}. But I cant figure it out.

Daniel

Share this post


Link to post
Share on other sites

hi all,

 

i have a problem with this blog on my presta 1.4.4.1. I have created a category and wrote tho articles but if I check it on live website it shows me an error massage. you can check it on www.loungeofstyle.eu . do you have any suggestion?

Share this post


Link to post
Share on other sites

<p>

Hi, Juan In /plblog/frontent/controllers/DetailsController.php line 390
 return preg_match('/^[^<>;=#{}]*$/u', $name); 

I think this is where your problem lies. If bypassed you can add anything in the name box but It is there for a reason. I've tried adding \p{L}. But I cant figure it out. Daniel

</p>

<p> </p>

<p> </p>

<div>Ok Daniel, I answer you so late.</div>

<div> </div>

<div>You're all right. thank you very much</div>

<div> </div>

<div>Juan Miguel</div>

 

Share this post


Link to post
Share on other sites

Hi, I'm having some trouble with a module that sounds just like this one, except its actually called 'Core News Module Block v0.8'

 

Basically I can upload topics / threads from the back end, but one of the categories is intended for users to be able to post there own comments. I've relaxed the security settings as much as I can but it still says 'you should wait 1 hour(s) before posting another comment'. every time I try.

 

I've set the flood protection but I still can't figure out how to post on it!! http://www.red-freddies.co.uk/modules/newscore/news.php?category_id=2&id_entry=10

 

I'd really welcome any help to get it sorted!

 

Thanks!!

Share this post


Link to post
Share on other sites

Hi, is there possible to sort the posts list on the blog home by categories? I have only two categories and like to make two columns for each category for the posts with a pagination if can be.

Thanks!

Share this post


Link to post
Share on other sites

Hello,

 

I have my site under prestashop 1.4.5.1 and the theme matrice.

 

But the theme have a problem, I have to add the code :

 

{include file="$tpl_dir./breadcrumb.tpl"}

<div class="cms">

</div>

 

 

into tpl to the left column back.

I'm adding all the tpl, there is no change.

 

How to do?

 

Thanks

Share this post


Link to post
Share on other sites