Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#829 2020-07-28 19:57:10

frickinmuck
Member
Registered: 2008-05-01
Posts: 118

Re: tru_tags: A tagging plugin for textpattern

Thanks so much for your help. I’ve managed to fix it.

I’ve actually been procrastinating on rebuilding this site. I guess I’d better get to it! :)


The AI does not hate you, nor does it love you, but you are made out of atoms which it can use for something else.

Offline

#830 2020-09-25 10:21:14

jodeci
Member
From: Taipei
Registered: 2008-01-13
Posts: 38
Website

Re: tru_tags: A tagging plugin for textpattern

Hi, so I just upgraded my neglected site to 4.8.2 and tru_tags to 3.9.2.

In debugging mode, I will get this error:

User_Error "Table 'tru_tags_redirects' doesn't exist"
in /..../textpattern/lib/txplib_db.php at line 448.

I double checked and the table indeed does not exist. Re-installing the plugin does not help. I can try to manually create the table but where do I find the schema?

Offline

#831 2020-09-26 04:40:30

peterj
Member
From: Melbourne, Australia
Registered: 2005-06-02
Posts: 99

Re: tru_tags: A tagging plugin for textpattern

I have an install running TXP 4.8.2 with tru_tags 3.9(patched) – which isn’t the latest but seems to still work.
I tried renaming the prefix on the database table, and was able to get the redirects table back by visiting the tru_tags settings page on the extensions tab – just opening that settings page runs a script that checks for the table and creates it if not there.

Offline

#832 2020-09-28 06:33:29

jodeci
Member
From: Taipei
Registered: 2008-01-13
Posts: 38
Website

Re: tru_tags: A tagging plugin for textpattern

Weirdly the extensions tab did not trigger the table creation. Had to go through the plugin code and dig out the schema. Leaving it here if anyone else needs this:

tru_tags_redirects
—————————
lefttag (varchar 255, primary key)
righttag (varchar 255, not null)

Offline

#833 2020-12-10 17:06:31

whocarez
Plugin Author
From: Germany/Ukraine
Registered: 2007-10-08
Posts: 305
Website GitHub Twitter

Re: tru_tags: A tagging plugin for textpattern

For getting this plugin to work with php 8.0.0, I had to change the following line:

$count = $countwrapchars{0} . $weight . $countwrapchars{1};

into

$count = $countwrapchars[0] . $weight . $countwrapchars[1];

Without that I got an Fatal error: Array and string offset access syntax with curly braces is no longer supported.

I’m not sure, whether that breaks something or not, but works for now.

Last edited by whocarez (2021-06-03 09:29:52)

Offline

#834 2021-06-03 03:13:56

Vienuolis
Member
From: Vilnius, Lithuania
Registered: 2009-06-14
Posts: 310
Website GitHub GitLab Mastodon Twitter

Re: tru_tags: A tagging plugin for textpattern

Your patch helped me, too — thanks, whocarez!

Offline

#835 2022-01-20 06:42:57

peterj
Member
From: Melbourne, Australia
Registered: 2005-06-02
Posts: 99

Re: tru_tags: A tagging plugin for textpattern

Thanks whocarez, that does the trick. tru_tags lives to see another php version…

Offline

#836 2022-04-28 16:52:43

jordi
Member
From: Barcelona
Registered: 2005-09-14
Posts: 94
Website

Re: tru_tags: A tagging plugin for textpattern

Thank you whocarez, this works (TXP 4.8.8 – PHP 7.4)

Offline

#837 2023-03-18 13:47:39

truist
Plugin Author
From: Ohio, USA
Registered: 2004-11-09
Posts: 257
Website

Re: tru_tags: A tagging plugin for textpattern

I’m still not maintaining this… but @whocarez made it easy by making a PR! (There were still many yaks shaved to publish it!)

v3.10 is available on the website

I have NOT tested this build.

whocarez, if you want to take over the plugin, I’d be happy to turn it over to you ;)

Offline

#838 2023-03-20 12:37:37

whocarez
Plugin Author
From: Germany/Ukraine
Registered: 2007-10-08
Posts: 305
Website GitHub Twitter

Re: tru_tags: A tagging plugin for textpattern

I have not really the spare time (and often the programming knowledge) to maintain such a huge piece of code. As this plugin is from my opinion something essential for Textpattern, it would be better to make it as well as com_connect a community plugin.

Offline

#839 2023-03-20 13:10:08

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,447
Website GitHub

Re: tru_tags: A tagging plugin for textpattern

whocarez wrote #335142:

As this plugin is from my opinion something essential for Textpattern, it would be better to make it as well as com_connect a community plugin.

Not going to happen, sorry. But we are planning to migrate core Keywords into a tagging system at some point.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#840 2023-03-20 13:12:35

whocarez
Plugin Author
From: Germany/Ukraine
Registered: 2007-10-08
Posts: 305
Website GitHub Twitter

Re: tru_tags: A tagging plugin for textpattern

That is even better 😀

Offline

Board footer

Powered by FluxBB