Modify the search string of TODAY'S POSTS to NOT show posts from a specific channel(s)? A way to filter what TODAYS POSTS displays?
Is there any way to...
Collapse
X
-
Tags: None
-
Yes you can modify the string.
Add this into the string:
Code:"exclude":[1,2,3,4]
MARK.B
vBulletin Support
------------
My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
My Unofficial vBulletin Cloud Demo: https://www.adminammo.com -
So, just tack it on the end of the string:
search?searchJSON=%7B%22date%22%3A%7B%22from%22%3A%22lastDay%22%7D%2C%22view%22%3A%22topic %22%2C%22sort%22%3A%7B%22lastcontent%22%3A%22desc%22%7D%2C%22exclude_type%22%3A%5B%22vBFor um_PrivateMessage%22%5D%7D"exclude:[27,11832,1157]
I tried running the string through an HTML decoder, and came up with:
search?searchJSON={"date":{"from":"lastDay"},"view":"topic ","sort":{"lastcontent":"desc"},"exclude_type":["vBForum_PrivateMessage"]},"exclude":[27,11832,1157]
But, when encoded, it still does not work.Last edited by TheGLForum; Sat 27 Sep '14, 1:44pm.Comment
-
Try this:
Code:search?searchJSON={"last":{"from":"lastDay"},"view":"topic","starter_only": 1,"sort":{"lastcontent":"desc"},"exclude":[27,11832,1157],"exclude_type":["vBForum_PrivateMessage","vBForum_VisitorMessage","vBForum_Report","vBForum_Redirect"]}
Code:search%3FsearchJSON%3D%7B%22last%22%3A%7B%22from%22%3A%22lastDay%22%7D%2C%22view%22%3A%22topic%22%2C%22starter_only%22%3A%201%2C%22sort%22%3A%7B%22lastcontent%22%3A%22desc%22%7D%2C%22exclude%22%3A%5B27%2C11832%2C1157%5D%2C%22exclude_type%22%3A%5B%22vBForum_PrivateMessage%22%2C%22vBForum_VisitorMessage%22%2C%22vBForum_Report%22%2C%22vBForum_Redirect%22%5D%7D%0A
MARK.B
vBulletin Support
------------
My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
My Unofficial vBulletin Cloud Demo: https://www.adminammo.comComment
-
-
Hmm, it works on my demo site.
In what way isn't it working?
MARK.B
vBulletin Support
------------
My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
My Unofficial vBulletin Cloud Demo: https://www.adminammo.comComment
-
Oh I can see the issue, it's encoded the start of the URL.
Let's try again....
Code:search?searchJSON={%22last%22:{%22from%22:%22lastDay%22},%22view%22:%22topic%22,%22starter_only%22:%201,%22sort%22:{%22lastcontent%22:%22desc%22},%22exclude%22:[27,11832,1157],%22exclude_type%22:[%22vBForum_PrivateMessage%22,%22vBForum_VisitorMessage%22,%22vBForum_Report%22,%22vBForum_Redirect%22]}
MARK.B
vBulletin Support
------------
My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
My Unofficial vBulletin Cloud Demo: https://www.adminammo.comComment
-
-
The replacement I've posted is working....MARK.B
vBulletin Support
------------
My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
My Unofficial vBulletin Cloud Demo: https://www.adminammo.comComment
-
However, now my members are only seeing 4 results per page instead of 20. I (Admin or Moderator) still see 20.Comment
-
As a guest who just tested the last URL mark posted I'm seeing 41 results and 20 posts per page.
Code:http://www._______.com/search?searchJSON={%22last%22:{%22from%22:%22lastDay%22},%22view%22:%22topic%22,%22starter_only%22:%201,%22sort%22:{%22lastcontent%22:%22desc%22},%22exclude%22:[27,11832,1157],%22exclude_type%22:[%22vBForum_PrivateMessage%22,%22vBForum_VisitorMessage%22,%22vBForum_Report%22,%22vBForum_Redirect%22]}
Comment
Related Topics
Collapse
-
by TheGLForumI have an OFF TOPIC forum that I would like to have NOT appear in the Todays Posts search results. Not sure how to do this.
Here is my current search string:
searchJSON={%22last%22%3A{%22from%22%3A%22lastDay%22}%2C%22view%22%3A%22topic%22%2C...-
Channel: vB Cloud Support & Troubleshooting.
Sun 12 Jul '15, 4:28am -
-
by anwar513New Topics code;
Code:search?searchJSON=%7B%22date%22%3A%22lastVisit%22%2C%22view%22%3A%22topic%22%2C%22unread_only%22%3A1%2C%22sort%22%3A%7B%22lastcontent%22%3A%22desc%22%7D%2C%22exclude_type%22%3A
-
Channel: vBulletin 5 Connect Feedback
Fri 13 Feb '15, 4:41pm -
-
by CarrfixrWhat would be the search json code that I would use to make a search for "Today's posts" forum wide.
TIA-
Channel: vB Cloud Support & Troubleshooting.
Fri 3 Jul '20, 6:26pm -
-
by DarynI seem to remember an issue that sounded similar to what I'm experiencing here.
I have a custom search query to create a Recent Posts block.
Code:{"date":{"from":"1500"},"type":["vBForum_Gallery","vBForum_Link","vBForum_Text"],"channel":{"param":"channelid"},"sort":{"lastcontent":"desc"},"view":"activity","exclude":"6","exclude_type":["vBForum_PrivateMessage"]}
-
Channel: Support Issues & Questions
Tue 6 Aug '19, 11:22am -
Comment