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.

Thank you button Add Problem

View previous topic View next topic Go down

Thank you button Add Problem

Post by Tap@s on 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
New Member

Posts : 5
Reputation : 1
Language : English

http://gsmbangladesh.forumotion.com

Back to top Go down

Re: Thank you button Add Problem

Post by Genesis on February 6th 2016, 1:46 pm

Please post the code you used for it.

Genesis
Helper
Helper

Male Posts : 2331
Reputation : 322
Language : English
Location : Forumountain

http://forumpromocean.com

Back to top Go down

Re: Thank you button Add Problem

Post by Pamoon on 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
Forumember

Posts : 25
Reputation : 10
Language : en.js

http://animoe.twilight-mania.com/

Back to top Go down

Re: Thank you button Add Problem

Post by Genesis on 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.

Genesis
Helper
Helper

Male Posts : 2331
Reputation : 322
Language : English
Location : Forumountain

http://forumpromocean.com

Back to top Go down

Re: Thank you button Add Problem

Post by Tap@s on 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
New Member

Posts : 5
Reputation : 1
Language : English

http://gsmbangladesh.forumotion.com

Back to top Go down

Re: Thank you button Add Problem

Post by Genesis on February 6th 2016, 2:54 pm

Try this in JavaScript Codes Management

Administration Panel > Modules > JavaScript Codes Management

Code:
$(function() {
var url_img = "http://illiweb.com/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();
});
});

Genesis
Helper
Helper

Male Posts : 2331
Reputation : 322
Language : English
Location : Forumountain

http://forumpromocean.com

Back to top Go down

Re: Thank you button Add Problem

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

Forumedic

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


Sorry for Previous Wrong Post
Like This



Tap@s
New Member

Posts : 5
Reputation : 1
Language : English

http://gsmbangladesh.forumotion.com

Back to top Go down

Re: Thank you button Add Problem

Post by Tap@s on 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://illiweb.com/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
New Member

Posts : 5
Reputation : 1
Language : English

http://gsmbangladesh.forumotion.com

Back to top Go down

Re: Thank you button Add Problem

Post by Genesis on 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.

Genesis
Helper
Helper

Male Posts : 2331
Reputation : 322
Language : English
Location : Forumountain

http://forumpromocean.com

Back to top Go down

Re: Thank you button Add Problem

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


Tap@s
New Member

Posts : 5
Reputation : 1
Language : English

http://gsmbangladesh.forumotion.com

Back to top Go down

Re: Thank you button Add Problem

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



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


Remember to mark your topic when a solution is found.

brandon_g
Support Moderator
Support Moderator

Male Posts : 5354
Reputation : 489
Language : English
Location : USA

http://broadcastingduo.forumotion.com/

Back to top Go down

Re: Thank you button Add Problem

Post by Genesis on February 6th 2016, 4:36 pm

Go to the "Buttons" tab.

Genesis
Helper
Helper

Male Posts : 2331
Reputation : 322
Language : English
Location : Forumountain

http://forumpromocean.com

Back to top Go down

Re: Thank you button Add Problem

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

Is this solved? Please reply within 24 hours.

-Brandon


Remember to mark your topic when a solution is found.

brandon_g
Support Moderator
Support Moderator

Male Posts : 5354
Reputation : 489
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