but this only work for one user, how can I separate users in link?<a href="{ROOT_PATH}/memberlist.php?mode=viewprofile&un={postrow.POST_LIKERS}">
COuld be done ... when I have time.
https://github.com/satanasov/postlove/b ... p#L67-L166BeingHonest 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!
Brooo This actually works! Much thanks for sharing this bit of code! (You literally saved hours of my time)Satanasov wrote: ↑Sun Mar 18, 2018 10:17 pmhttps://github.com/satanasov/postlove/b ... p#L67-L166BeingHonest 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!
This is the part of the code that does it.