Atilla Boz

Forum Replies Created

Viewing 15 posts - 106 through 120 (of 188 total)
  • Author
    Posts

  • Atilla Boz
    Full Member
    Post count: 280

    Hi Paolo,

    where was it empty? Did you change anything now?
    If yes – thank you because now I can see the second eMail adress but the first one is still not visible.

    Its generally hidden at all post types / categories.
    http://boz1.timmeserver.de/vz-foto_video/great2gether-3/

    But I don`t knwo why.

    Thanks 🙂


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

    Atilla Boz
    Full Member
    Post count: 280

    Guust thanks alot!
    I mixed this code from the one from your link – should be great for 90% of the GD Users from Germany:

    
    
    // Anpassung - Detailseite - Sidebar - Adressfeld - modifiziert 
    add_filter('geodir_show_post_address', 'geodir_change_address_order' , 100 , 2) ;
    function geodir_change_address_order($html , $vars)
    {
    	global $post, $preview, $wpdb;
    	$field_icon='';
    	if (strpos($field_icon,'http') !== false) {$field_icon_af = '';}
    		elseif($field_icon==''){$field_icon_af = '<i class="fa fa-home"></i>';}
    		else{$field_icon_af = $field_icon; $field_icon='';}
    	
    	if(!$preview) {
    		$html = '';
    		$html .= '<span class="geodir-i-location" style="'.$field_icon.'">'.$field_icon_af;
                    $html .=  '&nbsp;Addresse:<br>';
    		$html .= '</span>';
    		//print_r($_POST);
    		
    		if($post->post_address){ 
                        $html .= '<span itemprop="streetAddress">'.$post->post_address.'</span><br>'; // + <br>
                    }
                    if($post->post_zip){ 
                        $html .= '<span itemprop="postalCode">'.$post->post_zip.'</span>&nbsp;';
                    }
    		if($post->post_city){ 
                        $html .= '<span itemprop="addressLocality">'.$post->post_city.'</span><br>';
                    }
                    if($post->post_country){ 
                        $html .= '<span itemprop="addressCountry">'.$post->post_country.'</span>';
                    }
                    if($post->post_region){ 
                        $html .= '&nbsp;/&nbsp;<span itemprop="addressRegion">'.$post->post_region.'</span>';
                    }		
    		$html .= '';
    	}
    	return $html ;
    }

    Ah no, I said I only need Sreet, ZIP & Town so my new code in use is:

    
    
    
    
    // Anpassung - Detailseite - Sidebar - Adressfeld - modifiziert 
    add_filter('geodir_show_post_address', 'geodir_change_address_order' , 100 , 2) ;
    function geodir_change_address_order($html , $vars)
    {
    	global $post, $preview, $wpdb;
    	$field_icon='';
    	if (strpos($field_icon,'http') !== false) {$field_icon_af = '';}
    		elseif($field_icon==''){$field_icon_af = '<i class="fa fa-home"></i>';}
    		else{$field_icon_af = $field_icon; $field_icon='';}
    	
    	if(!$preview) {
    		$html = '';
    		// $html .= '<span class="geodir-i-location" style="'.$field_icon.'">'.$field_icon_af;
                    $html .=  '<div class="hop-schrift post_address">Adresse:</div><br>';
    		$html .= '</span>';
    		//print_r($_POST);
    		
    		if($post->post_address){ 
                        $html .= '<span itemprop="streetAddress">'.$post->post_address.'</span><br>'; // + <br>
                    }
                    if($post->post_zip){ 
                        $html .= '<span itemprop="postalCode">'.$post->post_zip.'</span>&nbsp;';
                    }
    		if($post->post_city){ 
                        $html .= '<span itemprop="addressLocality">'.$post->post_city.'</span><br>';
                    }
                    // Land ausblenden
                    //   if($post->post_country){ 
                    //      $html .= '<span itemprop="addressCountry">'.$post->post_country.'</span>';
                    //   }
                    // Region ausblenden
                    //   if($post->post_region){ 
                    //      $html .= '&nbsp;/&nbsp;<span itemprop="addressRegion">'.$post->post_region.'</span>';
                    //   }		
    		$html .= '';
    	}
    	return $html ;
    }
    

    Best wishes from Cologne,
    Atilla

    in reply to: Supreme Directory – Placeholder for dropdown menu #372137

    Atilla Boz
    Full Member
    Post count: 280

    Hi Stiofan,

    ok and would you suggest, I post it at GD jobs area or can you just ask around and make an offer what the price would be?

    Thank you,
    Atilla


    Atilla Boz
    Full Member
    Post count: 280

    Oh and 1 more thing to clarify: I would like to add the word Seach ( in german ) instead of the magnifying glass.

    Hope it is lear now 🙂

    Thanks,
    Atilla

    in reply to: Supreme Directory – Placeholder for dropdown menu #372025

    Atilla Boz
    Full Member
    Post count: 280

    Those are custom post types. Ok… should I post it then at GD jobs? Maybe we could have it at special customization.


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

    Atilla Boz
    Full Member
    Post count: 280

    Hmm nothing happened for me. Changed all words and each time nothing happened. What would be the option to do it in the code snippet way like Kor Chung mentioned for the advanced Search button?

    
    
    add_filter('gd_adv_search_btn_value','_my_adv_search_button');
    function _my_adv_search_button($btn){
    
    	$btn = '<div class="search-text">My Text</div><span></span>';
    
    	return $btn;
    }

    Greetings,
    Atilla

    in reply to: Supreme Directory – Placeholder for dropdown menu #371990

    Atilla Boz
    Full Member
    Post count: 280

    Hi Stiofan,

    I did not mean the advanced search option, but now I am curious where that is what you mean.

    What I was talking about was the normal search, I have in first place the categories, then the search form field, and then “in the near” field.

    Now in the categories choser dropdown it always shows the first categrory name – in my case BEAUTY – then when you click the dropdown you see the rest. What I would like to do is NOT showing a category name but showing a placeholder saying – CHOSE CATEGORY – or something like that.

    I added 2 screenshots to make things clear.

    Thank you,
    Atilla 🙂

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

    Atilla Boz
    Full Member
    Post count: 280

    But you know what 🙁 Now I tried the first time to register from that form and it gives me a lame ERROR… The plugin was not tested yet for the newest WP version. Gonna get back with news.

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

    Atilla Boz
    Full Member
    Post count: 280

    Here we go with the solution. I am still using your code snippets and now, at the same time this here. You have to create a new file called bp-custom.php and add it to /wp-content/plugins/

    And this is how I added the Code:

    
    
    
    <?php
    
    /**
     * Disables BuddyPress' registration process and fallsback to WordPress' one.
     */
    function my_disable_bp_registration() {
      remove_action( 'bp_init',    'bp_core_wpsignup_redirect' );
      remove_action( 'bp_screens', 'bp_core_screen_signup' );
    }
    add_action( 'bp_loaded', 'my_disable_bp_registration' );
    
    add_filter( 'bp_get_signup_page', "firmasite_redirect_bp_signup_page");
        function firmasite_redirect_bp_signup_page($page ){
            return bp_get_root_domain() . '/wp-login.php?action=register'; 
        }
    ?> 

    Had these sources to figure out how it works:
    https://gist.github.com/r-a-y/5578432
    https://buddypress.org/support/topic/use-standard-wordpress-registration/

    Thanks again,
    Atilla

    in reply to: Deactivate GD Login & Registration #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

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

    Atilla Boz
    Full Member
    Post count: 280

    Yes you`re right Stiofan. I just checked the difference between local and online installation. On the local I did not have Buddypress in use.

    Gotta find out how to stop Buddypress from the redirection I guess…
    Gonna get back with (hopefully good) news.

    Atilla

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

    Atilla Boz
    Full Member
    Post count: 280

    I used your code snippets to deactivate the GD login and to redirect it to somewehere else. And that somewhere else is where the WP forms for login and registration are. Login works so far since we get to the link I added in your snippet.

    And when I hover the registration link it also shows the correct link but still redirects me to somewhere else and I dont know why…

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

    Atilla Boz
    Full Member
    Post count: 280
    This reply has been marked as private.
Viewing 15 posts - 106 through 120 (of 188 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount