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.

Filter "new post" results

View previous topic View next topic Go down

Solved Filter "new post" results

Post by Des M on 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

Des M
New Member

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

http://www.honda-haven.com

Back to top Go down

Solved Re: Filter "new post" results

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

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


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


SLGray
Administrator
Administrator

Male Posts : 36748
Reputation : 2449
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Solved Re: Filter "new post" results

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

Des M
New Member

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

http://www.honda-haven.com

Back to top Go down

Solved Re: Filter "new post" results

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


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


SLGray
Administrator
Administrator

Male Posts : 36748
Reputation : 2449
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Solved Re: Filter "new post" results

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

_Twisted_Mods_
Helper
Helper

Male Posts : 2032
Reputation : 302
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Filter "new post" results

Post by Des M on 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

Des M
New Member

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

http://www.honda-haven.com

Back to top Go down

Solved Re: Filter "new post" results

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

can you give me a link to every category you want to block from the new post

_Twisted_Mods_
Helper
Helper

Male Posts : 2032
Reputation : 302
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Filter "new post" results

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


Des M
New Member

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

http://www.honda-haven.com

Back to top Go down

Solved Re: Filter "new post" results

Post by _Twisted_Mods_ on 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");
});

submit



next goto

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

and add

Code:
#blahhh{display: none;}

Submit

and that should do it

_Twisted_Mods_
Helper
Helper

Male Posts : 2032
Reputation : 302
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Filter "new post" results

Post by Des M on 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");
});

submit



next goto

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

and add

Code:
#blahhh{display: none;}

Submit

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

Des M
New Member

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

http://www.honda-haven.com

Back to top Go down

Solved Re: Filter "new post" results

Post by Des M on 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)

Des M
New Member

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

http://www.honda-haven.com

Back to top Go down

Solved Re: Filter "new post" results

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

_Twisted_Mods_
Helper
Helper

Male Posts : 2032
Reputation : 302
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Filter "new post" results

Post by Des M on 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

Des M
New Member

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

http://www.honda-haven.com

Back to top Go down

Solved Re: Filter "new post" results

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

your welcome ---glad i could help

_Twisted_Mods_
Helper
Helper

Male Posts : 2032
Reputation : 302
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Filter "new post" results

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





APE
Manager
Manager

Male Posts : 8648
Reputation : 762
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: Filter "new post" results

Post by APE on October 31st 2014, 2:42 pm

Topic solved and archived





APE
Manager
Manager

Male Posts : 8648
Reputation : 762
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

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