Support Request

This topic contains 19 replies, has 3 voices, and was last updated by  Guust 9 years, 4 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #23774

    Edgar Kuskov
    Buyer
    Post count: 50

    Hello,

    i have some requests:
    1. Is it possible to add My Dashboard, Favourites, My Places, My Events into the header menu?
    2. Is it possible to set amount of places/events pro account? I have seen there are different account types, but i don’t understand what are they for?
    3. Is it possible to create a coupon due date?
    4. Is it possible to change the time format to 24h and the AM/PM?
    5. Is it possible to change the order of widgets on the place/event details page? Social buttons i would like to have after the details of the place for example.

    Best regards,

    #23786

    Guust
    Moderator
    Post count: 29970

    1. Not possible without customisation.

    2. Not possible. WP has different user types, like administrator, author, subscriber etc. That is not relevant for GD, but is mainly to give different types of access to the admin area.

    3. Not for the moment.

    4. WP > settings > general > time format
    I am not too sure whether that format will be used everywhere, let us know.

    5. This should give you a start: https://wpgeodirectory.com/support/topic/removing-the-share-buttons-from-listing-sidebar/

    #23817

    Edgar Kuskov
    Buyer
    Post count: 50

    4. WP > settings > general > time format i have it in “H:i” but in the event time picker it is still AM/PM?

    #23858

    Paolo
    Site Admin
    Post count: 31206

    At the moment there isn’t an option to change that, but Stiofan might know a way to change with a simple code snippet.

    We’ll keep you posted.

    Thx

    #24088

    Paolo
    Site Admin
    Post count: 31206

    This function has been added

    
    
    function gde_24hour_times( $times ) {
    foreach($times as $key=>$val){
    $times[$key]=$key;
    }
    return $times;
    }
    add_filter( 'geodir_event_schedule_times', 'gde_24hour_times' );

    and will be available in the next coming version.

    Thx

    #24301

    Edgar Kuskov
    Buyer
    Post count: 50

    The same please for the date. See attached image. I need dates and times to be in same form as i defined in wp admin settings.

    One more question, is it possible to enable the wp-admin toolbar ONLY for admins? When i activate it in GD it appears for every user…

    #24316

    Guust
    Moderator
    Post count: 29970

    Try adding this to your child theme’s functions.php:

    
    
    add_action('after_setup_theme', 'remove_admin_bar');
    
    function remove_admin_bar() {
    if (!current_user_can('administrator') && !is_admin()) {
      show_admin_bar(false);
    }
    }

    What you show in that picture seems to be the only place where the date format is not as per WP settings.
    I’ll alert Stiofan to have a look at that.

    #24474

    Edgar Kuskov
    Buyer
    Post count: 50

    I have disabled the admin bar in child theme and inserted the code, but the bar is still not visible?

    #24477

    Guust
    Moderator
    Post count: 29970

    Without URL and admin details, I guess you can t see the admin bar because you disabled it in the child theme. The code I posted should work to hide the admin bar for all but the admin, but only if you enable the admin bar of course.

    #24478

    Edgar Kuskov
    Buyer
    Post count: 50
    This reply has been marked as private.
    #24480

    Guust
    Moderator
    Post count: 29970

    I cannot login with those details, they don t seem to be for an admin user.
    Have you enabled the admin bar again?

    #24482

    Edgar Kuskov
    Buyer
    Post count: 50
    This reply has been marked as private.
    #24484

    Edgar Kuskov
    Buyer
    Post count: 50
    This reply has been marked as private.
    #24485

    Guust
    Moderator
    Post count: 29970

    I know, I can see the page, but I cannot login to wp-admin because I do not think you sent details for an administrator account.

    #24486

    Edgar Kuskov
    Buyer
    Post count: 50
    This reply has been marked as private.
Viewing 15 posts - 1 through 15 (of 20 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket