[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)
User avatar
PayBas
Former Team Member
Posts: 930
Joined: Thu May 25, 2006 12:37 am

Re: [BETA] Post Love

Post by PayBas »

Wouldn't it be better if you use the JS to apply CSS classes instead of actual image src?
https://github.com/lucifer4o/postlove/b ... r.html#L10

That way we could style/change it easier.

User avatar
cprgolds
Registered User
Posts: 458
Joined: Thu Oct 11, 2007 5:49 am
Location: Portland, Oregon

Re: [BETA] Post Love

Post by cprgolds »

Heya lucifer4o,

Tried this with RC-2 and does not appear to work. Adjusted composer.json to allow installation.

Enabled on Customise tab of ACP, then went to Extensions tab and system crashed with this message:

Code: Select all

Catchable fatal error: Argument 4 passed to anavaro\postlove\event\main_listener::__construct() must be an instance of phpbb\db\driver\driver, instance of phpbb\db\driver\factory given in /home/venus/public_html/rc/ext/anavaro/postlove/event/main_listener.php on line 46

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

Re: [BETA] Post Love

Post by Satanasov »

Hello there ...

It's updated. Please update the extension ...
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
cprgolds
Registered User
Posts: 458
Joined: Thu Oct 11, 2007 5:49 am
Location: Portland, Oregon

Re: [BETA] Post Love

Post by cprgolds »

Heya -- Getting closer. It does not crash my system anymore, however:
  1. I had to change the composer.json file to get it to install. Edited copy attached.
  2. The extension has added another table to phpbb_posts_likes to the db, but there are no entries after testing it out and nothing and the number of hearts is not incrementing. Looks like some java activity, but happens fast enough that I can't tell more. Also, am getting this error message:

    Code: Select all

    [19-Jul-2014 20:40:39 America/Chicago] PHP Catchable fatal error:  Argument 4 passed to anavaro\postlove\controller\ajaxify::__construct() must be an instance of phpbb\db\driver\driver, instance of phpbb\db\driver\factory given, called in /home/venus/public_html/rc/cache/container_dotslash.php on line 234 and defined in /home/venus/public_html/rc/ext/anavaro/postlove/controller/ajaxify.php on line 32
Attachments
composer.txt
renamed from composer.json to allow upload
(689 Bytes) Downloaded 30 times

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

Re: [BETA] Post Love

Post by Satanasov »

Sorry ... I thout I have pushed this ...

Please switch to 1.0.1 - it is still in beta, buth this things are fixed.

https://github.com/lucifer4o/postlove/tree/1.0.1
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
cprgolds
Registered User
Posts: 458
Joined: Thu Oct 11, 2007 5:49 am
Location: Portland, Oregon

Re: [BETA] Post Love

Post by cprgolds »

Lucifer4o -- works as advertised now.

I wasn't getting on your case -- just letting you know it wasn't working in my setup.

I think this is a useful mod (whoops extension) and will probably be using it when I go the 3.1 on my real board.

Cheers,

hs

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

Re: [BETA] Post Love

Post by Satanasov »

No problem ...

I just thouth that I have pushed the patches to 1.0.0 ... but it appears I have forgoten. It's my fault ...

Glad you like 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.

User avatar
cprgolds
Registered User
Posts: 458
Joined: Thu Oct 11, 2007 5:49 am
Location: Portland, Oregon

Re: [BETA] Post Love

Post by cprgolds »

One more thought.. If you get back into this extension, would it make sense to disallow a user form "liking" his own posts?

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

Re: [BETA] Post Love

Post by Satanasov »

I don't think I will do that. This was intended function.
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
Volksdevil
Registered User
Posts: 2414
Joined: Sun Oct 03, 2010 2:03 pm
Location: Lancashire, UK
Name: Neil
Contact:

Re: [BETA] Post Love

Post by Volksdevil »

Where is the latest version? And does it work with 3.1 RC2? :)

Every version I've tried either says out of date, or it won't install. :|
My phpBB Extensions
Finally found great Website Hosting from Image KUALO!
Do NOT use 123-reg.co.uk - Incapable of running phpBB!
:ugeek: TekNeil - Streamer on Mixer | My Volkswagen Corrado G60

User avatar
cprgolds
Registered User
Posts: 458
Joined: Thu Oct 11, 2007 5:49 am
Location: Portland, Oregon

Re: [BETA] Post Love

Post by cprgolds »

Current version is 1.0.1. It worked fine for me with RC2.

User avatar
Volksdevil
Registered User
Posts: 2414
Joined: Sun Oct 03, 2010 2:03 pm
Location: Lancashire, UK
Name: Neil
Contact:

Re: [BETA] Post Love

Post by Volksdevil »

I don't seem to be having much luck with some extensions for some reason :cry:

I've just tried installing https://github.com/lucifer4o/postlove/tree/1.0.1 and when I enable it all's well. But if I do a version check I get:
phpBB 3.1 Post Love is not up to date
Version: 1.0.0b
Latest Version: 1.0.1b
And then a link to the latest download which won't install. https://github.com/lucifer4o/postlove/r ... tag/1.0.1b
My phpBB Extensions
Finally found great Website Hosting from Image KUALO!
Do NOT use 123-reg.co.uk - Incapable of running phpBB!
:ugeek: TekNeil - Streamer on Mixer | My Volkswagen Corrado G60

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

Re: [BETA] Post Love

Post by Satanasov »

This is intended.

Don't mind the version. This is the last version but will stay like this becouse it is inteded this way.

The version check is set to shou out of date, just to remind me what am I working on at the moment.
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
aldink
Registered User
Posts: 67
Joined: Wed May 16, 2012 7:32 pm
Location: Dortmund
Contact:

Re: [BETA] Post Love

Post by aldink »

It is possible to show the heart from the first post on recent topics and viewforum ? to "Like" the topic
phpBBadvanced.com - phpBB templates. 3.0.12 Zaroon (need forum account to download.)

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

Re: [BETA] Post Love

Post by Satanasov »

I can add it as a optional ... if there is a demand.
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”