Discussion on DateBook - Multilingual Feature-Rich Dating WordPress Theme

Discussion on DateBook - Multilingual Feature-Rich Dating WordPress Theme

By
Cart 1,271 sales
Recently Updated
Well Documented

Pagick supports this item

Supported

This author's response time can be up to 2 business days.

4670 comments found.

API REST Elementor HOW TO DO IT IN SLICE: STEP 1: Go to SLICE

WordPress Admin → SLICE → PHP Editor

Click “Add new snippet”

Select “Running everywhere”

STEP 2: Paste this OPTIMIZED code: // NAPRAWA DATEBOOK + ELEMENTOR – Wersja dla Nożyczek function intelligent_datebook_fix() { // Tylko dla REST API i Elementor $is_api_request = (defined(‘REST_REQUEST’) && REST_REQUEST) || isset($_GET[‘elementor-preview’]) || (isset($_SERVER[‘REQUEST_URI’]) && strpos($_SERVER[‘REQUEST_URI’], ’/wp-json/elementor/’) !== false); }

if (!$is_api_request) return;
// 1. WYCZYŚĆ BUFFERY NA SAMYM POCZĄTKU
add_action('plugins_loaded', function() {
    while (ob_get_level() > 0) {
        ob_end_clean();
    }
    ob_start(); // Nowy, czysty buffer
}, -9999);
// 2. FILTRUJ HTML DATEBOOK PRZED WYSŁANIEM JSON
add_action('rest_pre_serve_request', function() {
    $buffer_content = ob_get_contents();
}, 9999);
// Jeśli DateBook dodał panel moderacji - wyczyść
if ($buffer_content && strpos($buffer_content, 'datebook-moderation-panel') !== false) {
}
// USUŃ TYLKO PANEL MODERACJI, ZACHOWAJ RESZTĘ
$clean_content = preg_replace('/<nav class="navbar[>]datebook-moderation-panel[>]>.*?<\/nav>/s', '', $buffer_content);
if ($clean_content !== $buffer_content) {
    ob_clean(); // Wyczyść buffer
    echo $clean_content; // Wstaw oczyszczoną zawartość
}
// FORCE JSON HEADERS
if (!headers_sent()) {
    header('Content-Type: application/json; charset=utf-8');
}
// 3. OCHRONA NA KONIEC
add_action('shutdown', function() {
    $final_output = ob_get_contents();
    if ($final_output && $final_output[0] === '<' && strpos($final_output, 'datebook-moderation-panel') !== false) {
        ob_clean();
        if (defined('REST_REQUEST') && REST_REQUEST) {
            echo json_encode(['status' => 'clean']);
        }
    }
}, 1);

add_action(‘init’, ‘intelligent_datebook_fix’, 1);

sorry but I can’t enter the code correctly

Hello Pagick,

I renew my ask, my website is ok now !! i’m waitingo for more 1 week !

I’ll be renewing my support soon. I’m behind on several versions and, more importantly, I’m constantly having database connection issues. I don’t know if this is due to the updates; could you please confirm this for me, as my website seules.fr is currently 80% offline? Also, as soon as I renew, and to avoid any problems, could you please install the latest update for me? Thank you in advance.

Never answer

Hi jefstys. No, the theme does not response for database connection and does not affect it. The problem is with your hosting server or database server.

The database connection starts in WordPress. Not in the theme. Only after WordPress connected to the database, the theme starts using that connection.

Also, you can check your “wp-config.php” file. Are the username, password and localhost specified correctly in this file?

Yes, I can install the update. If you have not changed any files, then the update will install correctly. Also, if your server is not very limited. I mean, increase the max file size to upload (64mb) in the PHP settings, in your cpanel of hosting server. Email: info@pagickthemes.com

Moderation page logo: how to change and remove the classified tab and tour.

The moderation page does not have logo. Logo can be changed here: WordPress -> DateBook -> Dashboard -> Logo.

It is impossible to remove classified and tours tabs in the moderation panel. But you can remove them manually in a file. This file, comment lines 98 and 99: wp-content/plugins/datebook/templates/admin/moderator-header.php

Location in the Add Search Bar option.

Location pop up add in search option

Date of birth format change : MM/DD/YYYY in registration form.

Ok. It will be done in one of the next updates.

Good morning,

I am looking into building a mobile application on KMP for my site. Could you please list out for me all of the API endpoints required for the included chat system?

Good day. Good idea about mobile app. You can look into this file on line 46 /wp-content/plugins/datebook/includes/class-datebook-header.php

and these files (AJAX javascript) that send REST requests

- /wp-content/plugins/datebook/assets/js/datebook-messages-ajax.js

/wp-content/plugins/datebook/assets/js/datebook-messages-ajax-logged.js

I finally managed to find those blessed custom fields, hallelujah!

I also asked you how to manually add profile pictures to demo profiles created with the theme’s dedicated feature.

Another thing: it would be useful to have a way to communicate things to users on specific pages OF OUR CHOICE (FOR EXAMPLE, BY INSERTING THE ID OF THE PAGE where we want the notification to appear), thus taking advantage of the create NOTIFICATIONS feature—a feature that’s not easy to set up, anyway.

It would also be useful to be able to add custom fields to the registration form, specifying additional subscription features that can’t be added at the moment.

Also remember that we’re having issues with the REST API (as another user wrote to you a few days ago).

Thanks, Pagick

You can add image to profiles this way. First, go to a profile page (frontend), then to the Photos page. See screenshot https://ibb.co/RTzd5gX

I did not understand about the notification page and ID. What is it and how should it work?

It is not so easy to add custom fields in the registration form for subscription. If some field has some affect in subscription, then this field must have its own functions connected to subscription functions. It is very complicated process.

Yes, sure. I will try to solve the issues with REST. Thank you so much for your questions.

Can it possible superadmin apk connect with this theme? Date of birth format change : MM/DD/YYYY Location in the Add Search Bar option Moderation page logo: how to change and remove the classified tab and tour.

No way. Sorry.

I tried the registration form in the next button and added a divider with a row, but it did not work. I sent the email with the attachment. Can you please suggest?

At the moment, the divider stopped working. Soon, the update will be available for download. It has the fix.

RaCLD

RaCLD Purchased

While I wait for an answer to the question below, I have a couple of questions I can’t figure out:

1) I created demo profiles, but I don’t understand how to add an image to each profile. In the backend > profiles, where I find the image, it’s not editable.

2) Where can I change the maximum image size? The default is 10MB, but that seems like too much.

RaCLD

RaCLD Purchased

Point 2 has been resolved.

I found a way to set it up, but I still can’t add my favorite profile pictures to different profiles I’ve created.

How do I proceed? The backend doesn’t give me the option to do so!

1) You can add image to profiles this way. First, go to a profile page (frontend), then to the Photos page. See screenshot https://ibb.co/RTzd5gX

2) Max image size can be changed here: WordPress -> DateBook -> Dashboard -> Profile -> Allowed max. image size to upload

Hello Pagick Themes Support,

I am experiencing an issue where the Elementor editor does not load on my website when using the DateBook theme. When trying to edit a page, only the Elementor logo appears and the editor sidebar never loads.

After checking the browser console and the REST API responses, I discovered that the theme is injecting HTML into REST API responses, specifically a <nav class=”datebook-moderation-panel”>…</nav> block. For example, accessing this endpoint:

https://www.loventyapp.com/wp-json/baseUrl/v1/baseGetPoint/getREST?...

returns HTML before the JSON response, which breaks Elementor because it expects valid JSON.

It seems the theme’s moderation panel is outputting directly to the response, even during REST requests, and this prevents the Elementor editor from functioning.

Could you please provide a way to disable the moderation panel for REST API and AJAX requests, or provide a constant/filter to make the theme REST-safe?

This is urgent as it completely blocks editing pages with Elementor.

Thank you for your support.

sylany0

sylany0 Purchased

Hello. Thank you for the wonderful theme. Good job. It would be nice if there was a forum for this theme. You could send, for example, corrected code for the language, etc. 1. Can it be integrated with the WP 2FA plugin – two-factor authentication for WordPress? There are many security measures, but I got around that. 2. I also made a user map with a filter. It does not interfere with the original code. 3. I think the language function is okay, but only for Datebook. For example, we have to do the blog in a different language, but the gtranslate plugin does all the work. I have many other suggestions and ideas, but this would be too long a comment. My website is amor24.eu. Best regards.

I also created Android apps for my website. You can test two-factor authentication on my website. However, I only do this in my spare time, and there is still a lot to improve.

All right. I can add special fields and buttons for GDPR. If you could explain and make screenshots how they should look and work, then I would be able to realize your suggestions. So I need to understand what and how should be added:

1) You said about “I accept”. How should it look and work? Where should I place it?

2) You said about “link to the privacy policy”. How should it look and work? Where should I place it?

3) You said about “two-factor authentication”. How should it look and work? Where should I place it?

Thank you

RaCLD Stripe Use Payment Links to sell online without a website. Create a full payment page in just a few clicks and share the link with your customers – no code required.

I tried but it’s not work and also how to change date of birth format on registration form. I already sent email 2 days ago.

No way to change the date of birth. It has strict function to check the birth date.

Can it possible like mm/dd/yyyy

Can the possible registration form add a next button because we have many fields? I sent you an email.

Yes, it is possible to create a form with a next button. Do the following:

  1. Go here WordPress -> DateBook -> Forms
  2. Open the Registration form for editing
  3. At the bottom of the form, you can find the “Add form divider button”. Click on that button. The divider will be added at the end of to the form.
  4. Now, click on the Add row button. It will add a new row under the divider.
  5. Add custom fields (from the right sidebar) into that row,
  6. Add again another row.
  7. Add the Submit button into that row.
  8. Now, save your changes.

Done!

I tried but it’s not work.

Yes, it does not work. I apologize for the inconvenience. This will be fixed in the next update. Thank you for your message.

RaCLD

RaCLD Purchased

I’m waiting for your answer to my question below, but in the meantime, I’d like to ask:

1) – If I enable the redirect to the normal login page and disable wp-admin and wp-login (features present on the Datebook theme), how can I access my website’s backend?

2) – It would be helpful (as another customer mentioned) to create a chat for people who have purchased the product and need assistance, so we can provide self-support, since (in my case) I sometimes have to wait up to 30 days for a decent response.

I’m tempted to create one myself on Telegram.

Thanks

I will answer your other questions in another comment in few minutes.

1) You will have to login on the normal login page like other users. In this case, the theme will see that you are administrator and redirect you to wp-admin.

2) Good idea about chat. I will see how to realize it on our demo page here https://www.pagickthemes.com

Thank you

RaCLD

RaCLD Purchased

Oh, okay, I didn’t know it worked that way.

I’m waiting for the answer to the other question below, please. It’s already been 10 hours (you said a few minutes) :)

Bonjour,

Je me permets de vous contacter car je rencontre quelques difficultés avec le thème que j’ai acheté chez vous. Je précise que je n’ai pas de compétences techniques en développement web, et que j’utilise Brizy comme constructeur de pages.

Voici les soucis que je rencontre :

1. Header : j’ai bien créé un en-tête (header), mais en version mobile, les éléments passent à la ligne et l’affichage devient désordonné. J’aimerais que tout reste sur une même ligne ou que le menu se transforme proprement en menu hamburger.

2. Footer : j’ai également créé un pied de page (footer) avec un menu, mais le même problème se produit : le menu s’étale sur plusieurs lignes au lieu de rester aligné ou de s’adapter correctement en mode mobile.

3. Documentation Datebook : pourriez-vous m’expliquer à quoi sert cette documentation et les codes qui s’y trouvent ? J’aimerais comprendre si je dois m’en servir pour personnaliser certains éléments du thème.

4. Swiper des profils : enfin, j’aimerais savoir comment activer ou mettre en place la fonction “swiper” pour faire défiler les profils (comme sur une application de rencontre par exemple). Pourriez-vous me guider sur la marche à suivre ?

Je vous remercie beaucoup pour votre aide et votre patience.

Good day. I replied by email. Please, check it.

Bonjour,

Je rencontre plusieurs problèmes avec les traductions du thème DateBook que je viens d’acheter :

1. La traduction native du thème n’est pas complète. Certaines phrases et certains mots ajoutés dans l’interface restent en français, même lorsque je sélectionne une autre langue (par exemple l’espagnol).

2. La traduction anglaise a disparu. Je la voyais auparavant mais elle n’apparaît plus. Pourriez-vous m’indiquer comment la restaurer ?

3. Dois-je traduire manuellement tous les menus ? Certains semblent ne pas être pris en charge par la traduction automatique du thème.

Pourriez-vous s’il vous plaît :

m’orienter sur la bonne méthode pour gérer les traductions avec votre thème ;

me confirmer s’il existe des captures d’écran ou une documentation détaillée ;

m’indiquer les dimensions exactes recommandées pour le logo.

Merci d’avance pour votre aide.

Cordialement,

Hi Pagick, Sometimes the search and full “Download All Profiles” functions are very slow. May I know which plugin is best and recommended for the Datebook theme — WP-Optimize or Advanced Database Cleaner?

Thank you.

When I click the search button (example.com/searching/), sometimes it takes more than 15 seconds to load the profiles.

My hosting provider mentioned that the issue may be caused by database table fragmentation, which can slow down WordPress search queries. Repairing the database rebuilds the tables and indexes, which helps improve loading speed.

This usually happens over time as WordPress and its plugins continuously add, update, and remove data. To prevent this from happening again, they recommended performing regular database optimization and basic maintenance.

They also suggested the following steps:

1. Install a database optimization plugin such as WP-Optimize or Advanced Database Cleaner.

2. Periodically clean up transients and spam comments, as they can accumulate and bloat the database.

Ok, I see. The search looks at these fields: meta_key and meta_value in the wp_postmeta table

You could try to add a new index to both fields “meta_key” and “meta_value”.

Actually, “meta_key” already has index. But it is better to create a new index for 2 fields at once.

I doubt cleaning the database will help. It is better to add index

Hi Pagick,

For your information, after I installed WP-Optimize, it now only takes 3–5 seconds when I click the search button (example.com/searching/). Previously, it usually took more than 15–20 seconds to load the profiles.

It really helped me solve the problem.

thank you

Hi, Pagick!

Please create a separate page with a group chat where all dating site users can post.

merhaba, temanızı satın aldık, kurulumu yaptık fakat hiç bir işlem yapmadığım halde profil görüntüleri değişti, bu hataları nasıl düzeltebiliriz acaba?

Yes, I received screenshots. I have corrected them. See screenshots https://ibb.co/4wkcxBnc and this https://ibb.co/kgdxjsPh

It doesn’t seem to have improved, it’s still the same.

What do you mean? Could you take a screenshot and post a link to the page please?

How to change color in registration form in gender (woman/man) background.

You can change the color of gender buttons here: WordPress -> DateBook -> Custom Fields -> open the gender field for editing -> change the colors -> Save

Moderation pages not showing.

The moderation page has changed. Do the following:

Go here and create a new page: WordPress -> Pages.

Give it a title “Moderation” and slug “moderation”.

In this page, select the template “DateBook Moderation.

Done!

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve ThemeForest.

Sure, take me to the survey