mattmatt88
Forum Replies Created
-
Forum: Plugins
In reply to: [WordPress MU Domain Mapping] Login/Logout for all mapped domainsI have it enabled. But if I login to anotherdomain.com, I’m not logged in to the other pages. Maybe no cookies are transferred to the other domains (?). Does the plugin really support this feature?
It just works with the non-mapped domains: If I login to uk.mypage.com, I’m also logged in to us.mypage.com, de.mypage.com etc.
Probably, but I’m not sure how I should change the order using this function.
Forum: Plugins
In reply to: [WP Super Cache] Don't cache parts of the websiteIs that possible?
Forum: Fixing WordPress
In reply to: Javascript with PHP variable inside of EchoWhen clicking on the link nothing happens.
Forum: Fixing WordPress
In reply to: Javascript with PHP variable inside of EchoIt just does nothing.
The JS is ok, because it worked without the echo.
Forum: Fixing WordPress
In reply to: Don't allow duplicate display names / nick names?Usually in WP, it is possible to have duplicate display and nicknames (but not usernames). Do you have any ideas how to change that, please?
Forum: Fixing WordPress
In reply to: Javascript with PHP variable inside of EchoBut the syntax problem is in the php.
https://jsfiddle.net/m2he5cfk/Forum: Fixing WordPress
In reply to: Javascript with PHP variable inside of EchoJSFiddle doesn’t seem to support php code. Haven’t found a service that supports both, php and javascript.
So, the best way is to just paste it in a php file:
<?php $refcode = "aaa"; echo '<a href="#" onclick="refbtnclick('.$refcode.')">Link</a>'; ?> <script> function refbtnclick(refcode) { prompt(refcode); } </script>
The code works in html (without the php echo). So it should be just a syntax issue, which I can’t check out. So it works with:
<a href="#" onclick="refbtnclick('<?php echo $refcode; ?>')">Link</a>
I really need that, because I got a Multisite with a lot of languages of my website (each one is a subsite). But users of different language should also see the correct avatars of users.
Isn’t there any solution?
Forum: Fixing WordPress
In reply to: Javascript with PHP variable inside of EchoNo, I’m sorry, it’s maintenance at the moment.
But it’s just a syntax question and can be tested by just giving the $refcode variable a value.Forum: Fixing WordPress
In reply to: Don't allow duplicate display names / nick names?any ideas?
Forum: Fixing WordPress
In reply to: htaccess redirect to subdomain@davidp98: Thank you for your code but it just works for the main url not for all pages. Like “mypage.de/site2” should be moved to “de.mypage.com/site2”
Forum: Fixing WordPress
In reply to: Complicated Custom Post LoopIdeas?
Forum: Plugins
In reply to: [Bitly's Wordpress Plugin] External links in post as shortURL?There is a plugin which turns external urls to shortURLs automatically:
https://www.imthi.com/blog/programming/wordpress-plugin-bitly-external-urls.phpUnfortunately it doesn’t work for multisite, where it causes speed issues (page loads in 20 seconds instead of 5 seconds, for example).
If anyone has a new way to automatically change external urls to bitly urls, please let us know.
Forum: Networking WordPress
In reply to: Loop Loading Time with 10,000s of posts?Thank you for your response,
Clean up the database means deleting unneeded posts, e.g. Spam, unapproved comments etc., the same thing the plugin does? But i need all my 10,000s of posts.
So is there another way so that a query doesn’t need to always look through the whole posts table, or anything like that?
So is it a bad idea to have a lot of blogs in a multisite or should I seperate them to improve speed?