Like/Dislike button replaced
3 posters
Page 1 of 1
Like/Dislike button replaced
what happened to my like/dislike button? it should be here:
and it is here:
i just switched my forum from Invision to phpBB3, the skin is Candy by mex and my forum link is http://dragonballrevolution.go-board.com
and it is here:
i just switched my forum from Invision to phpBB3, the skin is Candy by mex and my forum link is http://dragonballrevolution.go-board.com
Re: Like/Dislike button replaced
Hi,
CSS was messed up. Once you change a theme, CSS resets, that for sure affected. Re-add the code into your CSS:
Good luck.
CSS was messed up. Once you change a theme, CSS resets, that for sure affected. Re-add the code into your 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;
}
Good luck.
DarkGlow- Forumember
- Posts : 629
Reputation : 92
Language : English | Hebrew | Arabic
Location : Israel
Re: Like/Dislike button replaced
Your missing the CSS. Because you changed theme, the CSS was cleared.
And the CSS in the post above won't do anything since your not using that system.
And the CSS in the post above won't do anything since your not using that system.
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Like/Dislike button replaced
LGforum wrote:Your missing the CSS. Because you changed theme, the CSS was cleared.
And the CSS in the post above won't do anything since your not using that system.
It actually does. What are you saying, mate?
DarkGlow- Forumember
- Posts : 629
Reputation : 92
Language : English | Hebrew | Arabic
Location : Israel
Re: Like/Dislike button replaced
You provided the CSS for the code I wrote. He's not using that code, he's using the modification from Dion Designs. It has different CSS, so what you provided will not fix his issue.
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Like/Dislike button replaced
If he used a different code, then he should simply re-add it to the CSS.
DarkGlow- Forumember
- Posts : 629
Reputation : 92
Language : English | Hebrew | Arabic
Location : Israel
Re: Like/Dislike button replaced
i used the above code but it brought my buttons to original look like is in here on the side
Re: Like/Dislike button replaced
Yes DarkGlow I know what CSS is for.
The CSS for that system from Dion designs actually includes the CSS in the JavaScript, so you might have removed it without realising it was needed. You can just go back to the topic here: http://forum.dion-designs.com/viewtopic.php?f=8&t=1338
The CSS for that system from Dion designs actually includes the CSS in the JavaScript, so you might have removed it without realising it was needed. You can just go back to the topic here: http://forum.dion-designs.com/viewtopic.php?f=8&t=1338
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Like/Dislike button replaced
Then do as you've done previously to change their positions
DarkGlow- Forumember
- Posts : 629
Reputation : 92
Language : English | Hebrew | Arabic
Location : Israel
Re: Like/Dislike button replaced
i edited the javascript code that looks like this.
i have it on my other forums and it works fine. it just doesn't work in here now. i don't want to change my skin
i don't remember what else i could do. i already replaced the pictures of plus and minus with right pics in pics management. what else? remind me
- Code:
var CopyrightNotice = 'Professional like/dislike bar for forumotion phpBB3 boards. Copyright 2011 by Dion Designs. All Rights Reserved. Use and/or modification of this script is allowed, provided this entire copyright notice remains in the original or modified script. Distribution is not allowed without written consent from Dion Designs.';
$(function() {
$('#main-content').prepend('<style type="text/css">ul.profile-icons li.ddvote{height:20px;line-height:20px;background:#fff;color:#000;border:1px solid #a0b0c0;font-size:12px;font-weight:bold}ul.profile-icons li.ddvote a{display:inline}.postbody ul.profile-icons li.ddvote img{cursor:default;vertical-align:middle}.postbody ul.profile-icons li.ddvote a img{cursor:pointer}</style>');
var x=$('.vote').get();
for (i=x.length-1; i>=0; i--) {
var plus='0';
var minus='0';
var vplus='<img style="position:relative;top:-3px;margin-right:3px" title="Like" src="http://2img.net/i/fa/admin/icones/ajouter.png" />';
var vminus='<img style="margin:0px 3px 0px 10px" title="Dislike" src="http://2img.net/i/fa/admin/icones/supprimer.png" />';
var y=$(x[i]).find('.vote-button a').get();
for (j=0; j<y.length; j++) {
if (y[j].innerHTML=='+') {vplus='<a href="'+y[j].href+'">'+vplus+'</a>';}
else if (y[j].innerHTML=='-') {vminus='<a href="'+y[j].href+'">'+vminus+'</a>';}
}
var y=$(x[i]).find('.vote-bar')[0];
if (y) {
var z=y.title.split(' ');
var pct=parseInt(z[3].replace(/%/,''))/100;
var num=parseInt(z[4].replace(/\(/,''));
plus=String(Math.round(num*pct));
minus=String(num-plus);
}
if (x[i].parentNode.parentNode.parentNode.className=='module row1
i have it on my other forums and it works fine. it just doesn't work in here now. i don't want to change my skin
i don't remember what else i could do. i already replaced the pictures of plus and minus with right pics in pics management. what else? remind me
Similar topics
» Replaced icon button in message center, now link won't work
» One of our members said that a drop down menu vanished from our mobile view site yesterday, replaced with a back button?
» There is no Like/Dislike and Thanks Button
» about the new Like/Dislike Button here
» like and dislike button
» One of our members said that a drop down menu vanished from our mobile view site yesterday, replaced with a back button?
» There is no Like/Dislike and Thanks Button
» about the new Like/Dislike Button here
» like and dislike button
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum