Advertisement:

Author Topic: Like Posts  (Read 356343 times)

Offline gorbi

  • Jr. Member
  • **
  • Posts: 185
    • https://www.facebook.com/s.gorbachevsky on Facebook
    • @gorbachevsky on Twitter
Re: Like Posts
« Reply #1120 on: March 15, 2021, 04:15:05 PM »
instead of Ukrainian Russian

Offline gorbi

  • Jr. Member
  • **
  • Posts: 185
    • https://www.facebook.com/s.gorbachevsky on Facebook
    • @gorbachevsky on Twitter
Re: Like Posts
« Reply #1121 on: March 15, 2021, 04:39:44 PM »
Code: [Select]
global $txt;

//front end strings strings
$txt['lp_string_you_liked'] = 'You liked this';
$txt['lp_string_you'] = 'You &';
$txt['lp_string_other_people_liked'] = '%1$d other person liked this';
$txt['lp_string_other_multiple_people_liked'] = '%1$d other people liked this';
$txt['lp_string_people_liked'] = '%1$d person liked this';
$txt['lp_string_multiple_people_liked'] = '%1$d people liked this';

$txt['lp_like'] = 'Like';
$txt['lp_unlike'] = 'Unlike';
$txt['lp_total_likes'] = 'Лайков';
$txt['like_show_notifications'] = 'Повідомлення про нові лайки';

Online shadav

  • Support Specialist
  • Sophist Member
  • *
  • Posts: 1,357
  • Gender: Female
    • shadav on Facebook
    • leashadav on GitHub
    • Ask The Muslims: A Place To Ask Honest Questions and Receive Respectful Answers
Re: Like Posts
« Reply #1122 on: March 15, 2021, 04:52:05 PM »
I don't know but according to my translator the last two lines are ukrainian
however the rest is in english and needs to be translated

Offline gorbi

  • Jr. Member
  • **
  • Posts: 185
    • https://www.facebook.com/s.gorbachevsky on Facebook
    • @gorbachevsky on Twitter
Re: Like Posts
« Reply #1123 on: March 15, 2021, 05:01:31 PM »
Yes, two last line ukrainian, but displayed in Russian. This is problem

Offline Fat Rat

  • Semi-Newbie
  • *
  • Posts: 58
Re: Like Posts
« Reply #1124 on: April 12, 2021, 12:29:34 PM »
Hello, this mod is failing for me using the Whitebox theme, any help much appreciated.

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,509
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Like Posts
« Reply #1125 on: April 12, 2021, 12:38:48 PM »
You will need to make that change manually to the index.template.php of the theme.

Look at the default theme and where it edits and try to make the same on that theme.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline Fat Rat

  • Semi-Newbie
  • *
  • Posts: 58
Re: Like Posts
« Reply #1126 on: April 12, 2021, 12:51:06 PM »
Thanks for the prompt response. Where/how can I see the required changes?

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,509
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Like Posts
« Reply #1127 on: April 12, 2021, 12:54:26 PM »
You can upload package to https://www.smfhacks.com/smf-package-parser.html and get the theme edits.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline Fat Rat

  • Semi-Newbie
  • *
  • Posts: 58
Re: Like Posts
« Reply #1128 on: April 12, 2021, 01:08:59 PM »
Thanks again, the only change that the parser calls out has been added by the installation. I have all of the options to set permissions for the Like Posts mod just not the button in the posts.

Offline Shades.

  • Full Member
  • ***
  • Posts: 496
  • Gender: Male
  • BikerHound.com
    • bikerhound on Facebook
    • @bikerhoundcom on Twitter
    • Bikerhound.com
Re: Like Posts
« Reply #1129 on: April 17, 2021, 09:14:36 AM »
I'm confused on the instructions here on how to remove the link in top menu: https://www.simplemachines.org/community/index.php?topic=506743.msg4049814#msg4049814. Could someone break it down for me?

BikerHound.com
Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,509
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Like Posts
« Reply #1130 on: April 17, 2021, 10:59:53 AM »
It's part of a hooks file requires editing the LikesPost code


File: Sources/LikePosts/LikePosts.php

Code: [Select]
public static function addMenuItems(&$menu_buttons) {
global $scripturl, $txt, $user_info, $modSettings;

Add after
Code: [Select]
return;
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline Shades.

  • Full Member
  • ***
  • Posts: 496
  • Gender: Male
  • BikerHound.com
    • bikerhound on Facebook
    • @bikerhoundcom on Twitter
    • Bikerhound.com
Re: Like Posts
« Reply #1131 on: April 17, 2021, 02:23:33 PM »
Thank you! 8)

BikerHound.com
Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Offline jsx

  • Full Member
  • ***
  • Posts: 532
  • Gender: Male
Re: Like Posts
« Reply #1132 on: May 02, 2021, 02:20:41 PM »
@vbgamer45

On my forum the Board tab contains the following information:

Lorem ipsum has received 162 like(s) so far

The board contains 226 different topics, out which 48 topics are liked. Furthermore, these topic contains 2308 different posts, out of which 48 posts are liked so far. Few of the liked topics from it

So this board contains 226 topics and 48 topics are liked in this board. There are 2308 posts in this board:



So it seems that there is a mistake here:

Furthermore, these topic contains 2308 different posts

should be:

Furthermore, these board contains 2308 different posts

What do you think?
The Great Winged Hussars

https://www.youtube.com/watch?v=DCdNC1i2eZE

We remember
In september
When The Winged Hussars arrived!

Offline jsx

  • Full Member
  • ***
  • Posts: 532
  • Gender: Male
Re: Like Posts
« Reply #1133 on: May 07, 2021, 06:49:17 AM »
I noticed that in Likes statistics in the Topic tab, the counting of likes does not work correctly.

Here is the information that the most popular topic received 17 likes:

The most popular topic has received 17 like(s) so far

Indeed, there are 16 likes in this topic, not 17.

So in the modification management in the Recount Like Stats tab I ran 3 tasks and unfortunately the Topic tab in the statistics still shows information about 17 likes of the topic.
The Great Winged Hussars

https://www.youtube.com/watch?v=DCdNC1i2eZE

We remember
In september
When The Winged Hussars arrived!

Offline jeepwrangler2k@gmail.com

  • Newbie
  • *
  • Posts: 1
Re: Like Posts
« Reply #1134 on: May 10, 2021, 05:54:42 AM »
The mod keeps failing on my default theme


Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 60,287
  • Gender: Male
    • Kindred-999 on GitHub
Re: Like Posts
« Reply #1135 on: May 10, 2021, 08:55:24 AM »
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."