Stephen Sherrard

Forum Replies Created

Viewing 15 posts - 661 through 675 (of 769 total)
  • Author
    Posts
  • in reply to: Sign-up Sheet Manager not an Option #5344
    Stephen Sherrard
    Keymaster

    Try deactivating and reactivating the plugin. That role is created during the activation process, so perhaps it didn’t get created initially for some reason, or it somehow got deleted.

    It’s not any kind of option in the plugin settings, it’s a user role that mimics that “author” role of WordPress, but adds the capability to also manage sign-up sheets. So, you have to go to the Users section in the admin dashboard, edit a user, and assign that role to them.

    If you don’t want the user to have the other capabilities that the author role has, or you want to give some other role the capability to manage signup sheets, then you need to use one of the free role/capability manager plugins and add the capability to the specific user (or other role) that you want to be able to do that. The name of the capability to add is simply:
    manage_signup_sheets

    in reply to: PTA SUS – Changing event date without dropping signups? #5335
    Stephen Sherrard
    Keymaster

    I’m happy to accept any contributions from other developers, and can incorporate it into the plugin if it’s something that might be useful to others.

    Yes, the database structure was already setup by the plugin I forked my version from. It was also one of the first plugins I did for our PTA when still learning a few years back, so I was still learning database structure and MySQL operations as I expanded the features of the plugin.

    If I was starting on it again from scratch today, I would definitely do things in a different/better way.

    Last year I actually started totally rewriting from scratch the entire PTA Manager system I created for the grade school, in a much more true OOP way. But, then I got hired for some much bigger custom WooCommerce jobs, and my own Wholesale Ordering extension started taking off, and then my son graduated from that school and the new PTA team decided to go with one of the hosted PTA solutions, so I abandoned that project (at least for now), and am only keeping up with fixes/updates for the two independent plugins from the original system that I released at WordPress.org. Happy to take on other developers who want to contribute/add more features to the existing PTA plugins, but they are fairly low priority for me now.

    in reply to: Program/Event Details (Sign-up Sheets) #5324
    Stephen Sherrard
    Keymaster

    I inspected the HTML on your pages generated by my plugin, and the problem is you have <pre></pre> tags around the shortcode on your volunteer page… meaning you probably copied the shortcode from a doc page or somewhere where I had it wrapped in code or pre tags to display as code, and those also got copied (but you can’t see them in visual mode).

    Edit the page where you have the shortcode, switch to text mode, and remove the pre tags from around the shortcode, and your problem should go away.

    in reply to: Program/Event Details (Sign-up Sheets) #5320
    Stephen Sherrard
    Keymaster

    It could be any of a number of things, but I don’t think any of them have to do with my plugin. The text editor for the details is the built-in WordPress editor that I call on that page. HTML tags should be preserved, for things like paragraphs, line breaks, headings, etc. I do sanitize the field before saving and on output, for security purposes, to remove any scripts, but that is with a standard WordPress function as well.

    I just tested it with a large amount of random text, arranged in several paragraphs, and it works just fine.

    Here are some possible things to look at:
    Switch from “Visual” editor to the “Text” editor, and see what html tags are surrounding your paragraphs. If you copied and pasted text from another web site, or (even worse) from MS Word, then there may be a LOT of extra formatting tags surround your text, much of which will be gibberish (from Word especially), and you may to strip out all of those, or copy again and paste as plain text. But, make sure you see paragraph tags, like this:
    <p>your paragraph</p>
    around your paragraphs. There used to be a setting in older versions of WordPress to automatically convert line breaks to paragraphs in the editor, but I don’t think that setting is in the admin options any more.

    Depending on how your theme formats paragraphs and line breaks, this could be important. Try switching to a default theme, like Twenty Twelve, to see if the problem goes away. If it does, you’ll know that it’s something in your theme that doesn’t like some of the html tags in your content, and you may need to create some custom CSS to override your theme settings for the details section output.

    Also, when you are viewing the sheet on the public side, use the “inspect element” feature of your browser, or “view source”, and look at the section where the details are displayed to see what kind of tags are being output around your text. Depending on your browser, or if you have developer extensions, you can also see the CSS being output for each element when you use the inspect element feature. The CSS will be generated by your active theme.

    That’s about all I can do from here without having access to your site.

    At this point, I don’t believe this is a plugin issue, since I can’t reproduce the problem and have no other reports of similar issues at this time.

    in reply to: Wholesale announcement on other pages #5312
    Stephen Sherrard
    Keymaster
    in reply to: PTA SUS – Changing event date without dropping signups? #5257
    Stephen Sherrard
    Keymaster

    Easiest way would be to directly modify the dates in the custom tables for the plugin, using PHPMyAdmin, or similar database tool. 3 tables, pts_sus_sheets, pta_sus_tasks, pta_sus_signups, all prefixed by your WordPress database prefix (usually wp_).

    For the signup table, where you have that many signups, probably easiest to do a search/replace SQL operation for that date, possibly including the task id if you have other tasks from other sheets on the same date that you don’t want changed.

    Otherwise, there is nothing built-in to the plugin to allow you to modify dates once people have signed up. In fact, just the opposite, it won’t let you change the date for a task if there are already people signed up for that date, as that would break the operation of the plugin.

    in reply to: Mail by Location #5226
    Stephen Sherrard
    Keymaster

    Not currently possible in the existing plugin. Yes, possible with additional programming, so you have posted this in the correct place as a feature request.

    Please note, however, that there are a couple of crude work-arounds:
    1. Simply create another position for each location, and add each member from that location to that new “position” (as well as any other positions they hold). You could call it something like “All Seattle Team Members”, and then it would show up as a selection in the contact form.
    2. You can also add a location argument to the contact form shortcode, so you could set up different contact forms for each location that only show members from that location in the select list.

    I realize that neither of those are ideal, and #1 would clutter up the directory quite a bit more, but that’s the best I can offer for now until such time when or if I decide to add new features to the plugin. So, we’ll leave this here among all the other feature requests, just in case I get motivated to add more features at some undetermined point in the future, or if some other developer wants to contribute and is looking for new features to add.

    Location was a feature that was added somewhere down the line after I decided to release this plugin publicly. We didn’t need a Location feature for our school PTA, which is what this was originally developed for, so the code is not in place to email all members of a specific location, especially since that feature is optional (so locations may or may not even exist).

    in reply to: Export #5224
    Stephen Sherrard
    Keymaster

    Please note that “member” is a custom post type I created for this plugin, and there are already some plugins out there that will allow you to export data from custom post types. You would just need to find one that allows you to export custom post types and which allows you to export custom postmeta fields for the custom post types, then you would be able to export all the data.

    in reply to: User Role #5199
    Stephen Sherrard
    Keymaster
    in reply to: User Role #5186
    Stephen Sherrard
    Keymaster
    in reply to: Product CSV Export / Import #5169
    Stephen Sherrard
    Keymaster
    in reply to: Product CSV Export / Import #5163
    Stephen Sherrard
    Keymaster
    in reply to: Product CSV Export / Import #5161
    Stephen Sherrard
    Keymaster
    in reply to: Blank White Screen after Installing #5137
    Stephen Sherrard
    Keymaster
    in reply to: Blank White Screen after Installing #5132
    Stephen Sherrard
    Keymaster
Viewing 15 posts - 661 through 675 (of 769 total)