Harm10
Forum Replies Created
-
Forum: Plugins
In reply to: [WP-SpamShield] Tiny PHP Warning in error logs, not a big dealI am on version 1.9.9.8.5 and still have this warning:
Warning: preg_match(): Delimiter must not be alphanumeric or backslash in /…./wp-content/plugins/wp-spamshield/includes/class.utils.php on line 665
And I should add that although my config.php specifies to not display errors on the screen they get displayed anyway…. ??
- This reply was modified 8 years, 2 months ago by Harm10.
Forum: Plugins
In reply to: [Multisite Language Switcher] Entry links on multi site missing "blog" in URLSorry it took me so long to test the latest version from GitHub.
I am glad to say that my problem is solved!Will you publish this version as an official version?
Forum: Plugins
In reply to: [Media Library Assistant] Fixed values not working on multisite?Your shortcode is working OK. Mine was more complicated and going through the quotes and double quotes I noticed an error (one too many). Could that also influence other shortcodes after that?
Because they are now all working OK.Forum: Plugins
In reply to: [Media Library Assistant] Fixed values not working on multisite?It has been installed network-wide. MLA is version 2.31 and Fixed values version 1.02.
Forum: Plugins
In reply to: [Multisite Language Switcher] Entry links on multi site missing "blog" in URLAddition: I changed the permalink structure on the test site I was talking about to “Custom structure” value /blogen/%postname%/.
Then the URL gets changed to the home url of the multi site with only /en and the the postname. If I change it to /blogentest/%postname%/ then the url get /entest added to it.
Weird?Forum: Plugins
In reply to: [Multisite Language Switcher] Entry links on multi site missing "blog" in URLSent.
I notice that there is a different setting there. But I haven’t set that.
I just created the multi sites from the primary one and didn’t look at their permalink settings.I also notice that the /blog part is not there in the standard options?
Can you deduce what is going wrong here?
Forum: Plugins
In reply to: [Multisite Language Switcher] Entry links on multi site missing "blog" in URLJust sent you the screenshot of the permalink options.
switch_to_blog() does not give you the url of the blog where you going to switch to? Or does it? How does the resulting url get constructed then?
Forum: Plugins
In reply to: [Multisite Language Switcher] Entry links on multi site missing "blog" in URLProblem is that I never put screen shots on some open site. You cannot post them in here directly?
I was trying to locate where you can see the permalink structure. It is in the table wp_options as option_name permalink_structure (but you probably know that).
I suppose MSLS knows what the blog id is of the site that it is pointing to?
For posts URLs you cannot pick up the string from the same option_name in the wp_n_options table (where n is the blog id)?Just a thought: what will happen if someone chooses a different permalink structure in only one of his multi sites? Will the URLs for posts also be wrong for that particular site?
Forum: Plugins
In reply to: [Multisite Language Switcher] Entry links on multi site missing "blog" in URLThe main problem now is that I cannot post screen images so you can see exactly what my permalink options are. The test site I was referring to has exactly the same set-up as the site I am reporting the problem for. On the test site I can experiment and check the values of get_permalink and get_home_url functions by echoing. This I do not want to do on my production site.
Is there a way to put images in here as an attachment (so you can see the permalink options automatically include the /blog part)?As you stated this name /blog was apparently chosen by me when I initially set up the multi site. As this seems to be a normal feature of multi site I ask why this part is not incorporated into the urls generated by MLS plug-in?
Or is my only way to solve this problem by the removal of the /blog name in “Permalink structure” option?Is there some other information that you perhaps need to be able to pin-point this problem?
Forum: Plugins
In reply to: [Multisite Language Switcher] Entry links on multi site missing "blog" in URLWhy would I want to add /blog/ to every post URL? That part is already there or not?
And if this part is normally set in the primary blog of a multi site why can’t the plug-in pick this up and create the correct url itself?
Forum: Plugins
In reply to: [Multisite Language Switcher] Entry links on multi site missing "blog" in URLIf I execute the get_permalink() function on a test site (off-line but has the same structure with the /blog part) the /blog part is normally included in the url. So permalink function knows this. As said the permalink options in the general settings offer the /blog part in the greyed out area so I haven’t put this in there.
I installed multi site months ago and this is my first installation like this. When I was satisfied with my test site I cloned the lot according to a description I found on the net. So the /blog part remained.
If I look in the detailed settings for a multi site the option “Permalink structure” has been set to /blog/%postname%/. Here I can obviously remove the /blog part. But I would rather not go that way as I think the /blog part is a good addition (to discern from pages).
Is there a WP function available that gives you the permalink prefix?
Or should I just plainly remove the /blog part for option “Permalink structure”?The detailed settings can be viewed through this url:
https://myurl.com/wp-admin/network/site-settings.php?id=1Forum: Plugins
In reply to: [Multisite Language Switcher] Entry links on multi site missing "blog" in URLThe permalink type has been selected as Post name.
I might add that the /blog/ part is already included in the fixed part of all options except the standard one (also for category and tag).And I also do not have subdirectories in real. The subdirectory is set virtually by WP multi site. I do not have subdomains.
Forum: Plugins
In reply to: [Multisite Language Switcher] Entry links on multi site missing "blog" in URLThis web page points to the same post on the dutch site. The link generated is this while it should have been this. Again this is a multi site installation.
Forum: Plugins
In reply to: [Multisite Language Switcher] Entry links on multi site missing "blog" in URLSorry with entries I mean the normal posts.
Forum: Plugins
In reply to: [Media Library Assistant] Problem with upload_mimes hookYes that makes sense.
Not to be nit-picky but the list should have been:
MLA distinguishes three categories of MIME type definitions:- WordPress core definitions
- MLA additional definitions
- MLA custom user definitions
And what about other plug-ins that do something with the mime types?
Not that I use any of them (apart from MLA and Enhanced Media Library):
WP plugins for mime Will those still work?