Listing Preview Empty

This topic contains 14 replies, has 4 voices, and was last updated by  Rudiger Stalmans 9 years, 6 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #18934

    Rudiger Stalmans
    Free User
    Post count: 30

    Hi

    I have added a new place and ones completed the form and move to the next step ” preview’ I am getting a page with empty data, see image attached. Could you pls help?

    Em

    #18974

    Paolo
    Site Admin
    Post count: 31206

    Hi,
    That is not normal behaviour, but images are not very usefull to debug.
    would you please provide a link and possibly wp admin credentials?

    Thx

    #18997

    Rudiger Stalmans
    Free User
    Post count: 30
    This reply has been marked as private.
    #19058

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    it appears that you have some templates out of places.

    All templates moved from plugin inside child theme/theme should be moved inside a folder named geodirectory.

    Not 100% sure that’s the problem, but it is worth correcting.

    You can follow this doc for a better understanding: http://docs.wpgeodirectory.com/customizing-geodirectory-templates/

    If this can’t fix, we would need your FTP credentials to have a look at the code inside your customizations.

    Thanks

    #19092

    Rudiger Stalmans
    Free User
    Post count: 30
    This reply has been marked as private.
    #19413

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    you have edited the template “listing-detail.php” wrong, you have used listing page hooks, i have restored the top noes but you will need to check the whole file.

    Also this is not the recommended way to make the theme compatible, you should be able to use those hooks to add your wrappers easily without having to move the templates at all.

    Stiofan

    #19795

    Rudiger Stalmans
    Free User
    Post count: 30

    Hi Thanks for your replay. I have try to completely removed the template folder to make sure the file was taken from the plugin itself and still have issue, see image attached, and ones I press the Pay and Publish it goes back to the add listing form.
    Em

    #19879

    Guust
    Moderator
    Post count: 29970
    #20080

    Rudiger Stalmans
    Free User
    Post count: 30

    Hi look like this issue is intermittent since I have retry and seem fine now. Question: where is the template that render the page ” Payment Success
    Your payment received successfully and your information is”…
    ( …./pay_action=return&pmethod=paypal&pid=1336 )
    I have tried listing-success.php and post-success.php but with no luck.
    Thanks
    Em

    #20143

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    it’s in payment manager and is called return.php

    Stiofan

    #20191

    Rudiger Stalmans
    Free User
    Post count: 30

    thanks for the feedback
    can u confirm that i will be able to edit not in the plugin folder but in the theme folder in this way? I have tried but no luck.
    themeName/geodir_payment_manager/return.php
    Thanks
    Em

    #20199

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Yes this looks like a bug, it will be fixed in the next version.
    if u want you can edit the file geodir_payment_actions.php around line 463, replace function geodir_payment_response with this:

    
    
    function geodir_payment_response($template){
    	
    	if(isset($_REQUEST['pay_action']) )
    	{
    		global $wp_query;
    		if($_REQUEST['pay_action'] == 'cancel'){	
    			$template = locate_template( array( 'geodirectory/cancel.php' ) );
    			if ( ! $template ) 
    				$template = GEODIR_PAYMENT_MANAGER_PATH . '/geodir-payment-templates/cancel.php';
    		}
    		
    		if($_REQUEST['pay_action'] == 'return'){	
    			$template = locate_template( array( 'geodirectory/return.php' ) );
    			if ( ! $template )
    				$template = GEODIR_PAYMENT_MANAGER_PATH . '/geodir-payment-templates/return.php';
    		}	
    		if($_REQUEST['pay_action'] == 'success'){	
    			$template = locate_template( array( 'geodirectory/success.php' ) );
    			if ( ! $template ) 
    				$template = GEODIR_PAYMENT_MANAGER_PATH . '/geodir-payment-templates/success.php';
    		}
    	}
    	return $template;
    }

    You will then be able to move the template to a folder in your child theme called geodirectory

    Thanks,

    Stiofan

    #20895

    Rudiger Stalmans
    Free User
    Post count: 30

    Thanks for the feed back.

    I am still have issue on listing preview where I am not able to see all the payment method enable from back end, see image attached.

    Em

    #20917

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    have u got recurring payment ticked for this price package? if so it will only show paypal.

    Stiofan

    #20989

    Rudiger Stalmans
    Free User
    Post count: 30

    thanks Stiofan, sorry is well explained in the payment options as well
    em

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

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

Open Support Ticket