[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)
ItchyBear
Registered User
Posts: 41
Joined: Tue Jul 28, 2015 7:37 am

Re: [BETA] Post Love

Post by ItchyBear » Mon Sep 14, 2015 4:43 pm

Lucifer4o wrote:Please review the modify_post_row function in Event and the appropriate event in style ...
Thanks for the reply man but I am struglling to change the order in which the likes appear :/ dumb I know :(

Regarding the errors, I don't know what happened and good news is I can't replicate it! I've upgraded to 3.1.6 and re-installed, so far it seems to be working without a problem.

Thanks for your help, for the mod and if you can spare a minute to spell out what I need to do to re-order the likes you'll earn a virtual beer in any pub you like 8-)

Satanasov
Registered User
Posts: 1193
Joined: Sun Jul 29, 2012 5:48 am
Name: Stanislav Atanasov
Contact:

Re: [BETA] Post Love

Post by Satanasov » Mon Sep 14, 2015 5:24 pm

ItchyBear wrote:
Lucifer4o wrote:Please review the modify_post_row function in Event and the appropriate event in style ...
Thanks for the reply man but I am struglling to change the order in which the likes appear :/ dumb I know :(

Regarding the errors, I don't know what happened and good news is I can't replicate it! I've upgraded to 3.1.6 and re-installed, so far it seems to be working without a problem.

Thanks for your help, for the mod and if you can spare a minute to spell out what I need to do to re-order the likes you'll earn a virtual beer in any pub you like 8-)
What do you mean - reorder the likes?
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.

ItchyBear
Registered User
Posts: 41
Joined: Tue Jul 28, 2015 7:37 am

Re: [BETA] Post Love

Post by ItchyBear » Tue Sep 15, 2015 6:05 am

As in my earlier post, I need to re-order the likes so they appear below the custom user field, as in this sample; and I'm really struggling with it for some bizzare reason?

Image
After
Image

Satanasov
Registered User
Posts: 1193
Joined: Sun Jul 29, 2012 5:48 am
Name: Stanislav Atanasov
Contact:

Re: [BETA] Post Love

Post by Satanasov » Tue Sep 15, 2015 12:07 pm

ItchyBear wrote:As in my earlier post, I need to re-order the likes so they appear below the custom user field, as in this sample; and I'm really struggling with it for some bizzare reason?

Image
After
Image
Hello there.

This is easy, but I will not push a change (you will have to make it manually).

Please go in $phpbb_root_path/ext/anavaro/postlove/styles/prosilver/template/event and rename viewtopic_body_postrow_custom_fields_after.html to viewtopic_body_contact_fields_after.html
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.

MaFeSa
Registered User
Posts: 174
Joined: Wed Feb 11, 2009 7:48 am

Re: [BETA] Post Love

Post by MaFeSa » Tue Sep 15, 2015 7:47 pm

Lucifer4o wrote:This is easy, but I will not push a change
Excuse why not ? It is much more clean and tidy.

User avatar
GoBieN
Registered User
Posts: 543
Joined: Fri Mar 05, 2004 5:22 pm
Location: Belgium
Contact:

Re: [BETA] Post Love

Post by GoBieN » Tue Sep 15, 2015 8:11 pm

I don't agree, it's the specific post you like, not the user, so I think it's better in the post field.

cycling
Registered User
Posts: 22
Joined: Wed Sep 16, 2015 7:36 am

Re: [BETA] Post Love

Post by cycling » Wed Sep 16, 2015 7:45 am

Hi,

Is it possible to change layout like this;
Image

The heart symbol is at the end of "div.postcontent", is it possible to place it at the end of "div.inner" and place user names at the right of heart symbol.

And 1 more thing, there is something wrong with my "Post Liked" symbol :),
Image

Satanasov
Registered User
Posts: 1193
Joined: Sun Jul 29, 2012 5:48 am
Name: Stanislav Atanasov
Contact:

Re: [BETA] Post Love

Post by Satanasov » Wed Sep 16, 2015 8:26 am

cycling wrote:Hi,

Is it possible to change layout like this;
Image

The heart symbol is at the end of "div.postcontent", is it possible to place it at the end of "div.inner" and place user names at the right of heart symbol.

And 1 more thing, there is something wrong with my "Post Liked" symbol :),
Image
If there is template event - you can do it.

The second issue should be fixed in the updated version.
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.

cycling
Registered User
Posts: 22
Joined: Wed Sep 16, 2015 7:36 am

Re: [BETA] Post Love

Post by cycling » Wed Sep 16, 2015 8:51 am

Lucifer4o wrote: If there is template event - you can do it.

The second issue should be fixed in the updated version.
I'm totally a newbie about PhpBB :).

I guess this is the event I'm looking for "viewtopic_body_postrow_post_content_footer". I changed the file name to this (both ext/anavaro/postlove/styles/prosilver/template/event/ and ext/anavaro/postlove/styles/all/template/event/ ) but couldn't succeed...

The only question in my mind is "How?"

ItchyBear
Registered User
Posts: 41
Joined: Tue Jul 28, 2015 7:37 am

Re: [BETA] Post Love

Post by ItchyBear » Wed Sep 16, 2015 9:17 am

Lucifer4o wrote:Hello there.

This is easy, but I will not push a change (you will have to make it manually).

Please go in $phpbb_root_path/ext/anavaro/postlove/styles/prosilver/template/event and rename viewtopic_body_postrow_custom_fields_after.html to viewtopic_body_contact_fields_after.html
Thank you for this, but I now have 2x 'Liked' totals, one above the Contacts and one below :)
I would never have thought to change the file name in Events to achieve this.

Can you tell me how I remove the original, I've purged the cache and reloaded the page but it still remains?

Sincerely appreciate your help Lucifer4o.

~ RESOLVED ~

I'm sure this isn't good-practice but I commented out the Like and Liked lines in the /styles/all/event/viewtopic_body_postrow_custom_fields_after.html file & it no longer displays the Liked total above the Contact details.

Big thanks for your help... it's a brilliant ext & adds tremendous value to our board. :)

cycling
Registered User
Posts: 22
Joined: Wed Sep 16, 2015 7:36 am

Re: [BETA] Post Love

Post by cycling » Thu Sep 17, 2015 9:18 am

I just added Turkish translation to GitHub;

https://github.com/edipdincer/postlove/ ... anguage/tr

But there are 2 problems;

1) If I set "Author can like posts" to "NO", author of the topic cannot like other users' posts in that topic.

2) If I set theme to "SilvorMike" everything disappears unless if I set "Author can like posts" to "YES".. And when this theme set, User's like counts on the postbit disappears. :mrgreen:

Satanasov
Registered User
Posts: 1193
Joined: Sun Jul 29, 2012 5:48 am
Name: Stanislav Atanasov
Contact:

Re: [BETA] Post Love

Post by Satanasov » Fri Sep 18, 2015 2:26 am

cycling wrote:I just added Turkish translation to GitHub;

https://github.com/edipdincer/postlove/ ... anguage/tr

But there are 2 problems;

1) If I set "Author can like posts" to "NO", author of the topic cannot like other users' posts in that topic.

2) If I set theme to "SilvorMike" everything disappears unless if I set "Author can like posts" to "YES".. And when this theme set, User's like counts on the postbit disappears. :mrgreen:
I will check the author of topic issue.

As for the "not default theme" - I'm not supporting it. This was something commited.
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.

Calman
Registered User
Posts: 339
Joined: Sat Jul 12, 2008 1:01 am
Location: Okanagan Valley, Canada
Contact:

Re: [BETA] Post Love

Post by Calman » Sun Sep 20, 2015 6:11 pm

Lucifer4o wrote:
Skerwer wrote:Hi , I am a beginner in the phpbb , I opened my forum and I want to install this for a modified theme , but do not understand how to install this extension , I made a folder called anavaro in EXT folder in anavaro I copied files from winrar love of description, the thing is that he did not appear to install the admin panel extensions , what I do wrong ? nice thanks.

Sorry for my english .
Your file structure should be $phpbb_root/ext/anavaro/postlove and in poslove you should copy all files ...
MANY THANKS!!!! for this, as it was exactly the problem I had. I unpacked the original source folder "postlove-master" and Ftp'd the files into {my forum path}/ext/anavaro. Then I tried simply copying the files inside "postlove-master" and dump them into /anavaro with no joy. Unless I originally missed something, the path from the source web site was misleading, but this post cleared things up nicely.

Kind Regards,
Cal :)
Visiting, Researching or Relocating to the Okanagan Valley in BC?
http://www.okanaganforum.com

joedevivre
Registered User
Posts: 44
Joined: Wed Nov 05, 2014 11:40 pm

Re: [BETA] Post Love

Post by joedevivre » Mon Sep 21, 2015 11:48 pm

I updated this last night to the latest version and now I can't "heart" posts in topics that I have already posted in?


Edit: Also,Just noticed there is also no settings for this in board features anymore?

Satanasov
Registered User
Posts: 1193
Joined: Sun Jul 29, 2012 5:48 am
Name: Stanislav Atanasov
Contact:

Re: [BETA] Post Love

Post by Satanasov » Tue Sep 22, 2015 9:55 pm

joedevivre wrote:I updated this last night to the latest version and now I can't "heart" posts in topics that I have already posted in?


Edit: Also,Just noticed there is also no settings for this in board features anymore?
I have some health issues for the moment, but I will take a look in that topic thing you are talking.

There is no more options in features, because there is a new extension admin panel.
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.

Post Reply

Return to “Extensions in Development”