[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)
Satanasov
Registered User
Posts: 1017
Joined: Sun Jul 29, 2012 5:48 am

Re: [DEV] Post Love

Post by Satanasov » Mon Aug 14, 2017 4:23 pm

EmmaL wrote:
Mon Aug 14, 2017 12:23 pm
If I uncomment get_reference, it works:

Image
Yep ... you are right ... apparently I forgot to remove the comment after the last debug. Thanks!

MarkFive
Registered User
Posts: 1
Joined: Sat Aug 19, 2017 11:15 am

Re: [DEV] Post Love

Post by MarkFive » Sat Aug 19, 2017 11:26 am

Hi everyone,

For those interested, I have added a small code change to enable/disable the "unloving" of a previously loved post.

Changes are really small. Maybe the author would like to add them to the original Post Love ?

Contact me via PM if you're interested.

M Gravlee
Registered User
Posts: 4
Joined: Fri Mar 25, 2016 6:43 pm

Re: [DEV] Post Love

Post by M Gravlee » Sat Aug 19, 2017 1:45 pm

Perfect!

Jansither
Registered User
Posts: 12
Joined: Sat Jul 15, 2017 7:47 pm

Re: [DEV] Post Love

Post by Jansither » Tue Aug 29, 2017 4:53 am

Hi
I might be a bit of a dope, but I installed it using your instructions yet do not see it under the customise - extensions.
forum2/ext/anavaro/postlove-master
It's probably something really obvious and dumb I've (not) done, so pardon me.

EmmaL
Registered User
Posts: 21
Joined: Tue Feb 28, 2017 5:23 pm

Re: [DEV] Post Love

Post by EmmaL » Tue Aug 29, 2017 6:07 am

Please remove the -master part of the directory name...

Jansither
Registered User
Posts: 12
Joined: Sat Jul 15, 2017 7:47 pm

Re: [DEV] Post Love

Post by Jansither » Tue Aug 29, 2017 5:01 pm

Jeez... lol, thank you.

moose5
Registered User
Posts: 29
Joined: Fri Dec 11, 2015 12:05 pm

Re: [DEV] Post Love

Post by moose5 » Sun Sep 03, 2017 4:20 pm

I am having issues with the notifications, too. Some seem to get created in the notifications table, some don't. What are the settings for them again?
I am running 3.2.0 with the latest master from github (1.2.1)
Thanks!!

Satanasov
Registered User
Posts: 1017
Joined: Sun Jul 29, 2012 5:48 am

Re: [DEV] Post Love

Post by Satanasov » Thu Sep 07, 2017 2:10 pm

Please provide additional information.

Protopia
Registered User
Posts: 17
Joined: Sun Nov 14, 2004 3:27 pm

Re: [DEV] Post Love

Post by Protopia » Wed Sep 20, 2017 3:40 pm

How [DEV] is this now?

Satanasov
Registered User
Posts: 1017
Joined: Sun Jul 29, 2012 5:48 am

Re: [DEV] Post Love

Post by Satanasov » Thu Sep 21, 2017 2:19 am

Protopia wrote:
Wed Sep 20, 2017 3:40 pm
How [DEV] is this now?
Like part works, list of liked things works. No major issues. I use it in a live board with no negative impact.

Alex-2.5
Registered User
Posts: 4
Joined: Mon Oct 09, 2017 7:26 am

Re: [DEV] Post Love

Post by Alex-2.5 » Mon Oct 09, 2017 7:41 am

Hello,

i was looking for a "Thanks for Post" Addon, and this seems to be the perfect one :)
Thanks for that!

But i have one problem with 3.2.1 and my Style.
Does it only work with the original phpBB Style?

It does work OK, users can press the like button but at the top of each page i have this error message:

Code: Select all

[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/language/language.php on line 313: vsprintf(): Too few arguments
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
Is there anything i can do?
The Line 313 of language.php is that:

Code: Select all

return vsprintf($lang, $args);
And Line 4516 of functions.php:

Code: Select all

header((string) $hname . ': ' . (string) $hval);
Maybe someone can help :)

Thanks
Alex

User avatar
Mick
Support Team Member
Support Team Member
Posts: 17832
Joined: Fri Aug 29, 2008 9:49 am
Location: Cardiff

Re: [DEV] Post Love

Post by Mick » Mon Oct 09, 2017 8:06 am

If it works with prosilver but not the style you’re using you should ask the style author why. Is the style up to date?
"The more connected we get the more alone we become" - Kyle Broflovski

There are no ‘threads’ in phpBB, they are topics.
Forza Garibaldi

Alex-2.5
Registered User
Posts: 4
Joined: Mon Oct 09, 2017 7:26 am

Re: [DEV] Post Love

Post by Alex-2.5 » Mon Oct 09, 2017 8:10 am

Mick wrote:
Mon Oct 09, 2017 8:06 am
If it works with prosilver but not the style you’re using you should ask the style author why. Is the style up to date?
Thanks a lot.

The Style should be up to date.
It is the "cubes" style.
https://www.phpbb.com/customise/db/style/cubes/

I will ask the author if he can help me.

Thanks
Alex

Satanasov
Registered User
Posts: 1017
Joined: Sun Jul 29, 2012 5:48 am

Re: [DEV] Post Love

Post by Satanasov » Mon Oct 09, 2017 8:44 am

All my extensions are developed under prosilver. And I don't test them under other styles. Sorry but with all the styles available around - I just can't handle it.

On the question - yes it works ok with prosilver.

Post Reply

Return to “Extensions in Development”

Who is online

Users browsing this forum: Anuj Dhawan, fliper4o, igorbond, remoss, zorni and 24 guests

cron