Like Button Script
3 posters
Page 1 of 1
Like Button Script
My like button disappeared this morning. I believe it might be a hosting problem. I am waiting to hear from @Michael_vx who has helped with this in the past.
Where can I find the link to instructions on how to install the like button for PHPBB 2? so I can save it for future.
In the meantime, can someone check my codes to make sure I have the correct ones. I have been searching for my original posts and links from when I installed the like button, but it's been confusing. I've been changing the hosting links I have messed up. I am seeing the Thanks button, which isn't the way I had it set up. It should be a Like thumbs up button.
Where in this script does it show the url for my thumbs up image?
Would I have obtained the thumbs up image from this forum?
Java
CSS
CSS
Where can I find the link to instructions on how to install the like button for PHPBB 2? so I can save it for future.
In the meantime, can someone check my codes to make sure I have the correct ones. I have been searching for my original posts and links from when I installed the like button, but it's been confusing. I've been changing the hosting links I have messed up. I am seeing the Thanks button, which isn't the way I had it set up. It should be a Like thumbs up button.
Where in this script does it show the url for my thumbs up image?
Would I have obtained the thumbs up image from this forum?
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.is-best.net/like');
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;
}
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;
}
- 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
.vote .vote-button, .vote-no-bar {
display:none;
}
.vote .vote-button:first-child {
display:block;
}
.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);
}
Re: Like Button Script
Hello this is down to the host that runs a small java code no longer working again
unless this code is installed on a good server that will not go down then you will always have this problem.
- Code:
http://micsoft.is-best.net/like
unless this code is installed on a good server that will not go down then you will always have this problem.
Re: Like Button Script
What server is used on this forum for the thumbs up like button?
Can I not use the same server?
Can I not use the same server?
Re: Like Button Script
I apologize for the double post.
I noticed @Ange Tuteur instructions for
Improve the Reputation Button so it counts votes.
I have updated java/css for this program. I added my own like button which seems to be working fine.
1. Can I have it moved so it's positioned left, above the post like this?
2. Can I add the word Likes after the numberand change it to black smaller font as show in the same s/shot?
This is what it currently looks like.
Before post is liked
After its liked.
ETA: I was able to change the font size and colour. Looking for help in moving it over left above the post.
I noticed @Ange Tuteur instructions for
Improve the Reputation Button so it counts votes.
I have updated java/css for this program. I added my own like button which seems to be working fine.
1. Can I have it moved so it's positioned left, above the post like this?
2. Can I add the word Likes after the number
This is what it currently looks like.
Before post is liked
After its liked.
ETA: I was able to change the font size and colour. Looking for help in moving it over left above the post.
Re: Like Button Script
Script re hosted again
http://micsoft.pe.hu/like
i guess im a bit unlucky most of my web sites are being deleted
http://micsoft.pe.hu/like
i guess im a bit unlucky most of my web sites are being deleted
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Re: Like Button Script
Thanks you @APE
I will wait until I hear the answer to my question about moving the like button as posted upthread before marking this solved.
I will wait until I hear the answer to my question about moving the like button as posted upthread before marking this solved.
Re: Like Button Script
i dont have the earns to make me able to pay for hosting serviceAPE wrote:You need to host it on a better system as this always gets deleted.
im movng the like host to new hosting
http://miclike.esy.es/like
the old one i may keep but if the site droped down again with CPU limit Error
the it will be only at the new hosting
the old hosting is used by image sharing and im not ready to lose images
i hope if someone have a good hosting to be able to host the file
if yes
i can let you have the file any time
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Similar topics
» Announcment, Expand forum button, Custom like button, Hover over image
» How to add script, for like button to add Points
» Mention Button Script for awesomebb?
» Change Quote Button, Edit Button and more into the text
» register Script (I Need The Script)
» How to add script, for like button to add Points
» Mention Button Script for awesomebb?
» Change Quote Button, Edit Button and more into the text
» register Script (I Need The Script)
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum