Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter ilafarad

    (@ilafarad)

    Hello Mikko,

    it works! 🙂

    (I always created the index again)

    Thank you for your help!

    Thread Starter ilafarad

    (@ilafarad)

    Hello Mikko,

    I changed it, but it doesn’t work

    “privat” is not indexed in il_relevanssi (database table)

    Thread Starter ilafarad

    (@ilafarad)

    Hello Mikko,

    I have the function at the end of the functions.php file in my twentysixteen-child.

    All other functions work here.

    Thread Starter ilafarad

    (@ilafarad)

    Hallo Mikko,

    die Funktion habe ich ans Ende der Datei functions.php in meinem twentysixteen-child gesetz.

    Alle anderen Funktionen hier funktionieren.

    Thread Starter ilafarad

    (@ilafarad)

    Hello Mikko,

    I changed it, but it doesn’t work

    Expand shortcodes when indexing: yes
    rebuild the index

    The result is the same:
    “privat” is not found

    Thread Starter ilafarad

    (@ilafarad)

    Hello Mikko,

    many thanks for the answer!

    I have created a simple page.
    Content:
    Test: public content.
    [swpm_protected]
    Test: private content.
    [/swpm_protected]

    Settings:
    Custom fields to index: Visible
    Expand shortcodes: No

    In the search, the result does not matter whether I am logged in or logged out:
    “public” is found
    “private” is not found

    “private” should also be found for logged in users.

    In the database table relevanssi is
    “public” entered
    “private” is missing

    indexing debugging trick:
    Custom fields to index: Indexing post title. Title, tokenized: test Indexing post content. Post content after relevanssi_post_content: Test: public content. [swpm_protected] Test: privat content. [/swpm_protected] Content, tokenized: test public Final indexing query: INSERT IGNORE INTO il_relevanssi (doc, term, term_reverse, content, title, comment, tag, link, author, category, excerpt, taxonomy, customfield, type, taxonomy_detail, customfield_detail, mysqlcolumn) VALUES (1499, ‘test’, REVERSE(‘test’), 1, 1, 0
    , 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0), (1499, ‘public’, REVERSE(‘public’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0)

    Thank you for your help!

    Thread Starter ilafarad

    (@ilafarad)

    Hello Mikko,

    many thanks for the answer!

    Custom fields to index: _wpml_media_featured, _wpml_media_duplicate, _edit_lock, _edit_last, _wpmf_gallery_custom_image_link, _gallery_link_target, _oembed_3035bf2c0fdef9669c3aef96a5b00c64, _oembed_a225fb1f814ab86e8db801353970f406, _oembed_time_a225fb1f814ab86e8db801353970f406, _oembed_f36ed7376b67dd5c1965a8547b2a4081, _wp_page_template Key: _wpml_media_featured - value: 0 Key: _wpml_media_featured - value: 0 Key: _wpml_media_featured - value: 0 Key: _wpml_media_duplicate - value: 0 Key: _wpml_media_duplicate - value: 0 Key: _wpml_media_duplicate - value: 0 Key: _edit_lock - value: 1589986087:1 Key: _edit_last - value: 1 Key: _wpmf_gallery_custom_image_link - value: http://www.duevelsdorf.de Key: _gallery_link_target - value: Key: _oembed_3035bf2c0fdef9669c3aef96a5b00c64 - value: {{unknown}} Key: _oembed_a225fb1f814ab86e8db801353970f406 - value: <blockquote class="wp-embedded-content" data-secret="OE0n7a5X7h"><a href="https://knowthecode.io/docx/wordpress/templatepath">TEMPLATEPATH</a></blockquote><iframe title="“TEMPLATEPATH” — Know the Code" class="wp-embedded-content" sandbox="allow-scripts" security="restricted" style="position: absolute; clip: rect(1px, 1px, 1px, 1px);" src="https://knowthecode.io/docx/wordpress/templatepath/embed#?secret=OE0n7a5X7h" data-secret="OE0n7a5X7h" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe> Key: _oembed_time_a225fb1f814ab86e8db801353970f406 - value: 1586272681 Key: _oembed_f36ed7376b67dd5c1965a8547b2a4081 - value: {{unknown}} Key: _wp_page_template - value: default Indexing post title. Title, tokenized: aedes Indexing post content. Post content after relevanssi_post_content: [swpm_protected] <div style="float: left; margin-bottom: 3em;">AEDES Hubstapler Sonnenstr. 24 39010 Andrian (BZ) Italien Tel. +39-0471-510443 Fax +39-0471-510403 <a href="mailto:[email protected]">[email protected]</a> <a href="http://www.aedes.bz">www.www.aedes.bz</a></div> <div style="float: right; margin-bottom: 3em;"> <table class="lieferanten-legende"> <tbody> <tr> <td class="logo" colspan="2"><img class="alignnone size-full wp-image-482" src="https://ilafa.eu/wp-content/uploads/logo-Aedes.jpg" alt="Logo Aedes" width="" height="" /></td> </tr> <tr> <td class="sterne" colspan="2"><a href="/erlaeuterung-zu-lieferantenpartnern/"><img class="alignnone size-full wp-image-488" src="https://ilafa.eu/wp-content/uploads/sterne-10.jpg" alt="" width="106" height="31" /></a></td> </tr> <tr> <td><a href="/erlaeuterung-zu-lieferantenpartnern/"><img class="alignnone size-full wp-image-486" src="https://ilafa.eu/wp-content/uploads/bei-ILAFA-bestellen.jpg" alt="" width="" height="" /></a></td> <td></td> </tr> </tbody> </table> </div> [LieferantNavi lieferant="Aedes"] <h3 id="Portfolio">Portfolio</h3> Mulchgeräte, Rotormulcher, Scherenmulcher, Schlegelmulcher [Downloads lieferant="Aedes"] [/swpm_protected] [swpm_protected visible_to="not_logged_in_users_only"] Sie sind nicht angemeldet. Zur <a href="/">Anmeldung</a>. [/swpm_protected] Content, tokenized: Final indexing query: INSERT IGNORE INTO il_relevanssi (doc, term, term_reverse, content, title, comment, tag, link, author, category, excerpt, taxonomy, customfield, type, taxonomy_detail, customfield_detail, mysqlcolumn) VALUES (640, '1589986087', REVERSE('1589986087'), 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 'post', '', '', 0), (640, 'www', REVERSE('www'), 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 'post', '', '', 0), (640, 'duevelsdorf', REVERSE('duevelsdorf'), 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 'post', '', '', 0), (640, 'unknown', REVERSE('unknown'), 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 'post', '', '', 0), (640, 'templatepath', REVERSE('templatepath'), 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 'post', '', '', 0), (640, '1586272681', REVERSE('1586272681'), 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 'post', '', '', 0), (640, 'default', REVERSE('default'), 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 'post', '', '', 0), (640, 'aedes', REVERSE('aedes'), 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'post', '', '', 0)

Viewing 7 replies - 1 through 7 (of 7 total)