Filter "new post" results Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

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.
4 posters

    Filter "new post" results

    avatar
    Des M
    New Member


    Posts : 19
    Reputation : 1
    Language : English
    Location : Ireland

    Solved Filter "new post" results

    Post by Des M October 29th 2014, 2:35 am

    I'd imagine this question has been asked, but I have searched and didn't find anything (if already answered I'd appreciate a link).

    Is it possible to block certain sections from appearing in the "new posts" search results?

    For example: Is there a way to stop any topics posted in the general discussion section from appearing in the "new posts" search results?

    Any help would be greatly appreciated


    Last edited by Des M on October 31st 2014, 1:26 am; edited 1 time in total
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51559
    Reputation : 3524
    Language : English
    Location : United States

    Solved Re: Filter "new post" results

    Post by SLGray October 29th 2014, 5:30 am

    I believe that would not be possible.  The new post list would be different for each member.



    Filter "new post" results Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    avatar
    Des M
    New Member


    Posts : 19
    Reputation : 1
    Language : English
    Location : Ireland

    Solved Re: Filter "new post" results

    Post by Des M October 29th 2014, 6:08 pm

    SLGray wrote:I believe that would not be possible.  The new post list would be different for each member.

    Thanks for the reply.

    Yes I understand that the search results would be different for each member, but could certain sections be blocked from the results so that they do not appear at all (for any member).

    On our forum (www.honda-haven.com) we have some non-car related sections, such as general discussion, help and resources, etc. 

    Members are complaining about the amount of non-car related topics appearing in the "new posts" search.

    They only want results from certain sections to appear.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51559
    Reputation : 3524
    Language : English
    Location : United States

    Solved Re: Filter "new post" results

    Post by SLGray October 29th 2014, 7:02 pm

    One way is have your members watch forums and topics that they want to receive notifications about new posts.



    Filter "new post" results Slgray10

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


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

    Solved Re: Filter "new post" results

    Post by _Twisted_Mods_ October 29th 2014, 7:37 pm

    what forum version are you running

    and are you trying to hide the ones under

        View posts since last visit
        View unanswered posts
    avatar
    Des M
    New Member


    Posts : 19
    Reputation : 1
    Language : English
    Location : Ireland

    Solved Re: Filter "new post" results

    Post by Des M October 29th 2014, 10:55 pm

    _Twisted_Mods_ wrote:what forum version are you running

    and are you trying to hide the ones under

        View posts since last visit
        View unanswered posts

    View posts since last visit

    phpBB 3
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


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

    Solved Re: Filter "new post" results

    Post by _Twisted_Mods_ October 30th 2014, 3:46 am

    can you give me a link to every category you want to block from the new post
    avatar
    Des M
    New Member


    Posts : 19
    Reputation : 1
    Language : English
    Location : Ireland

    Solved Re: Filter "new post" results

    Post by Des M October 30th 2014, 4:06 am

    _Twisted_Mods_ wrote:can you give me a link to every category you want to block from the new post
    There is probably more but if we could block these it would be awesome.

    http://www.honda-haven.com/f4-general-discussion
    http://www.honda-haven.com/f26-sign-in
    http://www.honda-haven.com/f84-where-is-it-now
    http://www.honda-haven.com/f130-what-s-it-worth
    http://www.honda-haven.com/f28-polls-votes
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


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

    Solved Re: Filter "new post" results

    Post by _Twisted_Mods_ October 30th 2014, 4:38 am

    hope this works but like i said on ur forum i cant be 100% sure without admin access


    goto

    acp(admin control panel)>modules>html & JavaScript>JavaScript code management 

    Add create a new JavaScript

    Title: up to you

    Placement : in all pages

    Javascript Code * :

    Code:
    $(function() {
      $('li.row span.span-tab a[href*="/f4-"]').closest('li').attr("id","blahhh");
     $('li.row span.span-tab a[href*="/f26-"]').closest('li').attr("id","blahhh");
     $('li.row span.span-tab a[href*="/f84-"]').closest('li').attr("id","blahhh");
     $('li.row span.span-tab a[href*="/f130-"]').closest('li').attr("id","blahhh");
     $('li.row span.span-tab a[href*="/f28-"]').closest('li').attr("id","blahhh");
    });

    Filter "new post" results Icon_oksubmit



    next goto

    acp(admin control panel)>display>pictures & colors>colors>css stylesheet

    and add

    Code:
    #blahhh{display: none;}

    Filter "new post" results Icon_okSubmit

    and that should do it
    avatar
    Des M
    New Member


    Posts : 19
    Reputation : 1
    Language : English
    Location : Ireland

    Solved Re: Filter "new post" results

    Post by Des M October 30th 2014, 5:39 am

    _Twisted_Mods_ wrote:hope this works but like i said on ur forum i cant be 100% sure without admin access


    goto

    acp(admin control panel)>modules>html & JavaScript>JavaScript code management 

    Add create a new JavaScript

    Title: up to you

    Placement : in all pages

    Javascript Code * :

    Code:
    $(function() {
      $('li.row span.span-tab a[href*="/f4-"]').closest('li').attr("id","blahhh");
     $('li.row span.span-tab a[href*="/f26-"]').closest('li').attr("id","blahhh");
     $('li.row span.span-tab a[href*="/f84-"]').closest('li').attr("id","blahhh");
     $('li.row span.span-tab a[href*="/f130-"]').closest('li').attr("id","blahhh");
     $('li.row span.span-tab a[href*="/f28-"]').closest('li').attr("id","blahhh");
    });

    Filter "new post" results Icon_oksubmit



    next goto

    acp(admin control panel)>display>pictures & colors>colors>css stylesheet

    and add

    Code:
    #blahhh{display: none;}

    Filter "new post" results Icon_okSubmit

    and that should do it
    Thanks i'll try that and report back.

    My apologies for the reaction you got on our site, we have had to deal with scams before so please excuse the response you received from other members
    avatar
    Des M
    New Member


    Posts : 19
    Reputation : 1
    Language : English
    Location : Ireland

    Solved Re: Filter "new post" results

    Post by Des M October 30th 2014, 9:41 pm

    This appears to have been successful.

    Can I also ask, is there also a way to add a new link where only certain posts are displayed?

    For example:
    Could we add a link to display new posts related to the market section only?

    (select certain sections only, rather than block certain sections)
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


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

    Solved Re: Filter "new post" results

    Post by _Twisted_Mods_ October 30th 2014, 10:43 pm

    not that i can think of but if you want to block another section just add a new line

    Code:
     $('li.row span.span-tab a[href*="/f28-"]').closest('li').attr("id","blahhh");
    just replace the 28 in F28- with the # in the link to that section
    avatar
    Des M
    New Member


    Posts : 19
    Reputation : 1
    Language : English
    Location : Ireland

    Solved Re: Filter "new post" results

    Post by Des M October 30th 2014, 10:59 pm

    _Twisted_Mods_ wrote:not that i can think of but if you want to block another section just add a new line

    Code:
     $('li.row span.span-tab a[href*="/f28-"]').closest('li').attr("id","blahhh");
    just replace the 28 in F28- with the # in the link to that section
    Yeah I've already made some changes to which sections are blocked.

    Thanks so much for your help, really appreciate it salut
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


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

    Solved Re: Filter "new post" results

    Post by _Twisted_Mods_ October 30th 2014, 11:23 pm

    your welcome ---glad i could help
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19440
    Reputation : 2010
    Language : fluent in dork / mumbojumbo & English haha

    Solved Re: Filter "new post" results

    Post by Ape October 31st 2014, 12:19 am

    is this now solved for you now ? if so please mark the thread as solved by clicking edit on your first post and clicking the solved icon. then click send

    Thank you.

    APE



    Filter "new post" results Left1212Filter "new post" results Center11Filter "new post" results Right112
    Filter "new post" results Ape_b110
    Filter "new post" results Ape1010
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19440
    Reputation : 2010
    Language : fluent in dork / mumbojumbo & English haha

    Solved Re: Filter "new post" results

    Post by Ape October 31st 2014, 2:42 pm

    Topic solved and archived



    Filter "new post" results Left1212Filter "new post" results Center11Filter "new post" results Right112
    Filter "new post" results Ape_b110
    Filter "new post" results Ape1010