Page 1 of 52

[DEV] Post Love

Posted: Mon Jun 09, 2014 1:11 pm
by Satanasov
Post Love 1.1.x (for phpBB 3.1.x)
Image Image
Post Love 1.2.x (for phpBB 3.2.x)
Image Image
Post Love

Description:

Add "like"/love (as it uses small heart) to the posts.
As a popup you can see who have liked/loved the post.

Features:

Postview:
- Show small heart under every post
- Togle like/love
- Show as tooltip who have loked the post
- Show how many posts the user liked in mini profile
- Show ho many of the user posts have been liked in mini profile

ACP:
- Enable/disable main CSS (CSS classes can be redefined
- Allow showing of liked posts count in mini profile (postview)
- Allow showing of user's posts that have been liked count in mini profile (postview)

Installation:

- create $phpbb_root/ext/anavaro folder
- cd $phpbb_root/ext/anavaro
- git clone https://github.com/satanasov/postlove.git
- Go to admin panel -> customize -> extensions -> install post love

Credits:

@phpbb-es aka Raul [ThE KuKa]

Submitting translations/functions

Please fork the repo and submit every translation/patch as Pull Request.

==========================================================
Adding themes to the extension:

It is now possible to add themes to the extension. This can be done by pushing a PR or sending me a zip file with your theme.

What should the theme look like?

You can see the structure of the theme here.

About the JSON:

The JSON file describes the theme.

Code: Select all

{
	"name": "Default",
	"author": "Stanislav Atanasov",
	"description": "Default Post Love Theme!",
	"support": [
		"ProSilver"
	],
	"preview": "preview.jpg"
}
The file should have the same name as the theme folder. This name will be the theme unique string. The preview image is not necessary but it will give some basic info for how the theme looks like.

Tests:

You should write your tests. Add your theme in tests/functional/postlove_theme_test.php after the first test. Start creating ...[/s]
Styles are deprecated for the moment.

Re: [BETA] Post Love

Posted: Wed Jun 11, 2014 11:01 am
by MrC
Great mod, however i don't see a tooltip of who liked the post.

Re: [BETA] Post Love

Posted: Wed Jun 11, 2014 5:30 pm
by Satanasov
Put you mouse over the count (it only works for the count) and it should appear.

Re: [BETA] Post Love

Posted: Wed Jun 11, 2014 6:08 pm
by MrC
Yes, i see it now.

Is it possible to have a notification when someone likes a post?

Re: [BETA] Post Love

Posted: Wed Jun 11, 2014 8:05 pm
by Satanasov
Yes ... but I am working on other extensions for the moment ...

This will take some time ...

And this will integrate with a kind of User Activity Log

:twisted:

Re: [BETA] Post Love

Posted: Wed Jun 11, 2014 8:31 pm
by RAGEstacker
great work

Re: [BETA] Post Love

Posted: Fri Jun 13, 2014 8:13 pm
by @Marcin
any demo/screen?

Re: [BETA] Post Love

Posted: Fri Jun 13, 2014 8:26 pm
by MrC
http://www.spaapen.net/31/viewtopic.php?f=2&t=1
I've modified a bit, but the result is the same.

Re: [BETA] Post Love

Posted: Sun Jun 15, 2014 5:18 am
by Satanasov
HAH! A great modification.

Re: [BETA] Post Love

Posted: Mon Jun 16, 2014 8:56 pm
by mrgtb
Do you plan to stop guests being able to rate posts?

Re: [BETA] Post Love

Posted: Mon Jun 16, 2014 9:58 pm
by Satanasov
Now that is something I never thought about ... as this is directly derived from a board I manage (which is not publicly accessible) ...

I will integrate a check and option tomorrow ...

Re: [BETA] Post Love

Posted: Mon Jun 16, 2014 11:37 pm
by Jessica
More suggestions:
Liked/Likes count (your posts which received likes, and posts you gave a like) in mini profile
List of x recent post likes (you made) in profile

Re: [BETA] Post Love

Posted: Tue Jun 17, 2014 8:10 am
by Satanasov
@Jessica - this extension is made to be integrated with a something like user activity log - a list of the last thing the user did - what he/she liked, what of his/hers was liked (this is the current way it works).

And this log will be expanded with pictures (using nickvergessen's phpbb gallery when it is migrated) and what ever I fancy.

Liked/likes in mini profile ... - this can be done.

I think I'll make some work don tonight ...

Re: [BETA] Post Love

Posted: Wed Jun 18, 2014 2:44 am
by Satanasov
Hello all.

Just a quick heads up - this extension is moved to a new repo. And there are some small changes to the code - nothing significant, just cleaning some comments and removin un needed code.

The only major thing is that this time the extension has the abbility to check for new versions. Have fun.

Re: [BETA] Post Love

Posted: Sat Jun 28, 2014 4:50 pm
by Darkness_demoN
Favorite !