Giri

Forum Replies Created

Viewing 15 posts - 61 through 75 (of 2,661 total)
  • Author
    Posts
  • in reply to: grid not displaying properly #396762

    Giri
    Expired Member
    Post count: 3155

    Hi there,

    You can try this css

    
    
    .geodir_category_list_view li.gridview_onehalf {
        margin: 0 20px 0 0;
        width: calc(50% - 12px);
    }
    
    .geodir_category_list_view li.gridview_onethird {
        margin: 0 15px 0 0;
        width: calc(33.3% - 12px);
    }
    
    .geodir_category_list_view li.gridview_onefourth {
        margin: 0 13px 0 0;
        width: calc(25% - 12px);
    }
    
    .geodir_category_list_view li.gridview_onefifth {
        margin: 0 12px 0 0;
        width: calc(20% - 12px);
    }

    Thanks

    in reply to: Supreme theme listing avatar #396761

    Giri
    Expired Member
    Post count: 3155

    If you are talking about this avatar, then you need to replace that image with your default avatar in supreme.

    This is the path

    /wp-content/themes/supreme-directory/images/gravatar2.png

    in reply to: Supreme theme listing avatar #396760

    Giri
    Expired Member
    Post count: 3155

    Hi Joy,

    When you connect to facebook it insert the facebook avatar image as avatar.

    So you mean you would like to exclude the default facebook avatar?

    in reply to: Split: Business Owner / Associate #396458

    Giri
    Expired Member
    Post count: 3155

    Hi Joy, Could you explain what you are trying to achieve?

    You wanna hide that “Business Owner” option only to certain categories?

    If yes It doesn’t make any sense. Why not go with separate post types?

    in reply to: Custom Field Not Saving After Edit #396294

    Giri
    Expired Member
    Post count: 3155
    This reply has been marked as private.
    in reply to: Custom Field Not Saving After Edit #396287

    Giri
    Expired Member
    Post count: 3155

    Apologies. let me have a look..

    Thanks

    in reply to: Custom Field Not Saving After Edit #396283

    Giri
    Expired Member
    Post count: 3155
    This reply has been marked as private.
    in reply to: Recurring / Attending Events Widgets #396256

    Giri
    Expired Member
    Post count: 3155

    Its not possible without custom code. sorry about that.

    in reply to: Unable to post #395932

    Giri
    Expired Member
    Post count: 3155

    Hey Guys,

    Discussed with stiofan about #5

    He asked us to use /location page as GD home page since both layout are same.

    in reply to: Button Scrolls Down #395915

    Giri
    Expired Member
    Post count: 3155

    Hi it should be

    
    
    .sd .sd-detail-author {
         float: left;
         margin: 1px 50px 0 0;
         max-width: 10% !important;
    }
    in reply to: Questions #395542

    Giri
    Expired Member
    Post count: 3155

    I guess it might because your post status might have changed to -1 if you import listing recently.

    If thats the case you can either publish the listings one by one or use phpmyadmin and bulk update the post status to ‘publish’

    in reply to: Questions #395540

    Giri
    Expired Member
    Post count: 3155

    Try editing the listing in the backend and publishing it again.

    in reply to: Questions #395536

    Giri
    Expired Member
    Post count: 3155

    /wp-content/themes/geodirectory_whoop/reviews.php

    in reply to: Questions #395517

    Giri
    Expired Member
    Post count: 3155

    Is there a way to upload multiple photos at once?

    No. Not without custom code.

    Also any chance the pop changes yesterday could’ve caused all listing pages to suddenly show a 404?

    I hardly doubt it. Try switching your permalinks settings and switching back again.

    You can also put the original code back. This is the original code.

    
    
    if ($_FILES) {
                foreach ($_FILES as $file => $array) {
                    if ($_FILES[$file]['error'] !== UPLOAD_ERR_OK) {
                        $error = __('Image is required', GEODIRECTORY_FRAMEWORK);
                    }
                    //require the needed files
                    require_once(ABSPATH . "wp-admin" . '/includes/image.php');
                    require_once(ABSPATH . "wp-admin" . '/includes/file.php');
                    require_once(ABSPATH . "wp-admin" . '/includes/media.php');
                    $post_data = array(
                        'post_title' => $caption,
                        'caption' => $caption,
                        'post_author' => $user_id
                    );
                    $attachment_id = media_handle_upload( 'biz_image', $post_id, $post_data );
                    if ( is_wp_error( $attachment_id ) ) {
                        $error = __('Image upload error.', GEODIRECTORY_FRAMEWORK);
                    } else {
                        $row_id = geodir_insert_user_image_data($attachment_id, $post_id, $user_id);
                        $permalink = esc_url(add_query_arg(array("biz_photos" => $row_id), get_permalink($post_id)));
                        wp_redirect( $permalink );
                        exit;
                        //$success = __('Image upload successful', GEODIRECTORY_FRAMEWORK);
                    }
                }
            } else {
                $error = __('Image is required', GEODIRECTORY_FRAMEWORK);
            }

    Thanks

    in reply to: Questions #395509

    Giri
    Expired Member
    Post count: 3155

    Hi Micahel,

    Aplogogies. Actually that form was intended to upload only one photo. As you can see there in only one caption field.

    The bug was html contains multiple=”false” tag. Some browser treats like multiple=”true” since the valid tag is multiple=”multiple”

    I would advise you to remove that part in html.

    File: /wp-content/themes/geodirectory_whoop/functions/photos.php
    You can see this line around line 360

    
    
    
    <input type="file" name="biz_image" id="biz_image" class="geodir_textfield" style="padding-left: 0;" multiple="false"/>

    Replace that with

    <input type="file" name="biz_image" id="biz_image" class="geodir_textfield" style="padding-left: 0;"/>

    Thanks

Viewing 15 posts - 61 through 75 (of 2,661 total)