• Resolved fadedpictures

    (@fadedpictures)


    Hi,
    I just installed the FB Tab Manager plugin, went to the Settings page, checked some options to have links open in a new window and then saved. The message to confirm that the Settings were saved is displayed, but my choices are not being retained, the form gets cleared. The variables in the URL are ?page=fbtab_settings_page&settings-updated=true

    There are no errors output to the Console when inspecting, all seems pretty clean.

    Are there any known plugin conflicts?

    Thanks for your help.
    Bret

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author davidfcarr

    (@davidfcarr)

    I received a complaint like that a couple of versions ago, but I’m assuming you got the latest version from the plugin repository. That’s odd. Is it the same thing with all of the settings? If you go to Add New under Facebook Tabs, do you see the defaults you set or not?

    Thread Starter fadedpictures

    (@fadedpictures)

    Hi David,
    Yes, I’m using 2.8.4. And yes, it’s the same thing with all the settings, no settings are retained.

    Let me know how else i help.

    Thanks,
    Bret

    Plugin Author davidfcarr

    (@davidfcarr)

    I put out an update this morning, so check to see if it works any better. I’m using the WordPress Settings API, so I’d expect it to work consistently. I know that “it works when I try it” isn’t terribly helpful, but I don’t have a good theory of why it would be working for others and not for you.

    Thread Starter fadedpictures

    (@fadedpictures)

    Man, i had high hopes for the update, but no go. Thanks for trying though. I’ll try disabling other plugins and see what happens, weird that that would be the case though. I’ll post back if i have any luck with it.

    Plugin Author davidfcarr

    (@davidfcarr)

    Hey, have you tried this in more than one browser? Just on the off chance that there is something browser specific going on.

    Thread Starter fadedpictures

    (@fadedpictures)

    Just tried in Firefox 6.0.1, same outcome as Safari 5.1. No errors reported in Firebug, just to let you know, so it’s clean.

    Thread Starter fadedpictures

    (@fadedpictures)

    David,
    I dug a little deeper, not much luck, but here’s what i’ve discovered. I’m able to create a new FB Tab. I’m running a couple plugins that appear on the CPT page and thought maybe those were conflicting so i disabled them one at a time, then all together, no luck without luck.

    The plugins are: Advanced Post Type Order (https://www.nsp-code.com/), WordPress SEO (https://yoast.com/wordpress/seo/), and Custom Post Type Relationships (https://www.cssigniter.com/ignite/custom-post-types-relationships/)

    I looked into the wp_options table and do see a couple entries, so it appears something is being saved but even for the Tab article i created the options don’t get retained.

    Here’s what I have in the options table:

    fbtabset value: a:1:{s:8:”template”;s:0:””;}
    fbt_remove_filter value: blank
    fbt_remove_head value: blank
    fbt_remove_footer value: blank

    Those are the only options in the table, and i assume those are from the tab article, and not from the settings page.
    Does that help shed any light on anything?
    Thanks again!

    Thread Starter fadedpictures

    (@fadedpictures)

    David, I figured out the problem! After all that, i decided to just pull the plugin down and look at the code. The fbtab_options_ui function uses short open PHP tags and i have those turned off in my PHP version.

    So <? echo wasn’t doing anything. I just replaced all instances with <?php echo and all is working now, the settings page and the CPT settings.

    Bret

    Plugin Author davidfcarr

    (@davidfcarr)

    Apologies, I thought I’d rooted out those references. Bad habit I picked up because it works fine on my server. I’ll make sure it’s fixed in the next release (maybe later this week).

    Thread Starter fadedpictures

    (@fadedpictures)

    Thanks David. I figured it had to be something straight forward. Great plugin, once i got the settings saving, i got the tab right into the page.

    Plugin Author davidfcarr

    (@davidfcarr)

    This is fixed in version 2.8.6. Sorry I didn’t catch this sooner.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Settings Page not retaining settings’ is closed to new replies.