Page 57 of 75

Re: [DEV] Thanks for posts

Posted: Fri Mar 17, 2017 5:04 pm
by rxu
sky_diver wrote:
Fri Mar 17, 2017 6:38 am
find right link for this mod (ext) for phpBB 3.2.
https://github.com/rxu/thanks_for_posts ... elop-3.2.x

Re: [DEV] Thanks for posts

Posted: Fri Mar 17, 2017 5:27 pm
by Hippie459MN
Im happy to report that this has been working perfect on my 3.2 test board for about 2-3 weeks now and havent found any problems. Excellent work. :)

Re: [DEV] Thanks for posts

Posted: Wed Mar 22, 2017 3:44 pm
by lunex
Hey,

thanks for your work.

The extensions works fine on 3.2. for me - but just for administrators.
Other users can't see the thanks button at all - am I missing a permission or anything?

cheers
Lunex

Re: [DEV] Thanks for posts

Posted: Wed Mar 22, 2017 8:39 pm
by Galixte de EzCom
Hi,
lunex wrote:
Wed Mar 22, 2017 3:44 pm
Hey,

thanks for your work.

The extensions works fine on 3.2. for me - but just for administrators.
Other users can't see the thanks button at all - am I missing a permission or anything?

cheers
Lunex
See this: viewtopic.php?p=14223716#p14223716. ;)

Re: [DEV] Thanks for posts

Posted: Thu Mar 23, 2017 6:23 am
by lunex
Hi Galixte de EzCom,

merci beaucoup!
Sadly i seem to be missing these persmission settings in my apc:

Image

As said, the extension itself seems to be working - is there any way i can restore(reinstall?) the permission setting?

cheers
Lunex

Re: [DEV] Thanks for posts

Posted: Thu Mar 23, 2017 6:29 am
by Galixte de EzCom
What is your style ? If it’s not prosilver, compare with prosilver if the button appears for registered users.

Re: [DEV] Thanks for posts

Posted: Thu Mar 23, 2017 6:34 am
by lunex
Na, I'm using another, but prosilver based style: for me as admin the button works, even with this style:

Image

Just my users can't thank anyboady... (all use the same style)

edit: did a check with my testuser - even using pro silver the thank button is mission for non administrators

Re: [DEV] Thanks for posts

Posted: Thu Mar 23, 2017 7:03 am
by Galixte de EzCom
Yes, you’re right if admins see this button there is no reason to check with an other style.

So, i think you have to check your permissions again, and see if the permissions from an other group don’t interact with the permissions of the registered users.

Especially for the permission named: Can thank for posts (the method to set it is indicated here: viewtopic.php?p=14223716#p14223716, from line “the first is for normal users, in ACP :”).

Re: [DEV] Thanks for posts

Posted: Thu Mar 23, 2017 7:47 am
by lunex
got it, thx!
I needed to activate Can thank for posts for the subforum!

Re: [DEV] Thanks for posts

Posted: Thu Mar 23, 2017 8:18 am
by Galixte de EzCom
lunex wrote:
Thu Mar 23, 2017 7:47 am
got it, thx!
I needed to activate Can thank for posts for the subforum!
For all forums ! It’s the rule for all similar permissions. :roll:

Re: [DEV] Thanks for posts

Posted: Thu Mar 23, 2017 10:47 am
by lib_liz
Installed the extension from develop-3.2.x branch to my phpBB 3.2 board with the default English prosilver theme, but I don't see the like buttons for any post nor the "Can thank for posts" option in the Misc Permissions page. What gives?

Edit: Nevermind, reinstalled it and now it's working. :)

Re: [DEV] Thanks for posts

Posted: Fri Mar 24, 2017 5:48 pm
by Coby24
Hi,

Pls let me explain, how to install extension on phpbb 3.2 board.

I tried to extract files to root or ext folder but in APC I can't see posibility to run it :-/

Re: [DEV] Thanks for posts

Posted: Fri Mar 24, 2017 6:11 pm
by Galixte de EzCom
Hi,

same method like this: https://github.com/board3/Board3-Portal ... hpBB-3.1.x but the folders have to be named exactly as the informations provided in the composer.json file at the line 2.

All extensions always include those informations in composer.json file at the line 2.

Re: [DEV] Thanks for posts

Posted: Fri Mar 24, 2017 10:54 pm
by deejko
I've been using this MOD on 3.0 and it was one of the most useful add-ons on my forum.

However, when I try to implement it to 3.2 I am able to successfully Activate it on "Manage Extensions" part of ACP but when I try and load my forum I get this error:

Return to the index page
General Error
SQL ERROR [ mysqli ]

Table 'devtsix_php1.phpbb_thanks' doesn't exist [1146]

SQL

SELECT t.poster_id, COUNT(t.user_id) AS tally, u.user_id, u.username, u.user_colour FROM phpbb_users u LEFT JOIN phpbb_thanks t ON (u.user_id = t.poster_id) WHERE t.forum_id <> 0 OR t.forum_id = 0 GROUP BY t.poster_id ORDER BY tally DESC LIMIT 45

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 999
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 193
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/driver/mysql_base.php
LINE: 45
CALL: phpbb\db\driver\mysqli->sql_query()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 270
CALL: phpbb\db\driver\mysql_base->_sql_query_limit()

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 321
CALL: phpbb\db\driver\driver->sql_query_limit()

FILE: [ROOT]/ext/gfksx/ThanksForPosts/core/helper.php
LINE: 843
CALL: phpbb\db\driver\factory->sql_query_limit()

FILE: [ROOT]/ext/gfksx/ThanksForPosts/event/listener.php
LINE: 123
CALL: gfksx\ThanksForPosts\core\helper->get_toplist_index()

FILE: (not given by php)
LINE: (not given by php)
CALL: gfksx\ThanksForPosts\event\listener->get_thanks_list()

FILE: [ROOT]/vendor/symfony/event-dispatcher/EventDispatcher.php
LINE: 184
CALL: call_user_func()

FILE: [ROOT]/vendor/symfony/event-dispatcher/EventDispatcher.php
LINE: 46
CALL: Symfony\Component\EventDispatcher\EventDispatcher->doDispatch()

FILE: [ROOT]/phpbb/event/dispatcher.php
LINE: 60
CALL: Symfony\Component\EventDispatcher\EventDispatcher->dispatch()

FILE: [ROOT]/phpbb/event/dispatcher.php
LINE: 46
CALL: phpbb\event\dispatcher->dispatch()

FILE: [ROOT]/index.php
LINE: 235
CALL: phpbb\event\dispatcher->trigger_event()
Please notify the board administrator or webmaster: contact@devtsix.com
Powered by phpBB® Forum Software © phpBB Limited


Any help would be much appreciated!!

Re: [DEV] Thanks for posts

Posted: Fri Mar 24, 2017 11:28 pm
by Galixte de EzCom
@deejko, please put your error message between the BBCode CODE the next time (you can edit your post to do that).

Solution here: viewtopic.php?p=14664361#p14664361.

Also for the next time, copy the line from your error, like that : phpbb_thanks' doesn't exist [1146] in the search field named “Search this topic…”, available at the top of each topic, to find if a previous user had posted the solution.