eye8
Forum Replies Created
-
Forum: Reviews
In reply to: [Flowplayer Playlist] Activation errI’m sorry to hear that. Can you provide more information e.g. what was the error message? Do you have a url so that I can take a look?
Forum: Plugins
In reply to: [Google Analytics Dashboard] Signed into wrong Google accountI had the same problem before. This is definitely a serious bug the author must fix. The plugin must provide an option to unlink a Google Analytics account.
I’m sharing my hacky process to unlink my GA account which worked for me.
1. Open up gad-admin-options.php in this plugin folder
2. Search for the string:
if(get_option('gad_auth_token') == 'gad_see_oauth')3. Add the following code above the ‘if’ statement:
update_option('gad_auth_token','');
You should be able to add this line in your theme’s function.php before loading the plugins. It should work the same.4. Refresh your webpage in Settings->Google Analytics Dashboard. The previous Google Analytics account info should now be removed already and you can see the button for authorizing your Google Account. But don’t go ahead yet.</storng>
5. Remember to remove the ‘update_option’ line you added.
6. Now you can go ahead to use the plugin as normal.
Forum: Networking WordPress
In reply to: Bug? Correct timezone is not applied to dummy post in multisiteAhhh, thanks for pointing out! I had always taken it for granted “mu-plugins” are for plugins used in multisite. And the history behind the naming is interesting. Will do as you suggested.
Forum: Networking WordPress
In reply to: Bug? Correct timezone is not applied to dummy post in multisiteHi Mr. Sader, this actually works for me! Although I might have to update the customized wp_install_defaults() function every time upgrading the WordPress source code, it does solve the problem and the dummy posts are shown being created at the current time.
One note to add to your solution. I am using the latest WordPress v. 3.5.1 which has deprecated WPMU Plugins. What I need to do is to create a single-php plugin that holds the customized wp_install_defaults() function and put it in the plugins folder. After activating it across the network the custom function will overwrite the original one in wp-admin-includes/upgrade.php to set the correct timezone for new blogs.
Note 2: the dummy posts show the *current* time in New York. But in dashboard it also says “published 4 hours ago”. I guess that’s because it first uses the current UTC-0 time then switched to 4 hours later as in New York. Not a problem for me anyway. Topic resolved!
Many thanks to Mr. Sader and Ipstenu for your help!
Forum: Networking WordPress
In reply to: Bug? Correct timezone is not applied to dummy post in multisiteThanks a lot. I guess that’s what I might end up doing. Or, I could also update the creation time of the dummy posts in the site theme once the blog is created.
However, I still hope the WordPress team could improve the wpmu_create_blog() function so that users won’t have to take the trouble. Otherwise what is the purpose of having the “meta” param in the argument?Forum: Networking WordPress
In reply to: Bug? Correct timezone is not applied to dummy post in multisiteThanks for the reply Ipstenu. I am aware of similar plugins to achieve this purpose in the WordPress plugins. But in our project we don’t want to use 3rd-party plugins unless there’s no other choices.
I figured this out myself thanks to another post in the forum:
http://ww.wp.xz.cn/support/topic/plugin-rich-text-tags-no-line-breaks-in-version-14?replies=6I’m not sure if it’s a bug with the plugin or the author did not make it clear in the installation instructions. But you have to create a filter to allow multiline editing for category descriptions.