Atilla Boz

Forum Replies Created

Viewing 15 posts - 121 through 135 (of 188 total)
  • Author
    Posts
  • in reply to: Chose a user role at registration #368712

    Atilla Boz
    Full Member
    Post count: 280

    I added 1 & 2 now, like this…

    
    
    // Login
    add_filter('geodir_login_url','change_geodir_login_url',10,3);
    	function change_geodir_login_url($login_url,$args,$gd_page_id){
    	//change the url to whatever you want.
    	$login_url = 'http://boz1.timmeserver.de/wp-login.php';
    	return $login_url;
    }
    
    // Registrierung
    add_filter('geodir_login_url','_my_geodir_login_url',10,3);
    	function _my_geodir_login_url($login_url,$args,$gd_page_id){
    	 if(isset($args['signup'])){
    
    	//change the url to whatever you want.
    	 $login_url = 'http://boz1.timmeserver.de/wp-login.php?action=register';
    	 }
    
    	return $login_url;
    }

    but nothing happens / happened.

    in reply to: Chose a user role at registration #368702

    Atilla Boz
    Full Member
    Post count: 280

    That is exactly what I did. And on my local instalation it works just perfect, but for some reason om my online test site, the Redirection works only for the login but NOT for the registration. I already tried the snippet Nr 2 from this site but it has no effect so far :/

    https://wpgeodirectory.com/docs/redirecting-the-login-page/

    I opened another thread for that, too and hope we find a solution.

    Atilla

    in reply to: Activate Google Page Speed on Server or better not? #368699

    Atilla Boz
    Full Member
    Post count: 280

    Ok thank you Stiofan 🙂

    in reply to: Deactivate GD Login & Registration #368673

    Atilla Boz
    Full Member
    Post count: 280
    This reply has been marked as private.
    in reply to: Deactivate GD Login & Registration #368669

    Atilla Boz
    Full Member
    Post count: 280

    Hi Kor Chung,

    I tried that code before to change the registration Link. Adding that code has zero effect to the link. Nothing happens it is still the same old link sending me to GD login.

    
    
    // Login 
    add_filter('geodir_login_url','_my_geodir_login_url',10,3);
    	function _my_geodir_login_url($login_url,$args,$gd_page_id){
    	 if(isset($args['signup'])){
    
    	//change the url to whatever you want.
    	 $login_url = 'http://sky-mp3.com';
    	 }
    
    	return $login_url;
    }

    I dont think those codes are right. Maybe you can re-check them?

    Thanks,
    Atilla

    in reply to: Supreme Directory, pagination on list view #368197

    Atilla Boz
    Full Member
    Post count: 280

    Ok, thank you 🙂


    Atilla Boz
    Full Member
    Post count: 280

    And my final solution with all my different post types, just in case somebody else wanna do, something similar:

    
    
    /* LISTENANSICHT - Beitrags Listen (Mitte) Suchfeld ausblenden */
    .post-type-archive-gd_agenturen #geodir_advanced_search-1,
    .post-type-archive-gd_place #geodir_advanced_search-1, .post-type-archive-gd_beauty #geodir_advanced_search-1, 
    .post-type-archive-gd_blumen_deko #geodir_advanced_search-1, .post-type-archive-gd_brautmode #geodir_advanced_search-1, 
    .post-type-archive-gd_braeutigammode #geodir_advanced_search-1, .post-type-archive-gd_event #geodir_advanced_search-1, 
    .post-type-archive-gd_catering #geodir_advanced_search-1, .post-type-archive-gd_foto_video #geodir_advanced_search-1,
    .post-type-archive-gd_fuhrpark #geodir_advanced_search-1, .post-type-archive-gd_geschenke #geodir_advanced_search-1,
    .post-type-archive-gd_hochzeitsmode #geodir_advanced_search-1, .post-type-archive-gd_hochzeitsreise #geodir_advanced_search-1, 
    .post-type-archive-gd_hochzeitstorten #geodir_advanced_search-1, .post-type-archive-gd_kurse #geodir_advanced_search-1, 
    .post-type-archive-gd_locations #geodir_advanced_search-1, .post-type-archive-gd_papeterie #geodir_advanced_search-1, 
    .post-type-archive-gd_theologen_redner #geodir_advanced_search-1, .post-type-archive-gd_trauringe #geodir_advanced_search-1, 
    .post-type-archive-gd_theologen_unterhaltung #geodir_advanced_search-1 {
        display: none;
    }

    Of course others with have other names for their post types, you will just have to change the names after

    .post-type-archive-gd_

    – good luck 🙂

    Kind regards,
    Atilla


    Atilla Boz
    Full Member
    Post count: 280

    Hello everyone,

    I found a solution. I adress this class now:

    .post-type-archive-gd_brautmode #geodir_advanced_search-1 {
    display: none;
    }

    That is the class only of one specific post type. I will add all other post types now and there we go – solution found.

    Thanks again Kor Chung & Paolo


    Atilla Boz
    Full Member
    Post count: 280

    Hi Paolo,

    thank you. That code hides the search – but also the search in the headers. Maybe I can hide it based on the page-ID instead. Would be a longer code but a safe way to not delete other stuff.

    Or I add a new class maybe…

    Regards,
    Atilla


    Atilla Boz
    Full Member
    Post count: 280

    Hi Kor Chung,

    tried it – nothing happened. Is there a special class for the content area only in the listings maybe?

    Kind regards,
    Atilla


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

    Atilla Boz
    Full Member
    Post count: 280

    Thanks Stiofan! Worked for me, even though I had 2 rating areas afterwards.


    Atilla Boz
    Full Member
    Post count: 280

    Ah Giri sorry,

    I was about to say that still wont work BUT it works! It was absolutely my fault. I had to add stuff to the sidebar of the search area widget. Thanks so much again – you guys are awesome. Best support ever.

    Kind regards,
    Atilla

    in reply to: Wrong text in language file #366759

    Atilla Boz
    Full Member
    Post count: 280

    You are welcome 🙂


    Atilla Boz
    Full Member
    Post count: 280

    Giri sorry, I have one more thing.

    The problem is the search view. In the script it seemed like also in the search list the sidebar is active, too – but I could not get it to work.

    I have added 3 screenshots.

    1. listings-1 — is how it looks like in the normal listings
    2. listings-2-search — is how it looks like in the search area
    3. listings-3-searchwithsidebar — is how the search arealooks when you remove 1 line code (see below)

    I have tried to change the code a little and found out when i remove this line:

    remove_action('geodir_search_sidebar_left', 'geodir_action_search_sidebar_left', 10);

    Then I can see a sidebar, too but it has no content at all.
    You have an idea what has to be change dto make it work in the search view too?

    Thanks in advance,
    Atilla

Viewing 15 posts - 121 through 135 (of 188 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount