[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!
Scam Warning
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)
Satanasov
Registered User
Posts: 1215
Joined: Sun Jul 29, 2012 5:48 am
Name: Stanislav Atanasov
Contact:

Re: [DEV] Post Love

Post by Satanasov »

Please provide logs.

Review web server error logs and copy it.
For list of all my extensions go to https://github.com/satanasov
If you want custom functions in some of my products - PM me and we will discuss it.
romeo_piter
Registered User
Posts: 83
Joined: Mon Nov 09, 2009 7:11 pm
Location: Russia

Re: [DEV] Post Love

Post by romeo_piter »

Is it possible to turn off these hearts in some forums? For example, it should work for forum id=1,2,10 and not work for the others.
romeo_piter
Registered User
Posts: 83
Joined: Mon Nov 09, 2009 7:11 pm
Location: Russia

Re: [DEV] Post Love

Post by romeo_piter »

phpbb 3.1.11, extention 1.1.3
Problem with ajax.
It works normally only when liking myself (if allowed in ACP). If we try to un|like another person - there's always an ajax mistake.
romeo_piter
Registered User
Posts: 83
Joined: Mon Nov 09, 2009 7:11 pm
Location: Russia

Re: [DEV] Post Love

Post by romeo_piter »

Can anyone help me, please.
How should I make this ext work?
Is there anyone here who has it working normally on 3.1?
Satanasov
Registered User
Posts: 1215
Joined: Sun Jul 29, 2012 5:48 am
Name: Stanislav Atanasov
Contact:

Re: [DEV] Post Love

Post by Satanasov »

What seems the be the ajax error.
For list of all my extensions go to https://github.com/satanasov
If you want custom functions in some of my products - PM me and we will discuss it.
romeo_piter
Registered User
Posts: 83
Joined: Mon Nov 09, 2009 7:11 pm
Location: Russia

Re: [DEV] Post Love

Post by romeo_piter »

And...? What should I do? How can I trace what causes this problem?
romeo_piter
Registered User
Posts: 83
Joined: Mon Nov 09, 2009 7:11 pm
Location: Russia

Re: [DEV] Post Love

Post by romeo_piter »

Quick reply ext also uses ajax. And many others. They work fine.
Satanasov
Registered User
Posts: 1215
Joined: Sun Jul 29, 2012 5:48 am
Name: Stanislav Atanasov
Contact:

Re: [DEV] Post Love

Post by Satanasov »

Server error log should hold some information.
For list of all my extensions go to https://github.com/satanasov
If you want custom functions in some of my products - PM me and we will discuss it.
inspir
Registered User
Posts: 3
Joined: Mon Feb 26, 2018 7:13 am

Re: [DEV] Post Love

Post by inspir »

Hi there

Anyone have idea how can I display list of each user with url to profile who liked post? I tried with
<a href="{ROOT_PATH}/memberlist.php?mode=viewprofile&un={postrow.POST_LIKERS}">
but this only work for one user, how can I separate users in link?
Farilight84
Registered User
Posts: 3
Joined: Sat Mar 10, 2018 4:18 pm

Re: [DEV] Post Love

Post by Farilight84 »

Hello,

I installed the extension and it's working without problems. However I am facing an issue. In bigger posts the like button is superimposed with the 'scroll to top' button in the elegance 2 style.

Image

I modified the extension to show a thumbs up button, and the colors as well but the issue is the same even in its default state. Can anyone help?
KenTSA
Registered User
Posts: 79
Joined: Thu Nov 27, 2014 7:11 pm
Name: Oprea Cristian
Contact:

Re: [DEV] Post Love

Post by KenTSA »

can add number of total likes recived in profile? like: Likes: 8 Hearths
BeingHonest
Registered User
Posts: 1
Joined: Sun Mar 18, 2018 12:31 am

Re: [DEV] Post Love

Post by BeingHonest »

Hey guys, how would the IF statement look if I want to check if a particular post was liked? I am using a button instead of a heart that changes to other color when you like the post but then I want it to stay with the new color also after a person reloads the page. Thanks in advance!
Satanasov
Registered User
Posts: 1215
Joined: Sun Jul 29, 2012 5:48 am
Name: Stanislav Atanasov
Contact:

Re: [DEV] Post Love

Post by Satanasov »

KenTSA wrote:
Mon Mar 12, 2018 11:28 am
can add number of total likes recived in profile? like: Likes: 8 Hearths
COuld be done ... when I have time. :)
For list of all my extensions go to https://github.com/satanasov
If you want custom functions in some of my products - PM me and we will discuss it.
Satanasov
Registered User
Posts: 1215
Joined: Sun Jul 29, 2012 5:48 am
Name: Stanislav Atanasov
Contact:

Re: [DEV] Post Love

Post by Satanasov »

BeingHonest wrote:
Sun Mar 18, 2018 12:34 am
Hey guys, how would the IF statement look if I want to check if a particular post was liked? I am using a button instead of a heart that changes to other color when you like the post but then I want it to stay with the new color also after a person reloads the page. Thanks in advance!
https://github.com/satanasov/postlove/b ... p#L67-L166

This is the part of the code that does it.
For list of all my extensions go to https://github.com/satanasov
If you want custom functions in some of my products - PM me and we will discuss it.
aleso13
Registered User
Posts: 2
Joined: Sat Mar 24, 2018 7:11 pm
Contact:

Re: [DEV] Post Love

Post by aleso13 »

Satanasov wrote:
Sun Mar 18, 2018 10:17 pm
BeingHonest wrote:
Sun Mar 18, 2018 12:34 am
Hey guys, how would the IF statement look if I want to check if a particular post was liked? I am using a button instead of a heart that changes to other color when you like the post but then I want it to stay with the new color also after a person reloads the page. Thanks in advance!
https://github.com/satanasov/postlove/b ... p#L67-L166

This is the part of the code that does it.
Brooo This actually works! Much thanks for sharing this bit of code! (You literally saved hours of my time)
I'm a huge fan of phpbb (still after all these years) My most recent project can be found here
Post Reply

Return to “Extensions in Development”