Announcement

Collapse
No announcement yet.

Help Needed! How to exclude all featured topics from search ?

Collapse
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Help Needed! How to exclude all featured topics from search ?


    For example the below search json returns all topics.

    Code:
    {"sort":{"lastcontent":"desc"},"view":"topic","exc lude_type":["vBForum_PrivateMessage"]}
    I want to exclude the featured topics from there.

    I already tried adding:
    Code:
    { "featured":"0" }
    Code:
    {"sort":{"lastcontent":"desc"},"view":"topic","exc lude_type":["vBForum_PrivateMessage"],"featured":"0"}
    But it didn't worked

    #2
    I don't think there's a way to do this using search JSON. To exclude something in the search results, you would use the exclude_type filter but you can only specify content type there. Featured is not a content type.
    Helpful? Donate. Thanks!
    Buy me a coffeePayPal QR Code
    Fast VPS Host for vBulletin:
    A2 Hosting & IONOS

    Comment


      #3
      Thank You for replying

      Could you make a solution for this ? I am trying to display featured topics and others topics separately on the homepage. Is there any other way to solve this ?

      Comment

      Users Viewing This Page

      Collapse

      There is 1 user viewing this forum topic.

      • Guest Guest

      Latest Posts

      Collapse

      Working...
      X
      Searching...Please wait.
      An unexpected error was returned: 'Your submission could not be processed because you have logged in since the previous page was loaded.

      Please push the back button and reload the previous window.'
      An unexpected error was returned: 'Your submission could not be processed because the token has expired.

      Please push the back button and reload the previous window.'
      An internal error has occurred and the module cannot be displayed.
      There are no results that meet this criteria.
      Search Result for "|||"