Is Featured? Default value checked bug

This topic contains 15 replies, has 5 voices, and was last updated by  Foster 5 years, 6 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #481146

    Foster
    Full Member
    Post count: 164

    Hi,
    Under Post Type Settings,
    The Predefined Field “Is Featured?” has a default value setting that can be set to Checked or Unchecked.

    No matter what I set this to, it appears as checked whenever I attempt to add a new listing.

    
    
    
    ### WordPress Environment ###
    
    Home URL: https://venuemaps.net
    Site URL: https://venuemaps.net
    GD Version: 2.0.0.55
    WP Version: 5.1.1
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_US
    
    ### Server Environment ###
    
    Server Info: Apache/2.4.10 (Debian)
    PHP Version: 7.0.32-1~dotdeb+8.1
    PHP Post Max Size: 10 MB
    PHP Time Limit: 60
    PHP Max Input Vars: 2500
    cURL Version: 7.38.0
    OpenSSL/1.0.1t
    
    SUHOSIN Installed: –
    MySQL Version: 5.6.43
    Max Upload Size: 10 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    PHP XML: ✔
    
    ### User platform ###
    
    Platform: Macintosh
    Browser name: Chrome
    Browser version: 73.0.3683.103
    User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML
    like Gecko) Chrome/73.0.3683.103 Safari/537.36
    
    ### Settings ###
    
    API Enabled: ✔
    Max upload file size(in mb): 8
    New listing default status: pending
    Google Maps API KEY: ✔
    Set default location: ✔
    
    ### Database ###
    
    GD Database Version: 2.0.0.55
    GD Database Prefix: wpzq_
    Total Database Size: 57.04MB
    Database Data Size: 36.69MB
    Database Index Size: 20.35MB
    wpzq_geodir_api_keys: Data: 0.02MB + Index: 0.03MB
    wpzq_geodir_attachments: Data: 0.70MB + Index: 0.08MB
    wpzq_geodir_business_hours: Data: 0.02MB + Index: 0.00MB
    wpzq_geodir_custom_fields: Data: 0.04MB + Index: 0.00MB
    wpzq_geodir_custom_sort_fields: Data: 0.00MB + Index: 0.00MB
    wpzq_geodir_post_review: Data: 0.00MB + Index: 0.00MB
    wpzq_geodir_gd_place_detail: Data: 2.80MB + Index: 0.21MB
    wpzq_geodir_gd_agency_detail: Data: 0.02MB + Index: 0.05MB
    wpzq_geodir_gd_band_detail: Data: 0.02MB + Index: 0.05MB
    wpzq_countries: Data: 0.08MB + Index: 0.00MB
    wpzq_bp_activity: Data: 0.00MB + Index: 0.01MB
    wpzq_bp_activity_meta: Data: 0.00MB + Index: 0.00MB
    wpzq_bp_friends: Data: 0.00MB + Index: 0.00MB
    wpzq_bp_messages_messages: Data: 0.00MB + Index: 0.00MB
    wpzq_bp_messages_meta: Data: 0.00MB + Index: 0.00MB
    wpzq_bp_messages_notices: Data: 0.00MB + Index: 0.00MB
    wpzq_bp_messages_recipients: Data: 0.00MB + Index: 0.01MB
    wpzq_bp_notifications: Data: 0.00MB + Index: 0.01MB
    wpzq_bp_notifications_meta: Data: 0.00MB + Index: 0.00MB
    wpzq_bp_user_blogs: Data: 0.00MB + Index: 0.00MB
    wpzq_bp_user_blogs_blogmeta: Data: 0.00MB + Index: 0.01MB
    wpzq_bp_xprofile_data: Data: 0.00MB + Index: 0.00MB
    wpzq_bp_xprofile_fields: Data: 0.00MB + Index: 0.01MB
    wpzq_bp_xprofile_groups: Data: 0.00MB + Index: 0.00MB
    wpzq_bp_xprofile_meta: Data: 0.00MB + Index: 0.01MB
    wpzq_commentmeta: Data: 0.00MB + Index: 0.00MB
    wpzq_comments: Data: 0.00MB + Index: 0.01MB
    wpzq_ewwwio_images: Data: 1.52MB + Index: 1.61MB
    wpzq_geodir_claim: Data: 0.02MB + Index: 0.00MB
    wpzq_geodir_comments_reviews: Data: 0.00MB + Index: 0.00MB
    wpzq_geodir_countries: Data: 0.03MB + Index: 0.00MB
    wpzq_geodir_coupons: Data: 0.00MB + Index: 0.00MB
    wpzq_geodir_cp_link_posts: Data: 0.02MB + Index: 0.02MB
    wpzq_geodir_custom_advance_search_fields: Data: 0.00MB + Index: 0.00MB
    wpzq_geodir_event_schedule: Data: 0.00MB + Index: 0.00MB
    wpzq_geodir_gd_booking_detail: Data: 0.00MB + Index: 0.00MB
    wpzq_geodir_gd_diy_detail: Data: 0.02MB + Index: 0.03MB
    wpzq_geodir_gd_event_detail: Data: 0.00MB + Index: 0.00MB
    wpzq_geodir_gd_festival_detail: Data: 0.02MB + Index: 0.03MB
    wpzq_geodir_gd_promoter_detail: Data: 0.02MB + Index: 0.03MB
    wpzq_geodir_gd_venue_detail: Data: 0.00MB + Index: 0.00MB
    wpzq_geodir_invoice: Data: 0.00MB + Index: 0.00MB
    wpzq_geodir_location_seo: Data: 0.00MB + Index: 0.00MB
    wpzq_geodir_post_icon: Data: 1.34MB + Index: 0.08MB
    wpzq_geodir_post_locations: Data: 0.20MB + Index: 0.03MB
    wpzq_geodir_post_neighbourhood: Data: 0.00MB + Index: 0.00MB
    wpzq_geodir_post_packages: Data: 0.02MB + Index: 0.00MB
    wpzq_geodir_price: Data: 0.00MB + Index: 0.00MB
    wpzq_geodir_pricemeta: Data: 0.02MB + Index: 0.03MB
    wpzq_geodir_rating_category: Data: 0.00MB + Index: 0.00MB
    wpzq_geodir_rating_style: Data: 0.00MB + Index: 0.00MB
    wpzq_geodir_tabs_layout: Data: 0.02MB + Index: 0.00MB
    wpzq_geodir_term_meta: Data: 0.35MB + Index: 0.04MB
    wpzq_geodir_unassign_comment_images: Data: 0.00MB + Index: 0.00MB
    wpzq_ip_geo_block_cache: Data: 0.02MB + Index: 0.02MB
    wpzq_ip_geo_block_logs: Data: 0.33MB + Index: 0.03MB
    wpzq_ip_geo_block_stat: Data: 0.02MB + Index: 0.00MB
    wpzq_links: Data: 0.00MB + Index: 0.00MB
    wpzq_ms_snippets: Data: 0.02MB + Index: 0.00MB
    wpzq_nf3_actions: Data: 0.02MB + Index: 0.00MB
    wpzq_nf3_action_meta: Data: 0.09MB + Index: 0.00MB
    wpzq_nf3_chunks: Data: 0.02MB + Index: 0.00MB
    wpzq_nf3_fields: Data: 0.02MB + Index: 0.00MB
    wpzq_nf3_field_meta: Data: 0.34MB + Index: 0.00MB
    wpzq_nf3_forms: Data: 0.02MB + Index: 0.00MB
    wpzq_nf3_form_meta: Data: 0.08MB + Index: 0.00MB
    wpzq_nf3_objects: Data: 0.02MB + Index: 0.00MB
    wpzq_nf3_object_meta: Data: 0.02MB + Index: 0.00MB
    wpzq_nf3_relationships: Data: 0.02MB + Index: 0.00MB
    wpzq_nf3_upgrades: Data: 0.16MB + Index: 0.00MB
    wpzq_options: Data: 3.51MB + Index: 0.11MB
    wpzq_pmpro_membership_levelmeta: Data: 0.02MB + Index: 0.03MB
    wpzq_postmeta: Data: 14.11MB + Index: 1.89MB
    wpzq_posts: Data: 3.52MB + Index: 1.42MB
    wpzq_searchlog: Data: 0.27MB + Index: 0.00MB
    wpzq_signups: Data: 0.00MB + Index: 0.01MB
    wpzq_snippets: Data: 0.02MB + Index: 0.00MB
    wpzq_statistics_exclusions: Data: 0.02MB + Index: 0.03MB
    wpzq_statistics_historical: Data: 0.02MB + Index: 0.05MB
    wpzq_statistics_pages: Data: 0.25MB + Index: 0.83MB
    wpzq_statistics_search: Data: 0.02MB + Index: 0.05MB
    wpzq_statistics_useronline: Data: 0.02MB + Index: 0.00MB
    wpzq_statistics_visit: Data: 0.06MB + Index: 0.02MB
    wpzq_statistics_visitor: Data: 4.52MB + Index: 10.58MB
    wpzq_termmeta: Data: 0.01MB + Index: 0.01MB
    wpzq_terms: Data: 0.01MB + Index: 0.03MB
    wpzq_term_relationships: Data: 0.48MB + Index: 1.08MB
    wpzq_term_taxonomy: Data: 0.02MB + Index: 0.02MB
    wpzq_tm_taskmeta: Data: 0.02MB + Index: 0.03MB
    wpzq_tm_tasks: Data: 0.02MB + Index: 0.02MB
    wpzq_usermeta: Data: 0.41MB + Index: 0.22MB
    wpzq_users: Data: 0.04MB + Index: 0.05MB
    wpzq_uwp_form_extras: Data: 0.02MB + Index: 0.00MB
    wpzq_uwp_form_fields: Data: 0.02MB + Index: 0.00MB
    wpzq_uwp_social_profiles: Data: 0.02MB + Index: 0.03MB
    wpzq_uwp_usermeta: Data: 0.06MB + Index: 0.00MB
    wpzq_wpinv_subscriptions: Data: 0.02MB + Index: 0.06MB
    wpzq_wplc_chat_msgs: Data: 0.02MB + Index: 0.00MB
    wpzq_wplc_chat_sessions: Data: 0.02MB + Index: 0.00MB
    wpzq_wplc_offline_messages: Data: 0.02MB + Index: 0.00MB
    wpzq_wplc_webhooks: Data: 0.02MB + Index: 0.00MB
    wpzq_wplnst_scans: Data: 0.13MB + Index: 0.08MB
    wpzq_wplnst_scans_objects: Data: 0.02MB + Index: 0.05MB
    wpzq_wplnst_urls: Data: 0.08MB + Index: 0.19MB
    wpzq_wplnst_urls_locations: Data: 0.02MB + Index: 0.28MB
    wpzq_wplnst_urls_locations_att: Data: 0.02MB + Index: 0.06MB
    wpzq_wplnst_urls_status: Data: 0.02MB + Index: 0.23MB
    wpzq_wsluserscontacts: Data: 0.00MB + Index: 0.00MB
    wpzq_wslusersprofiles: Data: 0.00MB + Index: 0.00MB
    wpzq_yoast_seo_links: Data: 0.02MB + Index: 0.02MB
    wpzq_yoast_seo_meta: Data: 0.02MB + Index: 0.00MB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB
    wp_comments: Data: 0.02MB + Index: 0.08MB
    wp_links: Data: 0.02MB + Index: 0.02MB
    wp_options: Data: 0.05MB + Index: 0.02MB
    wp_postmeta: Data: 0.02MB + Index: 0.03MB
    wp_posts: Data: 0.02MB + Index: 0.06MB
    wp_termmeta: Data: 0.02MB + Index: 0.03MB
    wp_terms: Data: 0.02MB + Index: 0.03MB
    wp_term_relationships: Data: 0.02MB + Index: 0.02MB
    wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB
    wp_usermeta: Data: 0.02MB + Index: 0.03MB
    wp_users: Data: 0.02MB + Index: 0.05MB
    
    ### Post Type Counts ###
    
    attachment: 5645
    bp-email: 32
    custom_css: 1
    customize_changeset: 21
    gd_agency: 1
    gd_band: 1
    gd_booking: 1
    gd_festival: 1
    gd_list: 4
    gd_place: 6200
    nav_menu_item: 167
    nf_sub: 3
    oembed_cache: 1
    page: 54
    post: 25
    revision: 1
    wpgform: 1
    wpi_invoice: 5
    wpi_item: 9
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (35) ###
    
    WP Easy Updates: by AyeCode Ltd – 1.1.9
    Adaptive Images for WordPress: by Nevma – 0.6.65
    Admin Post Navigation: by Scott Reilly – 2.1
    All In One SEO Pack: by Michael Torbert – 2.12
    Beaver Builder Plugin (Lite Version): by The Beaver Builder Team – 2.2.1.5
    Better Search Replace: by Delicious Brains – 1.3.3 – Network enabled
    Breeze: by Cloudways – 1.0.10
    Code Snippets: by Shea Bunge – 2.13.3
    GeoDirectory Google Analytics: by GeoDirectory – 2.0.0.3
    GeoDirectory Advanced Search Filters: by AyeCode Ltd – 2.0.0.9
    GeoDirectory Ajax Duplicate Alert: by GeoDirectory – 2.0.0.1
    GeoDirectory Claim Listings: by AyeCode Ltd – 2.0.0.8
    GeoDirectory Map Styles: by GeoDirectory – 2.0.0.1
    GeoDirectory Custom Post Types: by AyeCode Ltd – 2.0.0.11
    GeoDirectory Franchise Manager: by AyeCode Ltd – 2.0.0.4
    GeoDirectory Location Manager: by AyeCode Ltd – 2.0.0.15
    GeoDirectory Pricing Manager: by AyeCode Ltd – 2.5.0.9
    GeoDirectory Re-Captcha: by AyeCode Ltd – 2.0.0.2
    GeoDirectory Social Importer: by AyeCode Ltd – 2.0.0.11
    GeoDirectory: by AyeCode Ltd – 2.0.0.55
    GeoDirectory Dashboard: by GeoDirectory team – 0.0.1
    Anti-Malware Security and Brute-Force Firewall: by Eli Scheetz – 4.18.63
    Instagram Feed: by Smash Balloon – 1.12
    Invoicing: by AyeCode Ltd – 1.0.8
    IP Geo Block: by tokkonopapa – 3.0.17.4
    Ninja Forms: by The WP Ninjas – 3.4.10
    Quick Featured Images: by Martin Stehle – 13.3.3
    Really Simple SSL: by Rogier Lankhorst
    Mark Wolters – 3.1.5
    
    ShortPixel Image Optimizer: by ShortPixel – 4.13.0
    UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
    DavidAnderson – 1.16.11
    
    UsersWP: by AyeCode Ltd – 1.0.23
    UsersWP - Social Login: by AyeCode Ltd – 1.0.7
    WP Live Chat Support: by WP-LiveChat – 8.0.26
    WP-Optimize: by David Anderson
    Ruhani Rabin
    Team Updraft – 2.3.0
    
    WP Statistics: by VeronaLabs – 12.6.3
    
    ### GD Pages ###
    
    Location page: #984 - /location/
    Add listing page: #978 - /add-listing/
    Search Page: #18543 - /search/
    Terms and Conditions page: #7388 - /terms-of-service/
    Archive page: #18544 - /gd-archive/
    Details Page: #18546 - /gd-details/
    
    ### Theme ###
    
    Name: Supreme Directory
    Version: 2.0.0.7
    Author URL: https://wpgeodirectory.com/
    Child Theme: ✔
    Parent Theme Name: Directory Starter
    Parent Theme Version: 2.0.0.5
    Parent Theme Author URL: https://wpgeodirectory.com/
    GeoDirectory Support: ✔
    
    ### Templates ###
    
    Overrides: –
    
    #481431

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    would you mind sharing your wp admin credentials in a private reply?

    The developers will check and see what the problem is asap.

    Thanks

    #481433

    Foster
    Full Member
    Post count: 164
    This reply has been marked as private.
    #482149

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Foster,

    Sorry for the delay on this, it was my fault, i though it was answered by another dev, please see here: https://wpgeodirectory.com/support/topic/listing-added-approved-featured-but-didnt-pay/#post-481795

    If you have any issues just let me know and i will have a look.

    Thanks,

    Stiofan

    #482157

    Foster
    Full Member
    Post count: 164

    Hi Stiofan,

    I looked at that post but it didn’t seem to solve my problem.
    I don’t want to exclude the “Featured” field.

    Under CPT Settings>Custom Fields > Featured field> Advanced settings, I have the default value set to ‘unchecked’. And yet, when I go to add a new listing, the value is checked. I need it to be unchecked by default.

    #482211

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    In the other post it is explained that the setting for the default value is overridden by the price package settings. This only happens with “featured” – it is a special ‘feature’ of the way the pricing and package system works.

    #482335

    Foster
    Full Member
    Post count: 164

    You say “the setting for the default value is overridden by the price package settings.”

    So, how do I set the default price package settings so that Featured is unchecked by default but not excluded?

    It sounds like you are saying that is not possible.

    #482339

    Paolo
    Site Admin
    Post count: 31206

    You are correct, there is no way to have it enabled in the price, but not checked by default when adding a listing for that price.

    Unless I’m misunderstanding your topic, it would look quite buggy to the vast majority of users if it worked like that.

    A price will either give the featured status or not…

    Thanks

    #482360

    Foster
    Full Member
    Post count: 164

    I am sorry. I’m likely making things more confusing.

    In GDV1, in Prices and Payments, my default package has “Is Featured” set to “No” (see attached).

    I am only trying to achieve the same in GDV2.

    #482375

    Paolo
    Site Admin
    Post count: 31206

    The only way is to exclude the featured field from the price settings.

    Thanks

    #482379

    Foster
    Full Member
    Post count: 164

    Thanks. I think I’ll just create a duplicate of my default package called “Is Featured” and just upgrade packages.

    #482504

    Foster
    Full Member
    Post count: 164

    This still seems like a bug to me. The way you are describing it, it sounds like the default value setting of the Featured field in Custom Fields will always be overridden.

    If that is the case, perhaps the setting should be removed from the Featured field to avoid confusion.

    #483058

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    #484212

    Foster
    Full Member
    Post count: 164

    This is my concern, Dude.

    I have selected “Unchecked” in field settings (as pictured in attached) BUT, DESPITE THAT, it still appears Checked on any new Add Listing form.

    #484270

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
Viewing 15 posts - 1 through 15 (of 16 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