[DEV] Post Love

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Get Involved
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
jefmcg
Registered User
Posts: 40
Joined: Mon Aug 13, 2018 11:04 am

Re: [DEV] Post Love

Post by jefmcg » 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.)

jefmcg
Registered User
Posts: 40
Joined: Mon Aug 13, 2018 11:04 am

Possible fix to the X problem

Post by jefmcg » Sat Jul 13, 2019 1:16 pm

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.

Tamivir
Registered User
Posts: 5
Joined: Fri Jul 12, 2019 9:26 am

Re: [DEV] Post Love

Post by Tamivir » Sat Jul 13, 2019 3:35 pm

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:

jefmcg
Registered User
Posts: 40
Joined: Mon Aug 13, 2018 11:04 am

Re: [DEV] Post Love

Post by jefmcg » Sat Jul 13, 2019 4:22 pm

Ah.

I don't have that file.

ivailo95
Registered User
Posts: 715
Joined: Tue Sep 05, 2017 8:00 am
Location: Bulgaria
Name: Ivailo
Contact:

Re: [DEV] Post Love

Post by ivailo95 » Sat Jul 13, 2019 4:48 pm

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

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

User avatar
janus_zonstraal
Registered User
Posts: 3362
Joined: Sat Aug 30, 2014 1:30 pm

Re: [DEV] Post Love

Post by janus_zonstraal » Sat Jul 13, 2019 5:39 pm

Extensions are not placing files on other places than in the ext folder.
Sorry! My English is bat ;) !!!

jefmcg
Registered User
Posts: 40
Joined: Mon Aug 13, 2018 11:04 am

Re: [DEV] Post Love

Post by jefmcg » Sun Jul 14, 2019 10:43 am

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

deninho32
Registered User
Posts: 4
Joined: Tue May 21, 2019 8:57 am

Re: [DEV] Post Love

Post by deninho32 » Mon Jul 29, 2019 10:44 pm

Is there an option to stop guest from being able to like posts?

jefmcg
Registered User
Posts: 40
Joined: Mon Aug 13, 2018 11:04 am

Re: [DEV] Post Love

Post by jefmcg » Tue Jul 30, 2019 5:03 pm

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.

deninho32
Registered User
Posts: 4
Joined: Tue May 21, 2019 8:57 am

Re: [DEV] Post Love

Post by deninho32 » 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.

User avatar
janus_zonstraal
Registered User
Posts: 3362
Joined: Sat Aug 30, 2014 1:30 pm

Re: [DEV] Post Love

Post by janus_zonstraal » Wed Jul 31, 2019 8:19 am

Go to ACP => permissions => forum permissions => choose forum => choose guest => tab several
Click "no" for guest can thank for post.
Sorry! My English is bat ;) !!!

deninho32
Registered User
Posts: 4
Joined: Tue May 21, 2019 8:57 am

Re: [DEV] Post Love

Post by deninho32 » Wed Jul 31, 2019 8:49 am

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.

jefmcg
Registered User
Posts: 40
Joined: Mon Aug 13, 2018 11:04 am

Re: [DEV] Post Love

Post by jefmcg » Wed Jul 31, 2019 9:18 am

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.

deninho32
Registered User
Posts: 4
Joined: Tue May 21, 2019 8:57 am

Re: [DEV] Post Love

Post by deninho32 » Wed Jul 31, 2019 9:28 am

OK thanks, we'll try that one!

jefmcg
Registered User
Posts: 40
Joined: Mon Aug 13, 2018 11:04 am

Re: [DEV] Post Love

Post by jefmcg » Wed Jul 31, 2019 9:36 am

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

Post Reply

Return to “Extensions in Development”