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 October 18th 2013, 9:29 am


..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 October 18th 2013, 11: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


Derri
Administrator
Administrator

Male Posts : 8385
Reputation : 576
Language : English & Basic French
Location : Scotland, United Kingdom

Back to top Go down

In progress Re: Like Button Prob

Post by ..Sush.. on October 18th 2013, 12:43 pm

Ya..Thanxnthanked2picsisder..Bt,inmyforumthanksbuttonalsonotshowing

..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 October 18th 2013, 1:04 pm

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)

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 October 18th 2013, 1:07 pm

@..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.

Derri
Administrator
Administrator

Male Posts : 8385
Reputation : 576
Language : English & Basic French
Location : Scotland, United Kingdom

Back to top Go down

In progress Re: Like Button Prob

Post by ..Sush.. on October 18th 2013, 1:33 pm

Derri..MtalkingabtLikebutton..bt,thanxbuttonalsonotshowininTopicstartr

..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 October 18th 2013, 2:15 pm

@..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.

Derri
Administrator
Administrator

Male Posts : 8385
Reputation : 576
Language : English & Basic French
Location : Scotland, United Kingdom

Back to top Go down

In progress Re: Like Button Prob

Post by ..Sush.. on October 19th 2013, 6:29 am

Alrdymanythrdsinmyforum..Bt,nolikebuttonnnoThanxbutton..*Crying*

..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 October 20th 2013, 12:44 am

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.


SLGray
Administrator
Administrator

Male Posts : 36679
Reputation : 2445
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

In progress Re: Like Button Prob

Post by ..Sush.. on October 20th 2013, 12:01 pm

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

..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 October 20th 2013, 3:00 pm

Sush

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


Last edited by Derri on October 20th 2013, 4:38 pm; edited 1 time in total (Reason for editing : spelling error)

Derri
Administrator
Administrator

Male Posts : 8385
Reputation : 576
Language : English & Basic French
Location : Scotland, United Kingdom

Back to top Go down

In progress Re: Like Button Prob

Post by ..Sush.. on October 20th 2013, 4:30 pm

ohkk

..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