Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-10-04 00:26:06

graeme
Plugin Author
Registered: 2004-06-21
Posts: 337
Website

gbp_permanent_links

Hi everyone,

I would like to introduce gbp_permanent_links. I’ve been talking about this plugin for a while now and the time has come to let people test and use it.

gbp_permanent_links will let you create custom permlink and pagelink url rules to will automatically be used by Textpattern to link to articles and archive pages. No changes to your page or form templates are required as the plugin is able to rewrite urls for all existing internal Textpattern tags and probably/hopefully all the urls generated by most other plugins.

I’ve tried to design the plugin to be much simpler than it’s predecessor gbp_faux_static but yet to remain flexible. It offers some advance options and improvements over textpattern’s internal permlink support. While the documentation isn’t yet complete it should hopefully be relatively straight forward to use.

Main version

Both plugins are required.

Plugin preview

I’ve decided to release it as a beta because there is more to be done before getting to 1.0. But saying that I believe it will work fine on almost all textpattern sites without too much trouble, if any. If you find a bug or have any questions please post to this thread – I will try to reply in a timely manner.

If you find this plugin useful would you please consider a donation, a lot of time and effort has gone into the plugin. It will help ensure further development of this and yet unreleased plugins.

Donate

Thanks.

Edited to add link to where graeme explains some of the plugin’s settings.

Last edited by uli (2015-06-24 14:30:55)

Offline

#2 2006-10-04 00:49:40

marios
Archived Plugin Author
Registered: 2005-03-12
Posts: 1,253

Re: gbp_permanent_links

Graeme, nice work.

regards, marios


⌃ ⇧ < ⌃ ⇧ >

Offline

#3 2006-10-04 01:42:48

LeeUmm
Member
From: Hamilton, Ontario
Registered: 2005-04-22
Posts: 91
Website

Re: gbp_permanent_links

This looks great. I’ve been using your old plugin so I’ll have to test this out and play around with it in the next few days.

Thanks for the hard work.

Offline

#4 2006-10-04 03:43:15

soulship
Member
From: Always Sunny Charleston
Registered: 2004-04-30
Posts: 669
Website

Re: gbp_permanent_links

Wow this is nice! I just installed this on a local copy and will poke it around for the next few days and see if I can break it :) Thanks!

~Jamie

Offline

#5 2006-10-04 07:38:39

kemie
Plugin Author
From: mexico<-->sweden
Registered: 2004-05-20
Posts: 495
Website

Re: gbp_permanent_links

graeme, is it time for big wet sloppy kisses? i think so! :D


~~~~~~~~~~~~~| monolinea.com | pixilate.com | istockphoto.com/kemie |~~~~~~~~~~~~~

Offline

#6 2006-10-04 09:13:10

sthmtc
Member
From: CGN, GER
Registered: 2005-01-17
Posts: 586
Website

Re: gbp_permanent_links

as i already told you on the IM: this is one of the best plug-ins ever. will paypal you some money as soon as my current job is done!

Offline

#7 2006-10-04 16:01:28

kemie
Plugin Author
From: mexico<-->sweden
Registered: 2004-05-20
Posts: 495
Website

Re: gbp_permanent_links

hey graeme,
its looking wonderful!
i’m just having a bit of a hard time understanding:

-precedence: i’m guessing this means which rules are applied in case of conflict, right? higher number gets applied?
-destination: i’m having a hard time understanding this one, i get it that you can forward to a specific static url, but otherwise?


~~~~~~~~~~~~~| monolinea.com | pixilate.com | istockphoto.com/kemie |~~~~~~~~~~~~~

Offline

#8 2006-10-04 18:17:34

graeme
Plugin Author
Registered: 2004-06-21
Posts: 337
Website

Re: gbp_permanent_links

kemie wrote:

graeme, is it time for big wet sloppy kisses? i think so! :D

:D

-precedence: i’m guessing this means which rules are applied in case of conflict, right? higher number gets applied?

Correct.

-destination: i’m having a hard time understanding this one, i get it that you can forward to a specific static url, but otherwise?

In the destinations options you have ‘forwards to’ and ‘redirects to’ options.

When loading a page which matches one of your rules the forwards to section, category or feeds settings will be overridden using the settings specified but without changing the url. It can be used to create aliases of your pages.
Example: www.example.com/aboutme/ -> section: about, category: me

The redirect to permanent link option allows you to change your existing permlink mode but instead of throwing a 404 error when someone loads an out-of-date url it will automatically redirect (HTTP status code 301) them to article changing the url they see in the browser to the defined permlink rule.

Offline

#9 2006-10-04 20:16:30

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: gbp_permanent_links

Thank you Graeme!!! But:

Fatal error: Call to undefined function: mb_convert_case() in /home/portuga/public_html/dev/textpattern/lib/txplib_misc.php(379) : eval()’d code on line 497

when clicking the Permanent Links tab. (Using Textpattern version: 4.0.3 r1188)

Offline

#10 2006-10-04 20:50:25

graeme
Plugin Author
Registered: 2004-06-21
Posts: 337
Website

Re: gbp_permanent_links

Els, seems like your version of PHP hasn’t got the multibyte string functions installed.

I updated gbp_admin_library which should now work for you.

Offline

#11 2006-10-04 20:59:48

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: gbp_permanent_links

Thank you Graeme, I re-installed, but the error is still there? Also it says

<notextile># Name: gbp_admin_library v0.3 r239</notextile>
<notextile># Last modified: 2006-10-02</notextile>

in the plugin. Was that link in your previous post the one I should install?

Last edited by els (2006-10-04 21:01:43)

Offline

#12 2006-10-04 21:08:09

graeme
Plugin Author
Registered: 2004-06-21
Posts: 337
Website

Re: gbp_permanent_links

Els wrote:

Thank you Graeme, I re-installed, but the error is still there? Also it says

<notextile># Name: gbp_admin_library v0.3 r239</notextile>
<notextile># Last modified: 2006-10-02</notextile>

in the plugin. Was that link in your previous post the one I should install?

Doh! I forgot to upload… it’s there now. :)

Offline

Board footer

Powered by FluxBB