drstuey
Forum Replies Created
-
Forum: Plugins
In reply to: Google Analytics for WordPress, manually enter UA code problemJust solved it by disabling CSS inline styles. The manual entry box is set to display:none by default and disabling styles disables that and so it shows.
http://wordpress.org/support/topic/selecting-which-analytics-profile-to-track-fails?replies=2Hi, I’m getting the same problem. I can’t connect to Google because Google reports that the plugin has sent a malformed request; I can’t enter the UA code manually either. I tried in both Firefox 5 and Chrome 12. I just upgraded to WP 3.2, and it is Version 4.1 of the plugin.
I just had a look at the plugin code. There is some show/hide scripting going on. The input element is set to display:none by default and clicking on the checkbox is supposed to show it, but it doesn’t.
What I just did was use the web developer toolbar to disable inline CSS styles. That made the input box appear and I could enter my UA code.
I haven’t tried to get the Advanced settings to show – it doesn’t seem to be based on display:none so it needs another solution.
The UA code is so important I reckon the plugin should show the input box all the time and not hide it.
cheers
Forum: Plugins
In reply to: Google Analytics for WordPress, manually enter UA code problemYes I am getting the same problem. I can’t connect to Google because Google reports that the plugin has sent a malformed request; I can’t enter the UA code manually either. What gives? If there is some fancy show hide scripting going on, why not rewrite the plugin to show the box all the time and not hide it?
I just upgraded to WP 3.2, and it is Version 4.1 of the plugin.
Hi Joost, what is supposed to happen when you click the ‘Manually enter your UA code’ checkbox? I click it and nothing happens. There is no box to enter the UA code. Your screenshot only shows the location of the checkbox, and nothing else.
Forum: Fixing WordPress
In reply to: title of category AND tag in archive.phpMy other problem with the same files is that I can’t test for tag value, i.e. is_tag(‘art’); is not working on the /?cat=3&tag=art page. I’m not sure why that is not working either,
Again, at this stage the only way I can see me solving this is to take the tag title value from the URL, assign it to a variable such as $my_tag_title and then do my conditional tests on $my_tag_title
Forum: Fixing WordPress
In reply to: title of category AND tag in archive.phpSeems to be because all three of category, tag and taxonomy all return the same term title. (line 690 and 711 of below file)
And the term title is determined in order of if category, elseif tag, elseif tax. (line 732)
http://core.trac.wordpress.org/browser/tags/3.1.2/wp-includes/general-template.php
So because my category/tag intersection pages are categories they satisfy the first if category and so the term title gets loaded with the category title.
I’m thinking to solve this, I’ll take the tag title value from the URL rather than using WP functions.
Forum: Plugins
In reply to: Getting WP to prompt you for the “title” of linkyes it does work, but not as written here. Word press has deleted the <a href=” part and turned it into a link which should be obvious from the fact that everything after that in the post is blue and underlined.
The correct line should be:
edButtons[i].tagStart = ‘<a href=”Someone should edit the post above and change < to < in case anyone else tries to copy the code.
Yes this would be good in the official release quicktags, but maybe the JavaScript needs another if/else in case there is no title to stop it writing title=”null”
cheers
Forum: Fixing WordPress
In reply to: add link title to link quicktag?Thanks, I think I have found it here.
http://wordpress.org/support/topic.php?id=7756
I did try searching before I posted the question but couldn’t find it. Your post gave me renewed vigor to try again. Still no luck. Then suddenly I noticed the search on Google link – ta da – it is the number 7 result!So, perhaps the search on Google link should be more prominent! Perhaps it should even replace the WordPress search engine!!!!
Forum: Fixing WordPress
In reply to: how to remove the dashboard? (or go directly to other page)I discovered how to solve this. Edited
wp-admin/menu.php
and made line 7 be
$menu[0] = array(__('Dashboard'), 1, 'index.php');
instead of
$menu[0] = array(__('Dashboard'), 0, 'index.php');OK so I should have been able to work this out without asking, but then again, the default wordpress setting should not be that users (level 0) can see the Dashboard after they login – it is really confusing for them.
Forum: Fixing WordPress
In reply to: how to remove the dashboard? (or go directly to other page)Is it really meant to be the case that if users register and login they see the dashboard? Surely this should be hidden from users?
Good suggestions above and I have deleted the RSS feeds from the dashboard and made the redirect after login go to the user profile page instead of the dashboard. (Thought about redirecting to the site itself but then there is no way to edit your profile).
A main problem about letting users see the Dashboard is the Latest Activity box – the links from this go to “you do not have permission” messages!
Not a good look for prospective users!
So I would like to remove the Dashboard link from the admin menu, for users (it can stay for admins). How can I do this?
cheers