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 2 of 3 Previous  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

First topic message reminder :

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 Guardian-Angel on May 3rd 2015, 11:46 pm

@APE wrote: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
Ahhh ok that explains it! I will deactive the Thanks button and keep the like button! Smile

Two more questions.

Can I move the like button so it's positioned before the multi quote button like it is on this forum, but replace it with a red thumbs up:

The reputation count - is that how many likes the poster has liked, or is that the number of posters who liked their post?

Guardian-Angel
Forumember

Posts : 411
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 4th 2015, 12:08 am

@Guardian-Angel wrote:
Ahhh ok that explains it! I will deactive the Thanks button and keep the like button! Smile

Two more questions.

Can I move the like button so it's positioned before the multi quote button like it is on this forum, but replace it with a red thumbs up:

The reputation count - is that how many likes the poster has liked, or is that the number of posters who liked their post?
Answer to Question  1
Not really sure about this one as i Do not use that system. I think its set up on LG's data centre as a button
maybe i could pm you the code if i find away to do it.

Answer to Question  2
The reputation Count is the likes Button it will count up every time you like a post the points count is the one where you post a comment or reply to a post and log on.

Cool took made by a staff member you may want to read on Wink

Things you may want to read up on:
This will let you thank more then one member
http://help.forumotion.com/t135932-post-an-automatic-message-on-click-of-a-thanks-button#916010%C2%A0

Cool Rep system:
http://help.forumotion.com/t132299-add-a-bar-for-reputation#888421





APE
Manager
Manager

Male Posts : 8317
Reputation : 716
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 5th 2015, 3:34 pm

Answer to Question 2 wrote:The reputation Count is the likes Button it will count up every time you like a post the points count is the one where you post a comment or reply to a post and log on.


Sorry I need clarification.

Is the reputation count the total number of posts that I have liked or is it the number of my posts that have been liked by others?

Is it one count for every like?

Guardian-Angel
Forumember

Posts : 411
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 SLGray on May 6th 2015, 6:13 am

In your profile, you will see both the likes to your posts and your likes to other posts.  The buttons in messages will only show the likes to the posts.


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


SLGray
Administrator
Administrator

Male Posts : 35624
Reputation : 2372
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 Guardian-Angel on May 6th 2015, 2:32 pm

In the profiles we are only seeing the post count of likes to our posts. How can I get it to show the number of posts we have liked as well?

Guardian-Angel
Forumember

Posts : 411
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 Guardian-Angel on May 6th 2015, 4:58 pm

Sorry for the double post. All of a sudden my like button as disappeared and I have a +- bar at the right of every post.

I have not done anything at all in the AC panel today.

Guardian-Angel
Forumember

Posts : 411
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 SLGray on May 6th 2015, 8:20 pm

I mean the profile when you press your username.

Profile > Statistics

Example on the support forum:
Plus 1 Total

  • Plus 1 Total : 1679
  • Positive votes received : 656
  • Negative votes received : 3
  • Thanks received : 746
  • Positive votes given : 106
  • Negative votes given : 0
  • Thanks given : 5


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


SLGray
Administrator
Administrator

Male Posts : 35624
Reputation : 2372
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 Guardian-Angel on May 7th 2015, 12:20 am

SLGray - we do not have that information in the profile. 

As per my previous post, my like button has disappeared this morning and replaced with a positive/negative bar. 

I would prefer the like button, with only like posts available. I do not want anything negative.

I unfortunately didn't save the link where I got the information to create a javascript and add to the CSS sheet and now I can't find it.

Can you please provide me with the link to add the like button for our forum
phpBB. Also advise how this bar appeared and how can I remove it. 

TY

Guardian-Angel
Forumember

Posts : 411
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 Guardian-Angel on May 7th 2015, 3:57 am

I found the instructions and started from the beginning again. I recreated Java and CSS as instructed. 

I keep getting this message. 

 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 believe it won't work this time because of something else that's stopping it. Like I said up thread, bars appeared with a +/- at the side of the posts which weren't there before the like button disappeared. 

http://www.bachandbachettefans.net/forum

Guardian-Angel
Forumember

Posts : 411
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 SLGray on May 7th 2015, 8:04 am

The bar with the plus and minus signs is the default reputation system.


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


SLGray
Administrator
Administrator

Male Posts : 35624
Reputation : 2372
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 Guardian-Angel on May 7th 2015, 2:19 pm

How to I remove the default and get the blue like button back? That's how I had it initially, there wasn't a default bar.

Guardian-Angel
Forumember

Posts : 411
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 7th 2015, 10:40 pm

Hi @Guardian-Angel

Please add the test account you gave me the last time to have Admin powers on your forum and i will take a look at your CSS files it looks to me that you have a open class in the files and it's not closed off

All rules in the css files must have a open class like this { and a close class like this }





APE
Manager
Manager

Male Posts : 8317
Reputation : 716
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 7th 2015, 11:42 pm

Code:
.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;
     }
    
.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;
 }
Java

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');


This is what I have which I copied from this thread up above. The first time I used it, no problem. Java enabled, Reputation enabled. The blue like button appeared, the likes were adding up correctly, I changed the activate the thanks button to no, and all was fine. 

Several days later, my blue like button dissappeared, and the default bars appeared at the side of the posts. 

As mentioned several times, I would prefer the blue like button back, get rid of the default bar on the side of the posts, I don't want anything negative on my forum. 

I'd appreciate if someone can give me the correct java and CSS for the Blue like button.

Thanks.

Guardian-Angel
Forumember

Posts : 411
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 SLGray on May 8th 2015, 8:10 am

Why do you have two LGLike CSS codes?


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


SLGray
Administrator
Administrator

Male Posts : 35624
Reputation : 2372
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 APE on May 8th 2015, 3:51 pm

The 2 codes you have posted are working fine on my test account if you pm me an test account again with admin rights i will look to see why the codes are not working for you.

APE





APE
Manager
Manager

Male Posts : 8317
Reputation : 716
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 ForeverPotterLock on May 9th 2015, 7:28 pm

The codes are not working for me :/ They were working for a while!

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 9th 2015, 7:29 pm

as i said i think you have a break in your CSS files that is stopping your codes from working if you pm me a test account with admin powers i will take a look for you.

APE





APE
Manager
Manager

Male Posts : 8317
Reputation : 716
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 ForeverPotterLock on May 10th 2015, 5:05 am

@APE

Has been completed.

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 10th 2015, 8:15 pm

ok I have had a look at the Codes and there is nothing wrong with what you have added to your forum but i did find out the Site that Hosts the codes is no longer hosting the files needed on the server's
the site is
Code:
http://micsoft.xp3.biz/like
that site is no longer hosting the system to make this work any longer so there for the System will no longer work.

Sorry

APE





APE
Manager
Manager

Male Posts : 8317
Reputation : 716
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 10th 2015, 8:42 pm

That's not something I did. That was in the script.

I would like to remove the +/-. I don't want anything negative. I'd like the thumbs up or a like button and not to refresh the page every time a vote is pressed. Positioned before the multiquote, the way it is on this forum.


Guardian-Angel
Forumember

Posts : 411
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 11th 2015, 3:06 am

as the like system for Phpbb2 no longer works i would ask you to take a look at this thread to get a like system that is sort of like the one Here on FM Support 
http://help.forumotion.com/t138911-reputation-button-move?highlight=like+button





APE
Manager
Manager

Male Posts : 8317
Reputation : 716
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 11th 2015, 4:09 am

Thanks ape and every one else! It works for me! 

Very good

Guardian-Angel
Forumember

Posts : 411
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 11th 2015, 9:00 pm

@Guardian-Angel wrote:Thanks ape and every one else! It works for me! 

Very good
I'm Glad this has worked for you @Guardian-Angel
just got to see if it is what is wanted by @ForeverPotterLock Now
before I close this thread.

Is this now solved for you @ForeverPotterLock ?





APE
Manager
Manager

Male Posts : 8317
Reputation : 716
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 ForeverPotterLock on May 11th 2015, 9:42 pm

@APE which code do I use?

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 11th 2015, 9:57 pm

  HTML & JAVASCRIPT   JAVASCRIPT
Title :
Your choice
Placement : In the topics
Paste the code below and submit :
Code:
$(function() {
    $('.vote').each(function() {
      if ($(this).find('.vote-bar').length) { var VCount = $(this).find('.vote-bar').attr('title').replace(/.*\((\d+).*\)/,'$1') }
      if (VCount == '1') var vote = ' vote';
      else var vote = ' votes';
      var VPlus = $(this).find('.vote-button:first a').addClass('VPlus').attr('title', 'Vote up');
    
      $(this).closest('.post').find('.post-options').append(VPlus);
      $(this).closest('.post:has(.vote-bar)').find('.post-options').append('<span class="VCount" title="'+VCount+vote+'">'+VCount+'</span>');
      $(this).remove();
    });
  
    $('.VPlus').click(function(){
      $.get($(this).attr('href'), function() {
          location.reload();
      });
      return false
    });
});

This in your CSS

Code:
/*Vote System*/
.VCount, .VPlus {
  color:#0A0 !important;
  font-size:14px;
  font-weight:bold;
  font-family:Verdana,Arial,Helvetica,sans-serif;
}

.VCount:before {
  content:url(MY_IMAGE);
  opacity:0.5;
  filter:alpha(opacity=50);
  margin-left:4px;
}
.VPlus + .VCount:before { margin-left:-12px }
.VCount {
  text-shadow:1px 1px 0px rgba(0,120,0, 0.3);
  cursor:default;
}

.VPlus {
  text-shadow:1px 1px 0px rgba(0,120,0, 0.1);
  text-decoration:none;
  position:relative;
  margin-left:4px;
  z-index:1;
}

.VPlus:hover { color:#0D0 !important }
.vote {
  opacity:0;
  filter:alpha(opacity=0);
}

Replace MY_IMAGE by the URL of your image.

any problems let me know.

APE





APE
Manager
Manager

Male Posts : 8317
Reputation : 716
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 ForeverPotterLock on May 11th 2015, 10:24 pm

@APE, what does it mean by my image? Will it not change when somebody clicks it?

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 ForeverPotterLock on May 11th 2015, 10:33 pm

Nothing is showing @APE

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 Guardian-Angel on May 12th 2015, 1:58 am

@ForeverPotterLock wrote:Nothing is showing @APE
Java 

Code:
$(document).ready(function() {
    $('.vote').each(function() {
       if ($(this).find('.vote-bar').length) { var VCount = $(this).find('.vote-bar').attr('title').replace(/.*\((\d+).*\)/,'$1') }
       if (VCount == '1') { var vote = ' vote' }
       else { var vote = ' votes' }
       var VPlus = $(this).find('.vote-button:first a').addClass('VPlus').attr('title', 'Vote up');
      
       $(this).closest('.postbody').find('.profile-icons').append(VPlus);
       $(this).closest('.postbody:has(.vote-bar)').find('.profile-icons').append('<span class="VCount" title="'+VCount+vote+'">'+VCount+'</span>');
       $(this).remove();
    });
    
    $('.VPlus').click(function(){
       $.get($(this).attr('href'), function() {
          location.reload();
       });
       return false
    });
})

CSS

Code:
.vote .vote-button a {
background-image: url('http://i39.servimg.com/u/f39/18/78/19/68/tbar_t10.png') !important;
background-repeat:no-repeat;
padding-right: 40px;
padding-top: 50px;

font-size:0 !important;
}
.vote { width:auto }

/*Vote System*/
.VCount:before{
content: url('http://i39.servimg.com/u/f39/18/78/19/68/tbar_t10.png');
opacity:1;
filter:alpha(opacity=50);
}
.VCount{
color:#00;
font-size:12px;
font-weight:bold;
text-shadow:1px 1px 0px rgba(0,120,0, 0.3);
font-family: Verdana,Arial,Helvetica,sans-serif;
cursor:default;
}
.VPlus{
color:#00 !important;
font-size:15px;
font-weight:bold;
text-shadow:1px 1px 0px rgba(0,120,0, 0.1);
font-family: Verdana,Arial,Helvetica,sans-serif;
position:relative;
left:9px;
z-index:1;
}

.vote{
opacity:0;
filter:alpha(opacity=0);
}

I used these ones. There is a + that appears next to quote multi quote etc, once you clicked, it votes, and changes to a thumbs up icon. The second line of the CSS is this. Http etc is the link to the image that ape was talking about. If you don't like that image, then you can replace it. 

Code:
background-image: url('http://i39.servimg.com/u/f39/18/78/19/68/tbar_t10.png')

Guardian-Angel
Forumember

Posts : 411
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 12th 2015, 2:36 am

Did you remove all the codes from the LG likes button and the java ? if yes then i am really not sure why this is not working

Please pm me your test account with admin account so i can test this and add the codes my self Wink

APE





APE
Manager
Manager

Male Posts : 8317
Reputation : 716
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 Michael_vx on May 12th 2015, 10:25 am

@APE wrote:ok I have had a look at the Codes and there is nothing wrong with what you have added to your forum but i did find out the Site that Hosts the codes is no longer hosting the files needed on the server's
the site is
Code:
http://micsoft.xp3.biz/like
that site is no longer hosting the system to make this work any longer so there for the System will no longer work.

Sorry

APE
its a shock to me ill re host it again thanks for letting me know
-----------
Edit
Script now is re hosted at
Code:
http://micsoft.is-best.net/like
for all change the old link to the new one above
sorry for what happen in the old link

Michael_vx
Forumember

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

Back to top Go down

Page 2 of 3 Previous  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