[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)
User avatar
mrgtb
Registered User
Posts: 603
Joined: Wed Oct 03, 2007 10:51 am

Re: [BETA] Post Love

Post by mrgtb »

Testing it now seems to work fine leading to post made on Page 2 of a thread. Can I suggest something to keep in-line with the way notifications are displayed. Take a look at this image and you see that default phpBB notification make BOLD part the title message (bold text). Nothing is made bold in your notification


I would use this instead (liked displayed as bold) to match phpBB quote message
Liked by username in:
This is how quoted gets displayed in notifications.
Quoted by username in:
Change this in the language file

Code: Select all

	'NOTIFICATION_POSTLOVE_ADD'	=> '%1$s liked your post "%2$s"',
To this instead

Code: Select all

	'NOTIFICATION_POSTLOVE_ADD'	=> '<strong>Liked</strong> by %1$s in: "%2$s"',
IMage shows better
Image
User avatar
mrgtb
Registered User
Posts: 603
Joined: Wed Oct 03, 2007 10:51 am

Re: [BETA] Post Love

Post by mrgtb »

There is still an issue with the heart images sitting too close (butting right up below) a Quote or Code box in a post if there's no text added after it (heart is displayed right below BBCODE boxes) with no spacing.

To fix that and create some spacing in that situation. Open the template called: viewtopic_body_postrow_post_notices_after.html

Change this:

Code: Select all

<div style="float: right;" class="postlove">
to this
<div style="float: right; margin-top: 10px;" class="postlove">
That will create some margin space above the DIV
Satanasov
Registered User
Posts: 1233
Joined: Sun Jul 29, 2012 5:48 am
Name: Stanislav Atanasov
Contact:

Re: [BETA] Post Love

Post by Satanasov »

mrgtb wrote:There is still an issue with the heart images sitting too close (butting right up below) a Quote or Code box in a post if there's no text added after it (heart is displayed right below BBCODE boxes) with no spacing.

To fix that and create some spacing in that situation. Open the template called: viewtopic_body_postrow_post_notices_after.html

Change this:

Code: Select all

<div style="float: right;" class="postlove">
to this
<div style="float: right; margin-top: 10px;" class="postlove">
That will create some margin space above the DIV
Added some spacing - 5 bottom and 5 top. This fixes and problem with spacing from <hr> over the signature.
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.
User avatar
mrgtb
Registered User
Posts: 603
Joined: Wed Oct 03, 2007 10:51 am

Re: [BETA] Post Love

Post by mrgtb »

Does email work for this in user cp notification settings?

I just enabled email to test it out on a like given me and none was sent out from board
User avatar
mrgtb
Registered User
Posts: 603
Joined: Wed Oct 03, 2007 10:51 am

Re: [BETA] Post Love

Post by mrgtb »

Lucifer4o wrote:
mrgtb wrote:There is still an issue with the heart images sitting too close (butting right up below) a Quote or Code box in a post if there's no text added after it (heart is displayed right below BBCODE boxes) with no spacing.

To fix that and create some spacing in that situation. Open the template called: viewtopic_body_postrow_post_notices_after.html

Change this:

Code: Select all

<div style="float: right;" class="postlove">
to this
<div style="float: right; margin-top: 10px;" class="postlove">
That will create some margin space above the DIV
Added some spacing - 5 bottom and 5 top. This fixes and problem with spacing from <hr> over the signature.
No, think you're getting confused when I mentioned the heart sitting on HR above signature link before. This is different and I'm talking about when you add a CODE or QUOTE box in a posts (but don't have any text) displayed below it. So the heart is displayed directly below a CODE or QUOTE box. There is no spacing in that situation and why I said add margin-top to create some spacing with DIV.

No used adding it in the main CSS file because it using a float inside a DIV and needs instead to be added with that DIV as an extra style entry with float:right.
Last edited by mrgtb on Thu Jan 08, 2015 9:19 pm, edited 2 times in total.
User avatar
mrgtb
Registered User
Posts: 603
Joined: Wed Oct 03, 2007 10:51 am

Re: [BETA] Post Love

Post by mrgtb »

Removed what I posted before to avoid confusion in topic
Last edited by mrgtb on Thu Jan 08, 2015 9:18 pm, edited 1 time in total.
User avatar
mrgtb
Registered User
Posts: 603
Joined: Wed Oct 03, 2007 10:51 am

Re: [BETA] Post Love

Post by mrgtb »

Sorry, scrap all that posted about with CSS displaying heart of left side. Dam, when an attachment box gets displayed it pushed heart over to right. So no good on that, it has to be displayed on right side as you had it
cmshn
Registered User
Posts: 1
Joined: Sun Dec 28, 2014 11:46 pm

Re: [BETA] Post Love

Post by cmshn »

Hi,

It gives me AJAX Error "Not Found"
phpusher
Registered User
Posts: 9
Joined: Fri Oct 24, 2014 11:48 pm

Re: [BETA] Post Love

Post by phpusher »

Are you submitting the extension to the database any time soon? :)
Satanasov
Registered User
Posts: 1233
Joined: Sun Jul 29, 2012 5:48 am
Name: Stanislav Atanasov
Contact:

Re: [BETA] Post Love

Post by Satanasov »

phpusher wrote:Are you submitting the extension to the database any time soon? :)
This extension is still in beta and as useful it can be I don't think it is ready for submission.
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.
M1ck3y
Registered User
Posts: 4
Joined: Tue Jan 13, 2015 9:51 pm

Re: [BETA] Post Love

Post by M1ck3y »

I have no entry in ACP :/
Satanasov
Registered User
Posts: 1233
Joined: Sun Jul 29, 2012 5:48 am
Name: Stanislav Atanasov
Contact:

Re: [BETA] Post Love

Post by Satanasov »

M1ck3y wrote:I have no entry in ACP :/
This extension have no acp modules. Please check Board settings.
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.
M1ck3y
Registered User
Posts: 4
Joined: Tue Jan 13, 2015 9:51 pm

Re: [BETA] Post Love

Post by M1ck3y »

Thank you :lol:
User avatar
R3gi
Registered User
Posts: 113
Joined: Mon May 05, 2014 4:33 pm
Location: Czech Republic
Contact:

Re: [BETA] Post Love

Post by R3gi »

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

Re: [BETA] Post Love

Post by Satanasov »

R3gi wrote:Czech translation added.
Translation merged. I will be updating readme some time in the future and will include you.
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”

cron