elrico13
Forum Replies Created
-
OK in that case, that explains what’s happening, and thanks for the quick reply – looking forward to the feature, whenever it arrives.
Do you know of any way to see a full trail of these queries, other than by enabling the MySQL general query log? That’s not an option for me unfortunately as I’m using shared hosting.
Forum: Plugins
In reply to: [Wired Impact Volunteer Management] Disable reminder emailsBrilliant, makes perfect sense – thanks again, as ever, for the quick and helpful response!
Forum: Fixing WordPress
In reply to: Meetup.com oEmbed does not updateAnyone..?
Forum: Plugins
In reply to: [Wired Impact Volunteer Management] Change URL for pluginThanks Jonathan.
I wanted to keep all changes in the child theme to allow the parent to update without impacting any of the customisations.
I’ve created a functions.php file containing just the following and placed it in the child theme folder:
<?php function wi_change_volunteer_opp_url_slug( $slug ){ return 'assistance-programme'; // Originally set to 'volunteer-opportunity' } add_filter( 'wivm_opp_rewrite', 'wi_change_volunteer_opp_url_slug' ); ?>
It works a treat – thanks for your help!
Replying to my own post – but figured out how to do this.
Copy the single.php file from the active theme to a child theme of the active theme, then rename it to single-volunteer_opp.php and customise away to your hearts content.
- This reply was modified 6 years, 1 month ago by elrico13. Reason: To resolve topic
Forum: Plugins
In reply to: [Wired Impact Volunteer Management] Remove email prompt for logged-in usersJonathan
I’ve got it working – thanks for all your help!
One thing I’m wondering, will the wivm subfolder survive a theme update? Or should I be putting it into a child theme?
Here’s what I did in case anyone else finds it useful.
I created a copy of opp-single-form.php in a wivm subfolder in the current theme, and replaced the existing email
<input>
with the following:<input readonly type="email" tabindex="930" id="wivm_email" name="wivm_email" value="<?php $current_user = wp_get_current_user(); echo $current_user->user_email; ?>" />
I tested with
type="hidden"
first, and with logged-in users it worked perfectly.However when testing with non-logged-in users, despite the returned email address obviously being blank, somehow submitting the form assigned the site Admin to the opportunity and lost the other details.
Using
readonly
avoids this as the form validation prevents the form being submitted if the email is blank.Forum: Plugins
In reply to: [Wired Impact Volunteer Management] Remove email prompt for logged-in usersThanks Jonathan – that looks very helpful!
I probably won’t have a chance to get this working for a few days, but if I crack it I will post the results here in case it is of use to anyone else.
Forum: Plugins
In reply to: [Wired Impact Volunteer Management] Remove email prompt for logged-in usersThanks for the reply Jonathan. It’s good to know it’s possible. For our usage, we never want someone to enter a different email address as only our members are allowed to volunteer for these tasks.
I’ve done some light PHP coding – customising other people’s code rather than writing from scratch. Do you have any sample code for this? If not I’ll try and work it out and post the results here if it flies.
Raised this yesterday just in case there was an issue with the file comparison – Matt, glad to hear it’s all innocent.
Can confirm Wordfence is now happy with this plugin.
I have the exact same problem with the exact same plugin, TinyMCE Advanced.
Have uninstalled and reinstalled the plugin and started a new scan.
Still getting the same behaviour – files flagged as modified but no changes shown when clicking “See how the file has changed”.
Forum: Plugins
In reply to: [MP3-jPlayer] Stopped working since WP 4.3No idea whether due to my post or not… but both Tablepress and MP3-jPlayer updates were available today, have applied both and – bingo! Working again. Thanks for sorting.
Forum: Plugins
In reply to: [MP3-jPlayer] Player only works when logged inWow, great plugin, amazing support. Thanks again Simon, very much appreciated.
Forum: Plugins
In reply to: [MP3-jPlayer] Player only works when logged inThanks very much Simon, I’ve dropped you a line.
Forum: Plugins
In reply to: [MP3-jPlayer] Player only works when logged inI’ve just deactivated the encode filenames option.
Very unhelpfully I’m not quite sure when it stopped working – because it works perfectly whilst logged in, it took a while for me to notice.
But if pushed I would say it was definitely working at the start of the year, which is quite a few versions (and WordPress versions) ago.
Forum: Plugins
In reply to: [MP3-jPlayer] Player only works when logged inSure here’s the first one in the list:
[mp3j track=”Gerald%20Barry_%20snow%20is%20white.mp3″ title=”” flip=”y”]