Forum Replies Created
-
AuthorPosts
-
Stephen SherrardKeymaster
I added some classes to the columns (directly on the plugin file)
(file class-pta_sus_public.php line 827 to 837, you didn’t add cell classes “column-title”, “column-time” …) Maybe these classes could be added to the next update ?Well, if you are needing to target for CSS, you could use things like nth-child to get the column you want. But, if I can remember, I will add some classes to that in the next update.
I would also volunteer to complete the French translation ! (what is the best way to give you these translations ?)
There is a French translation already that somebody did a long time ago, but it probably needs to be updated since a lot has changed since that translation. Best way to edit translations is to use PoEdit. If you then have an updated set of French .mo and .po files, please send them to me and I’ll put them into the next update. I have another language translation that someone else did a month of so ago that I haven’t included yet since I have not done any updates since he sent it.
PS : I get the last version of the plugin, but the page “ADDONS” can’t be displayed. Maybe it’s just on my website ? I don’t know. But I get these error messages :
Thanks for letting me know… looks like that file is missing from the WordPress repository. Of course, I don’t get that error on my development machine because I have the file here. I must have forgot to select that file and click on “ADD” to have it added to the SVN when I did the last update, so my SVN program skipped uploading it. I’ll make sure to get it in there in the next update. It’s just a page that shows the simple graphics and links to my add-on extensions on my site… nothing that affects the functionality of the plugin in any way.
Stephen SherrardKeymasterHi Arthur,
Thanks for rating the plugin. I appreciate it.
Regarding your feature requests, #1 is already possible. My plugin already saves the user ID for each signup if the user is logged in when they sign up, or if the admin uses the ajax search feature to sign up other users. But, signups are NOT a custom post type, so there is no author->ID field to get. Instead, you would get the user_id property of the signup object: $signup->user_id
Using that, along with the filter hook that is already built-into the plugin to allows others to change how volunteer names are displayed, you could add a small code snippet to your child theme’s functions.php file to modify how those names are displayed (by creating your link around the name). Depending on which version of my plugin you are using, you can find the filter hook around line 770 of the class-pta_sus_public.php file. Should look like this:
// hook to allow others to modify how the signed up names are displayed $display_signup = apply_filters( 'pta_sus_display_signup_name', $display_signup, $signup );
That filter hook passes you the signup name as it will be displayed ($display_signup), along with the $signup object (from which you can get the user_id).
Of course, you would probably want to add some conditional code to your function to make sure that there is a user_id that is an integer and greater than 1, and an actual display name first (not an empty string or some other string) before trying to create the link. But, it would be a fairly easy piece of code to do.
This is not a feature I would add myself because it’s not something we needed for our school, and not everyone who uses this plugins requires people to be signed into a user account before signing up (we did not at our school).
For #2, I don’t understand what the feature request is? You can add the shortcode argument (which I need to put into the documentation and the shortcode generator) to hide the time columns. Not sure what you mean to make the plugin more simple? The plugin started out MUCH simpler, but then people keep asking for more and more features, and then it starts to get very complex! =) Too late to go back now and start removing features to make things more simple.
If, however, you mean that you just want a more simple way to display things, there is the calendar extension:
https://stephensherrardplugins.com/plugins/pta-volunteer-sign-up-sheets-calendar-display/
Which is VERY customizable on how everything is displayed within your calendar, and also has a template and CSS system built-in to allow you to easily modify and/or replace the templates and CSS used to generate the calendar, so you can make it appear almost anyway that you want (if you are good with templates and CSS).But, the main plugin is set up with a LOT of filter and action hooks, as well as public functions & methods that you can access from your own plugins or custom functions, so that if you are decent with PHP and understand the WordPress action/filter hook system, you can create your own custom display of signups in any way that you like.
Stephen SherrardKeymasterThis content is restricted to buyers of:
Stephen SherrardKeymasterThis content is restricted to buyers of:
Stephen SherrardKeymasterThis content is restricted to buyers of Woocommerce Pre-Order Messages.
April 19, 2016 at 1:48 PM in reply to: Retail Variable Products Hidden When Pricing Set to Hide #9834Stephen SherrardKeymasterThis content is restricted to buyers of:
April 19, 2016 at 1:44 PM in reply to: Retail Variable Products Hidden When Pricing Set to Hide #9830Stephen SherrardKeymasterThis content is restricted to buyers of:
April 19, 2016 at 8:51 AM in reply to: Retail Variable Products Hidden When Pricing Set to Hide #9826Stephen SherrardKeymasterThis content is restricted to buyers of:
April 18, 2016 at 10:03 AM in reply to: Retail Variable Products Hidden When Pricing Set to Hide #9820Stephen SherrardKeymasterThis content is restricted to buyers of:
April 14, 2016 at 3:11 PM in reply to: Retail Variable Products Hidden When Pricing Set to Hide #9777Stephen SherrardKeymasterThis content is restricted to buyers of:
Stephen SherrardKeymasterThis content is restricted to buyers of:
Stephen SherrardKeymasterThis content is restricted to buyers of:
Stephen SherrardKeymasterThis content is restricted to buyers of:
Stephen SherrardKeymasterThe CSV link only works on the admin side. As I replied to your post on the WordPress.org support forum, the admin side of things and public side of things in WordPress are separate and those pages are generated in different ways.
If you are going to give the camp directors URLs and Passwords anyway, then just set them up with the role “Sign up Sheet Manager”, and give them the URL to the admin dashboard and take a few minutes to show them how to click the CSV export button.
Otherwise, if you absolutely need some way for them to view all the sign-up info on the public side, on some password protected page, and you have the budget for some custom development work, feel free to contact me privately to discuss. Otherwise, this is the proper place to post feature requests (with the many others, not counting all the requests via direct email), and it’s where I go for ideas on new features on those rare occasions where I have the time to add something new to the core plugin.
Stephen SherrardKeymasterHi Jan,
The Custom Fields extension could certainly be used to add the product field. The DataTables extension will do live search of all fields, but there is currently nothing included to let you specify a search phrase ahead of time… plus, it will search all the fields that are displayed to try to find matching text. Each column is also sortable, though, so you could quickly sort the results by the “product” field.
Are you wanting it so that the visitor to the site chooses one of those three things to show the directory? Or, are you trying to set up pages that are already pre-filtered for each possible value of those criteria?
Either way, it sounds like you would need a bit of custom programming to do what you are wanting to do. Position and Location are actually stored as “categories” or taxonomies for the “member” custom post type, while everything else is saved as custom postmeta fields. So, the way you would search/filter for position & location are different than how you would do it for any custom fields you would add view the custom fields extension.
If you want to contact me privately, we can go over this in much more detail, and then I can give you an idea of what it might cost to custom program something for you.
-
AuthorPosts