satadru
Forum Replies Created
-
AuthorPosts
-
October 13, 2015 at 7:57 am in reply to: [gd_bestof_widget] and [gd_popular_post_view] Shortcode Data with User City Only #56699This reply has been marked as private.
Thanks a lot. Yes, the Images (Add/Remove icons) were not working (Broken), when I am using the Repeater Control in Tax-meta-class
This reply has been marked as private.Thanks @paolo,
I am not using the post loop, I am using the
geodir_get_featured_image()
in a REST API to get the Image.
I must say the Geodirectory Functions are kick-ass & able to create the REST APIs by utilizing them. Just got stuck here about retrieving POST featured Image with specific dimension.
Regards,
SatSeptember 9, 2015 at 4:43 pm in reply to: Advance Search Filter Shortcode – Not Displaying the Advance Filter Part #52612I changed the order of the CPT and made the Event as First, but still no effect and not showing the Advance Search Part
September 9, 2015 at 5:33 am in reply to: Advance Search Filter Shortcode – Not Displaying the Advance Filter Part #52523Exactly @paolo,
I have also noticed this. The Advance Search Filter Part is visible on the listing page only (Same with the Widget) and not with any other page.For me, I am using Events only and I have make it default in the Home Map Section (Only Events are showing in the Map).
Now, How to make the Events Default in any other way, so that the Advance Search Shortcode shows the Part.
Thanks in advance
SatYes, The Same setting is working fine in “GeoDirectory Framework theme”
Hi @stiofan
I have upgraded with the latest version of Payment Manager Plugin (v1.2.3),
But it’s still not calling “geodir_payment_invoice_status_changed” after a successful payment (testing using paypal).Am I Missing anything?
Thanks in advance
-SatOky, after clicking the link on the Paypal Page, it’s redirecting back to the Page, Can we set any auto redirect feature from the Paypal.
Hi,
Thanks @paolo.
@stiofan, any update on the first requirements.
I have found 2 actions related to 1st requirement
1. geodir_payment_invoice_created
2. geodir_payment_invoice_status_changedBut after the success payment, both of them are not triggering with invoice status = ‘paid’.
I am getting the ‘geodir_payment_invoice_created’ during the start of the Payment process with invoice status = ‘unpaid’, But nothing after the payment is done.
I need to have some action after the success of the Payment.
Thanks in advance
– SatHi,
I am also facing same issue, infect the success PayPal Test More Payment also showing the invoice in ‘unpaid’ but the Listing got upgraded.
Regards,
SatHi,
I can able to identify the actions. For a reference, please find the code –
// Alter the price table add_action('geodir_payment_package_table_created', 'geodir_payment_package_table_modify', 49); // Add the required fields in the Add New Price Form add_action('geodir_payment_package_extra_fields', 'geodir_package_add_extra_plan_fields', 3, 1); // Save the Values add_action('geodir_after_save_package', 'geodir_after_save_package_update_plan', 49, 1); function geodir_payment_package_table_modify () { geodir_add_column_if_not_exist(GEODIR_PRICE_TABLE, 'plan_credit', 'int(11) DEFAULT 0'); } function geodir_package_add_extra_plan_fields ( $priceinfo = array() ) { ?> <tr valign="top" class="single_select_page"> <th class="titledesc" scope="row"><?php _e('Pricing Plan Features', GDF_CHILD);?></th> <td class="forminp"><div class="gtd-formfield"> </div></td> </tr> <tr valign="top" class="show_ordering single_select_page"> <th class="titledesc" scope="row"><?php _e('Awarded Coins', GDF_CHILD);?></th> <td class="forminp"> <div class="single_select_page"> <input type="text" name="gd_plan_credit" id="plan_credit" value="<?php if(isset($priceinfo->plan_credit)) { echo (int)$priceinfo->plan_credit; } else { echo 0;}?>"> <br /><?php _e('(The Coins awarded for the Plan, default is 0)', GDF_CHILD);?> </div> </td> </tr> <?php } function geodir_after_save_package_update_plan ($id) { global $wpdb; $wpdb->update( GEODIR_PRICE_TABLE, array( 'plan_credit' => isset($_POST["gd_plan_credit"]) ? $_POST["gd_plan_credit"] : 0, ), array( 'pid' => $id ), array( '%d', ), array( '%d' ) ); }
Hi Stiofan,
I would like to add info on ‘wp_geodir_price’ table, for example with pricing plan, needs to add a ‘points’ value, which I will be rewarding to user for subscribing the plan.
I am migrating from Yii to WordPress & I can follow your instruction.
Regards,
SatYes, #!&#? cache.
Working fine, thanks a lot -
AuthorPosts