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
3 posters

    Help On 'Colorize the cells when a new message is posted'

    avatar
    Ceaseless
    New Member


    Posts : 6
    Reputation : 1
    Language : English

    Solved Help On 'Colorize the cells when a new message is posted'

    Post by Ceaseless Sat 27 Dec - 21:52

    https://help.forumotion.com/t136044-colorize-the-cells-when-a-new-message-is-posted


    Help On 'Colorize the cells when a new message is posted' Captu165


    I'm trying to achieve this here. I've done everything on the page, but still, nothing. What could I have done wrong?


    Forum: 1perfect.darkbb.com                -phpbb3


    Last edited by Ceaseless on Sun 28 Dec - 17:02; edited 1 time in total
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


    Male Posts : 2083
    Reputation : 336
    Language : English
    Location : Ms

    Solved Re: Help On 'Colorize the cells when a new message is posted'

    Post by _Twisted_Mods_ Sat 27 Dec - 22:09

    make sure javascript is turn on under javascript management

     if its on and sstill not working could you provide link to your forum and the code you are using
    avatar
    Ceaseless
    New Member


    Posts : 6
    Reputation : 1
    Language : English

    Solved Re: Help On 'Colorize the cells when a new message is posted'

    Post by Ceaseless Sat 27 Dec - 23:03

    Forum: 1perfect.darkbb.com                -phpbb3

    A lot of other things work. I'm just having a problem with this at the moment.




    I'm using the phpbb3 code from the link above:


    Code:
    $(function() {
      $('dl.icon[style*="http://2img.net/i/fa/empty.gif"]').addClass('newpost');
      $('dl.icon[style*="http://2img.net/i/fa/empty.gif"]').addClass('newpost');
    });
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


    Male Posts : 2083
    Reputation : 336
    Language : English
    Location : Ms

    Solved Re: Help On 'Colorize the cells when a new message is posted'

    Post by _Twisted_Mods_ Sat 27 Dec - 23:55

    looks to be somthing wrong in script

    make sure your useing the right urls for the icons

    the top url is link to the image that shows when there is a new post on the forum page

    the bottom url is the link to the image that shows new post on your sub forums

    i dont have an accout so i can see you sub forums but i switch the url for the main forum in the script below so you can see

    also make sure the script is set to all pages
    Code:
    $(function() {
      $('dl.icon[style*="http://2img.net/s/t/15/94/27/i_folder_new_big.png"]').addClass('newpost');
      $('dl.icon[style*="http://2img.net/i/fa/empty.gif"]').addClass('newpost');
    });
    avatar
    Ceaseless
    New Member


    Posts : 6
    Reputation : 1
    Language : English

    Solved Re: Help On 'Colorize the cells when a new message is posted'

    Post by Ceaseless Sun 28 Dec - 17:00

    Ok. My mistake is that I didn't get the icons from the forum. I was thinking it wanted colors (silly). There's another mistake that probably should be cleared up in the tutorial and that's where it says:

    Title : Your choice
    Placement : In the homepage

    should be

    Title : Your choice
    Placement : In all the pages (like you said)

    Thank you.
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: Help On 'Colorize the cells when a new message is posted'

    Post by Ange Tuteur Sun 28 Dec - 21:18

    Thanks for the help, twisted.

    Topic archived

      Current date/time is Mon 23 Sep - 3:28