Dane Morgan
Forum Replies Created
-
Forum: Plugins
In reply to: [Comments - wpDiscuz] Comments not displayed after updateOkay, we were not supposed to be on Lazy Load, but somehow we are set that way.
Still, when we scroll down to the comments they did not load. Lazily or otherwise. Just no comments period.
I am setting our setting back to [Load More] Button. Is there a hook I can set to override that setting and ensure it stays on [Load More]?
Better still, we would still like to see an option for “Just display ALL of our comments on the page, please. We are currently using the 9999 comments per page kludge to get around this, but having the option would be cleaner and more transparent.
How would I determine whether I have a real problem that needs to be fixed vs a reset in the future?
Alerts that are sometimes important and sometimes not always make me a little nervous.
Forum: Plugins
In reply to: [Thin Out Revisions] abandoned?Hi @blogger323
I have the same question. Is this plugin just dormant because no work is needed, or have you abandoned it?
Forum: Plugins
In reply to: [Add Shortcodes Actions And Filters] ForbiddenSorry. I was testing commenting out different parts of the code and had narrowed it down to a global $post that was at the top of the code. removing it and running the remaining code prevents the code from saving to the database when WordFence is enabled.
So the presence of global $post in my shortcode while WordFence was enabled with the settings exported to the provided token results in a failure to save the shortcode and a message “Forbidden”
Forum: Plugins
In reply to: [Add Shortcodes Actions And Filters] ForbiddenIn the above code it seems to be choking on the
global $post;
When I remove that it saves just fine.
However, the shortcode did not return any value or any error.
Then when I deleted it and remade it without the global $post; it saved and the shortcode works.
I guess I didn’t need the global, I thought, at best, I was going to get the message about an error in the shortcode.
Forum: Plugins
In reply to: [Add Shortcodes Actions And Filters] ForbiddenIt is Wordfence that is preventing saving the form.
This code returns a “Forbidden” message with WordFence activated.
/*if ( is_numeric ( $thisrank ) ) : $rank = 0; foreach( get_cfc_meta( 'logotable', $post->ID ) as $key => $value ) : $check = get_cfc_field( 'logotable','rank', false, $key ); if ( $check == $thisrank ) : $rank = $check; $img_obj = get_cfc_field( 'logotable','logo-image', false, $key ); $logo = '<img class="nobo aligncenter wp-image-' . $img_obj['id'] . ' size-full" id="' . $img_obj['id'] . '" src="' . $img_obj['sizes']['csm-logo-table'] . '" height="' . $img_obj['height'] . '" width="' . $img_obj['width'] . '" alt="' . $img_obj['alt'] . '" title="' . $img_obj['title'] .'" />'; endif; endforeach; if ( $rank != 0 ) : $out = <<<EOD <table class="alignleft nobo logotable" style="table-layout:fixed;width:374px;height:90px;"> <tbody> <tr class="nobo"> <td class="nobo rank-number" style="font-size:67px;font-weight:bold;color:#000;width:134px;height:90px;line-height:90px;vertical-align: middle;">#$rank</td> <td class="nobo rank-logo" style="width:240px;height:90px;vertical-align:middle;">$logo</td> </tr> </tbody> </table><!-- .logotable --> EOD; else : $out = <<<EOD <table class="alignleft nobo logotable" style="table-layout:fixed;width:374px;height:90px;"> <tbody> <tr class="nobo"> <td class="nobo rank-number" style="font-size:67px;font-weight:bold;color:#000;width:134px;height:90px;line-height:90x;vertical-align:middle;">Err</td> <td class="nobo rank-logo" style="width:240px;height:90px;vertical-align:middle;">Requested rank value does not exist. Please add it in the editor.</td> </tr> </tbody> </table><!-- .logotable --> EOD; endif; // $rank != 0 else : $out = <<<EOD <table class="alignleft nobo logotable" style="table-layout:fixed;width:314px;height:110px;"> <tbody> <tr class="nobo"> <td class="nobo rank-number" style="font-size:67px;font-weight:bold;color:#000;width:134px;height:90px;line-height:90px;vertical-align:middle;">Err</td> <td class="nobo rank-logo" style="width:240px;height:90px;vertical-align:middle;">Rank must be numeric.</td> </tr> </tbody> </table><!-- .logotable --> EOD; endif; //is_numeric($thisrank) */
Here is the Wordfence setting token
fae10262e6faf3ed80613a2e5d84af2f0966b75a7d5b003c48abba25d7f3e314da73948d290d8dd90e2dff22e85e92ab147baea4299b03dbc6270bfcb99146f8Forum: Plugins
In reply to: [Add Shortcodes Actions And Filters] quote escaping is strippedI can confirm that the update resolved this issue.
Forum: Plugins
In reply to: [Add Shortcodes Actions And Filters] elements in code break savesI can insert the textarea into the database and it will display correctly thereafter, but any attempt to save from the plugin form, breaks it again.
Forum: Plugins
In reply to: [Add Shortcodes Actions And Filters] quote escaping is strippedThank you.
Forum: Plugins
In reply to: [Add Shortcodes Actions And Filters] ForbiddenI’m going to have to recreate the site on a test domain to do that, but yes I will.
Forum: Plugins
In reply to: [Add Shortcodes Actions And Filters] [Feature Request]Hi Michael, I wonder if you also noticed this, https://www.ads-software.com/support/topic/quote-escaping-is-stripped?replies=1 , which is actually a much more pressing concern to me.
Forum: Plugins
In reply to: [Add Shortcodes Actions And Filters] [Feature Request]I am doing so, but I still think it would be helpful to put a preview button on the edit page.
Forum: Plugins
In reply to: [Add Shortcodes Actions And Filters] quote escaping is strippedSorry. My original post didn’t seem to have posted so I removed some of the code I had in it and tried again. Please refer to https://www.ads-software.com/support/topic/quote-escaping-is-stripped instead.
Forum: Plugins
In reply to: [bbPress Move Topics] Converting bbPress Topics to Native PostsI am also looking for this functionality. I have a client with several thousand topics with replies that I need to convert to native posts with comments.
Any ideas of anything out there that at least somewhat automates the process?
Forum: Plugins
In reply to: [Maps Builder - Google Maps Plugin] Coordinate PointsI figured out that it is. Thanks