The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

How to get a like button on the phpBB2?

Page 1 of 3 1, 2, 3  Next

View previous topic View next topic Go down

Solved How to get a like button on the phpBB2?

Post by ForeverPotterLock on April 12th 2015, 5:53 pm

There is a like button HTML for Phpbb3 but is there one for Phpbb2?? I understand there is a generic one you can make on modules, but it's hard to see and I want mine to appear on the bottom of the post....

So, is this possible yet? Hello Hello Hello

ForeverPotterLock
Forumember

Posts : 93
Reputation : 2
Language : English

http://www.thepetpalace.ga

Back to top Go down

Solved Re: How to get a like button on the phpBB2?

Post by Derri on April 12th 2015, 7:02 pm

I edited your post as you used excessive amounts of emoticons. Please avoid this in the future Very Happy Thanks


Forum Rules: :Forumotion Staff: :Appeal A Warning: :FAQ: :Tips & Tricks: :Forgotten Password/Login Issues
You need one post to send a PM
When your topic has been solved, ensure you mark the topic solved
Never post your email in public


Derri
Administrator
Administrator

Male Posts : 8355
Reputation : 571
Language : English & Basic French
Location : Scotland, United Kingdom

Back to top Go down

Solved Re: How to get a like button on the phpBB2?

Post by Michael_vx on April 13th 2015, 3:43 pm

if you mean this
http://help.forumotion.com/t108561-a-new-like-dislike-system-phpbb3-and-invision#709635
With a help from Ange i was able to remake it for phpbb2 and working 100%
add this javascript

Code:

var like_version = 'phpbb2';
var DOM_IS_READY = false;
$(function(){DOM_IS_READY=true;});
var vote_singular = 'Like';
var vote_plural = 'Likes';
$.getScript('http://micsoft.xp3.biz/like');

then the CSS

Code:

.LGlike {
background: #105289;
padding: 3px;
border-radius: 4px;
color: #fff;
font-size: 10px;
font-weight: bold;
text-shadow: -1px 0.5px #888;
box-shadow: 1px 1px 1px #888;
cursor: pointer;
margin-right: 4px;
}
.LGvote { margin: 0 5px; }
.LGnovote {
filter:Alpha(opacity=50);
opacity: 0.5;
cursor: default;
box-shadow: none;
text-shadow: none;
}

use same steps in the tutorial but use the Java Script i provide instead of the Java Script in the tutorial
have a good day

Michael_vx
Forumember

Male Posts : 656
Reputation : 29
Language : Arabic and some English
Location : Egypt

Back to top Go down

Solved Re: How to get a like button on the phpBB2?

Post by ForeverPotterLock on April 14th 2015, 10:45 pm

Detected error
We have counted a different number of "{" and of "}". It means your CSS risks to be not valid and will not be posted correctly on your forum.

We advise you to reread your code.


I get this error

ForeverPotterLock
Forumember

Posts : 93
Reputation : 2
Language : English

http://www.thepetpalace.ga

Back to top Go down

Solved Re: How to get a like button on the phpBB2?

Post by Michael_vx on April 15th 2015, 9:21 am

do you mind provide the CSS you use here or VIA PM
to see why
thanks

Michael_vx
Forumember

Male Posts : 656
Reputation : 29
Language : Arabic and some English
Location : Egypt

Back to top Go down

Solved Re: How to get a like button on the phpBB2?

Post by ForeverPotterLock on April 15th 2015, 2:06 pm

Sure thing....

Code:
.bodyline{
-moz-border-radius:11px;
-webkit-border-radius: 11px;
   
    border: 1px ##3A0D59 solid;
   }
.bodylinewidth {
   width:70%}
.forumline{
-moz-border-radius: 4px;
-webkit-border-radius: 4px;}
   
    border: 2px ##3A0D59 solid;
    }

a.mainmenu{
filter:alpha(opacity=100);
-moz-opacity: 1.0;
opacity: 1.0;
  }
a.mainmenu:hover{
          filter:alpha(opacity=70);
-moz-opacity: 0.65;
opacity: 0.65;
    }

.LGlike
.LGlike {
  background: #105289;
  padding: 3px;
  border-radius: 4px;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  text-shadow: -1px 0.5px #888;
  box-shadow: 1px 1px 1px #888;
  cursor: pointer;
  margin-right: 4px;
 }
 .LGvote { margin: 0 5px; }
 .LGnovote {
  filter:Alpha(opacity=50);
  opacity: 0.5;
  cursor: default;
  box-shadow: none;
  text-shadow: none;
 }

ForeverPotterLock
Forumember

Posts : 93
Reputation : 2
Language : English

http://www.thepetpalace.ga

Back to top Go down

Solved Re: How to get a like button on the phpBB2?

Post by Michael_vx on April 15th 2015, 9:19 pm

here its
Code:
    .bodyline{
    -moz-border-radius:11px;
    -webkit-border-radius: 11px;
     
        border: 1px ##3A0D59 solid;
      }
    .bodylinewidth {
      width:70%}
    .forumline{
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;}

    a.mainmenu{
    filter:alpha(opacity=100);
    -moz-opacity: 1.0;
    opacity: 1.0;
      }
    a.mainmenu:hover{
              filter:alpha(opacity=70);
    -moz-opacity: 0.65;
    opacity: 0.65;
        }

    .LGlike
    .LGlike {
      background: #105289;
      padding: 3px;
      border-radius: 4px;
      color: #fff;
      font-size: 10px;
      font-weight: bold;
      text-shadow: -1px 0.5px #888;
      box-shadow: 1px 1px 1px #888;
      cursor: pointer;
      margin-right: 4px;
    }
    .LGvote { margin: 0 5px; }
    .LGnovote {
      filter:Alpha(opacity=50);
      opacity: 0.5;
      cursor: default;
      box-shadow: none;
      text-shadow: none;
    }

the problem was from this part
Code:
        border: 2px ##3A0D59 solid;
        }

its not starting with { its only ends with }
since i don`t know where should i put the {
i removed this code from the CSS now try it and you wont get any error

Michael_vx
Forumember

Male Posts : 656
Reputation : 29
Language : Arabic and some English
Location : Egypt

Back to top Go down

Solved Re: How to get a like button on the phpBB2?

Post by ForeverPotterLock on April 15th 2015, 10:28 pm

Does not work... I still get the generic + and - button

ForeverPotterLock
Forumember

Posts : 93
Reputation : 2
Language : English

http://www.thepetpalace.ga

Back to top Go down

Solved Re: How to get a like button on the phpBB2?

Post by Michael_vx on April 16th 2015, 1:20 am

@ForeverPotterLock wrote:Does not work... I still get the generic + and - button
did you make the tutorial steps and the Java Scrips are on and the part
that say phpbb2 is same as your forum version ?
----
also make sure you use the Java Script i provide here and not the one in the tutorial
the Script in tutorial is setup for phpbb3 and invision only

Michael_vx
Forumember

Male Posts : 656
Reputation : 29
Language : Arabic and some English
Location : Egypt

Back to top Go down

Solved Re: How to get a like button on the phpBB2?

Post by ForeverPotterLock on April 16th 2015, 2:11 pm

Yes, for both.

ForeverPotterLock
Forumember

Posts : 93
Reputation : 2
Language : English

http://www.thepetpalace.ga

Back to top Go down

Solved Re: How to get a like button on the phpBB2?

Post by Michael_vx on April 16th 2015, 4:42 pm

this like are based on Reputation so if Reputation off this like thing wont work
go admin panel ► modules ► Reputation
Activate reputation system : yes
Activate "Thanks" button : yes
also i just find one more problem in the CSS

Code:
.bodyline{
-moz-border-radius:11px;
-webkit-border-radius: 11px;

border: 1px ##3A0D59 solid;
}
.bodylinewidth {
width:70%}
.forumline{
-moz-border-radius: 4px;
-webkit-border-radius: 4px;}

a.mainmenu{
filter:alpha(opacity=100);
-moz-opacity: 1.0;
opacity: 1.0;
}
a.mainmenu:hover{
filter:alpha(opacity=70);
-moz-opacity: 0.65;
opacity: 0.65;
}

  .LGlike {
  background: #105289;
  padding: 3px;
  border-radius: 4px;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  text-shadow: -1px 0.5px #888;
  box-shadow: 1px 1px 1px #888;
  cursor: pointer;
  margin-right: 4px;
  }
  .LGvote { margin: 0 5px; }
  .LGnovote {
  filter:Alpha(opacity=50);
  opacity: 0.5;
  cursor: default;
  box-shadow: none;
  text-shadow: none;
  }
replace it with our CSS
after you make everything above it will work
-------
proof
http://micsoft-2-test.forumegypt.net/
test1
password : 0123654897

Michael_vx
Forumember

Male Posts : 656
Reputation : 29
Language : Arabic and some English
Location : Egypt

Back to top Go down

Solved Re: How to get a like button on the phpBB2?

Post by ForeverPotterLock on April 16th 2015, 9:53 pm

Still nothing...

ForeverPotterLock
Forumember

Posts : 93
Reputation : 2
Language : English

http://www.thepetpalace.ga

Back to top Go down

Solved Re: How to get a like button on the phpBB2?

Post by Michael_vx on April 16th 2015, 11:51 pm

please make sure you active
1- java Scripts
2- reputation system
3- "Thanks" button
4- points system
5- Display average points per message
if still nothing Provide me a test account via PM

Michael_vx
Forumember

Male Posts : 656
Reputation : 29
Language : Arabic and some English
Location : Egypt

Back to top Go down

Solved Re: How to get a like button on the phpBB2?

Post by ForeverPotterLock on April 17th 2015, 4:43 pm

Thank you! I didn't have the java script enabled. However, there is bulky text beside the button, is there a way to remove that, or transfer the likes amount to the button?


ForeverPotterLock
Forumember

Posts : 93
Reputation : 2
Language : English

http://www.thepetpalace.ga

Back to top Go down

Solved Re: How to get a like button on the phpBB2?

Post by Michael_vx on April 17th 2015, 7:16 pm

@ForeverPotterLock wrote:Thank you! I didn't have the java script enabled. However, there is bulky text beside the button, is there a way to remove that, or transfer the likes amount to the button?


im glad that i could give a help However
the styling is not my thing you need someone know in styling i guess Sad
i might understand a few things in codes but im not a pro

Michael_vx
Forumember

Male Posts : 656
Reputation : 29
Language : Arabic and some English
Location : Egypt

Back to top Go down

Solved Re: How to get a like button on the phpBB2?

Post by ForeverPotterLock on April 18th 2015, 6:22 pm

Hm, no bother, thanks for your help! I'll just wait until a "styler" comes along Smile

ForeverPotterLock
Forumember

Posts : 93
Reputation : 2
Language : English

http://www.thepetpalace.ga

Back to top Go down

Solved Re: How to get a like button on the phpBB2?

Post by SLGray on April 18th 2015, 9:11 pm

Here is where you would modify the look of the button and text:


Code:

.LGlike {
background: #105289;
padding: 3px;
border-radius: 4px;
color: #fff;
font-size: 10px;
font-weight: bold;
text-shadow: -1px 0.5px #888;
box-shadow: 1px 1px 1px #888;
cursor: pointer;
margin-right: 4px;
}
.LGvote { margin: 0 5px; }
.LGnovote {
filter:Alpha(opacity=50);
opacity: 0.5;
cursor: default;
box-shadow: none;
text-shadow: none;
}

Notice the font-weight is bold.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35674
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

Solved Re: How to get a like button on the phpBB2?

Post by ForeverPotterLock on May 3rd 2015, 6:07 pm

@SLGray wrote:Here is where you would modify the look of the button and text:


Code:

.LGlike {
background: #105289;
padding: 3px;
border-radius: 4px;
color: #fff;
font-size: 10px;
font-weight: bold;
text-shadow: -1px 0.5px #888;
box-shadow: 1px 1px 1px #888;
cursor: pointer;
margin-right: 4px;
}
.LGvote { margin: 0 5px; }
.LGnovote {
filter:Alpha(opacity=50);
opacity: 0.5;
cursor: default;
box-shadow: none;
text-shadow: none;
}

Notice the font-weight is bold.
How do I "un-bold" the font weight?

ForeverPotterLock
Forumember

Posts : 93
Reputation : 2
Language : English

http://www.thepetpalace.ga

Back to top Go down

Solved Re: How to get a like button on the phpBB2?

Post by APE on May 3rd 2015, 7:04 pm

Look for this part
Code:
font-weight: bold;
Remove that and it will no longer be Bold





APE
Manager
Manager

Male Posts : 8341
Reputation : 719
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: How to get a like button on the phpBB2?

Post by Guardian-Angel on May 3rd 2015, 7:27 pm

I just added as per the above scripts. Whenthanks is clicked, it changes the colour of the whole post!

How can I change that to not colour the post?


ETA: and can I just have the like button and not the thanks button?

Guardian-Angel
Forumember

Posts : 414
Reputation : 7
Language : English

http://www.bachandbachettefans.net/forum

Back to top Go down

Solved Re: How to get a like button on the phpBB2?

Post by APE on May 3rd 2015, 7:59 pm

@Guardian-Angel wrote:I just added as per the above scripts. Whenthank10ths is clicked, it changes the colour of the whole post!

How can I change that to not colour the post?


ETA: and can I just have the like button and not the thanks button?
Hello there @Guardian-Angel

Please follow this really fast and easy step!
ACP Display Tab Pictures and Colors Colors

Scroll down the page to "Background Colors"

10th down that list you will see
Thanked message background color: remove the color text in that box and then save.

and your done.

APE





APE
Manager
Manager

Male Posts : 8341
Reputation : 719
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: How to get a like button on the phpBB2?

Post by Guardian-Angel on May 3rd 2015, 8:08 pm

Thanks Ape for the quick response.

Before I do that, I have noticed the Thanks button is not appearing on all the pages. It's in some topics and not others. Also, in some topics it's grey'd out even though it wasn't "thanked" yet.

Is there something else I'm missing.

Guardian-Angel
Forumember

Posts : 414
Reputation : 7
Language : English

http://www.bachandbachettefans.net/forum

Back to top Go down

Solved Re: How to get a like button on the phpBB2?

Post by APE on May 3rd 2015, 8:12 pm

@Guardian-Angel wrote:Thanks Ape for the quick response.

Before I do that, I have noticed the Thanks button is not appearing on all the pages. It's in some topics and not others. Also, in some topics it's grey'd out even though it wasn't "thanked" yet.

Is there something else I'm missing.
Nope that is 100% normal

you should see all the members that made a post but you will not see the one on your own post or it will be Grey looking or faded

if thats not what your talking about please take a screen shot and a link to your forum and i will take a look in to it some more for you.





APE
Manager
Manager

Male Posts : 8341
Reputation : 719
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: How to get a like button on the phpBB2?

Post by Guardian-Angel on May 3rd 2015, 8:22 pm

Here are the issues. On IE I can't see a thanks button at all, in any of the topics.

In Google Chrome, some threads have the thanks button, others do not, and some are grey'd out, even though I have not thanked them.

If I wanted to remove the thanks button altogether, how would I do that.

If I wanted to replace the like button with a red thumbs up in the same position as on this forum, how can I do that?

I'm not sure if the thanks button will be able to be seen by everyone. Have a look when you get a moment.

http://www.bachandbachettefans.net/forum

Guardian-Angel
Forumember

Posts : 414
Reputation : 7
Language : English

http://www.bachandbachettefans.net/forum

Back to top Go down

Solved Re: How to get a like button on the phpBB2?

Post by APE on May 3rd 2015, 8:28 pm

@Guardian-Angel can you please send me a test account By PM so i can see the thanks button as it will not show to non members

APE





APE
Manager
Manager

Male Posts : 8341
Reputation : 719
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: How to get a like button on the phpBB2?

Post by Guardian-Angel on May 3rd 2015, 8:39 pm

Can you only thank one post per page??

As soon as I thanked someone, all the rest of the thank buttons' grey'd out.

Guardian-Angel
Forumember

Posts : 414
Reputation : 7
Language : English

http://www.bachandbachettefans.net/forum

Back to top Go down

Solved Re: How to get a like button on the phpBB2?

Post by APE on May 3rd 2015, 8:53 pm

Hmm i have just looked over your forum and ran a test on the codes on all browsers and there is no problem that i can see with the buttons i even thanked 2 posts with the test account you gave me

here is a screen shot of the forums you have asked me to look at





as you can see i can like the ones that have already been liked and i can even like more then one post on that same thread.

I think you will need to update your browsers and then try again. or even see if your Flashplayer is upto date. As this code is not really an FM code and is made by LG there is not a lot of support we can give you other then give you a link to the members site HERE!! just Note that if you liked a post before you added this code it may not show up as liked but be grey looking as it has already been liked.

if you want to remove the like system and not have a like system then you can do it by this easy step.

ACP Modules tab Points and reputation Reputation Activate Activate reputation system : NO then save.


Last edited by APE on May 3rd 2015, 9:09 pm; edited 1 time in total





APE
Manager
Manager

Male Posts : 8341
Reputation : 719
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: How to get a like button on the phpBB2?

Post by APE on May 3rd 2015, 9:06 pm

Please Note:
If you post a comment or a thread you will NOT see your like Button on your threads / Posts
If you have liked a thread/ Post then the button will go grey and Fade out so it can not be pressed by you again.

If the button Grey that means you have liked the post way before you have added the new like system at some point and there is no way to remove that in your ACP.

As we are not the maker of this system you will have to ask for more support from the code maker.

Other then that try updating your browsers and flash player.

ask other members to test this on other browsers and see if they have the same problem and then get back to us.

APE





APE
Manager
Manager

Male Posts : 8341
Reputation : 719
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: How to get a like button on the phpBB2?

Post by Guardian-Angel on May 3rd 2015, 9:35 pm

Hi APE

Thank you for all that, but the problem is the "thank" button, not the like button. The like button is fine.

I have asked several members, and they say the same thing. They don't see the "thank" button on all threads.

http://www.bachandbachettefans.net/t2448p36-testing

Here is one of the threads where you can't see a thank button.

http://www.bachandbachettefans.net/t2852p936-sean-catherine-lowe-fan-forum-twitter-facebook-discussion-thread-15

Here's one where you do see a thank button.

http://www.bachandbachettefans.net/t2938p36-bachelor-new-zealand-art-green-episode-discussion-sleuthing-spoilers-2

Guardian-Angel
Forumember

Posts : 414
Reputation : 7
Language : English

http://www.bachandbachettefans.net/forum

Back to top Go down

Solved Re: How to get a like button on the phpBB2?

Post by APE on May 3rd 2015, 11:25 pm

oh sorry im a little blond at times haha Neutral

Yes you can only thank one post in each thread and then once thanked you can not thank any more post in tat thread.

this is how it works:
If you make a post you will not see the thank button until some one makes a post then on there post there will be the thank button.

Once thanked then the thank system becomes dead to you as you can only thank one time in each thread /Topic.

Hope that is what you was asking for lol

So say i make a thread here on the support forum and you replay to my thread i will then see the Thank button on your post.

Then when i press the thanks button the system will post a color background over the thanked post
IE "yours" on this forum we have a little icon at the bottom of the bottom of the thanked members post as you may have already seen on some of the threads.

After i have thanked you in that post i can not thank no one else in that thread again.

APE





APE
Manager
Manager

Male Posts : 8341
Reputation : 719
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

Page 1 of 3 1, 2, 3  Next

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum