Atilla Boz

Forum Replies Created

Viewing 15 posts - 46 through 60 (of 188 total)
  • Author
    Posts
  • in reply to: Change CPT (custom post type) of a listing #393846

    Atilla Boz
    Full Member
    Post count: 280

    Hello Paolo,

    if I want to change one specific listing, too?
    Where would I export > how would I edit?

    Thx,
    Atilla

    in reply to: Supreme Directory – event filter button border-radius #393830

    Atilla Boz
    Full Member
    Post count: 280

    Hello Giri,

    you missunderstood the problem 😉 I do want that radius there – like all form fields and buttons are round I tried to make that one myself round, too. BUT it only works in firefox so far 🙂

    Thanks,
    Atilla

    in reply to: Supreme Directory – event filter button border-radius #393782

    Atilla Boz
    Full Member
    Post count: 280

    Tried a few different things again, but I really can not change it.

    in reply to: Supreme Directory – event filter button border-radius #393777

    Atilla Boz
    Full Member
    Post count: 280

    Hi Paolo,

    thanks for testing and sorry for the delayed feedback. I now found out that in Mozilla, which I guess you are using, it works. But it does not work for chrome & opera. Gonna take a look at the CSS again and head back with a result hopefully.

    Cheers,
    Atilla


    Atilla Boz
    Full Member
    Post count: 280
    This reply has been marked as private.

    Atilla Boz
    Full Member
    Post count: 280
    This reply has been marked as private.
    in reply to: Supreme Directory – event filter button border-radius #391326

    Atilla Boz
    Full Member
    Post count: 280

    Hi Paolo,

    as far as I know you are the theme author of Supreme? Or do you mean something else?
    I just made a clone of Supreme with some cool additional snippets from you guys.

    But I did not change anything with that button, as far as I can remember.

    But if it was made not to be changeable I will let it stay like that, its not the most important button of the world.

    Thanks,
    Atilla

    in reply to: Supreme Directory – event filter button border-radius #391198

    Atilla Boz
    Full Member
    Post count: 280
    This reply has been marked as private.
    in reply to: Repositioning the ratings in list-view (part II) #391116

    Atilla Boz
    Full Member
    Post count: 280

    Well I have to make lots of changes anyways when there is an update of the supreme theme. And there IS already an update which I cant make right now because of all the modifications… A few things are in the functions.php – but all those snippets came from you guys because I dont know how that works. And the rest is in like 10 different files, things like extra css or translating strings that were not in the languages files etc.

    But having it updatable should be the goal in the end. usually I make child themes then its all cool, but its not easy to make a child of a child. I will make a list of my modifications and maybe you guys can have a look how to make it cleaner.

    Oh and I think I had a problem with the code snippet plugin, too. Something that worked in the functions.php would not want to work in the plugin. Hard to remember now what it was.

    Thanks – this one should be resolved 🙂

    in reply to: Repositioning the ratings in list-view (part II) #391080

    Atilla Boz
    Full Member
    Post count: 280

    Hi Stiofan again!

    I knew it would just be a little change, I tried to copy also the code from the listing-listview.php but it did not work out. Sometimes I am lucky and copy and paste stuff works out, but basically I am a Level 2 beginner at PHP so I dont have an eye for those things and Im always really thankful for your help!! 🙂

    Whats better if I use the plugin? I always try to avoid all plugins that I dont need to get things to work. More to update, more code, slower loading times etc.

    Back to the list now we still had the rating stars at 2 different positions, I deleted the bottom one via CSS like this:

    
    
    /* GD - LISTENANSICHT - Sternchen & Bewertungen-Anzahl unter Beschreibung ausblenden */
    .geodir_category_list_view li .geodir-addinfo .gd-star-rating,
    .geodir_category_list_view li .geodir-addinfo a.geodir-pcomments {
        display:none;
    }

    I am already happy with this but if you had a snippet to switch that off via functions.php it would be awesome, too.

    Some part of this footer area from the listing-listview.php should be deleted. I also tried to do that in the file itself but could not find out what exact part has to be deleted without getting errors 🙂

    
    
    <footer class="geodir-entry-meta <?php echo apply_filters('geodir_listing_listview_meta_extra_class', '', 'listing'); ?>">
                                <div class="geodir-addinfo clearfix <?php echo apply_filters('geodir_listing_listview_addinfo_extra_class', '', 'listing'); ?>">
    
                                    <?php
                                    /**
                                     * Called before printing review stars html.
                                     *
                                     * @since 1.5.3
                                     * @param object $post The post object.
                                     * @param string $view The view type, default 'listing'.
                                     */
                                    do_action( 'geodir_before_review_html', $post, 'listing' );
    
                                    $review_show = geodir_is_reviews_show('listview');
    
                                    if ($review_show) {
    
                                        if (!$preview) {
                                            $post_avgratings = geodir_get_post_rating($post->ID);
                                            /**
                                             * Called before the rating stars are output on the listings view template.
                                             *
                                             * @since 1.0.0
                                             * @param float $post_avgratings The average rating for the post.
                                             * @param int $post->ID The post ID.
                                             * @see 'geodir_after_review_rating_stars_on_listview'
                                             */
                                            do_action('geodir_before_review_rating_stars_on_listview', $post_avgratings, $post->ID);
    
                                            echo geodir_get_rating_stars($post_avgratings, $post->ID);
    
                                            /**
                                             * Called after the rating stars are output on the listings view template.
                                             *
                                             * @since 1.0.0
                                             * @param float $post_avgratings The average rating for the post.
                                             * @param int $post->ID The post ID.
                                             * @see 'geodir_before_review_rating_stars_on_listview'
                                             */
                                            do_action('geodir_after_review_rating_stars_on_listview', $post_avgratings, $post->ID);
                                        }
                                        ?>
                                        <a href="<?php comments_link(); ?>" class="geodir-pcomments"><i
                                                class="fa fa-comments"></i>
                                            <?php geodir_comments_number($post->rating_count); ?></a>
                                    <?php
                                    }
    
                                    /**
                                     * Called after printing favorite html.
                                     *
                                     * @since 1.0.0
                                     */
                                    do_action( 'geodir_after_favorite_html', $post->ID, 'listing' );
    
                                    /**
                                     * Called after printing map pin point.
                                     *
                                     * @since 1.0.0
                                     * @since 1.5.9 Added $post as second param.
                                     * @param int $post->ID The post id.
                                     * @param object $post The post object.
                                     */
                                    do_action( 'geodir_listing_after_pinpoint', $post->ID ,$post);
    
                                    if ($post->post_author == get_current_user_id()) { ?>
                                        <?php
                                        $addplacelink = get_permalink(geodir_add_listing_page_id());
                                        $editlink = geodir_getlink($addplacelink, array('pid' => $post->ID), false);
                                        $upgradelink = geodir_getlink($editlink, array('upgrade' => '1'), false);
    
                                        $ajaxlink = geodir_get_ajax_url();
                                        $deletelink = geodir_getlink($ajaxlink, array('geodir_ajax' => 'add_listing', 'ajax_action' => 'delete', 'pid' => $post->ID), false);
    
                                        ?>
    
                                        <span class="geodir-authorlink clearfix">
    											
    											<?php if (isset($_REQUEST['geodir_dashbord']) && $_REQUEST['geodir_dashbord']) {
                                                    /**
                                                     * Called before the edit post link on the listings view template used on the author page.
                                                     *
                                                     * @since 1.0.0
                                                     * @see 'geodir_after_edit_post_link_on_listing'
                                                     */
                                                    do_action('geodir_before_edit_post_link_on_listing');
                                                    ?>
    
                                                    <a href="<?php echo esc_url($editlink); ?>" class="geodir-edit"
                                                       title="<?php _e('Edit Listing', 'geodirectory'); ?>">
                                                        <?php
                                                        $geodir_listing_edit_icon = apply_filters('geodir_listing_edit_icon', 'fa fa-edit');
                                                        echo '<i class="'. $geodir_listing_edit_icon .'"></i>';
                                                        ?>
                                                        <?php _e('Edit', 'geodirectory'); ?>
                                                    </a>
                                                    <a href="<?php echo esc_url($deletelink); ?>" class="geodir-delete"
                                                       title="<?php _e('Delete Listing', 'geodirectory'); ?>">
                                                        <?php
                                                        $geodir_listing_delete_icon = apply_filters('geodir_listing_delete_icon', 'fa fa-close');
                                                        echo '<i class="'. $geodir_listing_delete_icon .'"></i>';
                                                        ?>
                                                        <?php _e('Delete', 'geodirectory'); ?>
                                                    </a>
                                                    <?php
    
                                                    /**
                                                     * Called after the edit post link on the listings view template used on the author page.
                                                     *
                                                     * @since 1.0.0
                                                     * @see 'geodir_before_edit_post_link_on_listing'
                                                     */
                                                    do_action('geodir_after_edit_post_link_on_listing');
                                                } ?>
    											</span>
    
                                    <?php } ?>
    
                                </div>
                                <!-- geodir-addinfo ends here-->
                            </footer>

    Thaaaaaaanks so much again,
    Atilla

    in reply to: Repositioning the ratings in list-view (part II) #390998

    Atilla Boz
    Full Member
    Post count: 280

    I could not edit the code so I post it again, I also used some padding for the title to get the space for the line with star ratings. Bu thats all inactive again. So you can also just ignore it for now 😉

    
    
    .geodir_category_list_view li .geodir-addinfo {
        width: 71%;
        float: right;
        margin-right: 0;
        margin-top: -143px;
    }
    .geodir_category_list_view .geodir-entry-header {
        padding-bottom: 16px;
    }
     GD - LISTENANSICHT - Anzahl  
    .geodir_category_list_view .gd-star-rating {
        float: left;
    }

    P.S.: I have no changes at /plugins/geodirectory/geodirectory-templates/listings-listview.php

    in reply to: Repositioning the ratings in list-view (part II) #390994

    Atilla Boz
    Full Member
    Post count: 280
    This reply has been marked as private.
    in reply to: Link to events form is gone #390649

    Atilla Boz
    Full Member
    Post count: 280
    This reply has been marked as private.
    in reply to: Localization popup #390089

    Atilla Boz
    Full Member
    Post count: 280

    There it is! I found it right here 🙂
    Thanks again!

    in reply to: Localization popup #390084

    Atilla Boz
    Full Member
    Post count: 280

    Hello and thank you Kor,

    but I did not understand where I can find it in the backend. Maybe cause its german and some words arre different. Is it around here? (See screenshot)

    Kind regards,
    Atilla

Viewing 15 posts - 46 through 60 (of 188 total)