Rename
postlove-master
to postlove
./public_html/forum/ext/anavaro
Gratz
postlove-master
to postlove
.Godd Evening
Code: Select all
Erreur générale
SQL ERROR [ mysqli ]
Duplicate entry 'notification.type.postlove' for key 'type' [1062]
SQL
INSERT INTO phpbb_notification_types (notification_type_name, notification_type_enabled) VALUES ('notification.type.postlove', 1)
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/factory.php
LINE: 329
CALL: phpbb\db\driver\mysqli->sql_query()
FILE: [ROOT]/phpbb/notification/manager.php
LINE: 933
CALL: phpbb\db\driver\factory->sql_query()
FILE: [ROOT]/phpbb/notification/type/base.php
LINE: 109
CALL: phpbb\notification\manager->get_notification_type_id()
FILE: [ROOT]/phpbb/notification/manager.php
LINE: 885
CALL: phpbb\notification\type\base->set_notification_manager()
FILE: [ROOT]/phpbb/notification/manager.php
LINE: 855
CALL: phpbb\notification\manager->load_object()
FILE: [ROOT]/phpbb/notification/method/board.php
LINE: 229
CALL: phpbb\notification\manager->get_item_type_class()
FILE: [ROOT]/phpbb/notification/manager.php
LINE: 123
CALL: phpbb\notification\method\board->load_notifications()
FILE: [ROOT]/includes/functions.php
LINE: 4330
CALL: phpbb\notification\manager->load_notifications()
FILE: [ROOT]/index.php
LINE: 238
CALL: page_header()
About the all - yes. There was little file system optimization so it can be used for all styles. As per the list I think it only works on prosilver.accs-p wrote: ↑Fri Nov 17, 2017 5:39 am I installed this extension into ext/anavaro/postlove. When I enabled it, it worked as expected.
I set the extension to not allow users to "like" their own posts.
-------------------------
Changing the icon:
I wanted to use a "Thumbs-up" icon instead of a "Heart" icon. Here's what I did:
In "styles/all/theme/default.css", I changed all instances of "f004" to "f164" (solid heart to solid thumbs-up) and "f08a" to "f16a" (hollow heart to hollow thumbs-up). This successfully changed the icon.
Due to the dark background of my style (Carbon), there was a bit of a visibility problem with the red icon. I changed the main color from ff0000 to ffcd94 in the same file (I left the mouse-over color of ff726c unchanged). This worked as well, and I believe it would work on light background.
For other icons, the "FontAwesome" cheetsheet (http://fontawesome.io/cheatsheet/) might be of use. A quick scan found several possibilities.
So far, so good.
-------------------------
After the change to the thumbs-up style, I noticed that the "x" between the number and the icon was sometimes crowding the icon. I felt that it would look better without the "x", so I edited the files "styles/all/template/event/viewtopic_body_postrow_custom_fields_after.html" and "styles/all/template/event/viewtopic_body_postrow_post_notices_after.html", changing the "x" to " " (I wanted more space), twice in the first file and once in the second. This also worked.
Previously in this thread (viewtopic.php?f=456&t=2246576&start=555#p14788371), the suggested file to change was "styles/prosilver/template/event/viewtopic_body_postrow_post_notices_after.html", but there's only an "all" directory in the version I have. Something must have changed since July.
Still on this subject, I also noticed that the "x" was closer to the icon on my posts than it was on posts of other users. If this is fixed, the "x" will probably be far enough away. Someone might want to have a look at this minor bug.
-------------------------
As with the previous poster, I did not see a list of users who had liked the post. This was previously reported as working. Was there a change in functionality or a regression problem?
I'm using the "Carbon" style on a 3.2.1 forum.
-------------------------
Note to developer: Could you please put together a list of links to user-developed tweaks, and add it to the first post? It would make finding these MUCH easier.
Excellent extension
Thanks.
I'll check it as soon as I can.accs-p wrote: ↑Tue Nov 28, 2017 3:32 amThe Carbon style I'm using (https://www.phpbb.com/customise/db/style/carbon_2/) is based on prosilver. Is there any way you could test this out, and possibly look into making it a bit more flexible? The list would be quite helpful to me.
The errors on line 4516 are likely to be a result of the error on 313 sending output and finishing the header. Concentrate on line 313.Alex-2.5 wrote: ↑Mon Oct 09, 2017 7:41 amCode: Select all
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/language/language.php on line 313: vsprintf(): Too few arguments [phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262) [phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262) [phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
Git Clone > Clone or Download > Download ZIPNienke wrote: ↑Sun Dec 24, 2017 2:10 pm where can i find the download button of the mod ? Can someone place the link for the download?Satanasov wrote: ↑Mon Jun 09, 2014 1:11 pm 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
I am using it on prosilver. Test it on your board but dunno...