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.

How to make a thanks system like here?

+4
Jaytective9
SLGray
AuQaClan
Mariofan13
8 posters

Page 1 of 2 1, 2  Next

Go down

Solved How to make a thanks system like here?

Post by Mariofan13 Sat 22 Dec 2012 - 18:26

Hello,
How can I make a thanks "system" like here in the support forum? Is this possible with phpBB2?
Mariofan13
Mariofan13
Forumember

Male Posts : 188
Reputation : 6
Language : German, English, Latin, 1337, HTML, CSS, BBCode, Wikitext
Location : Mushroom Kingdom

http://mario-forum.net

Back to top Go down

Solved Re: How to make a thanks system like here?

Post by Mariofan13 Sun 23 Dec 2012 - 12:41

bump
Mariofan13
Mariofan13
Forumember

Male Posts : 188
Reputation : 6
Language : German, English, Latin, 1337, HTML, CSS, BBCode, Wikitext
Location : Mushroom Kingdom

http://mario-forum.net

Back to top Go down

Solved Re: How to make a thanks system like here?

Post by AuQaClan Sun 23 Dec 2012 - 12:44

what?

do you mean a thanks button like this? How to make a thanks system like here? Icon_thanks_off_en
AuQaClan
AuQaClan
Forumember

Male Posts : 283
Reputation : 5
Language : english

http://www.gameandchat.com/

Back to top Go down

Solved Re: How to make a thanks system like here?

Post by Mariofan13 Sun 23 Dec 2012 - 12:54

Yes, I have a button.
But I want, that all users can see, that the topic starter thanked - like here in the support forum:
How to make a thanks system like here? 0thank10
Mariofan13
Mariofan13
Forumember

Male Posts : 188
Reputation : 6
Language : German, English, Latin, 1337, HTML, CSS, BBCode, Wikitext
Location : Mushroom Kingdom

http://mario-forum.net

Back to top Go down

Solved Re: How to make a thanks system like here?

Post by AuQaClan Sun 23 Dec 2012 - 13:17

Here is the script for IPB2/Invision boards:
Code:
var CopyrightNotice = 'New thank-you system for forumotion IPB2/Invision boards. Copyright © 2012 by Dion Designs. All Rights Reserved. Use and/or modification of this script is allowed, provided this entire copyright notice remains in the original or modified script. Distribution is not allowed without written consent from Dion Designs.';
$(function() {
    $('.post-footer[style="background-color:#;"]').prepend('<div style="padding-top:2px;height:32px;line-height:36px;color:#740;font-size:16px;font-weight:bold;text-align:center"><img style="vertical-align:top" src="http://cdn.iconfinder.net/data/icons/Basic_set2_Png/32/star1.png" />  The topic starter thanks you, '+$('.post[style="background-color:#;"] .postprofile dt').text()+'!  <img style="vertical-align:top" src="http://cdn.iconfinder.net/data/icons/Basic_set2_Png/32/star1.png" /></div>');
});

Here is the script for phpBB3 boards:
Code:
var CopyrightNotice = 'New thank-you system for forumotion phpBB3 boards. Copyright © 2012 by Dion Designs. All Rights Reserved. Use and/or modification of this script is allowed, provided this entire copyright notice remains in the original or modified script. Distribution is not allowed without written consent from Dion Designs.';
$(function() {
    $('.post[style="background-color:#;"] div.clear').after('<div style="height:32px;line-height:36px;color:#740;font-size:16px;font-weight:bold;text-align:center"><hr /><img style="vertical-align:top" src="http://cdn.iconfinder.net/data/icons/Basic_set2_Png/32/star1.png" />  The topic starter thanks you, '+$('.post[style="background-color:#;"] .postprofile dt').text()+'!  <img style="vertical-align:top" src="http://cdn.iconfinder.net/data/icons/Basic_set2_Png/32/star1.png" /></div>');
});

And here is the script for PunBB boards:
Code:
var CopyrightNotice = 'New thank-you system for forumotion PunBB boards. Copyright © 2012 by Dion Designs. All Rights Reserved. Use and/or modification of this script is allowed, provided this entire copyright notice remains in the original or modified script. Distribution is not allowed without written consent from Dion Designs.';
$(function() {
    $('.post[style="background-color:#;"] .post-options').prepend('<div style="height:32px;line-height:36px;color:#740;font-size:16px;font-weight:bold;text-align:center"><img style="vertical-align:top" src="http://cdn.iconfinder.net/data/icons/Basic_set2_Png/32/star1.png" />  The topic starter thanks you, '+$('.post[style="background-color:#;"] .user-ident').text()+'!  <img style="vertical-align:top" src="http://cdn.iconfinder.net/data/icons/Basic_set2_Png/32/star1.png" /></div>');
});

Hope this helped


Last edited by AuQaClan on Sun 23 Dec 2012 - 13:23; edited 1 time in total
AuQaClan
AuQaClan
Forumember

Male Posts : 283
Reputation : 5
Language : english

http://www.gameandchat.com/

Back to top Go down

Solved Re: How to make a thanks system like here?

Post by Mariofan13 Sun 23 Dec 2012 - 13:22

No, because in my profile you can see, that my forum is phpBB2, and not phpBB3/Invision/punBB Wink and a style "IPB2" doesn't exist Wink
Mariofan13
Mariofan13
Forumember

Male Posts : 188
Reputation : 6
Language : German, English, Latin, 1337, HTML, CSS, BBCode, Wikitext
Location : Mushroom Kingdom

http://mario-forum.net

Back to top Go down

Solved Re: How to make a thanks system like here?

Post by AuQaClan Sun 23 Dec 2012 - 13:22

il re check my friend Wink
AuQaClan
AuQaClan
Forumember

Male Posts : 283
Reputation : 5
Language : english

http://www.gameandchat.com/

Back to top Go down

Solved Re: How to make a thanks system like here?

Post by AuQaClan Sun 23 Dec 2012 - 13:28

hmm iv looked around and i think it might just be a Signature.

If you would like i could make you one?
AuQaClan
AuQaClan
Forumember

Male Posts : 283
Reputation : 5
Language : english

http://www.gameandchat.com/

Back to top Go down

Solved Re: How to make a thanks system like here?

Post by Mariofan13 Sun 23 Dec 2012 - 13:31

Signature?
But I onyl want the thanks system like here. And so I need the code, which you posted, for phpBB2 Wink
Mariofan13
Mariofan13
Forumember

Male Posts : 188
Reputation : 6
Language : German, English, Latin, 1337, HTML, CSS, BBCode, Wikitext
Location : Mushroom Kingdom

http://mario-forum.net

Back to top Go down

Solved Re: How to make a thanks system like here?

Post by AuQaClan Sun 23 Dec 2012 - 13:36

How to make a thanks system like here? Star-iconThe topic starter thanks you!How to make a thanks system like here? Star-icon

Its not the same but..

Code:
[img]http://icons.iconarchive.com/icons/iconshock/christmas/48/star-icon.png[/img][color=olive][size=24]The topic starter thanks you![/size][/color][img]http://icons.iconarchive.com/icons/iconshock/christmas/48/star-icon.png[/img]
AuQaClan
AuQaClan
Forumember

Male Posts : 283
Reputation : 5
Language : english

http://www.gameandchat.com/

Back to top Go down

Solved Re: How to make a thanks system like here?

Post by AuQaClan Sun 23 Dec 2012 - 13:38

How to make a thanks system like here? Fmphpb10
Code:
var CopyrightNotice = 'New thank-you system for forumotion PunBB boards. Copyright © 2012 by Dion Designs. All Rights Reserved. Use and/or modification of this script is allowed, provided this entire copyright notice remains in the original or modified script. Distribution is not allowed without written consent from Dion Designs.';
$(function() {
    $('.post[style="background-color:#;"] .post-options').prepend('<div style="height:32px;line-height:36px;color:#740;font-size:16px;font-weight:bold;text-align:center"><img style="vertical-align:top" src="http://cdn.iconfinder.net/data/icons/Basic_set2_Png/32/star1.png" />  The topic starter thanks you, '+$('.post[style="background-color:#;"] .user-ident').text()+'!  <img style="vertical-align:top" src="http://cdn.iconfinder.net/data/icons/Basic_set2_Png/32/star1.png" /></div>');
});
AuQaClan
AuQaClan
Forumember

Male Posts : 283
Reputation : 5
Language : english

http://www.gameandchat.com/

Back to top Go down

Solved Re: How to make a thanks system like here?

Post by Mariofan13 Sun 23 Dec 2012 - 13:38

I think, you didn't understand me.
Yuo posted three javascripts, for phpBB3, IPB and punBB. But I need the script for phpBB2! And not the BBCode for the text and images! I wan to use my own images and text! My forum is german, so I want to use a german text Wink
Mariofan13
Mariofan13
Forumember

Male Posts : 188
Reputation : 6
Language : German, English, Latin, 1337, HTML, CSS, BBCode, Wikitext
Location : Mushroom Kingdom

http://mario-forum.net

Back to top Go down

Solved Re: How to make a thanks system like here?

Post by AuQaClan Sun 23 Dec 2012 - 13:44

oh sorry my bad Confused so you want to know how to set up the thanked system?

AuQaClan
AuQaClan
Forumember

Male Posts : 283
Reputation : 5
Language : english

http://www.gameandchat.com/

Back to top Go down

Solved Re: How to make a thanks system like here?

Post by Mariofan13 Sun 23 Dec 2012 - 14:14

Yes, please Wink
Mariofan13
Mariofan13
Forumember

Male Posts : 188
Reputation : 6
Language : German, English, Latin, 1337, HTML, CSS, BBCode, Wikitext
Location : Mushroom Kingdom

http://mario-forum.net

Back to top Go down

Solved Re: How to make a thanks system like here?

Post by SLGray Sun 23 Dec 2012 - 15:58

AuQaClan wrote:il re check my friend Wink

AuQaClan wrote:hmm iv looked around and i think it might just be a Signature.

If you would like i could make you one?

AuQaClan wrote:How to make a thanks system like here? Star-iconThe topic starter thanks you!How to make a thanks system like here? Star-icon

Its not the same but..

Code:
[img]http://icons.iconarchive.com/icons/iconshock/christmas/48/star-icon.png[/img][color=olive][size=24]The topic starter thanks you![/size][/color][img]http://icons.iconarchive.com/icons/iconshock/christmas/48/star-icon.png[/img]

AuQaClan wrote:How to make a thanks system like here? Fmphpb10
Code:
var CopyrightNotice = 'New thank-you system for forumotion PunBB boards. Copyright ©️ 2012 by Dion Designs. All Rights Reserved. Use and/or modification of this script is allowed, provided this entire copyright notice remains in the original or modified script. Distribution is not allowed without written consent from Dion Designs.';
$(function() {
    $('.post[style="background-color:#;"] .post-options').prepend('<div style="height:32px;line-height:36px;color:#740;font-size:16px;font-weight:bold;text-align:center"><img style="vertical-align:top" src="http://cdn.iconfinder.net/data/icons/Basic_set2_Png/32/star1.png" />  The topic starter thanks you, '+$('.post[style="background-color:#;"] .user-ident').text()+'!  <img style="vertical-align:top" src="http://cdn.iconfinder.net/data/icons/Basic_set2_Png/32/star1.png" /></div>');
});
Please don't double/triple post. Your post need to be separated by 24 hours before bumping, replying or adding more information. Please use the edit button instead!
[Second Reminder]


How to make a thanks system like here? 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 : 51554
Reputation : 3523
Language : English
Location : United States

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

Back to top Go down

Solved Re: How to make a thanks system like here?

Post by Mariofan13 Tue 25 Dec 2012 - 10:22

bump!!
Mariofan13
Mariofan13
Forumember

Male Posts : 188
Reputation : 6
Language : German, English, Latin, 1337, HTML, CSS, BBCode, Wikitext
Location : Mushroom Kingdom

http://mario-forum.net

Back to top Go down

Solved Re: How to make a thanks system like here?

Post by Mariofan13 Wed 26 Dec 2012 - 10:52

bump!
Mariofan13
Mariofan13
Forumember

Male Posts : 188
Reputation : 6
Language : German, English, Latin, 1337, HTML, CSS, BBCode, Wikitext
Location : Mushroom Kingdom

http://mario-forum.net

Back to top Go down

Solved Re: How to make a thanks system like here?

Post by Jaytective9 Thu 27 Dec 2012 - 8:14

Excuse me, do you mean Like button or Honor button like the +0 found in every post?
Jaytective9
Jaytective9
Forumember

Male Posts : 188
Reputation : 9
Language : English
Location : Earth

Back to top Go down

Solved Re: How to make a thanks system like here?

Post by SLGray Thu 27 Dec 2012 - 8:20



How to make a thanks system like here? 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 : 51554
Reputation : 3523
Language : English
Location : United States

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

Back to top Go down

Solved Re: How to make a thanks system like here?

Post by Mariofan13 Thu 27 Dec 2012 - 10:35

This doesn't work.
Here the javascript:
Code:
$(function () {
      var x = $('.post .row2:nth(1)').get();
      for (i = 0; i < x.length; i++) {
          if (x[i].style.backgroundColor == "rgb(221, 235, 202)") {
            x[i].style.backgroundColor = '"rgb(0, 149, 255)"';
            x[i].parentNode.firstChild.style.backgroundColor = '';
            x[i].parentNode.nextSibling.getElementsByTagName('td')[0].style.backgroundColor = '';
            x[i].parentNode.nextSibling.getElementsByTagName('td')[1].style.backgroundColor = '';
            var stars = document.createElement('div');
            stars.setAttribute('style', 'text-align: center;');
            stars.innerHTML = '<hr><div style="padding-top:2px;height:32px;line-height:36px;text-shadow:#FFFFFF 1px 1px 8px;font-variant:small-caps;color:#021678;font-size:16px;font-weight:bold;text-align:center"><img style="vertical-align:top" src="http://www.abload.de/img/iconnewi7c33.png">  Der Themenstarter dankt dir!  <img style="vertical-align:top" src="http://www.abload.de/img/iconnotew2ei88.png"></div>';
            x[i].appendChild(stars);
          }
      }
    });
I activated the code "In the topics", but only the bacground of a thanked post changed, there appeared no text below a thanked post!
Mariofan13
Mariofan13
Forumember

Male Posts : 188
Reputation : 6
Language : German, English, Latin, 1337, HTML, CSS, BBCode, Wikitext
Location : Mushroom Kingdom

http://mario-forum.net

Back to top Go down

Solved Re: How to make a thanks system like here?

Post by Kaizer Lee Thu 27 Dec 2012 - 10:55

In my test forum, it appears as black.
Kaizer Lee
Kaizer Lee
Active Poster

Female Posts : 1064
Reputation : 54
Language : English, Tagalog, Spanish and Chinese
Location : Philippines

http://www.medievalchaos.net/forum

Back to top Go down

Solved Re: How to make a thanks system like here?

Post by SLGray Thu 27 Dec 2012 - 19:34

Did you read the very important information at the bottom of the tutorial on fmquery?


How to make a thanks system like here? 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 : 51554
Reputation : 3523
Language : English
Location : United States

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

Back to top Go down

Solved Re: How to make a thanks system like here?

Post by Mariofan13 Thu 27 Dec 2012 - 21:06

It still doesn't work Sad
Code:
$(function () {
      var x = $('.post .row2:nth(1)').get();
      for (i = 0; i < x.length; i++) {
          if (x[i].style.backgroundColor == "rgb(0, 149, 255)") {
            x[i].style.backgroundColor =  ' ' ;
            x[i].parentNode.firstChild.style.backgroundColor = '';
            x[i].parentNode.nextSibling.getElementsByTagName('td')[0].style.backgroundColor = '';
            x[i].parentNode.nextSibling.getElementsByTagName('td')[1].style.backgroundColor = '';
            var stars = document.createElement('div');
            stars.setAttribute('style', 'text-align: center;');
            stars.innerHTML = '<hr><div style="padding-top:2px;height:32px;line-height:36px;text-shadow:#FFFFFF 1px 1px 8px;font-variant:small-caps;color:#021678;font-size:16px;font-weight:bold;text-align:center"><img style="vertical-align:top" src="http://www.abload.de/img/iconnewi7c33.png">  Der Themenstarter dankt dir!  <img style="vertical-align:top" src="http://www.abload.de/img/iconnotew2ei88.png"></div>';
            x[i].appendChild(stars);
          }
      }
    });
Mariofan13
Mariofan13
Forumember

Male Posts : 188
Reputation : 6
Language : German, English, Latin, 1337, HTML, CSS, BBCode, Wikitext
Location : Mushroom Kingdom

http://mario-forum.net

Back to top Go down

Solved Re: How to make a thanks system like here?

Post by SLGray Thu 27 Dec 2012 - 21:08

Check your browser's error console to see if there is even errors on your forum.


How to make a thanks system like here? 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 : 51554
Reputation : 3523
Language : English
Location : United States

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

Back to top Go down

Solved Re: How to make a thanks system like here?

Post by Mariofan13 Thu 27 Dec 2012 - 21:11

Where is the error console in firefox?


Last edited by Mariofan13 on Thu 27 Dec 2012 - 21:18; edited 1 time in total
Mariofan13
Mariofan13
Forumember

Male Posts : 188
Reputation : 6
Language : German, English, Latin, 1337, HTML, CSS, BBCode, Wikitext
Location : Mushroom Kingdom

http://mario-forum.net

Back to top Go down

Solved Re: How to make a thanks system like here?

Post by The Lone Ranger Thu 27 Dec 2012 - 21:13

Mariofan13 wrote:Where is the error conlone in firefox?

Tools>Web developer>Error console
The Lone Ranger
The Lone Ranger
Forumember

Male Posts : 443
Reputation : 37
Language : English
Location : Scotland

http://www.tenerifesforumoffun.com

Back to top Go down

Solved Re: How to make a thanks system like here?

Post by Mariofan13 Thu 27 Dec 2012 - 21:17

Thanks Wink
I deleted the viewtopic_body, but it still doesn't work Sad


Last edited by Mariofan13 on Fri 28 Dec 2012 - 23:36; edited 1 time in total
Mariofan13
Mariofan13
Forumember

Male Posts : 188
Reputation : 6
Language : German, English, Latin, 1337, HTML, CSS, BBCode, Wikitext
Location : Mushroom Kingdom

http://mario-forum.net

Back to top Go down

Solved Re: How to make a thanks system like here?

Post by Mariofan13 Fri 28 Dec 2012 - 23:35

Bump
Mariofan13
Mariofan13
Forumember

Male Posts : 188
Reputation : 6
Language : German, English, Latin, 1337, HTML, CSS, BBCode, Wikitext
Location : Mushroom Kingdom

http://mario-forum.net

Back to top Go down

Solved Re: How to make a thanks system like here?

Post by SLGray Sat 12 Jan 2013 - 19:26

Topic removed from Garbage as requested by topic starter.


How to make a thanks system like here? 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 : 51554
Reputation : 3523
Language : English
Location : United States

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

Back to top Go down

Solved Re: How to make a thanks system like here?

Post by Mariofan13 Sat 12 Jan 2013 - 19:30

Mariofan13 wrote:Thanks Wink
I deleted the viewtopic_body, but it still doesn't work Sad
Can anyone help me? I inserted the JS, but it still doesn't work! Where's the problem?
Mariofan13
Mariofan13
Forumember

Male Posts : 188
Reputation : 6
Language : German, English, Latin, 1337, HTML, CSS, BBCode, Wikitext
Location : Mushroom Kingdom

http://mario-forum.net

Back to top Go down

Page 1 of 2 1, 2  Next

Back to top

- Similar topics

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