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.

Like System.

View previous topic View next topic Go down

In progress Like System.

Post by cfdanz on January 10th 2014, 4:05 pm

I already have the Javascript and the CSS code for this, but it seems it has problem? Help me solve it guys, PLEASE Sad

It looks like this:


These are the scripts:

Javascript
Code:
var avacweb_like_system = {
dom_ready : false,
vote_singular : 'Like',
vote_plural : 'Likes',
callback : function(vote, new_button) {
$('.corners-bottom', vote.parentNode.parentNode).before(new_button);
}
};
$(function() { avacweb_like_system.dom_ready = true; });
$.getScript('http://www.avacweb.net/like');

CSS Stylesheet
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;
}

is there something wrong with the code?

cfdanz
Forumember

Male Posts : 26
Reputation : 1
Language : Tagalog

Back to top Go down

In progress Re: Like System.

Post by Jadster on January 10th 2014, 4:25 pm

There is nothing wrong with it. It should look like that.

Jadster
Forumember

Male Posts : 659
Reputation : 78
Language : English
Location : United States

http://adminvortex.forumotion.com

Back to top Go down

In progress Re: Like System.

Post by cfdanz on January 10th 2014, 4:36 pm

but i can't see any "Like" appear. Sad
any solutions?

Anyway, here's my url =http://gdanime.forumtl.com/

cfdanz
Forumember

Male Posts : 26
Reputation : 1
Language : Tagalog

Back to top Go down

In progress Re: Like System.

Post by Derri on January 10th 2014, 4:41 pm

Hi,

Is your forum version phpBB2? like it says in your profile?

If so the coding doesn't work for PhpBB2. That script only works for phpBB3, Invision and PunBB


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

In progress Re: Like System.

Post by cfdanz on January 11th 2014, 3:35 am

i use phbb3.

cfdanz
Forumember

Male Posts : 26
Reputation : 1
Language : Tagalog

Back to top Go down

In progress Re: Like System.

Post by Derri on January 11th 2014, 4:19 am

Okay,

I'd then suggest you look here: http://www.avacweb.com/t195-9-a-new-like-vote-system try the script from that site as it might have been updated to fix bugs and then if it doesn't work. I suggest seeking support from that site I mentioned above as they were the ones who actually created the script so they'd be the ones who're probably better to ask.


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

In progress Re: Like System.

Post by cfdanz on January 11th 2014, 10:57 am

that's where i got the script, but they keep ignoring my questions..

cfdanz
Forumember

Male Posts : 26
Reputation : 1
Language : Tagalog

Back to top Go down

In progress Re: Like System.

Post by Derri on January 11th 2014, 6:21 pm

You have made sure you've enabled reputation right?


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

In progress Re: Like System.

Post by SLGray on January 11th 2014, 8:49 pm

The JavaScript is not correct:
Code:
var like_version = 'phpbb3';
  var DOM_IS_READY = false;
  $(function(){DOM_IS_READY=true;});
  var vote_singular = 'Like';
  var vote_plural = 'Likes';
  $.getScript('http://www.avacweb.net/like');

Use this - http://help.forumotion.com/t108561-a-new-like-dislike-system-phpbb3-and-invision#709635


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


SLGray
Administrator
Administrator

Male Posts : 35641
Reputation : 2374
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


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