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.

Thanks Button doesn't want to appear

3 posters

Go down

Solved Thanks Button doesn't want to appear

Post by clhccphilippines November 27th 2015, 9:18 am

Hello this is my First Post Thanks Button doesn't want to appear 1f600
I just want to ask question ^_^
I put this code from: avacweb.net/likesystem and no Thanks Button Appeared.

Code:

/*
 * A New Like/Dislike system for Forumotion Boards.
 * Copyright 2015 ©️ by AvacWeb. All Rights Reserved.
 * Use of this script is allowed only through reference (via src, or HTTP Request) of avacweb.net/likesystem URL.
 * No distribution without consent from origin. Origin: LGforum - AvacWeb.com
 */
function lglike(b,a){var d=a.innerHTML;a.innerHTML="Loading...";a.onclick="#";$.get(b,function(){a.className+=" LGnovote";a.innerHTML=d;var c=a.nextSibling,b=parseInt(/\d+/.exec(c.innerHTML)[0])+1;c.innerHTML=c.innerHTML.replace(/\d+/,b)})};

function init_lg_like_system() {
   for(var x = $('.vote'), i = 0, vote; (vote = x[i++]); ) {
      var count = 0, plus = 0, bar = $('.vote-bar', vote)[0], button = $('.vote-button', vote)[0];         
      if (bar) {
         var info = bar.title.match(/\d+/g);
         plus = Math.round(parseInt( info[1] ) * parseInt( info[0] )) / 100;
      }
      
      button = button ? '<span onclick="lglike(\'' + button.firstChild.href + '\',this);" class="LGlike">' + avacweb_like_system.vote_singular + '</span>' : '<span class="LGlike LGnovote">' + avacweb_like_system.vote_singular + '</span>';
      var votes_text = '<span class="LGlikecount">' + plus + ' ' + (plus == 1 ? avacweb_like_system.vote_singular : avacweb_like_system.vote_plural) + '</span>';
      var total_button = '<div class="LGvote" style="margin:3px">' + button + votes_text + '</div>';
      
      if(avacweb_like_system.callback) avacweb_like_system.callback(vote, total_button);
   }
   x.remove();
   
};

avacweb_like_system.dom_ready ? init_lg_like_system() : $(function () { init_lg_like_system() });


I also read, tried this topics but i dont know why nothing appeared in my forum:
https://help.forumotion.com/t142870-improve-the-reputation-system-so-it-counts-votes
https://help.forumotion.com/t143120-like-button-disappeared-again?highlight=how+to+put+thank+button

can Someone make me a Guide for this? Thanks Button? Smile

i am using version:Phpbb3

Thanks in advanced to all who wants to helped me Very Happy



Last edited by clhccphilippines on November 28th 2015, 1:40 am; edited 1 time in total
clhccphilippines
clhccphilippines
New Member

Posts : 21
Reputation : 1
Language : English

http://clhccphilippines.prodiscussion.net

Back to top Go down

Solved Re: Thanks Button doesn't want to appear

Post by SLGray November 27th 2015, 5:09 pm

The thanks button will only appear to the topic starter in the posts after the first post.

Also check to make sure that you have an image for the thanks button:

AP > Display > Colors & Pictures > Pics Management
Advanced Mode
Buttons Tab


Thanks Button doesn't want to appear 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 : 51489
Reputation : 3519
Language : English
Location : United States

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

Back to top Go down

Solved Re: Thanks Button doesn't want to appear

Post by brandon_g November 27th 2015, 5:26 pm

Hello,

How exactly did you get the link avacweb.net/likesystem ? It is just the code and I haven't seen anything like that before. Usually most of their codes are in the form of tutorials which are on avacweb.com . scratch

-Brandon


Thanks Button doesn't want to appear Brando10
Remember to mark your topic Thanks Button doesn't want to appear Solved15 when a solution is found.
General Rules | Tips & Tricks | FAQ | Forgot Founder Password?

Thanks Button doesn't want to appear Scre1476
Team Leader
Review Section Rules | Request A Review | Sticker Points
brandon_g
brandon_g
Manager
Manager

Male Posts : 10106
Reputation : 923
Language : English
Location : USA

https://www.broadcastingduo.com

Back to top Go down

Solved Re: Thanks Button doesn't want to appear

Post by clhccphilippines November 27th 2015, 5:50 pm

i Put this in 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;
 }

I have Thanks button image: Thanks Button doesn't want to appear PXve3qu

And i have this Forum post no Thanks button appeared in 2nd post:
Thanks Button doesn't want to appear S8REkA4

hmm, what maybe the problem? it still dont appear in me. Smile

-------

@Brandon:
I Just paste the link then it looks like this:
Thanks Button doesn't want to appear OvCVly6

by the way i am using Chrome as my browser, do browser affect the code?
and if thats not the right code, can you please give me a right code to use? Very Happy Thanks ^_^

Thanks @SLGray & @Brandon for the help Very Happy
clhccphilippines
clhccphilippines
New Member

Posts : 21
Reputation : 1
Language : English

http://clhccphilippines.prodiscussion.net

Back to top Go down

Solved Re: Thanks Button doesn't want to appear

Post by SLGray November 27th 2015, 5:59 pm

Do you see the thanks button in this topic?


Thanks Button doesn't want to appear 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 : 51489
Reputation : 3519
Language : English
Location : United States

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

Back to top Go down

Solved Re: Thanks Button doesn't want to appear

Post by clhccphilippines November 27th 2015, 6:04 pm

Yes i saw the Thanks Button in this topic ^_^
Thanks Button doesn't want to appear PY9ItxS

@SLGray does my code is correct? Smile
What will i do now? Smile
clhccphilippines
clhccphilippines
New Member

Posts : 21
Reputation : 1
Language : English

http://clhccphilippines.prodiscussion.net

Back to top Go down

Solved Re: Thanks Button doesn't want to appear

Post by SLGray November 27th 2015, 6:06 pm

Could you send me a test account for your forum so I can test it?


Thanks Button doesn't want to appear 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 : 51489
Reputation : 3519
Language : English
Location : United States

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

Back to top Go down

Solved Re: Thanks Button doesn't want to appear

Post by clhccphilippines November 27th 2015, 6:33 pm

@SLGray this one:
username: *i*u*l*
pw: ********

forum: http://clhccphilippines.prodiscussion.net/

i just test it post and nothings happened Very Happy

and do i need to clear cookies in browser?? an error occur when i tried to register that name in chrome
Thanks Button doesn't want to appear FufWffl i tried mozilla and no problem to register. Smile


Last edited by clhccphilippines on November 28th 2015, 1:35 am; edited 2 times in total
clhccphilippines
clhccphilippines
New Member

Posts : 21
Reputation : 1
Language : English

http://clhccphilippines.prodiscussion.net

Back to top Go down

Solved Re: Thanks Button doesn't want to appear

Post by SLGray November 27th 2015, 6:44 pm

Thanks.  I have logged onto your forum.


Thanks Button doesn't want to appear 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 : 51489
Reputation : 3519
Language : English
Location : United States

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

Back to top Go down

Solved Re: Thanks Button doesn't want to appear

Post by SLGray November 27th 2015, 6:57 pm

You did not have it activated.

AP > Modules > Points & Reputation > Reputation
Activate Thanks Button:


Thanks Button doesn't want to appear 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 : 51489
Reputation : 3519
Language : English
Location : United States

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

Back to top Go down

Solved Re: Thanks Button doesn't want to appear

Post by clhccphilippines November 27th 2015, 7:25 pm

Thank you so Much @SLGray ^_^
Thanks for this big helped ^_^

Worked now Very Happy
Thanks Button doesn't want to appear BOW5XpG

the problem is Very Happy if i clicked one "thanks" button, ALL the thanks button will become "Already Clicked"
in one topic?

i thought it will only thanks one single post Very Happy

but i am happy vote and thanks button i can see the now Very Happy
clhccphilippines
clhccphilippines
New Member

Posts : 21
Reputation : 1
Language : English

http://clhccphilippines.prodiscussion.net

Back to top Go down

Solved Re: Thanks Button doesn't want to appear

Post by brandon_g November 27th 2015, 8:10 pm

Is this solved?

-Brandon


Thanks Button doesn't want to appear Brando10
Remember to mark your topic Thanks Button doesn't want to appear Solved15 when a solution is found.
General Rules | Tips & Tricks | FAQ | Forgot Founder Password?

Thanks Button doesn't want to appear Scre1476
Team Leader
Review Section Rules | Request A Review | Sticker Points
brandon_g
brandon_g
Manager
Manager

Male Posts : 10106
Reputation : 923
Language : English
Location : USA

https://www.broadcastingduo.com

Back to top Go down

Solved Re: Thanks Button doesn't want to appear

Post by SLGray November 27th 2015, 11:54 pm

You can only thank one post in a topic.


Thanks Button doesn't want to appear 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 : 51489
Reputation : 3519
Language : English
Location : United States

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

Back to top Go down

Solved Re: Thanks Button doesn't want to appear

Post by clhccphilippines November 28th 2015, 1:31 am

Thanks For Helping me ^_^
Keep up the good work Forumotion Thanks Button doesn't want to appear 1f600

Yes Solved Very Happy
clhccphilippines
clhccphilippines
New Member

Posts : 21
Reputation : 1
Language : English

http://clhccphilippines.prodiscussion.net

Back to top Go down

Solved Re: Thanks Button doesn't want to appear

Post by brandon_g November 28th 2015, 4:50 am

Topic solved and archived ~ brandon_g


Thanks Button doesn't want to appear Brando10
Remember to mark your topic Thanks Button doesn't want to appear Solved15 when a solution is found.
General Rules | Tips & Tricks | FAQ | Forgot Founder Password?

Thanks Button doesn't want to appear Scre1476
Team Leader
Review Section Rules | Request A Review | Sticker Points
brandon_g
brandon_g
Manager
Manager

Male Posts : 10106
Reputation : 923
Language : English
Location : USA

https://www.broadcastingduo.com

Back to top Go down

Back to top

- Similar topics

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