2006-10-04 00:26:06

graeme
Plugin Author
iota
Real name: Graeme
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.

Last edited by graeme (2011-02-21 14:56:55)

Offline

 

2006-10-04 00:49:40

marios
Plugin Author
tau
Known languages: ⎋

Re: gbp_permanent_links

Graeme, nice work.

regards, marios


⌃ ⇧ < ⌃ ⇧ >

Offline

 

2006-10-04 01:42:48

LeeUmm
Member
epsilon
Real name: Liam
From: Hamilton, Ontario
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

 

2006-10-04 03:43:15

soulship
Member
nu
Real name: Jamie
From: Always Sunny Charleston
Known languages: eatin' crow
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

 

2006-10-04 07:38:39

kemie
Plugin Author
lambda
From: mexico<-->sweden
Known languages: en, es, sv
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

 

2006-10-04 09:13:10

sthmtc
Member
mu
Real name: Sven
From: CGN, GER
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

 

2006-10-04 16:01:28

kemie
Plugin Author
lambda
From: mexico<-->sweden
Known languages: en, es, sv
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

 

2006-10-04 18:17:34

graeme
Plugin Author
iota
Real name: Graeme
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

 

2006-10-04 20:16:30

Els
Admin
omega
Real name: Els Lepelaars
From: The Netherlands
Known languages: nl, en, (some: de, fr, es, it)
Website

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)


<txp:Els /> ;)
Tag Reference | Unexpected behaviour? Check the tag trace | Still no clue? Check the names of your custom fields

Offline

 

2006-10-04 20:50:25

graeme
Plugin Author
iota
Real name: Graeme
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

 

Powered by FluxBB