Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-11-01 01:27:09

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

<txp:author link="y" /> URL problems

See an example here (click “Older articles”).

When you follow a /author/Real-Name link, <txp:older> takes you to /author/login-name?pg=2 for that user.

Last edited by jm (2006-11-07 03:30:40)

Offline

#2 2006-11-01 02:01:10

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: <txp:author link="y" /> URL problems

I can replicate this. Bug.

Offline

#3 2006-11-08 17:36:01

tore
Member
From: Tväråmark, Sweden
Registered: 2006-11-08
Posts: 26

Re: <txp:author link="y" /> URL problems

I just now ran into exactly the same problem with the introduction of the tag <txp:author link=“1” /> which I just got confused with until I guessed it is a bug. The potential right functionality is easily verified by manual correction of the URL.

Urgent question: Is there a fast workaround so far, until it can be fixed? Editing some PHP-script or similar? Can I search for a key value to be changed in a script to point to ‘Real-Name’ instead of ‘login-name’?

Best regards

Last edited by tore (2006-11-08 17:37:32)

Offline

#4 2006-11-09 02:12:47

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: <txp:author link="y" /> URL problems

I just committed a fix for this. Here is the diff and here’s the modified file. If you try it, let me know if this causes any problems.

Offline

#5 2006-11-09 04:39:11

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: <txp:author link="y" /> URL problems

Fatal error: Call to undefined function: parse_form() in /home/proweb/public_html/textpattern/publish/taghandlers.php on line 278

EDIT: Updating the rest of the textpattern files to the latest fixed it. The author links work! Thanks!

Last edited by jm (2006-11-09 04:52:14)

Offline

#6 2006-11-09 22:23:29

tore
Member
From: Tväråmark, Sweden
Registered: 2006-11-08
Posts: 26

Re: <txp:author link="y" /> URL problems

After a little testing, replacing /textpattern/publish/taghandlers.php seems to cure all, thank you Mary for nice and fast response! / Tore

Offline

Board footer

Powered by FluxBB