Page 49 of 53

Re: [DEV] Post Love

Posted: Sat Jul 13, 2019 1:06 pm
by jefmcg
Tamivir wrote:
Fri Jul 12, 2019 9:31 am
Hey, i love this extension but i have a problem.

How can i deactivate the "Most liked Posts" ? I didnt find a solution :oops:

Image
Thank you
That's strange. I don't see this on my forum. I don't know what we are doing differently.

(I'm running an older version of postlove, but I briefly updated to the latest version and didn't see it then either.)

Possible fix to the X problem

Posted: Sat Jul 13, 2019 1:16 pm
by jefmcg
Yesterday I updated to the latest version of this extension, and it stopped working! I got the "X" instead of the hearts. I tried to roll it back and it broke my whole forum because the database had changed. Luckily I had a backup of the DB from just before the I upgraded, so I was able to get everything back the way it had been in a few minutes.

So then, the fix to the X problem. NOTE: I HAVEN"T TESTED THIS. You'll have to delete the data - all your previous histories of likes. If you don't want to do that, then you either need to have a backup of your DB from when it was last working or reverse engineer the DB changes. So this fix is really for those who have never had it working.

Steps
  1. Backup your database
  2. Disable the extension
  3. Delete the extension data
  4. Download the version of the extension that I downloaded in August. https://github.com/satanasov/postlove/t ... 426b9c0435 If you open this on your phone, you will need to go to the bottom of the page and click "Desktop version"
  5. Replace the version in your ext folder with this version
  6. Enable it
  7. Come back here to say it works, or to tell everyone that it's still broken and that I am an idiot.

Re: [DEV] Post Love

Posted: Sat Jul 13, 2019 3:35 pm
by Tamivir
jefmcg wrote:
Sat Jul 13, 2019 1:06 pm
Tamivir wrote:
Fri Jul 12, 2019 9:31 am
Hey, i love this extension but i have a problem.

How can i deactivate the "Most liked Posts" ? I didnt find a solution :oops:

Image
Thank you
That's strange. I don't see this on my forum. I don't know what we are doing differently.

(I'm running an older version of postlove, but I briefly updated to the latest version and didn't see it then either.)
i am not a crack in such this things,

the only hint i found was in the styles\prosilver\template\postlove_summary_body.html

If i rename this file, the board will not work, if i empty this file, it doesnt show up, but im not sure if this correct solution :lol:

Re: [DEV] Post Love

Posted: Sat Jul 13, 2019 4:22 pm
by jefmcg
Ah.

I don't have that file.

Re: [DEV] Post Love

Posted: Sat Jul 13, 2019 4:48 pm
by ivailo95
jefmcg wrote:
Sat Jul 13, 2019 4:22 pm
Ah.

I don't have that file.
Did you check in your main style?

Re: [DEV] Post Love

Posted: Sat Jul 13, 2019 5:39 pm
by janus_zonstraal
Extensions are not placing files on other places than in the ext folder.

Re: [DEV] Post Love

Posted: Sun Jul 14, 2019 10:43 am
by jefmcg
janus_zonstraal wrote:
Sat Jul 13, 2019 5:39 pm
Extensions are not placing files on other places than in the ext folder.
Yes. I have found the file. It's in the ext directory.

ext/anavaro/postlove/styles/prosilver/template/postlove_summary_body.html

Re: [DEV] Post Love

Posted: Mon Jul 29, 2019 10:44 pm
by deninho32
Is there an option to stop guest from being able to like posts?

Re: [DEV] Post Love

Posted: Tue Jul 30, 2019 5:03 pm
by jefmcg
deninho32 wrote:
Mon Jul 29, 2019 10:44 pm
Is there an option to stop guest from being able to like posts?
Guests can't like posts on my installation, so I guess the answer is yes.

Re: [DEV] Post Love

Posted: Wed Jul 31, 2019 6:47 am
by deninho32
Which version is that? I have version 2.0.0-a2 installed and we have al lot of problems with liking guests.

Re: [DEV] Post Love

Posted: Wed Jul 31, 2019 8:19 am
by janus_zonstraal
Go to ACP => permissions => forum permissions => choose forum => choose guest => tab several
Click "no" for guest can thank for post.

Re: [DEV] Post Love

Posted: Wed Jul 31, 2019 8:49 am
by deninho32
My ACP is in Dutch and you seem to be Dutch too, but I'll use English here. I went to ACP, forum permissions, I chose Forum (+subforums), on the right under groups I chose Guests, change permissions but there is nothing saying thanks for post.

Re: [DEV] Post Love

Posted: Wed Jul 31, 2019 9:18 am
by jefmcg
deninho32 wrote:
Wed Jul 31, 2019 6:47 am
Which version is that? I have version 2.0.0-a2 installed and we have al lot of problems with liking guests.
I'm using a version from August 1.2.1

https://github.com/satanasov/postlove/t ... 426b9c0435

You can't just revert to it as the table structure has changed.

Re: [DEV] Post Love

Posted: Wed Jul 31, 2019 9:28 am
by deninho32
OK thanks, we'll try that one!

Re: [DEV] Post Love

Posted: Wed Jul 31, 2019 9:36 am
by jefmcg
deninho32 wrote:
Wed Jul 31, 2019 9:28 am
OK thanks, we'll try that one!
You'll have to delete your data, so you will lose all your current likes.

viewtopic.php?p=15294956#p15286666