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.

Thank you button Add Problem

4 posters

Go down

Thank you button Add Problem Empty Thank you button Add Problem

Post by Tap@s February 6th 2016, 11:02 am

Technical Details


Forum version : #phpBB2
Position : Administrator
Concerned browser(s) : Mozilla Firefox
Screenshot of problem : http://www.4shared.com/photo/JTc8XMhsce/2016-02-06_155851.html
Who the problem concerns : Yourself
When the problem appeared : Thanks Button Add Problem
Forum link : http://gsmbangladesh.forumotion.com

Description of problem

Thank you button Add Problem

Please Fix My Problem........................................................................................... Hello
Tap@s
Tap@s
New Member

Posts : 5
Reputation : 1
Language : English

http://gsmbangladesh.forumotion.com

Back to top Go down

Thank you button Add Problem Empty Re: Thank you button Add Problem

Post by Take Notes February 6th 2016, 1:46 pm

Please post the code you used for it.
Take Notes
Take Notes
Helper
Helper

Male Posts : 2337
Reputation : 324
Language : English
Location : Forumountain

Back to top Go down

Thank you button Add Problem Empty Re: Thank you button Add Problem

Post by Pamoon February 6th 2016, 2:25 pm

Thank is used once a topic, no more, if you've thanked, you and other members cant not thank anymore, maybe this is your problem.
Pamoon
Pamoon
Forumember

Posts : 28
Reputation : 10
Language : en.js

https://help.forumotion.com/

Back to top Go down

Thank you button Add Problem Empty Re: Thank you button Add Problem

Post by Take Notes February 6th 2016, 2:35 pm

Draud0229 wrote:Thank is used once a topic, no more, if you've thanked, you and other members cant not thank anymore, maybe this is your problem.
I think s/he was talking about the "thanked message" feature when the post is thanked. Of not, you're absolutely correct.
Take Notes
Take Notes
Helper
Helper

Male Posts : 2337
Reputation : 324
Language : English
Location : Forumountain

Back to top Go down

Thank you button Add Problem Empty Re: Thank you button Add Problem

Post by Tap@s February 6th 2016, 2:44 pm

@Forumedic


I used This Code

Code:
#fa_thanks_message img { vertical-align:middle }#fa_thanks_message {  color:#280;  font-size:16px;  font-weight:bold;  text-align:center;  background-color:#DFD;  border:1px solid #BDB;  border-radius:6px;  padding:6px;  margin:6px;}

Tap@s
Tap@s
New Member

Posts : 5
Reputation : 1
Language : English

http://gsmbangladesh.forumotion.com

Back to top Go down

Thank you button Add Problem Empty Re: Thank you button Add Problem

Post by Take Notes February 6th 2016, 2:54 pm

Try this in JavaScript Codes Management

Administration Panel > Modules > JavaScript Codes Management

Code:
$(function() {
  var url_img = "http://2img.net/i/fa/prosilver/icon_thanks_off_en.png",
  version = "phpbb2",
  message = "Thank you!";
    
  switch (version.toLowerCase()) {
    case 'phpbb2': var idi = '.post-options', addLi = '', closeLi = '';
    break;
    case 'phpbb3': var idi = '.profile-icons', addLi = '<li>', closeLi = '</li>';
    break;
    case 'punbb': var idi = '.post-options', addLi = '', closeLi = '';
    break;
    case 'invision': var idi = '.posting-icons', addLi = '<li>', closeLi = '</li>';
    break;
  }
    
  $(idi).first().prepend(addLi+'<img src="'+url_img+'" alt="Merci" id="mercipost" />'+closeLi);
  $('#mercipost').click(function() {
    $('#text_editor_textarea').sceditor('instance').insertText(message);
    $('input[name="post"]').click();
  });
});
Take Notes
Take Notes
Helper
Helper

Male Posts : 2337
Reputation : 324
Language : English
Location : Forumountain

Back to top Go down

Thank you button Add Problem Empty Re: Thank you button Add Problem

Post by Tap@s February 6th 2016, 3:23 pm

Forumedic

I Want To Add Thanks Button As A Like Button ....


Sorry for Previous Wrong Post
Like This


Thank you button Add Problem 2016-010
Tap@s
Tap@s
New Member

Posts : 5
Reputation : 1
Language : English

http://gsmbangladesh.forumotion.com

Back to top Go down

Thank you button Add Problem Empty Re: Thank you button Add Problem

Post by Tap@s February 6th 2016, 3:34 pm

Forumedic wrote:Try this in JavaScript Codes Management

Administration Panel > Modules > JavaScript Codes Management

Code:
$(function() {
  var url_img = "http://2img.net/i/fa/prosilver/icon_thanks_off_en.png",
  version = "phpbb2",
  message = "Thank you!";
    
  switch (version.toLowerCase()) {
    case 'phpbb2': var idi = '.post-options', addLi = '', closeLi = '';
    break;
    case 'phpbb3': var idi = '.profile-icons', addLi = '<li>', closeLi = '</li>';
    break;
    case 'punbb': var idi = '.post-options', addLi = '', closeLi = '';
    break;
    case 'invision': var idi = '.posting-icons', addLi = '<li>', closeLi = '</li>';
    break;
  }
    
  $(idi).first().prepend(addLi+'<img src="'+url_img+'" alt="Merci" id="mercipost" />'+closeLi);
  $('#mercipost').click(function() {
    $('#text_editor_textarea').sceditor('instance').insertText(message);
    $('input[name="post"]').click();
]
  });
});

I want Add Like/Thanks  Button  For This Purpose


Code:
The Following User Says Thank You to xxxxxxxFor This Useful Post:


Tap@s
Tap@s
New Member

Posts : 5
Reputation : 1
Language : English

http://gsmbangladesh.forumotion.com

Back to top Go down

Thank you button Add Problem Empty Re: Thank you button Add Problem

Post by Take Notes February 6th 2016, 3:34 pm

So you want the "Thanks" icon to say "Like" on it? If so, all you need to do is go to:

Administration Panel > Display > Pics Management and change the "Thanks" icon. You will need to request a "Like" icon from the Graphic Section if you don't already have one.
Take Notes
Take Notes
Helper
Helper

Male Posts : 2337
Reputation : 324
Language : English
Location : Forumountain

Back to top Go down

Thank you button Add Problem Empty Re: Thank you button Add Problem

Post by Tap@s February 6th 2016, 3:46 pm

Tap@s
Tap@s
New Member

Posts : 5
Reputation : 1
Language : English

http://gsmbangladesh.forumotion.com

Back to top Go down

Thank you button Add Problem Empty Re: Thank you button Add Problem

Post by brandon_g February 6th 2016, 3:54 pm

Tap@s wrote:@Forumedic


I used This Code

Code:
#fa_thanks_message img { vertical-align:middle }#fa_thanks_message {  color:#280;  font-size:16px;  font-weight:bold;  text-align:center;  background-color:#DFD;  border:1px solid #BDB;  border-radius:6px;  padding:6px;  margin:6px;}


Tap@s wrote:Forumedic

I Want To Add Thanks Button As A Like Button ....


Sorry for Previous Wrong Post
Like This


Thank you button Add Problem 2016-010

Just a quick non official reminder, to please stick to the default text and not use bold and colored text, as this is reserved for moderation purposes only.

-Brandon


Thank you button Add Problem Brando10
Remember to mark your topic Thank you button Add Problem Solved15 when a solution is found.
General Rules | Tips & Tricks | FAQ | Forgot Founder Password?

Thank you button Add Problem Scre1476
Team Leader
Review Section Rules | Request A Review | Sticker Points
brandon_g
brandon_g
Manager
Manager

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

https://www.broadcastingduo.com

Back to top Go down

Thank you button Add Problem Empty Re: Thank you button Add Problem

Post by Take Notes February 6th 2016, 4:36 pm

Go to the "Buttons" tab.
Take Notes
Take Notes
Helper
Helper

Male Posts : 2337
Reputation : 324
Language : English
Location : Forumountain

Back to top Go down

Thank you button Add Problem Empty Re: Thank you button Add Problem

Post by brandon_g February 13th 2016, 3:41 pm

Is this solved? Please reply within 24 hours.

-Brandon


Thank you button Add Problem Brando10
Remember to mark your topic Thank you button Add Problem Solved15 when a solution is found.
General Rules | Tips & Tricks | FAQ | Forgot Founder Password?

Thank you button Add Problem Scre1476
Team Leader
Review Section Rules | Request A Review | Sticker Points
brandon_g
brandon_g
Manager
Manager

Male Posts : 10113
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