Deactivate GD Login & Registration

This topic contains 5 replies, has 2 voices, and was last updated by  Kor 7 years, 7 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #368525
    #368531

    Kor
    Moderator
    Post count: 16516

    Hi Atilla,

    There isn’t an option to deactivate the GD login/registration but you can somehow redirect the login following this instruction https://wpgeodirectory.com/docs/redirecting-the-login-page/

    Thanks!

    #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

    #368673

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

    Atilla Boz
    Full Member
    Post count: 280

    This one can be closed – the codes are right. Buddypress was making the problems.

    Thank you Kor Chung!
    Atilla

    #369247

    Kor
    Moderator
    Post count: 16516

    Hi Atilla,

    Sorry for not replying earlier. Looks like I’ve overlooked this thread. But I’m glad that you sorted it out yourself. Please let us know if you need anything else.

    Thanks!

Viewing 6 posts - 1 through 6 (of 6 total)

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

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount