Author Redirect URL Killing @ symbol in User name

This topic contains 4 replies, has 2 voices, and was last updated by  Paolo 9 years, 7 months ago.

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

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #33992

    nitefader
    Expired Member
    Post count: 86

    1. Hi, I have a problem with the way the user profiles are redirecting.

    Steps to reproduce:

    I have a profile page like (notice the author link in the page) ==> http://www.egospree.com/portfolio/united-states/georgia/atlanta/vidas-hair-braiding/

    I click the author name and it takes me to http://www.egospree.com/profile/oseividaymail.com/

    instead of http://www.egospree.com/profile/oseivida@ymail.com/

    2. I forgot how I turned the author display link on. Whats the path please?

    Please help.

    3. How can I use hooks to add a new input to the send inquiry form?

    4. How can I dynamically add a new Tab in detail section, using hooks?

    5. I’ll like to use Userpro instead of Buddy press, is there a way to have the Reviews, Favorites, e.t.c shortcodes available?

    6. I am checking the detail page template like this if(is_page_template(‘listing-detail.php’)) this does not seem to identify when I am on the listing details page 🙁

    7. I would like to hook into the portion between the Slider images, and the detail tabs to add some buttons like buddypress does. Any suggestions?

    I know this is long, but these are issues i’ve been struggling with for days now.
    Thanks!

    Thanks again!

    #34023

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    1) I’ve flagged this for developers.It appears to be a bug.

    WordPress would have created that as oseividaymail-com, not sure we can fix it to make it compatible with that plugin , because it could potentially break it for anyone else not using it. We will let you know.

    2) To remove the link you need to go to GD >> Listing Claims >> Show link to author page on listings?

    3) I’m not 100% sure there is an Hook to modify the send enquiry form. I’ll ask to Stiofan to reply to this.

    4) Please see https://wpgeodirectory.com/support/topic/details-sidebar-content-elsewhere/#post-27190

    5) We don’t have shortcodes for them, if you want to suggest new features, integrations or to provide extra shortcodes, please do it here. if highly voted by other members we will consider them.

    6) For all GD pages you can use function

    geodir_is_geodir_page()

    for a specific GD page you can use function

    geodir_is_page($gdpage)

    where $gdpage is either:

    ‘add-listing’
    ‘preview’
    ‘listing-success’
    ‘detail’
    ‘listing’
    ‘location’
    ‘author’
    ‘search’

    7)You can use the geodir_details_main_content hook.

    Example

    
    
    add_action( 'geodir_details_main_content', 'my_custom_action',35);
    
    function my_custom_action(){echo 'hello world!';}

    This in your theme functions.php will output “Hello World!” text below the slider.

    Priorities are:

    add_action( ‘geodir_details_main_content’, ‘geodir_action_before_single_post’,10);
    add_action( ‘geodir_details_main_content’, ‘geodir_action_page_title’,20);

    
    
    add_action( 'geodir_details_main_content', 'geodir_action_details_slider',30);
    add_action( 'geodir_details_main_content', 'geodir_action_details_taxonomies',40);
    add_action( 'geodir_details_main_content', 'geodir_action_details_micordata',50);
    add_action( 'geodir_details_main_content', 'geodir_show_detail_page_tabs',60);
    add_action( 'geodir_details_main_content', 'geodir_action_after_single_post',70);
    add_action( 'geodir_details_main_content', 'geodir_action_details_next_prev',80);

    Thanks

    #34029

    Paolo
    Site Admin
    Post count: 31206

    Hi again,

    3) u can use either of these to proccess the info

    
    
    client_message = apply_filters('geodir_inquiry_email_msg' , $client_message) ;
    

    or

    
    
    do_action('geodir_before_send_enquiry_email', $request);
    

    This are the available hooks for fieds:

    
    
    
    <?php do_action('geodir_after_inquiry_form_field' , 'inq_name') ;?> 
    <?php do_action('geodir_before_inquiry_form_field' , 'inq_email') ;?>
    <?php do_action('geodir_after_inquiry_form_field' , 'inq_email') ;?> 
    <?php do_action('geodir_before_inquiry_form_field' , 'inq_phone') ;?>
    <?php do_action('geodir_after_inquiry_form_field' , 'inq_phone') ;?>
    <?php do_action('geodir_before_inquiry_form_field' , 'inq_msg') ;?>
    <?php do_action('geodir_after_inquiry_form_field' , 'inq_msg') ;?>
    

    Here an example to be added in functions.php (tested and working):

    
    
    add_action('geodir_after_inquiry_form_field' ,'my_new_inquiry_fields',10,1);
    function my_new_inquiry_fields($form_field){
        if($form_field=='inq_msg'){?>
            <div class="row  clearfix" >
            <div class="geodir_popup_heading"><label><?php _e('Your Age',GEODIRECTORY_TEXTDOMAIN);?> :  <span>*</span></label> </div>
            <div class="geodir_popup_field">
                <input field_type="text" name="inq_age"  type="text" value=""  />
            </div>
        <?php
    
        }
    }
    
    add_filter('geodir_inquiry_email_msg','my_new_inquiry_fields_process',10,1);
    
    function my_new_inquiry_fields_process($client_message)
    {
        if(isset($_REQUEST['inq_age']) && $_REQUEST['inq_age']){
            $client_message = $client_message . "<p>Age: ".$_REQUEST['inq_age']."</p>";
        }
        return $client_message;
    }

    This adds the field : AGE.

    Let us know how you went.

    Thanks

    #34123

    nitefader
    Expired Member
    Post count: 86

    Thanks a lot guys!!!

    #34127

    Paolo
    Site Admin
    Post count: 31206

    You are welcome!

Viewing 5 posts - 1 through 5 (of 5 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