Giri

Forum Replies Created

Viewing 15 posts - 136 through 150 (of 2,661 total)
  • Author
    Posts
  • in reply to: Add "Add Event" Button to Listing Details Page #394226

    Giri
    Expired Member
    Post count: 3155

    Hi Chris,

    This function fetches the url.

    
    
    function sd_get_add_event_button() {
    	if (is_user_logged_in()) {
    		$link = geodir_get_addlisting_link('gd_event');
    	} else {
    		$link = geodir_login_url(array('redirect_add_listing'=> urlencode(geodir_get_addlisting_link('gd_event'))));	
    	}
    	return $link;
    }

    You have add html code like this to display the button.

    <a href="<?php echo sd_get_add_event_button(); ?>">Add Event</a>
    in reply to: Add "Add Event" Button to Listing Details Page #394221

    Giri
    Expired Member
    Post count: 3155

    Hi Chris,

    I still don’t understand your request.

    Correct me if i’m wrong.

    You would like to display a “Add Event” button. If the user logged in then the user should be redirected to add-listing/listing_type=event page.

    If not loggedin user should be redirected to login page but should be redirected to add-listing/listing_type=event page after successful login.

    Is that what you are asking?

    in reply to: Add "Add Event" Button to Listing Details Page #394191

    Giri
    Expired Member
    Post count: 3155

    Hi Chris, Are you talking about whoop theme?

    in reply to: Supreme Directory Tags #394181

    Giri
    Expired Member
    Post count: 3155

    Hi Michael,

    Can you tell me where you have placed that remove_action code? I couldn’t find that in your code snippets

    in reply to: Error during new franchise adding #394170

    Giri
    Expired Member
    Post count: 3155

    You are welcome.

    in reply to: Error during new franchise adding #393989

    Giri
    Expired Member
    Post count: 3155

    Hi Neil,

    I have enabled GD Booster again and tested your issue in Macbook chrome and I can’t able to reproduce your bug.

    Could you test once again? It might be cache issues. Since the cache cleared it might be working again.

    Thanks

    in reply to: Custom Fields in Profile Tab #393988

    Giri
    Expired Member
    Post count: 3155

    You are welcome

    in reply to: Error during new franchise adding #393986

    Giri
    Expired Member
    Post count: 3155

    Hi Neil,

    No you may have to exclude some js in this case.

    Caching plugins minimize the js. So sometimes cache plugin cause js errors. So it was my guess.

    Let me test.

    in reply to: Error during new franchise adding #393977

    Giri
    Expired Member
    Post count: 3155
    This reply has been marked as private.
    in reply to: Custom Fields in Profile Tab #393952

    Giri
    Expired Member
    Post count: 3155

    Hi Chris,

    Install this plugin.

    https://wordpress.org/plugins/code-snippets/

    Activate the plugin and then add the following code as a snippet.

    
    
    add_filter('geodir_detail_page_tab_list_extend', 'geodir_detail_page_tab_list_extend_profile');
    function geodir_detail_page_tab_list_extend_profile($tab_array)
    {
    print_r($tab_array);
    }

    Now activate that snippet. Visit any listing detail page.

    You will see the code dump there.

    If you still need help please provide admin login detail in a private reply.

    Thanks

    in reply to: Thrive Rise Theme compatibility #393935

    Giri
    Expired Member
    Post count: 3155
    This reply has been marked as private.
    in reply to: Supreme Directory – event filter button border-radius #393921

    Giri
    Expired Member
    Post count: 3155

    Oh sorry. Yes i misunderstood your question.

    I guess you are missing browser specific tags.

    border-radius: 22px !important;
    -o-border-radius: 22px !important; //for Opera
    -webkit-border-radius: 22px !important; // for Chrome, Safari
    -moz-border-radius: 22px !important; // for Mozilla

    in reply to: Supreme Directory – category list view bug for grid views #393920

    Giri
    Expired Member
    Post count: 3155

    Thanks Atilla.

    I’ll add the code in supreme.

    You might wanna use the body class .sd to target only superme theme. Otherwise you code will be applicable for all themes since the css part you mentioned coming from GD.

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

    Giri
    Expired Member
    Post count: 3155
    This reply has been marked as private.
    in reply to: Supreme Sidebar Order #393742

    Giri
    Expired Member
    Post count: 3155
    This reply has been marked as private.
Viewing 15 posts - 136 through 150 (of 2,661 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount