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.
The forum of the forums
+4
Jaytective9
SLGray
AuQaClan
Mariofan13
8 posters

    How to make a thanks system like here?

    Mariofan13
    Mariofan13
    Forumember


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

    Solved How to make a thanks system like here?

    Post by Mariofan13 Sat 22 Dec - 18:26

    First topic message reminder :

    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

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

    Post by Mariofan13 Sun 13 Jan - 23:05

    bump
    Mariofan13
    Mariofan13
    Forumember


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

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

    Post by Mariofan13 Fri 18 Jan - 6:40

    bump
    Mariofan13
    Mariofan13
    Forumember


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

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

    Post by Mariofan13 Fri 18 Jan - 23:57

    Am I ignored here? BUMP Exclamation
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51498
    Reputation : 3523
    Language : English
    Location : United States

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

    Post by SLGray Sat 19 Jan - 0:09




    How to make a thanks system like here? - Page 2 Slgray10

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


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

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

    Post by Mariofan13 Sat 19 Jan - 9:21

    Yes, I know. But the problem is, that the script doesn't work in my forum!
    Here is the sript again:
    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

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

    Post by Mariofan13 Sun 20 Jan - 9:50

    bump!
    Mariofan13
    Mariofan13
    Forumember


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

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

    Post by Mariofan13 Mon 21 Jan - 13:49

    Buuuuuuuuuuuuuuuump Exclamation
    kirk
    kirk
    Forumaster


    Male Posts : 11037
    Reputation : 653
    Language : English,Vulcan,Klingon, Romulan,& Gorn

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

    Post by kirk Tue 22 Jan - 2:02

    Mariofan13 wrote:Yes, I know. But the problem is, that the script doesn't work in my forum!
    Here is the sript again:
    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);
              }
          }
        });

    are you following the instructions properly, you must not be doing something right?
    Is this even compatible with phpbb2? what the link to the main tutorial on this, i will have to test it my self and see whats what?
    Mariofan13
    Mariofan13
    Forumember


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

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

    Post by Mariofan13 Tue 22 Jan - 16:54

    I followed the instructions. This is the main tutorial: http://www.malware-site.www/t29-how-to-add-styling-to-thanked-posts

    I changed the pictures and the text, which will appear below thanked posts.
    Mike
    Mike
    Hyperactive


    Male Posts : 4255
    Reputation : 471
    Language : English, HTML, CSS
    Location : Loveland, Colorado

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

    Post by Mike Tue 22 Jan - 17:18

    Did you enable Javascript management? and if that doesnt work take the link of the JS file you created, edit Overall_header template and add:

    <script type="text/javascript" src="YOURJSLINK"></script>

    and make sure its in the head tag.
    Mariofan13
    Mariofan13
    Forumember


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

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

    Post by Mariofan13 Tue 22 Jan - 17:22

    yes, I enabled Javascript, and activated the script for the thanks-text "in the topics".

    I don't want to place it in overall_header, because I have other javascripts activated for all pages, and this one is only for 2in the topics", and I don't want too long loading time Wink
    Mariofan13
    Mariofan13
    Forumember


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

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

    Post by Mariofan13 Tue 29 Jan - 22:10

    bump
    Mariofan13
    Mariofan13
    Forumember


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

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

    Post by Mariofan13 Wed 30 Jan - 17:09

    It still doesn't work Sad
    The code:
    Code:
    $(function () {
          var x = $('.post .row2:nth(1)').get();
          for (i = 0; i < x.length; i++) {
              if (x[i].getAttribute('style') == "background-color:#0095ff;") {
                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;  color:#740;  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 thanked for a posting, but no text is shown below the posting Sad
    Mariofan13
    Mariofan13
    Forumember


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

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

    Post by Mariofan13 Fri 1 Feb - 23:11

    bump
    Mariofan13
    Mariofan13
    Forumember


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

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

    Post by Mariofan13 Sat 9 Feb - 16:25

    buuuuuuuuuuuuuuuuump Exclamation Exclamation
    Mariofan13
    Mariofan13
    Forumember


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

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

    Post by Mariofan13 Sun 10 Feb - 15:51

    bump Exclamation bump Exclamation
    Mariofan13
    Mariofan13
    Forumember


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

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

    Post by Mariofan13 Mon 11 Feb - 17:20

    Buuuuuuuump!!!11
    Mariofan13
    Mariofan13
    Forumember


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

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

    Post by Mariofan13 Tue 12 Feb - 10:53

    bump... Crying or Very sad
    Mariofan13
    Mariofan13
    Forumember


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

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

    Post by Mariofan13 Tue 12 Feb - 12:24

    Sorry, this makes no sense Exclamation I wrote a lot of times, , that the javascript of your tutorial doesn't work in my bb2 forum! And you poste the link to the tutorial! This makes no sense!
    The color of thanked posts is the same as the color of normal posts - #0095FF or rgb(0,149,255)!


    Last edited by Mariofan13 on Tue 12 Feb - 13:10; 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

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

    Post by Mariofan13 Tue 12 Feb - 13:08

    The last posting of the first page is a thanked posting: http://mario-universe.forumieren.com/t62-internet-trojanbho
    The reason, why the scrpt is not working, is NO TEMPLATE ERROR, because the scritp doesn't work with activated original templates too.
    Mariofan13
    Mariofan13
    Forumember


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

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

    Post by Mariofan13 Wed 13 Feb - 14:01

    bump Exclamation
    Mariofan13
    Mariofan13
    Forumember


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

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

    Post by Mariofan13 Thu 14 Feb - 14:43

    yes, this code is in my template viewtopic_body. I had deactivated the templates with this new one click-feature, but there was no text shown below the thanked posting. So i activated templates again.


    Last edited by Mariofan13 on Thu 14 Feb - 20:50; 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

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

    Post by Mariofan13 Thu 14 Feb - 20:52

    NO Exclamation Exclamation Whrere did I write, that the problem is solved! The javascript does NOT work in my forum.
    Mariofan13
    Mariofan13
    Forumember


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

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

    Post by Mariofan13 Thu 14 Feb - 22:13

    You have a new Pm Wink
    Mariofan13
    Mariofan13
    Forumember


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

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

    Post by Mariofan13 Thu 14 Feb - 23:25

    THank you very much Exclamation Wink
    -solved-

      Current date/time is Sun 22 Sep - 19:30