News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Like Posts

Started by vbgamer45, June 29, 2013, 09:29:03 AM

Previous topic - Next topic

Casa Grande

Quote from: Gluz on August 28, 2015, 05:14:49 PM
If you click on the "Show Likes Notification" and nothing happens, then you have an issue with jQuery, and the same goes to the "Like" link at the bottom of the post, it should animate and change to "Unlike" with another background color.

Can you give a link to your forum?

The "Show Likes Notification" isn't even a link; it's unclickable.  The LIKE is a text link and does nothing.  I'll check the jquery stuff.  I'll PM you a link to the forum as it is not live yet.

Thanks for your help!
David

fungolfer

Great mod, thanks alot. Thats what I was looking for :)

Had to uninstall once and after second install it is working perfect...

Jingaling

Unfortunately, I can't get this working with my theme, Redsy. Looking at the errors when I try to install, it's to do with index.template.php. The installer looks for the following:

<li><a href="', $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '</a></li>';

Then adds it's code afterward. However, that piece of code isn't present in my index.template.php file. I've tried to add the code manually, but I'm not sure where to add it. When I try, I just get a link in the header saying "Likes Menu".

If someone could assist in getting this working with my theme, I've really appreciate it. I've attached my index.template.php file to this post.

margarett

Yeah, Redsy if *very* different from Curve so most MODs struggle with it.

The line you're looking for is
<li><a href="' , $scripturl , '?action=unreadreplies;"><i class="fa fa-comments fa-fw"></i>' , $txt['new_replies'] , '</a></li>
But there is no span in Redsy so it might need some "love" to have it in place.
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

SaMania


margarett

Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Adonix

waiting for this module to have compatibility with this theme : http://custom.simplemachines.org/themes/index.php?lemma=2835

debiwebi

I've just installed this mod for the newcomers to my forum, migrating recently from another forum that had a Like button. I'd like to change the text from 'like' to 'thank you' -- that shouldn't be too difficult, correct?

Also, my default theme is Sunset, which is not compatible with the mod.
Any plans to make this mod work with other themes? Is that difficult? Time consuming?

Thanks for a great mod  ~
Some mornings it just isn't worth
chewing through the leather straps.
~Emo

Unlimited Own Posts Editing Time

Piilot

Hi all,

I have been at this for HOURS and can not find a solution;       

Execute Modification   ./Themes/Reseller_1/index.template.php   Test failed
   1.   Add After   ./Themes/Reseller_1/index.template.php   Test failed

There is no code in the php, only this,

// Show the menu here, according to the menu sub template.
               template_menu();
               
            echo'
            </ul>
         </div>
      </div>
   </div>
</nav>
<header>
   <div class="container">
      <div class="row">
         <div class="col-md-9">
            <a href="', $scripturl, '"><img src="' , !empty($context['header_logo_url_html_safe']) ? $context['header_logo_url_html_safe'] : $settings['images_url'] . '/logo.png' , '" alt="' . $context['forum_name'] . '" /></a>
         </div>
         <div class="col-md-3">';
         if ($context['user']['is_logged'])
         {
            if (!empty($context['user']['avatar']))
            echo '
               <img src="', $context['user']['avatar']['href'], '" class="avatar img-circle img-thumbnail" alt="*" />';
            echo'
               <ul class="reset">
                  <li class="user">', $context['user']['name'], '</li>
                  <li><a href="', $scripturl, '?action=profile">', $txt['profile'], '</a></li>
                  <li><a href="', $scripturl, '?action=profile;area=forumprofile">', $txt['forumprofile'], '</a></li>
                  <li><a href="', $scripturl, '?action=unread">', $txt['unread_topics_visit'], '</a></li>
                  <li><a href="', $scripturl, '?action=unreadreplies">', $txt['unread_replies'], '</a></li>
               </ul>';
         }

Thanks for helping me :D

Mimmi

Quote from: SirLouen on July 19, 2015, 09:34:54 AM
Quote from: Yorel on July 19, 2015, 08:26:43 AM
Thanks Joker for the mod  ;)

Is there any chance of translating it to Spanish?.

Regards

Translate it by yourself:
Create LikePosts.spanish.php with the strings translated from here:
Themes/default/languages/LikePosts.english.php

Depending in your translation config you have to create a new file
For example:
Themes/default/languages/LikePosts.spanish_es-utf8.php
or just
Themes/default/languages/LikePosts.spanish_es.php

I have created LikePosts.norwegian-utf8.php as a copy of the LikePosts.english.php and translated the strings, but the language used in the forum is still the English version. Everything else is in Norwegian. What should I do?

Forum-junkie and still a newbie in the world of administrating php etc... Volunteers in reproductive rights. http://www.liv-laga.no/

irishgal1971

I'm getting this error in my error log:

Apply Filter: Only show the error messages of this URLhttp://www.americanpatriotcommunity.com/index.php?action=admin;area=logs;e0beb0c=cd0861f07b781859b34285efa844b971Apply Filter: Only show the errors with the same message8: Undefined index: forum_nameApply Filter: Only show the errors from this file File: /home/worldofc/public_html/americanpatriotcommunity.com/Themes/default/languages/LikePosts.english.php (eval?)
Line: 113

Any way to fix it?

sajidicma

Hi Joker,
I have recently started using your mode. I have observed a problem when Like Posts stats is enabled. While checking for Board stats and Most Like Giving User stats, there is no response and a time wheel appears which continues to revolve. Rest is working fine.

shabbadoof

Hi Joker

I would like to use this mod please however I would like to change the word from 'Like' to 'Entered' as I am going to use it on a competition subforum

Can you tell me how I would do this please?

Thanks

Jon

margarett

You just need to change the corresponding text string in the included file LikePosts.english.php
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

shabbadoof

sadly it doesn't appear to be that simple


I've just tried to do that and I end up with it now showing 'liked' or 'entered' on posts

margarett

That's because "Like" or "Liked" are very common words in this MOD. I was actually expecting something that this would happen :P

Can you please printscreen the page, where the text appears and which text is/should be there?
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Siirist

Hello,

I installed this mod using the package manager without any problems.

I went into the APC and set it to be available on ALL boards.

I then set permissions so that all members will see the like buttons throughout the forum, in the member profiles, and be able to like all posts in the forum.

I have the following TWO problems.

ONE) On the Menu Bar, there is NO icon.



TWO)
A) In the posts, the like is a white font color Like This, and does NOT have a maroon background.

B) On the boards, SOME of the Like buttons have a maroon background, and some do not.

I parsed for SMF ver 2.0.11 and verified that all modifications were done and found no errors.

I am using the following themes:
Bright Forest
Habbingo
Habboland
Ostara (set as default template)

And the following MODs:
1.    Custom Copyright    1.0.4    
2.    Simple Menu Icons    1.0    
3.    Like Posts    2.0.5    
4.    SMF Gallery Lite    5.6    
5.    PM Warning    1.0    
6.    Topic Solved    1.1.1    
7.    Google Translate for SMF 2.0    1.4    
8.    SMF 2.0.11 Update    1.0    
9.    Optimus Brave    1.8.7    
10.    Default_Membergroup    2.0    
11.    Welcome Back    1.0    
12.    Enhanced Dropdown    1.3    
13.    Board-color-and-icons    1.1

Thank you in advance,
Siirist
Needed information:
- What's your SMF version?, What MODs are installed? What Theme(s) are you using? Have you backed up your database?

--> At least 50% of the questions asked are answered in the Online Manual <--
Mods for ver 1.x will NOT run on ver 2.x

Siirist

Needed information:
- What's your SMF version?, What MODs are installed? What Theme(s) are you using? Have you backed up your database?

--> At least 50% of the questions asked are answered in the Online Manual <--
Mods for ver 1.x will NOT run on ver 2.x

Siirist

Needed information:
- What's your SMF version?, What MODs are installed? What Theme(s) are you using? Have you backed up your database?

--> At least 50% of the questions asked are answered in the Online Manual <--
Mods for ver 1.x will NOT run on ver 2.x

Siirist

Needed information:
- What's your SMF version?, What MODs are installed? What Theme(s) are you using? Have you backed up your database?

--> At least 50% of the questions asked are answered in the Online Manual <--
Mods for ver 1.x will NOT run on ver 2.x

Advertisement: