4469 pointsLike some sort of WPMU DEV God"Mindblowingly helpful memberLifetime member
Barry
Developer
—
28th September 2010 00:20
Hi all
Attached to this post is the version 2.0 beta of the Global Site Tags plugin and widget.
This version of the plugin is reliant on the 2.0 beta of the Post Indexer plugin, so please make sure that the post indexer is installed and is running before using this one. Version 2.0 of the post indexer will only start storing tags from its installation date, so any existing posts tags won't be included in the tag cloud for this plugin.
Attached to this post is the version 2.0 beta of the Global Site Tags plugin and widget.
This version of the plugin is reliant on the 2.0 beta of the Post Indexer plugin, so please make sure that the post indexer is installed and is running before using this one. Version 2.0 of the post indexer will only start storing tags from its installation date, so any existing posts tags won't be included in the tag cloud for this plugin.
1) Is this designed to work for both categories and tags or strictly tags? I ask because when testing it I see that it's registering tags but not categories.
2) When clicking on the link generated in the widget for "tester tag," one which I assigned to two separate posts from two separate blogs in the community, I'm taken to a blank page (url: http://physicianassistanted.com/tags/tester tag/) and it says "page not found." Does this mean I need to manipulate something in the database or create/edit a table?
@David -
1) it's set to just use tags, but is easy to change so it will use categories as well (will get you the line).
2) it might be something to do with the space in your tag url - can you let me know what's in the site_terms table for that tag/term.
Here's an image of the table... as you can see I tried a few categories prior to this stuff. I can also go test using a single word as well if I need to.
Just tried using a tag without a space and it didn't work either. Again, it generates the tag in the widget but when clicked on it goes to a page that's empty.
Hmm, unfortunately it's still not working. I tried it without doing anything to the database table. Then I deleted what existed in the database table and tried it again with "newtesttag" and "newtesttag2." Still doesn't work. I then took out the part of the code you told me to take out to include the categories. This indeed does list the category terms in the widget but these links when clicked also go to a page that's not found. Here's an image of the fields in the new database table:
- The navigation on the theme is messed up
- The first post has the tag "newtag" or "second tag" but the others do not yet they still show on the page (Note that the other posts are from before installing the updated plugin). I can try re-saving those posts tomorrow.
@mattsokoloff - I think that's a data issue when previous versions of the post indexer has been running (conflict of id between old version and new) - There is a way to remove the conflicting data from old posts - I'll post up the method when I've run a couple of tests on it.
@Barry It's been several days now and I haven't heard back from you on this. It's clear based on the images I provided that a global table is being generated. I can't for the life of me understand why it returns an empty page when clicking on one of the links in the cloud. I'm wondering if it could be something really simple.
Considering the lag time for response, is this something I need to get a private developer to help me on? If so, that's cool. I just need to know so I can move forward? Please advise.
@Barry were you ever able to figure out how to fix the issue with old posts without the tags showing up on the tags page and the theme not looking right?
Responses (15)
Member — 28th September 2010 16:33 #
@Barry
1) Is this designed to work for both categories and tags or strictly tags? I ask because when testing it I see that it's registering tags but not categories.
2) When clicking on the link generated in the widget for "tester tag," one which I assigned to two separate posts from two separate blogs in the community, I'm taken to a blank page (url: http://physicianassistanted.com/tags/tester tag/) and it says "page not found." Does this mean I need to manipulate something in the database or create/edit a table?
Dave
Member — 28th September 2010 16:33 #
Oops, apparently it didn't register the entire link, here it is again:
http://physicianassistanted.com/tags/tester%20tag/
Developer — 28th September 2010 18:42 #
@David -
1) it's set to just use tags, but is easy to change so it will use categories as well (will get you the line).
2) it might be something to do with the space in your tag url - can you let me know what's in the site_terms table for that tag/term.
Developer — 28th September 2010 18:50 #
@David - line is 266 of global-site-tags.php - remove the part of the sql that has:
WHERE t.type = 'post_tag'Member — 28th September 2010 21:46 #
Here's an image of the table... as you can see I tried a few categories prior to this stuff. I can also go test using a single word as well if I need to.
Member — 28th September 2010 21:50 #
@Barry
Just tried using a tag without a space and it didn't work either. Again, it generates the tag in the widget but when clicked on it goes to a page that's empty.
Developer — 28th September 2010 23:23 #
@David - I think I may have spotted the issue, can you try the version attached to this.
Member — 29th September 2010 02:14 #
Hmm, unfortunately it's still not working. I tried it without doing anything to the database table. Then I deleted what existed in the database table and tried it again with "newtesttag" and "newtesttag2." Still doesn't work. I then took out the part of the code you told me to take out to include the categories. This indeed does list the category terms in the widget but these links when clicked also go to a page that's not found. Here's an image of the fields in the new database table:
Member — 29th September 2010 02:59 #
Just did a quick test and cam across two issues (haven't been able to spend much time looking into them). Both on a page listing the recent posts from a specific tag (http://orlandojewish.com/tags/newtag/ or http://orlandojewish.com/tags/second-tag/)
- The navigation on the theme is messed up
- The first post has the tag "newtag" or "second tag" but the others do not yet they still show on the page (Note that the other posts are from before installing the updated plugin). I can try re-saving those posts tomorrow.
Thanks for getting this update out!
Developer — 1st October 2010 14:13 #
@mattsokoloff - I think that's a data issue when previous versions of the post indexer has been running (conflict of id between old version and new) - There is a way to remove the conflicting data from old posts - I'll post up the method when I've run a couple of tests on it.
Developer — 1st October 2010 22:39 #
Unstickying for full release
Member — 2nd October 2010 01:34 #
@Barry
Just wanted to follow up on my last post... any progress?
http://premium.wpmudev.org/forums/topic/global-site-tags-20-beta#post-56599
Member — 7th October 2010 10:36 #
@Barry It's been several days now and I haven't heard back from you on this. It's clear based on the images I provided that a global table is being generated. I can't for the life of me understand why it returns an empty page when clicking on one of the links in the cloud. I'm wondering if it could be something really simple.
Considering the lag time for response, is this something I need to get a private developer to help me on? If so, that's cool. I just need to know so I can move forward? Please advise.
Dave
Member — 29th October 2010 18:39 #
@Barry were you ever able to figure out how to fix the issue with old posts without the tags showing up on the tags page and the theme not looking right?
Thanks!
Member — 24th November 2010 16:37 #
There is still a bug that causes the navigation to break. It was discussed in this forum post http://premium.wpmudev.org/forums/topic/scholar-theme-global-site-tags-nav-menu-formatting-problem
This still happens and should not require a workaround.
This is not theme specific.
Become a member