[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)
Smorawski
Registered User
Posts: 8
Joined: Mon Jun 19, 2017 1:55 pm

Re: [DEV] Post Love

Post by Smorawski » Mon Jun 19, 2017 2:02 pm

Satanasov wrote:
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.
Hi Satanasov

First of all.... im very exited to see what you have done with this Post Love.

But are i a complete idiot :?: :?: Because i cant find the ver. 3.2 install file postlove.git

PLEASE help, so we could get a beer together ;)

Cheers

zoetrope
Registered User
Posts: 67
Joined: Tue Dec 31, 2002 4:57 pm

Re: [DEV] Post Love

Post by zoetrope » Mon Jun 19, 2017 2:48 pm


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

Re: [DEV] Post Love

Post by Satanasov » Mon Jun 19, 2017 9:37 pm

peteetongman wrote:
Mon Jun 19, 2017 1:11 pm
Thanks Satanasov! Glad you revived this extension
It was never dead ... I just didn't have the time to work on it ...

Smorawski
Registered User
Posts: 8
Joined: Mon Jun 19, 2017 1:55 pm

Re: [DEV] Post Love

Post by Smorawski » Tue Jun 20, 2017 5:08 am

zoetrope wrote:
Mon Jun 19, 2017 2:48 pm
I was confused too.

Go to https://github.com/satanasov/postlove.git

Do this: http://imgur.com/a/i5KQ1
:oops: doohhh... NOT seen this :)

Thanks !!

zoetrope
Registered User
Posts: 67
Joined: Tue Dec 31, 2002 4:57 pm

Re: [DEV] Post Love

Post by zoetrope » Tue Jun 20, 2017 11:50 am

No problem, I was totally confused too but now I have it up and running without a hitch.

aelole
Registered User
Posts: 7
Joined: Sun Jul 16, 2017 7:45 pm

Re: [DEV] Post Love

Post by aelole » Sun Jul 16, 2017 7:50 pm

Hello and many thanks for this great extension!

I want to ask you how do I remove the "x" symbol between the number of likes and the heart icon?

silneil
Registered User
Posts: 62
Joined: Sat Apr 15, 2006 8:03 pm

Re: [DEV] Post Love

Post by silneil » Tue Jul 18, 2017 2:09 pm

Cool! So, now only works in Prosilver?

ATPTourFan
Registered User
Posts: 19
Joined: Mon Nov 11, 2013 9:01 pm

Re: [DEV] Post Love

Post by ATPTourFan » Wed Jul 19, 2017 12:07 pm

Hello, I have been running PostLove worry free on my 3.1.10 forum for almost a year.

Today extensions manager showed a new version available.

I disabled extension in the ACP. I deleted the postlove directory inside the php$/ext/anavaro/

I downloaded the zip from github and copied entire postlove folder into the /anavaro/ folder

Then i refreshed ACP ext manager. It showed new postlove at bottom as disabled (good so far)

Then right when clicking ENABLE, ACP froze, never refreshed page, and server is HTTP 500 error white screen everywhere.

silneil
Registered User
Posts: 62
Joined: Sat Apr 15, 2006 8:03 pm

Re: [DEV] Post Love

Post by silneil » Wed Jul 19, 2017 3:42 pm

Hi there,

This happened to me too:


I installed it and now I can not access the Admin Panel. Can anyone tell me how I can manually disable the extension?

ATPTourFan
Registered User
Posts: 19
Joined: Mon Nov 11, 2013 9:01 pm

Re: [DEV] Post Love

Post by ATPTourFan » Wed Jul 19, 2017 3:56 pm

I cannot load any portion of my phpbb 3.1.10 forum without HTTP 500 error.

zoetrope
Registered User
Posts: 67
Joined: Tue Dec 31, 2002 4:57 pm

Re: [DEV] Post Love

Post by zoetrope » Wed Jul 19, 2017 3:58 pm

Try deleting the post love folder via FTP, then load your forum and see if that works.

ATPTourFan
Registered User
Posts: 19
Joined: Mon Nov 11, 2013 9:01 pm

Re: [DEV] Post Love

Post by ATPTourFan » Wed Jul 19, 2017 4:01 pm

That was the very first thing I did. Removed it via FTP.

I've had my host restore from overnight backup the entire HTTP files structure housing my phpbb installation and i still have HTTP 500.

silneil
Registered User
Posts: 62
Joined: Sat Apr 15, 2006 8:03 pm

Re: [DEV] Post Love

Post by silneil » Wed Jul 19, 2017 4:11 pm

I disable using this metod and the forum works again:

https://3di.space/32/viewtopic.php?f=3&t=17

ATPTourFan
Registered User
Posts: 19
Joined: Mon Nov 11, 2013 9:01 pm

Re: [DEV] Post Love

Post by ATPTourFan » Wed Jul 19, 2017 4:46 pm

Thx for that link. I went to phpMyadmin and set the postlove extension flag to 0. I cleared the /cache/ directory except for index.htm file and .htaccess (although i did not have a file named exactly .htaccess) in there.

Is there some trick to get a working .htacess file for phpBB 3.1 ?

silneil
Registered User
Posts: 62
Joined: Sat Apr 15, 2006 8:03 pm

Re: [DEV] Post Love

Post by silneil » Wed Jul 19, 2017 6:53 pm

If you have unintentionally deleted the .htaccess file from the cache folder, download 3.1 and just send that file to the directory. Remember that you must delete the entire cache, including the Twig folder, leaving only index.html and .htaccess.

Post Reply

Return to “Extensions in Development”

Who is online

Users browsing this forum: imkingdavid, kustajuspin, pszyman, zcrox69 and 34 guests