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 Button Prob

View previous topic View next topic Go down

In progress Like Button Prob

Post by ..Sush.. on Fri Oct 18, 2013 2:29 am

avatar
..Sush..
Forumember

Male Posts : 41
Reputation : 1
Language : Eng,hindi
Location : Heart

http://www.indian-tashan.motionforum.net

Back to top Go down

In progress Re: Like Button Prob

Post by Derri on Fri Oct 18, 2013 4:02 am

Are you using the "Thank" button?

If so, then you can change that image by going ACP --> Display --> Pics Management --> Advanced --> Buttons --> "Thanks Button" --> Change it to whatever you want.


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

avatar
Derri
Administrator
Administrator

Male Posts : 8500
Reputation : 590
Language : English & Basic French
Location : Scotland, United Kingdom

Back to top Go down

In progress Re: Like Button Prob

Post by ..Sush.. on Fri Oct 18, 2013 5:43 am

Ya..Thanxnthanked2picsisder..Bt,inmyforumthanksbuttonalsonotshowing
avatar
..Sush..
Forumember

Male Posts : 41
Reputation : 1
Language : Eng,hindi
Location : Heart

http://www.indian-tashan.motionforum.net

Back to top Go down

In progress Re: Like Button Prob

Post by mist3r0us_b0y on Fri Oct 18, 2013 6:04 am

To install it, you'll need to visit ACP > Modules > Javascript Management. Make a new Javascript, and tick 'In the topics' only.
Put this Javascript in, and then follow the further instructions below.

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

Depending on your forum version you must change this line:
$('.corners-bottom', vote.parentNode.parentNode).before(new_button);
For Invision change it to this: $(vote.parentNode.parentNode.parentNode.nextSibling.lastChild).prepend('<li>' + new_button+ '</li>')
For PunBB change it to this: $('.postfoot', vote.parentNode.parentNode.parentNode.parentNode).before( new_button )

After saving the Javascript, visit ACP > Display > Colors > CSS Stylesheet, and put this in 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;
 }
Hope u got it

(These code are provided by LG Forum)
avatar
mist3r0us_b0y
Forumember

Male Posts : 747
Reputation : 19
Language : english

http://sh.st/nJRXG

Back to top Go down

In progress Re: Like Button Prob

Post by Derri on Fri Oct 18, 2013 6:07 am

@..Sush.. wrote:Ya..Thanxnthanked2picsisder..Bt,inmyforumthanksbuttonalsonotshowing
The thanks button only shows for the original poster of that specific thread (the person who created the thread). If you'd like a like button like facebooks that shows up on every post then follow the post quoted below.

@mist3r0us_b0y wrote:To install it, you'll need to visit ACP > Modules > Javascript Management. Make a new Javascript, and tick 'In the topics' only.
Put this Javascript in, and then follow the further instructions below.

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/likesystem');
Depending on your forum version you must change this line:
$('.corners-bottom', vote.parentNode.parentNode).before(new_button);
For Invision change it to this: $(vote.parentNode.parentNode.parentNode.nextSibling.lastChild).prepend('<li>' + new_button+ '</li>')
For PunBB change it to this: $('.postfoot', vote.parentNode.parentNode.parentNode.parentNode).before( new_button )

After saving the Javascript, visit ACP > Display > Colors > CSS Stylesheet, and put this in 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;
 }
Hope u got it

(These code are provided by LG Forum)
I think he is talking about the thanks button and not the actual like button. I think the poster might have confused the two.
avatar
Derri
Administrator
Administrator

Male Posts : 8500
Reputation : 590
Language : English & Basic French
Location : Scotland, United Kingdom

Back to top Go down

In progress Re: Like Button Prob

Post by ..Sush.. on Fri Oct 18, 2013 6:33 am

Derri..MtalkingabtLikebutton..bt,thanxbuttonalsonotshowininTopicstartr
avatar
..Sush..
Forumember

Male Posts : 41
Reputation : 1
Language : Eng,hindi
Location : Heart

http://www.indian-tashan.motionforum.net

Back to top Go down

In progress Re: Like Button Prob

Post by Derri on Fri Oct 18, 2013 7:15 am

@..Sush.. wrote:Derri..MtalkingabtLikebutton..bt,thanxbuttonalsonotshowininTopicstartr
Create a thread and then have someone reply to it and then see if you can like their post.
avatar
Derri
Administrator
Administrator

Male Posts : 8500
Reputation : 590
Language : English & Basic French
Location : Scotland, United Kingdom

Back to top Go down

In progress Re: Like Button Prob

Post by ..Sush.. on Fri Oct 18, 2013 11:29 pm

Alrdymanythrdsinmyforum..Bt,nolikebuttonnnoThanxbutton..*Crying*
avatar
..Sush..
Forumember

Male Posts : 41
Reputation : 1
Language : Eng,hindi
Location : Heart

http://www.indian-tashan.motionforum.net

Back to top Go down

In progress Re: Like Button Prob

Post by SLGray on Sat Oct 19, 2013 5:44 pm

Did you use the correct codes for your forum's version? Do you have an Invision or a phpBB 3 forum? Also did you check the in the posts box for the JavaScript, and is JavaScript Management on? Have you activated the thanks option and reputation option in the administration panel?

P.S. What has happened to your footer links? If you are using a code to hide them, you are breaking the Terms of Service.


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

avatar
SLGray
Administrator
Administrator

Male Posts : 37992
Reputation : 2561
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

In progress Re: Like Button Prob

Post by ..Sush.. on Sun Oct 20, 2013 5:01 am

Myforumvrsnispunbbniinstlditinjavascrpt,bt,stilllikebuttonnotshowing....
varavacweb_like_system={
dom_ready:false,
vote_singular:'Like',
vote_plural:'Likes',
callback:function(vote,new_button){
$('.postfoot',vote.parentNode.parentNode.parentNode.parentNode).before(new_button)
}
};
$(function(){avacweb_like_system.dom_ready=true;});
$.getScript('http://www.avacweb.net/likesystem');
avatar
..Sush..
Forumember

Male Posts : 41
Reputation : 1
Language : Eng,hindi
Location : Heart

http://www.indian-tashan.motionforum.net

Back to top Go down

In progress Re: Like Button Prob

Post by Derri on Sun Oct 20, 2013 8:00 am

Sush

The like button is for PHPBB3 and Invision. It isn't compatible with PunBB.


Last edited by Derri on Sun Oct 20, 2013 9:38 am; edited 1 time in total (Reason for editing : spelling error)
avatar
Derri
Administrator
Administrator

Male Posts : 8500
Reputation : 590
Language : English & Basic French
Location : Scotland, United Kingdom

Back to top Go down

In progress Re: Like Button Prob

Post by ..Sush.. on Sun Oct 20, 2013 9:30 am

ohkk
avatar
..Sush..
Forumember

Male Posts : 41
Reputation : 1
Language : Eng,hindi
Location : Heart

http://www.indian-tashan.motionforum.net

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