Kiran
Forum Replies Created
-
AuthorPosts
-
Hello,
Add following code snippet to display “Add Franchise” link above the user dashboard links.
/** * Display add franchise link under user dashboard widget. */ function gd_snippet_190212_dashboard_links( $dashboard_links ) { global $gd_post; if ( ! ( function_exists( 'geodir_franchise_add_franchise_link' ) && ! empty( $gd_post->ID ) && is_user_logged_in() && geodir_is_page( 'detail' ) ) ) { return $dashboard_links; } $franchise_link = geodir_franchise_add_franchise_link( $gd_post->ID ); if ( ! $franchise_link ) { return $dashboard_links; } $franchise_link = '<li>' . $franchise_link . '</li>'; $dashboard_links = $franchise_link . $dashboard_links; // Display before dashboard links //$dashboard_links .= $franchise_link; // Display after dashboard links return $dashboard_links; } add_filter( 'geodir_dashboard_links', 'gd_snippet_190212_dashboard_links', 20, 2 );Kiran
February 12, 2019 at 10:27 am in reply to: Lost lots of custom fields and images and tables dissapeared! #468420Hello Riki,
GeoDirectory plugins database tables are deleted during plugin uninstall when “Uninstall data” ticked under Uninstall settings. There is no other way to delete database tables from GeoDirectory plugin.
Please provide site link and admin, FTP credentials so i can check there. Also provide phpMyAdmin database access so i can check database structure & data as well.
Kiran
Hello Rodney,
I need to know what action fires when users leave ratings and how can I get that rating value to assign points based on the rating.
Use following code snippet to get rating stars value on save review.
function gd_snippet_190212_after_save_review( $request, $text ) { $rating = (float) $request['geodir_overallrating']; // rating $post_id = (int) $request['comment_post_ID']; // post id // Do stuff here } add_action( 'geodir_after_save_comment', 'gd_snippet_190212_after_save_review', 10, 2 );Thanks,
KiranHello Kendra,
Let us know which CPT has a problem in saving post data? I have successfully created one listing Day Camps.
Thanks,
KiranHello @eic2010,
Are you using GeoDirectory v1 or v2? Please provide site link & admin credentials, so i can take a look.
Kiran
Hello Benjamin,
I tried the website to load with IE, but it shows message “Internet Explorer cannot display the webpage”.
Kiran
Hello,
Add Franchise action is displaced under author actions(Edit, Delete) widget etc(see screenshot) which has actions for the viewing listing. User dashboard contains links for users’s listings page, favorites page, profile etc.
If you add Author Actions widget then it will display “Add Franchise” action on the listing page and under author actions.
If you still want to display “Add Franchise” under User Dashboard widget, then let me know i will provide snippet for that.
Kiran
Hello Gavin,
Autocomplete finds and shows exact matching results for categories/listings. Choosing that result will takes you to a page depends on that result is a category or a listing.
There is no easy way to disable redirect on selecting the result. You can use separate category selection box in the search form to search results within particular category or categories.
Let us know.
Thanks,
KiranHello Alphonso,
I have done some debugging with SEOPress plugin and found that one of feature “Social Networks” conflicts with search functionality. I have tried after disabling this feature from SEO > Social Networks and it worked fine as expected.
I am checking if it can be fixed from our side. I will update here asap.
Kiran
Hello There,
Please provide us a site link and FTP credentials in a private reply. I will take a look how languages are setup.
Kiran
Hello Tour,
This has been fixed already, it will be in next release.
If you want to fix it now, please provide us FTP credentials to update patch.
Kiran
Hello Carlos,
This could be PHP session issue.
Please add following lines in wp-config.php file in your WordPress root directory. If adding these lines fix the issue then it is sure that problem due to PHP session not supported. To fix session ask your server admin to enable PHP session support.
/* PHP SESSION TEMPORARY FIX */ if ( !defined( 'GEODIR_USE_PHP_SESSIONS' ) ) { define( 'GEODIR_USE_PHP_SESSIONS', false ); } if ( !defined( 'WPINV_USE_PHP_SESSIONS' ) ) { define( 'WPINV_USE_PHP_SESSIONS', false ); } /* PHP SESSION TEMPORARY FIX */If this not resolves issue then provides us FTP credentials to look into more.
Also i can’t access admin area /wp-admin/, it shows me “The page isn’t redirecting properly”.
Thanks,
KiranHello Kai,
Zip file you attached has no csv file. But i found sample csv file from cache folder from /wp-content/uploads/geodir_temp
I created category with instructions you provided and imported listing with that category, tried to edit listing/delete listing but can’t replicate issue. See https://unltd.directory/beauty-health/category/test-cat/
I have asked one of my team member if he can success.
Thanks,
KiranHello Katie,
Actually date are imported with the timezone of the event location. So we have to decide whether to convert it to website site time zone or to as it is displayed on the FB page.
I will let you know once we fix with this.
Kiran
Hello Scott,
This has been fixed, it will be available in next release of Location Manager & Events.
Kiran
-
AuthorPosts