The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Like Button Prob

4 posters

Go down

In progress Like Button Prob

Post by ..Sush.. Fri 18 Oct - 10:29

Like Button Prob 1383696_246228838862430_1469437937_n
..Sush..
..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 Fri 18 Oct - 12:02

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

Male Posts : 8755
Reputation : 638
Language : English & Basic French
Location : Scotland, United Kingdom

Back to top Go down

In progress Re: Like Button Prob

Post by ..Sush.. Fri 18 Oct - 13:43

Ya.. Thanx n thanked 2 pics is der.. Bt ,in my forum thanks button also not showing
..Sush..
..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 Fri 18 Oct - 14:04

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
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 Fri 18 Oct - 14:07

..Sush.. wrote:Ya.. Thanx n thanked 2 pics is der.. Bt ,in my forum thanks button also not showing
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
Derri
Helper
Helper

Male Posts : 8755
Reputation : 638
Language : English & Basic French
Location : Scotland, United Kingdom

Back to top Go down

In progress Re: Like Button Prob

Post by ..Sush.. Fri 18 Oct - 14:33

Derri.. M talking abt Like button..bt ,thanx button also not showin in Topic startr
..Sush..
..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 Fri 18 Oct - 15:15

..Sush.. wrote:Derri.. M talking abt Like button..bt ,thanx button also not showin in Topic startr
Create a thread and then have someone reply to it and then see if you can like their post.
Derri
Derri
Helper
Helper

Male Posts : 8755
Reputation : 638
Language : English & Basic French
Location : Scotland, United Kingdom

Back to top Go down

In progress Re: Like Button Prob

Post by ..Sush.. Sat 19 Oct - 7:29

Alrdy many thrds in my forum.. Bt ,no like button n no Thanx button.. * Crying *
..Sush..
..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 Sun 20 Oct - 1:44

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.


Like Button Prob Slgray10

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

Male Posts : 51464
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: Like Button Prob

Post by ..Sush.. Sun 20 Oct - 13:01

My forum vrsn is punbb n i instld it in javascrpt,bt ,still like button not showing....
var avacweb_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..
..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 Sun 20 Oct - 16:00

Sush

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


Last edited by Derri on Sun 20 Oct - 17:38; edited 1 time in total (Reason for editing : spelling error)
Derri
Derri
Helper
Helper

Male Posts : 8755
Reputation : 638
Language : English & Basic French
Location : Scotland, United Kingdom

Back to top Go down

In progress Re: Like Button Prob

Post by ..Sush.. Sun 20 Oct - 17:30

ohkk
..Sush..
..Sush..
Forumember

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

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

Back to top Go down

Back to top

- Similar topics

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