Houdini
Forum Replies Created
-
In the user part of the site, sorting by user settings works great!
But does not work in the dropdown when adding an ad where you have added a close button. The “Custom Order” sorting doesn’t work there!
- This reply was modified 1 month ago by Houdini.
Yes, I’m talking about the multi selection for category!
Understand! Then I think we need to think about a popup window and multiple selecting categories using a checkbox: https://prnt.sc/vDMM13bMPt3n
https://www.ads-software.com/support/topic/new-multi-selection-category-selection-features-for-ajax-form-bulder/What can you say about sorting the dropdown list from custom settings? We highlight parent categories in bold. Is it possible to implement this in a multiple selection feature for categories?
Okay, I’ll create a support ticket. I wrote my comment and rating. If your colleagues accept my proposal that I made for RadiusTheme, I will send it to you for review and testing.
Hi, you can simply make an “Apply” button below the drop-down list, and give it a function that will simply close the drop-down list with the selected categories. The button will work as a close option.
https://prnt.sc/QCLV95wyVTQlThe text on the button can be anything you want, Apply now is just an example, I put the button that was in my folders.
- This reply was modified 1 month, 1 week ago by Houdini.
Hello, I’m returning to the multiselect function. Is it possible to do sorting from custom settings? It is also very inconvenient to select categories from a mobile phone; It would be nice if you could add an “Apply” button to the drop down menu at the bottom so that the window closes once selected.
The window does not close and this causes great inconvenience to the user after selecting several categories.
The function is cool, but I strongly recommend modifying it, making it in the form of a modal window with a list of categories with checkboxes with sorting based on user settings and an “apply” or “select” button. when clicked, the modal window will close and the user will be able to continue filling out the form.
Hello! I use the standard classilist theme and standard plugins that are necessary for the template to work. No other plugins installed!
Hello. Thank you! I realized that in Google Captcha v3 the check is automatic! I received the icon you sent in the screenshot, but I hid it from users using the official instructions.
I’ll leave it here, it might be useful to someone:
It is necessary to place links on the site to the Privacy Policy and Terms of Use of Google:
This site is protected by reCAPTCHA and the Google
<a >Privacy Policy</a> and
<a >Terms of Service</a> apply.Next, we hide the badge itself by placing the following code in the css file:
.grecaptcha-badge { visibility: hidden; }
My pleasure! Glad to cooperate!
Thank you for answering quickly!
Hello @alireyad . Thank you!
Ali Akbar, could you look at ticket ID#91340 and answer me normally, I don’t quite understand when your colleague Tariqul answers me.
I have submitted the latest tested version of the FreedomPay addon and made a suggestion for RadiusTheme.
Hi, @mohammad212dasd you can disable scaling in the plugin settings, Misc section!
https://prnt.sc/Lp0aJ20NWRjx@alireyad do you mean here? https://www.ads-software.com/support/plugin/review-schema/
- This reply was modified 1 month, 2 weeks ago by Houdini.
I wanted to add another payment function without CSS styling!
Because I didn’t want to use promotional promotion of the ads after they were added!
I wanted to charge the user immediately when adding a new ad.
Now, if in the settings you set the transition to the payment page when adding an ad, then there are only 3 payment options: Featured, Top and Bump Up and they all have their own design style.
I’m missing another option called: Regular Ad.
I’ll have to abandon the Feature function and remove its CSS style. I’ll make it like a regular ad. If there are no other options.
Thank you!
What can you say about ticket ID# 91340?
I need to create a complete copy of the featured function without CSS styling. For example: featured-vip and set your own CSS design. Is this possible? Or is it unlikely to work out?
Hello. Thanks! I made a working version of the code, I’ll leave it here, it might be useful to someone!
In the location you need in the myaccount/form-edit-account.php file, paste the following code:
<div class="rtcl-form-group">
<label for="rtcl-description" class="rtcl-field-label">
<?php esc_html_e( 'User Description', 'classified-listing' ); ?>
</label>
<div class="rtcl-field-col">
<textarea name="description" id="rtcl-description" class="rtcl-form-control"
style="width: 100%; min-height: 150px;">
<?php echo esc_textarea( get_user_meta( $user->ID, 'description', true ) ); ?>
</textarea>
</div>
</div>To save text in user metadata from the frontend, paste the following code into the function.php file:
// Saving a user description
function save_user_description( $user_id ) {
// Checking for user rights
if ( ! current_user_can( 'edit_user', $user_id ) ) {
return;
}
// Save the description
if ( isset( $_POST['description'] ) ) {
// Clear the input and save it in the metafield
update_user_meta( $user_id, 'description', sanitize_textarea_field( $_POST['description'] ) );
}
}
add_action( 'personal_options_update', 'save_user_description' );
add_action( 'edit_user_profile_update', 'save_user_description' );
add_action( 'profile_update', 'save_user_description' ); // Added profile update hookNow on the ad author’s page there will be text from the descriptions. <?php echo esc_html($author->description); ?>
- This reply was modified 1 month, 2 weeks ago by Houdini.
Hello, yes, I overridden the template form-edit-account.php! Do you need to enter a birth date selection form into it and write your own function? Or is there some kind of hook or ready-made function that can add a date? Please see ticket: ID# 91340.
Thanks, final working code. I’ll save it here, maybe it will be useful to someone.
// Adding a new item to the “Account Menu”
add_filter( 'rtcl_account_menu_items', function( $menu_items ) {
$new_menu_item = [
'my-test' => esc_html__( 'My Test', 'classified-listing' ),
];
// Insert a new item into the menu after "dashboard"
$position = array_search( 'dashboard', array_keys( $menu_items ), true ) + 1;
// Insert the menu item in the right place
$menu_items = array_slice( $menu_items, 0, $position, true )
+ $new_menu_item
+ array_slice( $menu_items, $position, null, true );
return $menu_items;
}, 10 );
// Registering a new endpoint "my-test"
add_action( 'init', function() {
add_rewrite_endpoint( 'my-test', EP_ROOT | EP_PAGES );
} );
add_action('rtcl_account_my-test_endpoint', function() {
// Path to your template
$template_path = get_stylesheet_directory() . '/classified-listing/myaccount/my-test.php';
// Checking the existence of the template file
if (file_exists($template_path)) {
include $template_path; // Connecting the template
}
});Please answer in the ticket ID# 88895
- This reply was modified 1 month, 3 weeks ago by Houdini.