luxman

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 31 total)
  • Author
    Posts
  • in reply to: Event end date & Event Time Required Fields? #369718

    luxman
    Free User
    Post count: 38

    I have

    
    
    .gd-all-day {
        display: none !important;
    }

    The checkbox is not checked since I don’t want users to see this option. There are no asterisk near event end date or event time. Is this an option to be set somewhere?

    in reply to: How to extract event dates and time properly? #369700

    luxman
    Free User
    Post count: 38

    got it didnt know there was another table geodir_gd_event_detail

    in reply to: Publish New Listing = Redirect to Homepage #333810

    luxman
    Free User
    Post count: 38

    Thanks you’re right right again. I had to upload a custom php.ini which messed up sessions 🙁 issue is now fixed. Funny how the same issue was from almost a year ago 😛

    in reply to: Publish New Listing = Redirect to Homepage #333139

    luxman
    Free User
    Post count: 38
    This reply has been marked as private.
    in reply to: Publish New Listing = Redirect to Homepage #333137

    luxman
    Free User
    Post count: 38
    This reply has been marked as private.
    in reply to: Publish New Listing = Redirect to Homepage #333054

    luxman
    Free User
    Post count: 38

    Also did GD pages check = Good


    luxman
    Free User
    Post count: 38

    extremely easy 🙂 forgot about that when setting it up thanks!

    in reply to: Display Users Listings Shortcode? #157493

    luxman
    Free User
    Post count: 38

    ok great thanks

    in reply to: Display Users Listings Shortcode? #157444

    luxman
    Free User
    Post count: 38
    
    
    <?php global $current_user;
          get_currentuserinfo();
    	  if gd_listings (post_author($current_user->ID)) == 0 { ?>
    		  <p>test</p>
    		   <?php } else { 		   
    	  echo do_shortcode( '[gd_listings post_author="'.$current_user->ID.'"]')
    <?php } ?>

    something like that?

    in reply to: Display Users Listings Shortcode? #157440

    luxman
    Free User
    Post count: 38

    The only thing that sticks is the text “No listings found which match your selection.” This is fine for when a user searches for something, but this is being displayed in the user’s profile.

    Is there an if statement I can use to check if there are posts, if not then I have have different text?

    in reply to: Display Users Listings Shortcode? #157435

    luxman
    Free User
    Post count: 38

    never mind, got it.

    appears to work:

    
    
    <?php global $current_user;
          get_currentuserinfo();
    	  echo do_shortcode( '[gd_listings post_author="'.$current_user->ID.'"]')
    ?>
    in reply to: Display Users Listings Shortcode? #157430

    luxman
    Free User
    Post count: 38
    
    
    <?php
    $author = get_queried_object();
    $authorid = $author->ID;
    echo do_shortcode( '[gd_listings post_author="'.$authorid.'"]'
    ?>

    is this the correct code to use?

    in reply to: Display Users Listings Shortcode? #157410

    luxman
    Free User
    Post count: 38

    This is being placed on a page, created by Admin.

    What I need is a direct php code I guess that checks to see who is logged in and then to display their listings.

    ——–

    The page I created is for members only, which displays their username/fields. I want to place a section under that which says “Your Listings.” But I need to have a code that does

    
    
    <?php
    $author = get_queried_object();
    $authorid = $author->ID;
    echo do_shortcode( '[gd_listings post_author="'.$authorid.'"]
    ?>

    something like that

    in reply to: Display Users Listings Shortcode? #157398

    luxman
    Free User
    Post count: 38

    I added “[gd_listings post_author=”current”]” to the page but I see all the listings appearing.

    or is this supposed to be in the php template?

    in reply to: Redirect User to Specific Page After Logging In #154816

    luxman
    Free User
    Post count: 38

    I’m using GravityForms to register new “directory” users, with their own unique user role in WP. I found that the plugin Peters Login Redirect helps fix this issue 🙂

Viewing 15 posts - 1 through 15 (of 31 total)