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.

Thanks Button doesn't want to appear

View previous topic View next topic Go down

Solved Thanks Button doesn't want to appear

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

Hello this is my First Post
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:
http://help.forumotion.com/t142870-improve-the-reputation-system-so-it-counts-votes
http://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
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 on 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


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


SLGray
Administrator
Administrator

Male Posts : 36641
Reputation : 2441
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Solved Re: Thanks Button doesn't want to appear

Post by brandon_g on 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


Remember to mark your topic when a solution is found.

brandon_g
Support Moderator
Support Moderator

Male Posts : 5345
Reputation : 488
Language : English
Location : USA

http://broadcastingduo.forumotion.com/

Back to top Go down

Solved Re: Thanks Button doesn't want to appear

Post by clhccphilippines on 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:

And i have this Forum post no Thanks button appeared in 2nd post:


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

-------

@Brandon:
I Just paste the link then it looks like this:


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
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 on November 27th 2015, 5:59 pm

Do you see the thanks button in this topic?


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


SLGray
Administrator
Administrator

Male Posts : 36641
Reputation : 2441
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Solved Re: Thanks Button doesn't want to appear

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

Yes i saw the Thanks Button in this topic ^_^


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

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 on November 27th 2015, 6:06 pm

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


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


SLGray
Administrator
Administrator

Male Posts : 36641
Reputation : 2441
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Solved Re: Thanks Button doesn't want to appear

Post by clhccphilippines on 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
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
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 on November 27th 2015, 6:44 pm

Thanks. I have logged onto your forum.


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


SLGray
Administrator
Administrator

Male Posts : 36641
Reputation : 2441
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Solved Re: Thanks Button doesn't want to appear

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

You did not have it activated.

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


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


SLGray
Administrator
Administrator

Male Posts : 36641
Reputation : 2441
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Solved Re: Thanks Button doesn't want to appear

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

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

Worked now Very Happy


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
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 on November 27th 2015, 8:10 pm

Is this solved?

-Brandon


Remember to mark your topic when a solution is found.

brandon_g
Support Moderator
Support Moderator

Male Posts : 5345
Reputation : 488
Language : English
Location : USA

http://broadcastingduo.forumotion.com/

Back to top Go down

Solved Re: Thanks Button doesn't want to appear

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

You can only thank one post in a topic.


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


SLGray
Administrator
Administrator

Male Posts : 36641
Reputation : 2441
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Solved Re: Thanks Button doesn't want to appear

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

Thanks For Helping me ^_^
Keep up the good work Forumotion

Yes Solved Very Happy

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 on November 28th 2015, 4:50 am

Topic solved and archived ~ brandon_g


Remember to mark your topic when a solution is found.

brandon_g
Support Moderator
Support Moderator

Male Posts : 5345
Reputation : 488
Language : English
Location : USA

http://broadcastingduo.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