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

[DEV] Post Love

Post by Satanasov » Mon Jun 09, 2014 1:11 pm

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.
Last edited by Satanasov on Tue Jun 20, 2017 5:12 am, edited 21 times in total.

MrC
Registered User
Posts: 857
Joined: Mon Jun 30, 2003 4:11 pm
Location: The Netherlands
Name: Ivo
Contact:

Re: [BETA] Post Love

Post by MrC » Wed Jun 11, 2014 11:01 am

Great mod, however i don't see a tooltip of who liked the post.

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

Re: [BETA] Post Love

Post by Satanasov » Wed Jun 11, 2014 5:30 pm

Put you mouse over the count (it only works for the count) and it should appear.

MrC
Registered User
Posts: 857
Joined: Mon Jun 30, 2003 4:11 pm
Location: The Netherlands
Name: Ivo
Contact:

Re: [BETA] Post Love

Post by MrC » Wed Jun 11, 2014 6:08 pm

Yes, i see it now.

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

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

Re: [BETA] Post Love

Post by Satanasov » Wed Jun 11, 2014 8:05 pm

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:

User avatar
RAGEstacker
Registered User
Posts: 41
Joined: Sun Mar 23, 2014 11:46 am
Location: Italy
Contact:

Re: [BETA] Post Love

Post by RAGEstacker » Wed Jun 11, 2014 8:31 pm

great work
I'm from Italy

User avatar
@Marcin
Registered User
Posts: 19
Joined: Wed Feb 01, 2012 12:05 pm
Location: Milton Keynes
Name: Marcin
Contact:

Re: [BETA] Post Love

Post by @Marcin » Fri Jun 13, 2014 8:13 pm

any demo/screen?

MrC
Registered User
Posts: 857
Joined: Mon Jun 30, 2003 4:11 pm
Location: The Netherlands
Name: Ivo
Contact:

Re: [BETA] Post Love

Post by MrC » Fri Jun 13, 2014 8:26 pm

http://www.spaapen.net/31/viewtopic.php?f=2&t=1
I've modified a bit, but the result is the same.

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

Re: [BETA] Post Love

Post by Satanasov » Sun Jun 15, 2014 5:18 am

HAH! A great modification.

User avatar
mrgtb
Registered User
Posts: 467
Joined: Wed Oct 03, 2007 10:51 am

Re: [BETA] Post Love

Post by mrgtb » Mon Jun 16, 2014 8:56 pm

Do you plan to stop guests being able to rate posts?

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

Re: [BETA] Post Love

Post by Satanasov » Mon Jun 16, 2014 9:58 pm

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 ...

User avatar
Jessica
Community Team Member
Community Team Member
Posts: 4340
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [BETA] Post Love

Post by Jessica » Mon Jun 16, 2014 11:37 pm

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
Please do not PM me for support unless it is absolutely necessary
Pro-choice, Atheist, Pro-LGBT rights

Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein

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

Re: [BETA] Post Love

Post by Satanasov » Tue Jun 17, 2014 8:10 am

@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 ...

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

Re: [BETA] Post Love

Post by Satanasov » Wed Jun 18, 2014 2:44 am

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.

User avatar
Darkness_demoN
Registered User
Posts: 94
Joined: Sat Jun 16, 2012 2:20 pm

Re: [BETA] Post Love

Post by Darkness_demoN » Sat Jun 28, 2014 4:50 pm

Favorite !

Post Reply

Return to “Extensions in Development”

Who is online

Users browsing this forum: Puchahawa and 32 guests

cron