Support Forum

Tags links not working – search parameter problem?

EP ept1961
ept1961
Member

Sorry for posting so soon after rejoining. I’ve spent the whole day trying to fix this!

I use the Tags plugin (updated to version 1.1.1). With the upgrade to SP Version: 5.1.1 Build: 8675, the tag links in topic view don’t work properly. 

Clicking on a tag (for example ‘globalization‘) in the topic view will produce this search result: 

writefix.com/?page_id=2722&forum=all&value=globalization&type=1&include=4&search=1

which will return the wrong value –  either 0 or the same number of links as a previous search –  i.e, all wrong ones.

I’ve found that only this set of parameters works:

writefix.com/?page_id=2722&forum=all&value=globalization&type=1&include=4&search=1&new=1

How do I add the &new=1 parameter to all the tag links?  Do I look in some of the search forms or in the Tags plugin? I’ve uninstalled and reinstalled the tags plugin, dropped and re-uploaded tables in to the database, and am able to add, delete and manage tags, so I don’t think the problem is with the Tags plugin. What search form or view or function needs updating or has changed?

I’m using the CSS-only theme, and and in desperation, updated that as well, but still no luck. I can’t find anything in the Theme codex that seems to help. I also upgraded to WP 3.4 earlier today. Too many upgrades at one time!

(I found the correct search parameters (the one with &new=1) by using the search box and selecting ‘Advanced Search’  > ‘Tags Only single tag’)

You can see an example at http://writefix.com/?page_id=2722/about-this-forum/non-academic-are-not-important-1.  Clicking on the tag ‘music’ should give 10 topics with that tag. Great, but if you go to any subsequent topic page and click on any tag, you will still get the same 10 results regardless what tag you click.  Is &new=1 a recent feature/update?

Sorry for being longwinded here –  hope the explanation is clear.

Thanks for your help.

7 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

Ugly. Sounds like I might have have messed something up somewhere…

AM investigating. Sadly might take a little while though.

EP ept1961
ept1961
Member

No worries –  glad you are on the case!  In the meantime I will just guide users to a hand-generated list of the most common tags.

If you need any more info about my setup just let me know.

YS Yellow Swordfish
Yellow Swordfish
Member

Well sorry to say it is caused by a misunderstanding on my part. There are 4 effected plugin files that need a small edit. Do you want me to specify those so you can make them or do you prefer to wait for the next update?

EP ept1961
ept1961
Member

Hi

Glad that you tracked it down, and that the problem wasn’t my imagination or the result of tinkering!

If you could tell me the small edits, that would be great, thanks.

Regards

MP Mr Papa
Mr Papa
Member

why? just grab the updated version… pushed out this evening…

EP ept1961
ept1961
Member

Hi Mr Papa

Thanks! I wasn’t quite clear what you meant by ‘updated version,’  but I found a nice shiny new Tags plugin 1.1.2  in my WP updates page, installed it, and everything seems fine now: tags seem to work perfectly!

Thanks again!

YS Yellow Swordfish
Yellow Swordfish
Member

Sorry – I wasn’t sure when I signed out for the night if we would manage to get a new update out so glad you found it. And apologies for the silly bug… and thanks for finding it for us!