[DEV] Thanks for posts

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!
Get Involved
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
rxu
Extensions Development Team
Posts: 2769
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact:

[DEV] Thanks for posts

Post by rxu » Sun Aug 24, 2014 1:26 pm

Extension Name: Thanks for posts
Author: Палыч
Converting to extension: rxu

Extension Description:: Adds the ability to thank the author (thanks to cancel), and use the rating system posts/topics/forums based on the issued of thanks. Note that you can't thank yourself.
Extension Version:: 2.0.0 (unstable)
Conversion info:: This extension is a conversion of Thanks for posts MOD for phpBB 3.0.x.

Requirements:
  • phpBB 3.1.5 (or current 3.1 dev) or later
Development repository: https://github.com/rxu/thanks_for_posts

Download URL: Download button named "Download ZIP" can be found at the development repository page.
Installation: Extension files should be extracted to /ext/gfksx/ThanksForPosts/ folder. Then the extension should be enabled in ACP as usually.

Permissions explanation: viewtopic.php?p=14223716#p14223716

Precaution: As the ext is still in development, major changes still can be applied which could require full extension purging and reinstallation, so use it on your own risk. DO NOT install it on production boards. For testing purposes only.

Screenshots:
Image
Image
Image
Image
Image
Last edited by rxu on Wed Nov 15, 2017 2:47 pm, edited 8 times in total.

User avatar
Raul [ThE KuKa]
Jr. Extension Validator
Posts: 3739
Joined: Mon Dec 08, 2003 9:24 pm
Location: Spain
Name: Raul Arroyo
Contact:

Re: [DEV] Thanks for posts

Post by Raul [ThE KuKa] » Sun Aug 24, 2014 3:23 pm

@ rxu, you have a lot of work, and many extensions... :o
"Forked" and working in translation... ;)
If you like my styles, translations, etc. and want to show some appreciation, then feel free to Donate with Image
phpBB International Support Team (Spanish - Español) :flag_es: Online Since 2003
🎨phpBB Professional Premium Themes🔥
Author Translations (Spanish - Spain) :two_hearts:

:warning: I don't support those without the copyright Spanish translation. :warning:

Pond Life
Registered User
Posts: 388
Joined: Sat Jan 20, 2007 1:55 am

Re: [DEV] Thanks for posts

Post by Pond Life » Mon Aug 25, 2014 3:10 pm

Thank you rxu, I was hoping someone would convert the Thanks MOD, it's one of the few I don't want to lose if/when I upgrade to 3.1 :D Will it be a straight conversion or are you going to make any changes? Will it pick up the existing data?
Never argue with idiots, they will drag you down to their level and beat you with experience.

rxu
Extensions Development Team
Posts: 2769
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact:

Re: [DEV] Thanks for posts

Post by rxu » Mon Aug 25, 2014 3:18 pm

This extension is designed in a way to keep the 3.0 MOD data (if any). Actually, no special conversion is needed when migrating to 3.1, all you have to do is just install this extension.
But this should be tested before using in production.

Pond Life
Registered User
Posts: 388
Joined: Sat Jan 20, 2007 1:55 am

Re: [DEV] Thanks for posts

Post by Pond Life » Mon Aug 25, 2014 5:53 pm

Excellent! My members have used the MOD a lot so it's great that the data won't be lost. I always test with WAMP before going live with any change. Thanks again.
Never argue with idiots, they will drag you down to their level and beat you with experience.

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

Re: [DEV] Thanks for posts

Post by Darkness_demoN » Thu Aug 28, 2014 12:56 pm

Using phpbb RC-3

( ! ) Fatal error: Uncaught The notification type "thanks" is missing from the file system. thrown in D:\wamp\www\phpBB3\phpbb\notification\manager.php on line 919


This happend when i press like button.

rxu
Extensions Development Team
Posts: 2769
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact:

Re: [DEV] Thanks for posts

Post by rxu » Thu Aug 28, 2014 1:01 pm

As I stated in the 1st post of this topic, this ext requires RC4 or current development branch to be installed for operation.
Try the following:
OPEN
/ext/gfksx/ThanksForPosts/config/services.yml

FIND
gfksx.ThanksForPosts.notification.type.thanks:

REPLACE WITH
notification.type.thanks:

FIND
gfksx.ThanksForPosts.notification.type.thanks_remove:

REPLACE WITH
notification.type.thanks_remove:

User avatar
PayBas
Former Team Member
Posts: 930
Joined: Thu May 25, 2006 12:37 am

Re: [DEV] Thanks for posts

Post by PayBas » Thu Oct 09, 2014 3:58 pm

This topic needs some screenshots ;).

rxu
Extensions Development Team
Posts: 2769
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact:

Re: [DEV] Thanks for posts

Post by rxu » Thu Oct 09, 2014 4:27 pm

Indeed. Added several screenshots to the 1st post.

User avatar
PayBas
Former Team Member
Posts: 930
Joined: Thu May 25, 2006 12:37 am

Re: [DEV] Thanks for posts

Post by PayBas » Fri Oct 10, 2014 9:21 am

So how exactly would you get a rating other than 100%, if you can't downvote?

User avatar
tunescool
I've Been Banned!
Posts: 1061
Joined: Mon Jul 06, 2009 5:08 pm
Contact:

Re: [DEV] Thanks for posts

Post by tunescool » Sat Oct 11, 2014 12:29 pm

i used the upload master extension to upload this extension. its enabled in the acp and all the options show up in the extension tab

nothing is in the posts to thank anyone

i get an error saying domain.com/toplist does not exist and the same for /thankslist

http://forumbytunes.com/tunescool

rxu
Extensions Development Team
Posts: 2769
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact:

Re: [DEV] Thanks for posts

Post by rxu » Sat Oct 11, 2014 12:52 pm

PayBas wrote:So how exactly would you get a rating other than 100%, if you can't downvote?
I think the mostly thanked post of the board is taken for 100%, so any other posts rating is calculated from it.
In simple words, if the mostly thanked post has, say, 500 thanks, its "reput" is 100%, any other post's "reput" is ($thanks / 500) * 100 percent.
And there's kinda downvoting option - if you thanked the post, you can take that thank back.

rxu
Extensions Development Team
Posts: 2769
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact:

Re: [DEV] Thanks for posts

Post by rxu » Sat Oct 11, 2014 12:53 pm

tunescool wrote:nothing is in the posts to thank anyone
That's weird. What phpBB exact version? Do you have mod_rewrite (or similar) enabled for your webserver?

User avatar
tunescool
I've Been Banned!
Posts: 1061
Joined: Mon Jul 06, 2009 5:08 pm
Contact:

Re: [DEV] Thanks for posts

Post by tunescool » Sat Oct 11, 2014 1:51 pm

rxu wrote:
tunescool wrote:nothing is in the posts to thank anyone
That's weird. What phpBB exact version? Do you have mod_rewrite (or similar) enabled for your webserver?
its a new install

Latest Development Release: 3.1.0-RC5

im not sure what mod rewrite is

rxu
Extensions Development Team
Posts: 2769
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact:

Re: [DEV] Thanks for posts

Post by rxu » Sat Oct 11, 2014 2:24 pm

I never tried it with upload master extension yet tbh. What is the path to TFP ext from the board root now (including folder name character case)?

Post Reply

Return to “Extensions in Development”

Who is online

Users browsing this forum: Sniper_E and 19 guests