Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#613 2013-07-05 12:30:53
Re: gbp_permanent_links
I think that is not a bug… I simply didn’t set base permalink mode to messy.
Maybe I read the topic with little attention.
Last edited by wornout (2013-07-05 12:31:13)
Offline
#614 2013-07-14 22:27:32
Re: gbp_permanent_links
I’m getting errors loading individual articles, and only when gbp_permanent_links is enabled. The error is “Undefined variable: threshold_type”
General error Notice: Undefined variable: threshold_type on line 268
\textpattern\lib\txplib_misc.php(812) : eval()’d code:536 getNextPrev()
PermanentLinks->_textpattern()
\textpattern\lib\txplib_misc.php:854 call_user_func_array()
\textpattern\publish.php:526 callback_event()
\index.php:83 textpattern()
General error Notice: Undefined variable: threshold_type on line 274
\textpattern\lib\txplib_misc.php(812) : eval()’d code:536 getNextPrev()
PermanentLinks->_textpattern()
\textpattern\lib\txplib_misc.php:854 call_user_func_array()
\textpattern\publish.php:526 callback_event()
\index.php:83 textpattern()
Addition: I get this error only on ‘single pages’ and even if I don’t have any rules defined.
Last edited by mericson (2013-07-22 13:11:53)
Offline
#615 2013-09-25 11:09:27
Re: gbp_permanent_links
graeme wrote:
While the documentation isn’t yet complete it should hopefully be relatively straight forward to use. — [head post]
Being it’s now 7+ years later and still no docs, I’m guessing it is indeed straightforward to use. ;)
I’m about to find out.
Offline
#616 2013-09-25 11:57:48
Re: gbp_permanent_links
Destry wrote:
Being it’s now 7+ years later and still no docs, I’m guessing it is indeed straightforward to use. ;)
Make sure to set your default TXP URL format to “?messy” and you’ll do fine.
Offline
#617 2013-09-25 13:19:27
Re: gbp_permanent_links
I think (????!!!) its server dependent also – just keep messing with the prefs until it works with your setup – I’ve always managed to get it working
Offline
#618 2013-09-25 13:30:33
Re: gbp_permanent_links
tye wrote:
I think (????!!!) its server dependent also
Yes, I’ve had odd results on different servers. Have always run sites with section/title
permlink mode though, so maybe that was part of the issue to which qrayg alluded.
I’ve had it where you go to a page, gbp kicks in and lets you handle the ‘missing’ URL content but if the URL is malformed in any way and you decide you can’t render the content as the visitor expects, when you try to throw a manual 404 it just swallows it and you get no content at all. Very odd. Sometimes it also stops 404ing on invalid category pages too, even if I haven’t set up a rule to go near categories.
Maybe my gbp rules were mashed, or maybe it was a server setup thing. Who knows!
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
#619 2013-09-25 13:57:28
Re: gbp_permanent_links
Bloke wrote:
Yes, I’ve had odd results on different servers. Have always run sites with
section/title
permlink mode though, so maybe that was part of the issue to which qrayg alluded.
I’ve used the heck out of this plugin and I’ve found it works fine in most URL modes, but whenever I have problems doing category views I always end up going back to ?messy
mode. I think it’s just best to stick with ?messy
mode and build out all your URL scenarios using the plugin prefs.
Maybe there’s a better solution but mine is the only one that works on the many sites I built that have /section
, /section/title
, /section/category
and /section/category/title
urls. I recently built a site using the /yyyy/mm/dd/title
mode and I ended up having to switch to ?messy
mode and recreate the url mode in the plugin prefs so I could get /section/category
URLs to work properly.
Offline
#620 2013-09-25 14:50:45
Re: gbp_permanent_links
qrayg wrote:
whenever I have problems doing category views I always end up going back to
?messy
mode.
That might actually be sage advice. Maybe all my troubles were attributable to PEBKAC. Next time I do a gbp_pl site I’ll try that approach, thanks for the tip.
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
#621 2013-09-25 16:03:15
Re: gbp_permanent_links
Bloke wrote:
qrayg wrote:
whenever I have problems doing category views I always end up going back to
?messy
mode.
That might actually be sage advice. Maybe all my troubles were attributable to PEBKAC. Next time I do a gbp_pl site I’ll try that approach, thanks for the tip.
Indeed, it is.
qrayg wrote:
I think it’s just best to stick with ?messy mode and build out all your URL scenarios using the plugin prefs.
And this one too.
Sometimes it’s a hard-to-tame plugin, somewhat frustrating, but then, it can make some wonders with URLs too.
Offline
#622 2013-09-25 18:49:43
- milosevic
- Member
- From: Madrid, Spain
- Registered: 2005-09-19
- Posts: 390
Re: gbp_permanent_links
I have been trying to understand this pluging for several years and I have never succeded.
Does any one could upload one or to samples of a desired URL pattern and a screenshot showing how to set it on working? I will be really thankfully!
Last edited by milosevic (2013-09-25 18:50:05)
<txp:rocks/>
Offline
#623 2013-09-25 22:44:34
Re: gbp_permanent_links
I used messy most of the time (matches my coding :)) – but obviously my textpattern google sitemap results were messy too :(
Compromise
Offline
#624 2013-10-22 05:53:58
Re: gbp_permanent_links
milosevic wrote:
I have been trying to understand this pluging for several years and I have never succeded.
Does any one could upload one or to samples of a desired URL pattern and a screenshot showing how to set it on working? I will be really thankfully!
I have the same trouble. Can someone write some example?
Last edited by MarcoK (2013-10-22 05:54:18)
Offline