Forum Replies Created

Viewing 15 replies - 196 through 210 (of 223 total)
  • Plugin Author ed4becky

    (@ed4becky)

    Roots MAgic (what I use) adds a couple of control characters to the beginning of the file. I usually just delete them, and all is well.

    if you have any suggestions on how to get around the timeout issue, I’m open.

    Linking a picture is a little, um immature. You have to upload, then cut and paste the url from the media library into the edit person screen.

    I have an upgrade coming that will change where the data is stored from wp-content/plugins/rootspersona/rootsdata to wp-content/rootsdata so you don’t lose it when you upgrade. Unfortunate mistake putting it under rootspersona/roostData; I didn’t realize the whole rootspersona directory got deleted on upgrade.

    BEFORE UPGRADING BEYODN 1.0.3 be sure to backup rootsData, then copy it back into wp-content/rootsData after the upgrade.

    I am currently working on a name index shortcode that will present a sorted index of names and links.

    Plugin Author ed4becky

    (@ed4becky)

    Thanks for the updates Chris. I had to make loast minute chnages to that code for 5.2, which doesn’t support overriding Exceptions, and I gues sthat fell thru the cracks. I’ll take a look.

    Yes, if enough people want to use the plugin as a ‘system of record’, that is, maintain the data through wordpress, I will definitely add GEDCOM export. I may do that anyway to allow the site owner to allow visitors to export pages as GEDCOM.

    As soon as I address a problem with losing the data on upgrade, I will add this to a requested features list.

    What do you think would be most important, export site, export page, export X generations with selected person as root?

    Plugin Author ed4becky

    (@ed4becky)

    OK, version 1.0.3 now removes the dependence on PHP 5.3.

    Plugin Author ed4becky

    (@ed4becky)

    AAAAAND….my apologies to those who tried version 1.0.2

    The issue with personUtility not found should be fixed. I didn’t realize that wordpress would put the plugin in a non case sensitive directory structure.

    Also a caveat: this plugin requires PHP 5.3 as it makes use of namespaces.

    Sorry for any inconvenience. (If it makes you feel any better, I now have to wait for my hosting service to upgrade my PHP version too – I did all my testing on my personal PC)

    Forum: Plugins
    In reply to: WordPress File Selector
    Thread Starter ed4becky

    (@ed4becky)

    OK, I found the key in good ole HTML.

    I never knew of the <input type=”file”… tag!

    Thread Starter ed4becky

    (@ed4becky)

    OK, I found it, but if someone can explain it that would be great.

    My form had a field called ‘name’ in it. Anytime I populated that filed, the error occurred. I changed ‘name’ to ‘personName’ and all is well.

    so having a form fields named ‘name’ interferes with something in WP.

    Forum: Fixing WordPress
    In reply to: Shortcode problem
    Thread Starter ed4becky

    (@ed4becky)

    DOH!

    Yep, that was it. Thank you.

    Forum: Fixing WordPress
    In reply to: Shortcode problem
    Thread Starter ed4becky

    (@ed4becky)

    Yes, I left all the admin/setup stuff out.

    The handler is getting called, in that I see “rootsPersonaHandler:” in my output. $rootsPersonId = $atts[“personId”]; just always comes up empty.

    Forum: Fixing WordPress
    In reply to: Inside/Outside
    Thread Starter ed4becky

    (@ed4becky)

    I solved the issue by creating a page that uses a different template. I am able to use a std php _GET() within the template with no issues, and have access to all the WP functionality any page does.

    Thread Starter ed4becky

    (@ed4becky)

    Problem solved. It wasn’t an issue with the query. The page I was routing to was never published, so it showed up when I was logged in, but not when I wasn’t.

    Thread Starter ed4becky

    (@ed4becky)

    Anyone? Help?

    Forum: Fixing WordPress
    In reply to: Inside/Outside
    Thread Starter ed4becky

    (@ed4becky)

    An example is at jupiterthree.com Note the TOC entry in the second column. Right now it just goes to a php file that prints the parameter, but I want to access other WP features in building the ‘real’ content. Will I have access to the WP code in a ‘normal’ php file, or do I need it to go through a WP controller to set up the environment first?

    Thread Starter ed4becky

    (@ed4becky)

    Issue resolved!

    wpdb->query did not work as I expected. If the query fails, it returns false. If the query succeeds, it returns the number of rows acted on (rows selected, or inserted, or deleted, etc…). Was more confusing to me, but makes sense I guess, is that $wpdb->print_error() will still return a valid String on success, complete with an error message (but no error). So my insert was succeeding, but I thought I had an error, causing my error logic to execute.

    I add

    style=”padding 0px 0px 0px 0px”

    to my IMG tag.
    The paramaters are positional, so I change the 0px value based on where I want the spacing. top, right, bottom, left.

    <img style=”float:right;padding: 5px 0px 0px 10px” src=”https://ed4becky.org/jupiterthree/wp-content/uploads/2009/01/339146010_0158a1b025_m1.jpg&#8221; alt=”Docked Shuttle” />

    The above example puts 5 pixels at the top and 10 on the left hand side, which is what I want with a float:right

    Its possible that there is a version compatibility issue. I had a similar error with another plugin that had not been upgraded for 2.7. The new version of a function expected an input parameter. I had to tweak the plugin php file.

    Fortunately for me the plugin creator had identified the problem and given instructions.

Viewing 15 replies - 196 through 210 (of 223 total)