Forum Replies Created

Viewing 15 replies - 106 through 120 (of 140 total)
  • Plugin Author ConstructiveGrowth

    (@constructivegrowth)

    Follow-up:

    For anyone who faces this issue… marshlawfirm discovered the zip of the photos did not extract into the /pics/ directory so there actually were no images to display. Once he manually extracted the images into the directory the images now display properly.

    Marking this thread as resolved.

    Plugin Author ConstructiveGrowth

    (@constructivegrowth)

    This is very odd. This has never happened before.

    #1 Just to be clear, you did have all the plugins and the custom theme turned off at the same time, correct? And you still did not get the images?

    #2 Please go to the following directory on your server and verify that there are pictures there: https://yourdomain.us/wp-content/plugins/congresslookup/pics/ There should be several hundred and they will have names like: P000149.jpg and P000197.jpg

    If you are sure you turned everything off, and there are images in that folder, then I have to get my coder involved and this may take some work/time to figure out.

    So, in the meantime, if your browser is showing a red X in place of the picture, please go into WP Admin > Settings > CongressLookup and turn off the picture until we can get a fix.

    Plugin Author ConstructiveGrowth

    (@constructivegrowth)

    Update: We just released the 2.0 version of the plugin that uses the new Sunlight Foundation API ??

    Update: And in version 2.1 we added the ability to restrict the search to only Senators or Representatives. And we added shortcodes so you can have different pages for different searches.

    Plugin Author ConstructiveGrowth

    (@constructivegrowth)

    Hello davemccourt,

    Please update your installation of CongressLookup to version 2.1 as it now includes the two shortcodes you requested.

    Please let us know if you have any other ideas!

    Plugin Author ConstructiveGrowth

    (@constructivegrowth)

    Thank you for sending the url.

    This is very odd. Earlier this afternoon I was able to replicate the problem as you described above. Then tonight I tried again and I am getting the Google Map to change along with the error that the address can’t be found. This indicates the problem is with the Sunlight Labs API…

    Please make sure you have your Sunlight Labs API Key entered correctly in WP Admin > Settings > CongressLookup

    Please try the following steps to help diagnose the problem:

    PLUGIN CONFLICT: Please try deactivating all plugins except CongressLookup. If CongressLookup does then work, turn on one plugin at a time and test it again until you find the plugin it conflicts with. Please let us know what plugin this is. If, however, CongressLookup still doesn’t work when it’s the only plugin, then a conflict is not the problem.

    THEME CONFLICT: Temporarily deactivate your premium theme and activate one of the default WP themes, like “Twenty Twelve”.

    SERVER SETTINGS: Please tell the webmaster of the website to enable allow-url-fopen in php.ini
    https://www.php.net/manual/en/filesystem.configuration.php#ini.allow-url-fopen

    Also, disable the cache option for testing, then when allow-url-fopen is enabled and CongressLookup works then enable the cache again.

    RESULTS: Please let me know the results of the above actions.

    Plugin Author ConstructiveGrowth

    (@constructivegrowth)

    Can you write me at: [email protected] and tell me your website url so I can check on the actual page?

    Plugin Author ConstructiveGrowth

    (@constructivegrowth)

    The photos may not have been downloaded properly from Sunlight Labs. Please go to the settings page: WP Admin > Settings > CongressLookup and click the button to “Update The Photos”. This will download and the most recent photos.

    Let me know the results.

    Plugin Author ConstructiveGrowth

    (@constructivegrowth)

    Very good suggestion! We are currently looking into making some other advances to the plugin so I will add this to our to-do list. Thank you for the suggestion.

    Plugin Author ConstructiveGrowth

    (@constructivegrowth)

    Hello davemccourt,

    The updated version of CongressLookup is out and there is now a dropdown menu in the admin that will allow you to choose only Representatitves, only Senators, or both.

    Thank you for the timely suggestion ??

    Plugin Author ConstructiveGrowth

    (@constructivegrowth)

    Okay, I understand what you want. Let me discuss it and I’ll get back to you…

    BTW, you have excellent timing! We are just working on updating CongressLookup to use the new Sunlight Labs API and we haven’t yet started the actual coding ?? Perfect time to consider this function!

    Plugin Author ConstructiveGrowth

    (@constructivegrowth)

    I’ll have to consult with the coder about if this is even possible. The results you see on the page are generated from the Sunlight Labs API and are not part of our plugin. I’ll have him look into this.

    Just to clear… do you want to exclude ALL senators? Or just particular ones?

    Plugin Author ConstructiveGrowth

    (@constructivegrowth)

    FA1LURESCENE,

    Just be aware that when we update the plugin the getdata.php will be changed and you’ll have to redo your coding. If you are using a child theme (and almost everyone should ?? you can add the pseudoclass to the child style.css and not have to worry about updates.

    The images come directly from Sunlight Labs API and we have no control over that. But do check with them.

    FYI: There is a new comprehensive Sunlight API that we currently are not using. When we make the switch I’ll look to see if they offer more sizes for the images.

    Plugin Author ConstructiveGrowth

    (@constructivegrowth)

    Thank you for your kind words about our plugin ??

    Both the labels and the images come from the Sunlight Labs API so we have no control over the image size.

    But you can use the pseudoclass :first-letter to fix the capitalization. Add the following to your theme style.css

    .legislator-contact li:first-letter {
        text-transform: capitalize;
    }

    Let me know if you need any further assistance.

    Plugin Author ConstructiveGrowth

    (@constructivegrowth)

    Are you still getting errors from the plugin?

    Plugin Author ConstructiveGrowth

    (@constructivegrowth)

    Glad it worked out ??

Viewing 15 replies - 106 through 120 (of 140 total)