phpBB3 Topic/Post Reactions (like,love,hate)

Extensions in Development[DEV]
Forum rules
Extensions in this forum should be tested locally. ;)
User avatar
Steve
Site Admin
Reactions: 24
Posts: 180
Joined: 13 Dec 2016, 09:43

phpBB3 Topic/Post Reactions (like,love,hate)

Post by Steve » 16 Dec 2016, 15:02

Test Post Reactions yourdomain.com(1).png
Extension Name: phpBB3 Topic/Post Reactions
Author: Steve

Emoji credits: http://emojione.com/

Credits: To those who helped test this extension, heres one for you Image

Extension Description:
Allows Users to add image reactions to your Topic or post via Ajax.

Reaction Types:
Thanks, no thanks, like, dislike, love, LOL, happy, neutral, angry etc... or add your own!!

Extension Version: 0.5.1-dev
Previously installed versions 0.1.6-dev =< of this extension in development will not work!
Due to re-coding how reactions are stored and displayed in viewtopic page.
Requirements:
  • phpBB 3.2.0 >=
  • php 5.4 >=
Features:
  • View Topic Page:
    • Add/Change/Delete Reaction via Ajax.
    • Show Topic/Post Reactions types list and count, total reaction count.
    • Link to Pop up list containing reactions by users.
  • User Profile:
    • Total Reactions count.
    • View recent reaction and full list of reactions link.
  • User Control Panel:
    • Enable /disable Reactions to your Topic/Posts.
    • Enable /disable certain Reaction types to your Topic/Post (sensitive Souls :lol: )
    • Prevent Foes from Reacting to your Topics/Posts
    • Enable/disable notifications.
    • Enable/disable reaction......()[
  • User Notifications:
    • Notifications sent via the board or email, upon receiving reactions, containing username who reacted, reaction type image, post subject and post link.
  • Pages:
    • Post reactions page, a list of users who have reacted to that post, clicking the reaction image will show a list of users of reacted with that reaction type.
    • View reactions, a page displaying users with the most reactions.
  • Admin Control Panel:
    • Enable /disable
    • Add/Edit/Delete Reaction Types
    • User Permissions
Screenshots: viewtopic.php?p=26#p26

Demo:
Viewtopic Page
Reactions Page
Previously installed versions 0.1.6-dev =< of this extension in development will not work!
Due to re-coding how reactions are stored and displayed in viewtopic page.
Download: Download Here
postreactions-ext-0.5.1-dev.zip
postreactions-ext-0.5.0-dev.zip


Donations: I accept free gifts and donations, Keep the beer coming ..Donate Some Beer Image

Notes:
This a development Extension!
Permission need to be set via: ACP -> permissions -> Group permissions

History:
Updating from version 0.1.6-dev of this extension in development will not work!
Due to re-coding how reactions are stored and displayed in view topic page.
Please delete data and files before installing.


  • Updating from version 0.5.0-dev to 0.5.1-dev:
    • Back up the original extension files.
    • Disable the extension via ACP -> Customise -> Manage extensions.
    • Delete the extension’s files from the filesystem.
    • Upload the new files.
    • Enable the extension.
    • Purge Cache!!
    • Test the new version of the extension!
version 0.5.1-dev:
  • Improvements:
    • view topic add reaction permissions fixed.
    • view topic view post reactions list permission fixed.
    • Quick Reply > clicks [Full editor & preview] fixed
    • UCP debug php 5.4 error fixed
  • Added:
    • Greggs sausage roll, packet of crisps and a can of pop in acp module.
version 0.5.0-dev:
  • Improvements:
    • Removed post reactions table in viewtopic page
    • UCP debug error fixed
    • Notifications fixed
    • View topic page
    • Reaction pages
    • Permissions
  • added:
    • ACP setting to allow Post Authors to react to their Posts
    • Permission for post reactions page
    • Post disable reactions/types
    • Topic/1st post only reactions
    • Reaction image in notifications
    • Enable Reaction Type count in Posts
version 0.1.6-dev:
  • Compatibility:
    • php versions 5.4 > 7.1
    • MySQL 5.7.14
  • Improvements:
    • Deleting topics and users
    • Debug on posting
    • Permission check in post links
    • View topic page
    • Reaction pages
    • admin control panel
  • added:
    • Black & White emojis
1
1 Image
You do not have the required permissions to view the files attached to this post.
Find: water
Replace with: beer

User avatar
Steve
Site Admin
Reactions: 24
Posts: 180
Joined: 13 Dec 2016, 09:43

Screen shots: Topic/Post Reactions(like,love,hate..)

Post by Steve » 28 Dec 2016, 15:17

Installation:
Manage extensions.png
Manage extensions(1).png
Manage extensions(2).png
View Topic:
viewtopic.PNG PNG Image 1366 × 624 pixels .png
Play with me yourdomain.com.png
Posting:
Post a new topic.png
ACP forums:
ACP_forums.png
ACP Permissions:
Group permissions.png
ACP Reaction Settings:
Topic Post Reactions.png
ACP Reaction Types:
Reaction Types.png
Reaction Types.png
Add New Topic Post Reaction.png
UCP Topic/Post Reaction Settings:
User Control Panel Topic Post Reactions.png
UCP Topic/Post Reaction notification options:
User Control Panel Edit notification options.png
0
You do not have the required permissions to view the files attached to this post.
Find: water
Replace with: beer

User avatar
Steve
Site Admin
Reactions: 24
Posts: 180
Joined: 13 Dec 2016, 09:43

To do: Topic/Post Reactions(like,love,hate..)

Post by Steve » 31 Dec 2016, 19:40

....
Core: thank you Language /buttons
Core: reaction images/emoji images/font awesome icons
Core: template if statements
Core: interface admin/reaction pages

Code: Select all

https://wiki.phpbb.com/Event_List#core.delete_posts_in_transaction
Version check
config reactions_latest_limit
Recent to rec limit
add version in Lang files


Style
array('config.add', array('reaction_image_height', '25')),
array('config.add', array('reaction_image_width', '25')),
Mobile responsive posting buttons
//part of font awesome
Re position reaction select list (*has-profile)


Permissions add
Admins to always see and use reactions

Can disable Topic/Post reactions
Can disable disabling post reactions

...
Can Disable Topic/Post Reactions Extension

Can add Reaction
Can change Reaction
Can delete Reaction

Can Disable Reactions to their Posts
Can Disable Reaction Types to their Posts
Can Disable Reactions to Posts with in their Topics

Can View Reaction Image
Can View post Reactions page
Can View Reactions page


posting

Enable/disable use of reaction types in topic
Enable/disable post reactions
Enable/disable topic reactions


Viewtopic

!forum data enable reactions
Confirm box for deleting reaction
Complete Ajax functions
Remove URL redirect
Move post reactions above signatures and any other post details
remove if statement around reactions count
Post visibility = ITEM_APPROVED


notifications

link to topic not route
//Note - route to post list with full statistics***
Handle deleted posts
Email template
receive an email


Acp

pagination
Ajax ordering
Enable /disable pages
separate module modes
Acp > forums > enable topic/post reactions
reaction type sql cache limit

Acp > user > [username] user reactions
$log events

Ucp

permissions
Enable/disable foes reactions
Enable/disable reaction types
enable/disable post reactions
Enable/disable topic reactions


Ucp > notifications
Enable/disable notifications

Pages

reactions_latest_limit
pagination
Your reactions page
Latest/top reactions list

Reaction count to link to users reactions.
Find: water
Replace with: beer

User avatar
Steve
Site Admin
Reactions: 24
Posts: 180
Joined: 13 Dec 2016, 09:43

Feature requests: Topic/Post Reactions(like,love,hate..)

Post by Steve » 31 Dec 2016, 19:48

...
0
Find: water
Replace with: beer

User avatar
Steve
Site Admin
Reactions: 24
Posts: 180
Joined: 13 Dec 2016, 09:43

Bugs: Topic/Post Reactions(like,love,hate..)

Post by Steve » 12 Jan 2017, 22:00

Delete user
empty array on line 69 delete_reaction.php
posting
SQL error on disabling extension.
file fixes this:
postreaction-posting-listener.zip
Viewtopic

CSS clash with posting-buttons ul > li > merge

Posting

*Using quick reply avoids users default options

Mode == edit sql_data
* Empty check box for enabling reactions,
Displays in forum with reactions disabled
* Guests can see reaction button and returns no trigger_error

// fix trigger error but leave can see reaction types

view topic
GROUP BY in sql query removes postrow.user.Template if same reaction already used
Disabled forums show empty HTML



pages

Empty img src
Link - title too long on mobile device


notifications
Only one new notification recieved even if another reaction is added to the post
Notifications now aren't deleted also.

//note get_item_id was changed to post_id?
Anonymous sent as username in email
You do not have the required permissions to view the files attached to this post.
Find: water
Replace with: beer

User avatar
Steve
Site Admin
Reactions: 24
Posts: 180
Joined: 13 Dec 2016, 09:43

Pre release: PhpBB3 Topic/Post Reactions (like,love,hate)

Post by Steve » 14 Jan 2017, 20:29

..
0
Find: water
Replace with: beer

User avatar
Mr Clark
Reactions: 6
Posts: 16
Joined: 14 Dec 2016, 07:02

Re: PhpBB3 Topic/Post Reactions (like,love,hate)

Post by Mr Clark » 02 Feb 2017, 21:45

Test
1
1 Image
test account
1
2
3
W
O
W
C
A
N
W
E
S
U
B
M
I
T
T
H
I
S

User avatar
Wolf of Thorns
Donator
Reactions: 3
Posts: 24
Joined: 26 Feb 2017, 22:54

Re: PhpBB3 Topic/Post Reactions (like,love,hate)

Post by Wolf of Thorns » 26 Feb 2017, 23:02

This extension looks amazing. How can I download and apply to my website?
2 View Reactions
1 Image 1 Image

User avatar
Steve
Site Admin
Reactions: 24
Posts: 180
Joined: 13 Dec 2016, 09:43

Re: PhpBB3 Topic/Post Reactions (like,love,hate)

Post by Steve » 27 Feb 2017, 06:43

It should be ready for testing this week, I just need to test on php 5.4.
0
Find: water
Replace with: beer

User avatar
Wolf of Thorns
Donator
Reactions: 3
Posts: 24
Joined: 26 Feb 2017, 22:54

Re: PhpBB3 Topic/Post Reactions (like,love,hate)

Post by Wolf of Thorns » 27 Feb 2017, 12:56

Steve wrote:
27 Feb 2017, 06:43
It should be ready for testing this week, I just need to test on php 5.4.
That sounds great, Steve!

Does this mean that I would be able to test it on my site?

Also, can my wife and I create custom emojis that more graphically align with our site to switch out the ones in the extension?
0

Who is online

Users browsing this forum: CommonCrawl [Bot] and 0 guests