eamondaly
Forum Replies Created
-
We’ve had success using the method here: How to Convert the Yoast SEO FAQ Block into an Accordion.
My guess is that the plugin vulnerability is in the dynamic link creation (line 10 of YSFA-JS.js). It looks like the Afteractive method avoids that altogether by using .click events instead of generating any links.
Oh my gosh I can’t believe I never tried that! Thanks!
Forum: Plugins
In reply to: [Redirection] Regex URL redirects stripping spacesI’m having this same issue with the most current release, and I’m fairly confident it was working as expected previously. From my Apache logs:
[30/Jun/2019:20:06:36 +0000] “GET /screenshot/bruce+springsteen HTTP/1.1” 307 – “-”
[30/Jun/2019:20:06:40 +0000] “GET /song-list/?q=brucespringsteen HTTP/1.1” 200 50855 “-“Forum: Plugins
In reply to: [Redirection] API documentation?Red_Item worked perfectly for my needs. Thanks for the ultra-quick reply!
Forum: Reviews
In reply to: [Simple Calendar - Google Calendar Plugin] Was great, now brokenThe problem with reverting is that for sites like mine which are set to auto-update, both I and my clients would have to jump through hoops to prevent this single plugin from updating. Even if I did so, they’d still see the nagging “updates availble” banner every day, which is less than ideal– I don’t like training people to ignore warnings.
In my opinion, the better solution would have been to create an all-new plugin with a different name and let it compete on its own merits against GCE. It’s fairly clear in the forum that the majority of GCE users thought the original codebase was just fine as it was.
To be clear, I’m grateful that you’re spending your time contributing to the WordPress sphere, and I appreciate the desire to take something you consider broken and rewrite it from scratch in the hopes of greater flexibility and better features down the line. I would just encourage you to consider less disruptive ways to do so in the future.
Forum: Plugins
In reply to: [Simple Calendar - Google Calendar Plugin] Will no longer show today's eventsI suspect it’s an off-by-one error: I had the same issue fetching today’s events until I changed “Number of Events per Page” to “2 days” and “Start Date Offset” to 1.
I have to say: I’m a little shocked that you’d push an upgrade that breaks a key feature. Being able to customize the output is kind of essential. It’s great that you’re picking up this project, but please consider forking the code into a new plugin instead so people who want to stick with the current version can do so without being constantly prompted to update.
Anyway, here’s our block, found at http:/www.windycityrollers.com:
<div class="start"> <b>[start-date]</b> [if-not-all-day] - <b>[start-time]</b> [/if-not-all-day] </div> <div class="event-title"><b>[event-title]</b></div> [if-location]<div class="location">[maps-link][location][/maps-link]</div>[/if-location] [if-description]<div class="description">[description html="true"]</div> [/if-description]Forum: Plugins
In reply to: [Dynamic Content Gallery] DCG is not working after updating wordpress 3.5.2.If you followed the instructions, you should have a file named dfcg-admin-metaboxes.php.orig. Change that to dfcg-admin-metaboxes.php and you should be back to stock. Otherwise, save your settings and re-install the plugin.
Forum: Plugins
In reply to: [Dynamic Content Gallery] DCG is not working after updating wordpress 3.5.2.levivene, you probably pasted the new code improperly. I would recommend restoring the original file and waiting for the official fix; the author is on vacation but will be rolling out an update as soon as he’s back.
Forum: Plugins
In reply to: [Dynamic Content Gallery] DCG is not working after updating wordpress 3.5.2.No, smkyle1: the patch option is if you have shell access to your plugins directory, and it sounds like you do not. Ignore that entirely. For your environment:
1) Using FTP, copy dfcg-admin-metaboxes.php to your computer.
2) Rename the file on your computer to dfcg-admin-metaboxes.php.orig. That is your backup in case something goes wrong.
3) Using FTP, copy dfcg-admin-metaboxes.php to your computer again.
4) Open dfcg-admin-metaboxes.php in Notepad.
5) Change the line:
if ( !wp_verify_nonce( isset($_POST['dfcg_metabox_noncename']), DFCG_FILE_HOOK )) {to read:
if ( !isset($_POST['dfcg_metabox_noncename']) || !wp_verify_nonce( $_POST['dfcg_metabox_noncename'], DFCG_FILE_HOOK )) {6) Save the file and close Notepad.
7) Upload the modified dfcg-admin-metaboxes.php back to your website using FTP.
Forum: Plugins
In reply to: [Dynamic Content Gallery] DCG is not working after updating wordpress 3.5.2.1) Go to wp-content/plugins/dynamic-content-gallery-plugin/includes
2) Save the code above to “nonce.patch”
3) Backup the existing file withcp dfcg-admin-metaboxes.php dfcg-admin-metaboxes.php.orig
4) Apply the patch to dfcg-admin-metaboxes.php by typingpatch < nonce.patchAlternately, backup dfcg-admin-metaboxes.php and edit line 218:
if ( !wp_verify_nonce( isset($_POST['dfcg_metabox_noncename']), DFCG_FILE_HOOK )) {to read:
if ( !isset($_POST['dfcg_metabox_noncename']) || !wp_verify_nonce( $_POST['dfcg_metabox_noncename'], DFCG_FILE_HOOK )) {Forum: Plugins
In reply to: [Dynamic Content Gallery] DCG is not working after updating wordpress 3.5.2.I think the issue is in dfcg-admin-metaboxes.php: dfcg_save_metabox_data is checking the value of isset($_POST[‘dfcg_metabox_noncename’]) instead of the nonce itself. This patch should fix it:
--- dfcg-admin-metaboxes.php 2010-12-09 14:43:52.000000000 -0600 +++ dfcg-admin-metaboxes.php.new 2013-06-25 21:11:07.000000000 -0500 @@ -215,7 +215,7 @@ function dfcg_save_metabox_data($post_id, $post) { // Check referrer is from DCG metabox - if ( !wp_verify_nonce( isset($_POST['dfcg_metabox_noncename']), DFCG_FILE_HOOK )) { + if ( !isset($_POST['dfcg_metabox_noncename']) || !wp_verify_nonce( $_POST['dfcg_metabox_noncename'], DFCG_FILE_HOOK )) { return $post->ID; }