programmin
Forum Replies Created
-
To be clear is_admin() is supposed to be true when they’re in a /wp-admin/ area of the site, no matter whether or not the user is an administrator.
There was a workaround for pre-2.0.7x-series but the latest Nextgen Gallery seems to absolutely not want you to see preview of shortcode with the_content filter.
I wonder if there is any official word on why this is the case (other than a tiny optimization for admin dashboard), and is there any workaround without completely rewriting ajax calls that are calling WP standard wp-admin/admin-ajax.php to call another url?
Yes, absolutely! So people don’t ask what linkto option does and why it doesn’t do anything.
Forum: Fixing WordPress
In reply to: Problem installing WordPress 4.1 – Unusual ErrorThat’s a limitation of your php environment – if you have access to your php ini you could up the time-limit. Or install manually.
Forum: Fixing WordPress
In reply to: Spam not getting filtered, even with mathcaptcha and blacklist?I highly doubt the site is compromised, as they would likely not keep their comments in pending status. I updated to 4.1beta earlier and still see spammy comments coming in.
I already have “Comment author must fill out name and e-mail” and
Automatically close comments on articles older than 120 days enabled.Just today I’m seeing hxxp://catalog.buildspot.ru/?p=5&lol=%20sylphideatbrass.simplex link with “.” text, and paragraph below saying “thank you.” By alejandro, “%/bgijgiaaj4”
and dozens others with just . linking to odd site with &lol=emailaddress, and text of “good” or “thanks”, or “ñïñ!!” or “áëàãîäàðåí!”
Forum: Fixing WordPress
In reply to: Unable to paste rich text in WP 3.9@don46 Do you see the same issue in TinyMCE itself, from their example pages I linked above? If so, please file a bug with TinyMCE. If not, please file a bug with WordPress so they can know about it. In either case, I’m curious what formatting is interfering, I just tested and links, bolds, italic, copy-pastes just fine. Can you provide an example document that will not copy-paste correctly into WordPress 4?
Forum: Fixing WordPress
In reply to: Unable to paste rich text in WP 3.9Forum: Fixing WordPress
In reply to: Unable to paste rich text in WP 3.9@ava I’m not sure I understand. Is this hard-to-find bug triggered by right click, and then ctrl+v pasting? Or is that the only paste functionality that worked for you?
It would be helpful if those affected with this bug could try the WP 4.0 beta, which includes TinyMCE 4.1.2. This version is much newer than the one included in 3.9, as you can see in the TinyMCE changelog there were around 100 bugs fixed between the new release and old 4.0.21.
Why is the “Reset” in the other-options of Nextgen not this tool?
Especially when the built-in reset has been known to break things, the reset-plugin is known to fix things and does a good job.
@rosario_bilotta Did you recently reset Nextgen? I’ve found that messes up the nextgen-options array, causing all sorts of problems:
http://wordpress.org/support/topic/warning-reset-nextgen-options-breaks-siteIf this is the problem you’re having, hopefully you have a backup of the sql? If so, you can search in it for the value of ngg_options and restore just that option to the wp_options table to see if it helps.
Still happening with 2.0.66 and referencing some php file that doesn’t exist:
nextgen-gallery/products/photocrati_nextgen/modules/nextgen_addgallery_page/upload_images.php is not a valid MVC template
Maybe it doesn’t matter but this is on a site where siteurl is not homeurl.
Forum: Fixing WordPress
In reply to: Unable to paste rich text in WP 3.9@sbb If that page you linked is missing deleted paragraphs or content or formatting from the original Word document, we can’t see what is missing. It’s just plain normal HTML. Could you please upload and link the original word document file on that page?
@hazelfrance How much of the formatted page was pasted from Word? I see the formatted version has gobs of invalid HTML, which causes the page to load much slower than the other, but the images look like they were added by WordPress?
If the only problem is MCE4 is just not transferring formatting that is within those odd proprietary word-xml-tags, that’s probably an enhancement that could be overridden by a plugin in the future?
There’s one other thing you could try – I was noticing a couple annoying bugs that were fixed by manually replacing the TinyMCE version WordPress is using. (There are currently dozens of bugs fixed in versions newer than the wordpress’ TinyMCE 4.0.21, as you can see here: http://www.tinymce.com/develop/changelog/?type=tinymce ) If one of these bugs is causing paragraphs to get deleted, these steps may fix it:
First go into your /wp-includes/js/tinymce/ folder through FTP
Next go to here and download the first link, extract the tinymce.min.js
Copy that JS over the wordpress file. Now you can see the .26 version from the F12 console, by entering “tinymce.minorVersion”
If it doesn’t work or is worse, clicking “reinstall wordpress” should bring back current wordpress 3.9 and its older TinyMCE editor.
Forum: Fixing WordPress
In reply to: Unable to paste rich text in WP 3.9For debugging purposes, could someone with this problem please post an example Word document of content that doesn’t copy-paste into WP 3.9 properly? Noting what version of Word, and what browser and browser version was causing this problem, would be great as well. Otherwise I doubt the WordPress developers & community have enough to go on to find and fix this bug.
I tested copy-paste from word the other day, and didn’t see any problems whatsoever, except slightly different font.
Forum: Reviews
In reply to: [Math Captcha] Math captcha locked me out of my own site!Agreed. The plugin works fine, I just tested with login form and it works.
If it were this plugin, removing the wp-content/plugin/wp-math-captcha files would fix it.
Please try renaming other plugins to disable them.
Forum: Alpha/Beta/RC
In reply to: 3.8 Dashboard (not a bug)You mean wait for the plugin’s update? I would think yes.
Though it would seem to be pretty confusing how it makes more blank spaces for widgets when the screen is larger. It’s not even very obvious they can drag widgets there.
Forum: Reviews
In reply to: [WP ParaStrap] Nice light and simple theme, but doesn't work correctly.It does show a lot of potential – I hadn’t seen the cool parallax effect of the home slider before reviewing. – although unfortunately it seems to be only a feature of the home banner, and seems a bit fast, without an option for switching speed.
I confirmed the no front page instead of posts, also happening on my testing site. Is the theme fully 3.8 compatible? Thank you for your time 🙂