[ABD] Member Reputation

Any abandoned Extensions will be moved to this forum.

WARNING: Extensions in this forum are not currently being supported or maintained by the original Extension author. Proceed at your own risk.
Forum rules
IMPORTANT: Extension Development Forum rules

WARNING: Extensions in this forum are not currently being supported nor updated by the original Extension author. Proceed at your own risk.
User avatar
danieltj
Infrastructure Team Member
Infrastructure Team Member
Posts: 633
Joined: Thu May 03, 2018 9:32 pm
Location: United Kingdom
Name: Daniel James

[ABD] Member Reputation

Post by danieltj »

Extension Name: Member Reputation
Author: danieltj

Extension Description: Lets user's like and dislike posts that contribute towards reputation.
Extension Version: 0.2.0

Requirements:
php: 7.0 or later
phpbb: 3.3.0 or later

Features:
  • User's can like posts
  • User's can dislike posts
  • Displays user reputation on view topic, view pm & profile pages
  • Permissions to restrict like or dislike actions
Wishlist:
  • Showing like count under liked / disliked posts
  • Add support for flood limiting likes/dislikes
  • Add notifications on liking / disliking posts
  • Add some kind of 'top list' feature
Screenshots:
viewtopic-post-buttons-like-dislike.png
viewtopic-post-buttons-liked.png
viewtopic-post-buttons-disliked.png
member-profile-profile-info.png
ucp-pm-view-profile.png

Extension Download: None

Notes:
This extension is not ready to be used on production environments yet. Please report any bugs you find.
You do not have the required permissions to view the files attached to this post.
Last edited by danieltj on Fri May 31, 2024 4:20 pm, edited 8 times in total.
User avatar
danieltj
Infrastructure Team Member
Infrastructure Team Member
Posts: 633
Joined: Thu May 03, 2018 9:32 pm
Location: United Kingdom
Name: Daniel James

Re: [3.3][BETA] Member Reputation

Post by danieltj »

Extension is now available to download from GitHub. See first post for link.

You must place the extension files inside ext/danieltj/memberreputation for it to work correctly.
User avatar
Kailey
Community Team Leader
Community Team Leader
Posts: 3963
Joined: Mon Sep 01, 2014 1:00 am
Location: sudo rm -rf /
Name: Kailey Snay

Re: [3.3][BETA] Member Reputation

Post by Kailey »

Glad to see this extension posted, awesome job!

Code: Select all

return [ '\phpbb\db\migration\data\v31x\v314rc1' ];
Since 3.1 is no longer supported, maybe bump this up to 3.2?

In your controllers, you should use the language class. So instead of

Code: Select all

throw new \phpbb\exception\http_exception( 404, 'CANNOT_DISLIKE_NO_EXIST_POST' );
replace it with

Code: Select all

throw new \phpbb\exception\http_exception( 404, $this->lang->lang('CANNOT_DISLIKE_NO_EXIST_POST') );
Obviously make sure you include the language dependency.

I haven't looked thoroughly at the code, those are just things that stood out. ;)
Kailey Snay - Community Team Leader
Knowledge Base | Documentation | Community rules
If you have any questions about the rules/customs of this website, feel free to send me a PM.

My little corner of the world | Administrator @ phpBB Modders
User avatar
danieltj
Infrastructure Team Member
Infrastructure Team Member
Posts: 633
Joined: Thu May 03, 2018 9:32 pm
Location: United Kingdom
Name: Daniel James

Re: [3.3][BETA] Member Reputation

Post by danieltj »

Kailey wrote: Fri Apr 15, 2022 6:42 pm Glad to see this extension posted, awesome job!

Code: Select all

return [ '\phpbb\db\migration\data\v31x\v314rc1' ];
Since 3.1 is no longer supported, maybe bump this up to 3.2?

In your controllers, you should use the language class. So instead of

Code: Select all

throw new \phpbb\exception\http_exception( 404, 'CANNOT_DISLIKE_NO_EXIST_POST' );
replace it with

Code: Select all

throw new \phpbb\exception\http_exception( 404, $this->lang->lang('CANNOT_DISLIKE_NO_EXIST_POST') );
Obviously make sure you include the language dependency.

I haven't looked thoroughly at the code, those are just things that stood out. ;)
Thank you for the advice, I'll address those issues in an upcoming version :)
zzonde
Registered User
Posts: 4
Joined: Mon Aug 06, 2018 10:59 am

Re: [3.3][BETA] Member Reputation

Post by zzonde »

Awesome job. Is it possible to import likes from other extensions like for example Post Love?
User avatar
danieltj
Infrastructure Team Member
Infrastructure Team Member
Posts: 633
Joined: Thu May 03, 2018 9:32 pm
Location: United Kingdom
Name: Daniel James

Re: [3.3][BETA] Member Reputation

Post by danieltj »

zzonde wrote: Tue Apr 19, 2022 7:18 am Awesome job. Is it possible to import likes from other extensions like for example Post Love?
No right now, no. It's quite early days but if my extension proves popular I'll consider doing that.
zzonde
Registered User
Posts: 4
Joined: Mon Aug 06, 2018 10:59 am

Re: [3.3][BETA] Member Reputation

Post by zzonde »

danieltj wrote: Tue Apr 19, 2022 7:32 am
zzonde wrote: Tue Apr 19, 2022 7:18 am Awesome job. Is it possible to import likes from other extensions like for example Post Love?
No right now, no. It's quite early days but if my extension proves popular I'll consider doing that.
Sounds good! Just tested on my testboard and it works well. Would be very nice with a counter for Like and Dislike on each reply.
User avatar
danieltj
Infrastructure Team Member
Infrastructure Team Member
Posts: 633
Joined: Thu May 03, 2018 9:32 pm
Location: United Kingdom
Name: Daniel James

Re: [3.3][BETA] Member Reputation

Post by danieltj »

That's my next thing to do is to add basic stats to the bottom of each post. It's coming soon (ish!).
User avatar
danieltj
Infrastructure Team Member
Infrastructure Team Member
Posts: 633
Joined: Thu May 03, 2018 9:32 pm
Location: United Kingdom
Name: Daniel James

Re: [3.3][BETA] Member Reputation

Post by danieltj »

I've released an update that includes some bug fixes and some new features.
  • Minor bug fixes and code tweaks
  • Add post like & dislike counts to the bottom of each post
  • Add a notification for users to know when their post has been liked or disliked

member-rep-post-like-count-meta.png


Please Note:
You must uninstall and then reinstall the extension from your board for the 0.2.0 update to work. This is because of changes to the database schema were made and there is no natural upgrade path implemented. Please ensure you uninstall and delete all previous data and then reinstall otherwise you will experience php fatal errors.
You do not have the required permissions to view the files attached to this post.
hicmed
Registered User
Posts: 58
Joined: Mon Feb 01, 2021 5:42 pm

Re: [3.3][BETA] Member Reputation

Post by hicmed »

awesome going test it ;)
deninho32
Registered User
Posts: 240
Joined: Tue May 21, 2019 8:57 am

Re: [3.3][BETA] Member Reputation

Post by deninho32 »

This looks really nice! If it's possible to import from Thanks for post extension in the future I`ll definitely use this one on my board.
phpBB 3.3.7 | PHP Version 7.4.33 | Milk Theme
User avatar
danieltj
Infrastructure Team Member
Infrastructure Team Member
Posts: 633
Joined: Thu May 03, 2018 9:32 pm
Location: United Kingdom
Name: Daniel James

Re: [3.3][BETA] Member Reputation

Post by danieltj »

If there’s demand I’ll definitely look into it 🙂
NastyBoy
Registered User
Posts: 137
Joined: Wed May 31, 2017 7:03 pm
Location: Germany
Name: Tim

Re: [3.3][BETA] Member Reputation

Post by NastyBoy »

Great Tool i want to test it.
User avatar
danieltj
Infrastructure Team Member
Infrastructure Team Member
Posts: 633
Joined: Thu May 03, 2018 9:32 pm
Location: United Kingdom
Name: Daniel James

Re: [3.3][BETA] Member Reputation

Post by danieltj »

NastyBoy wrote: Tue May 03, 2022 5:29 pm Great Tool i want to test it.
Cool, have fun.
User avatar
Steve
Registered User
Posts: 1556
Joined: Tue Apr 07, 2009 7:48 pm
Location: Co. Durham, England
Name: Steven Clark

Re: [3.3][BETA] Member Reputation

Post by Steve »

I don't want to support this request: viewtopic.php?f=456&t=2615851&p=15847706#p15846566

If you want a hand with your extension, Give me a shout.(I’ll write the Ajax bit)

// edit
I forked one file on GitHub. See my small code suggestions.
@ The Chief Medical Officers guideline for men is that: You are safest not to drink regularly more than 14 units per week.
- I drank that today++ :lol: 🍺

Return to “Abandoned Extensions”