Charlie
Forum Replies Created
-
Sorry for the long delay, Mike! I had to get the site backed up; I also updated to WP 5.9.
I ran the test you described above, and it didn’t change the URL-Shortify symptom. (It did, however, break all the links from other web sites to our pages, of course.)
If the json file is OK and changing the permalink structure doesn’t fix the problem, what’s the next thing to check?
I’m not exactly sure what you mean. Do you mean you want me to change our permalink Custom Structure from:
/index.php/%post_id%/%postname%/
to:
/%postname%/
and try URL-Shortify again?
We use a Custom Structure of:
/index.php/%post_id%/%postname%/That’s the only setting on Settings > Permalinks
The json file seems to be OK. I deleted it and tried again, but I still get the 404 error page. I added a new “test” link and it appeared in the json file OK, but like all the other links it only gives me the 404 error.
If the json file appears to be functioning properly, what would be the next thing to check?
I’m just starting to use Shortify, so I’ve only got three links; none are working, neither when I type the short link into my browser nor when I click the little arrow icon on the Links page of Shortify. Same symptom in both cases.
A list of what things to check, and in what order, would be very helpful. I’m sure I can track this down myself, but if you could share a bit of your expertise, I’m sure I can track it down more quickly.
Thanks!
Perfect! Thanks, Mike.
Forum: Plugins
In reply to: [Facebook Publish] This PlugIn is Obsolete and Should Be RemovedResolved!
Forum: Plugins
In reply to: [Facebook Publish] This PlugIn is Obsolete and Should Be RemovedI used the lastest update and was able to successfully authorize my Facebook app. Thank you, Pramod!
Charlie
Forum: Plugins
In reply to: [Facebook Publish] Module not wok error autorizeThank you, Pramod. Using the latest update I was able to successfully authorize my FB app.
Next I try to use Facebook Publish to send some posts from WP to FB. I will let you know if I have any further trouble.
Thank you very much for the latest update!
Charlie
Forum: Plugins
In reply to: [Facebook Publish] Module not wok error autorizeHello, Pramod. I would be interested in trying the beta version, but only if you are actively trying to get it ready for release.
I think Facebook Publish is worth saving because it appears to be the only free WP to FB publish plugin that lets you stay on the Edit Post page and decide if you want to publish this post to FB, and schedule it all without leaving the Edit Post page.
If I’m right about that and if I can help you save Facebook Publish, then I’d like to help with the beta.
Let me know your thoughts on the subject.
Thanks very much for implementing my suggestion, Rolf. It makes me feel like I’ve contributed something!
And thanks for a great plug-in.
Best,
Charlie
AWESOME! This will be very useful to me and to many other people, too.
I set it to 90 days, and it knocked the size of the database backup for our three-year-old Web site from 54.8 MB down to 20.1 MB. All the revisions for posts older than 90 days seem to be gone (the log says 12,557 revisions deleted) but each post itself still seems to be there. The whole operation took 13 seconds.
That’s certainly not exhaustive testing, but it certainly appears to work.
Thanks, Rolf! This is great.
Forum: Hacks
In reply to: TinyMCE Custom Button with AJAXWith some help from my friends Woody Hayday and Jake Brown, I think I’ve got it working:
( function() { // This code belongs in /wp-includes/js/tinymce/plugins/beacon_clean/plugin.js tinymce.PluginManager.add( 'fb_test', function( editor, url ) { // Add a button editor.addButton( 'fb_test_button_key', { text: 'Test Button -', icon: false, onclick: beacon_clean_AJAX } ); // editor.addButton } ); // pluginManager } )(); // containing function function beacon_clean_AJAX ($) { jQuery(document).ready(function($) { data = { action: 'aad_get_results', data_passed: 'Hello World' }; $.post(ajaxurl, data, function (response) { alert('Got this from the server: ' + response); }); return false; }) // jQuery.ready function } // beacon_clean_AJAX function
On the server, it needs this PHP code:
// Process whatever AJAX sends us function aad_process_ajax() { $data_passed = $_POST['data_passed']; echo $data_passed . ' -- GOT IT!'; // After processing AJAX, this PHP function must die wp_die(); } add_action('wp_ajax_aad_get_results', 'aad_process_ajax');
Very, very tricky stuff, but it seems to work. I now have proof-of-concept for a button in the TinyMCE editor that uses AJAX to send/receive data to/from the server when the user clicks the button. Woo-hoo!
Updating to 4.6.1.2 fixed the problem for me!
Thank you! The new update works a treat — no problems now!
I very much appreciate your quick response!!