Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#277 2005-08-28 01:59:18

boblet
Member
Registered: 2005-08-08
Posts: 53

Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time

<code>A problem occured while loading the plugin: sgb_url_handler -> Notice: Undefined index: PATH_INFO
A problem occured while loading the plugin: sgb_url_handler -> Notice: Undefined index: id
A problem occured while loading the plugin: sgb_url_handler -> Notice: Undefined index: category2
</code>

I think the PATH_INFO bit might refer to a change in the plugin code that Biff suggested. I had undefined index: category1 errors, and that led me to realise I needed to redo the taghandlers.php code changes. This plugin won’t work for section/category/title URLs on a default install without these changes, and there are more changes than indicated in the txt file (ie the category code I was missing above)

And then there are warnings like this:
<code>
Notice: Undefined index: mode in /Library/WebServer/Documents/dev/bauhouse.ca/public_html/textpattern/lib/txplib_misc.php(429) : eval()’d code on line 289
Notice: Undefined index: section in /Library/WebServer/Documents/dev/bauhouse.ca/public_html/textpattern/lib/txplib_misc.php(429) : eval()’d code on line 289
Notice: Undefined index: scheme in /Library/WebServer/Documents/dev/bauhouse.ca/public_html/textpattern/lib/txplib_misc.php(429) : eval()’d code on line 289
</code>

those look like errors loading the plugin, which is potentially a little more problematic

I’d suggest you:
  1. copy the settings you added to the sgb_url_handler plugin
  2. delete the plugin
  3. redownload, install and configure
  4. make the code changes to TxP, checking nothing is missed
  5. activate the plugin
  6. try again in debug mode, and report any errors back here

Here’s hoping Biff wasn’t crushed under a pile of legalese eh ;-)

Last edited by boblet (2005-08-28 01:59:48)

Offline

#278 2005-09-12 07:52:32

1beb
Plugin Author
From: Canada, Ontario, Toronto
Registered: 2004-11-22
Posts: 169
Website

Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time

Any word on this plug-in’s compatibility with Textpattern 4.01?

Offline

#279 2005-09-12 18:15:15

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

Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time

As sgb_url_handler isn’t txp 4.0.1 compatible and hasn’t been updated in a long time, I’m going to plug my new plugin where you can achieve the same result. It’s called gbp_faux_static and is txp 4.0.1 compatible.

Also sgb_url_handler is limited to certain url styles where as with gbp_faux_static you can use fully customisable urls which are defined in txp’s admin interface.

It works differently so it might not be what you’re looking for, but then again it might just be exactly what you’re looking for.

Offline

#280 2005-09-16 09:20:48

Zanza
Plugin Author
Registered: 2005-08-18
Posts: 699
Website

Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time

Can you confirm that I can’t use sgb_url_handler anymore on 4.0.1?

I used it and had a problem with file download

I use also gbp_faux_static, but have to figure out how to set it… Now I’ll give it a real try.

Z-

Offline

#281 2005-09-16 16:57:40

andreas
Member
Registered: 2004-02-28
Posts: 453
Website

Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time

I use sgb_url_handler 0.1.8.3 on TXP 4.0.1 and the file downloads work.I’ve set the matching mode to “best”.

Last edited by andreas (2005-09-16 16:58:07)

Offline

#282 2005-11-25 08:07:17

Anton
Plugin Author
From: Alingsås, Sweden
Registered: 2004-11-16
Posts: 138
Website

Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time

i didn’t find this elsewhere, but here’s a tip for all of you who are using stw_category_tree: change the line that says : hu.urlencode($sec)."/?"; to : hu.urlencode($sec)."/"; and then some lines down, change return tag(htmlspecialchars($title),'a',' href="'.$path.'c='.urlencode($cat).'"'); to return tag(htmlspecialchars($title),'a',' href="'.$path.urlencode($cat).'"');.

now you get nested categories in “clean” /section/category/ mode (as you would have expected if you were not using messy)

Offline

#283 2006-01-09 08:38:50

t1m
Member
From: Massachusetts, USA
Registered: 2004-09-11
Posts: 17
Website

Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time

Yeah so what about comments_invite? My comments invite link is still pointing to the last set permlink scheme set in the default txp preferences, and not the new scheme defined in sgb_url_handler .. I must be missing something .. ?


“You know you’ve achieved perfection in design, not
when you have nothing more to add, but when you have
nothing more to take away.” -Antoine de Saint-Exupery

Offline

#284 2006-01-09 13:01:09

andreas
Member
Registered: 2004-02-28
Posts: 453
Website

Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time

Yeah so what about comments_invite?

That link is generated by TXP and not by the plugin. The plugin only works where you can insert its tag. The TXP-generated links still adhere to the URL scheme set in the preferences.

Offline

#285 2006-01-09 13:18:04

t1m
Member
From: Massachusetts, USA
Registered: 2004-09-11
Posts: 17
Website

Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time

That link is generated by TXP and not by the plugin.

So if you use this plugin you can’t have comments invite links that work?


“You know you’ve achieved perfection in design, not
when you have nothing more to add, but when you have
nothing more to take away.” -Antoine de Saint-Exupery

Offline

#286 2006-01-09 13:23:56

andreas
Member
Registered: 2004-02-28
Posts: 453
Website

Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time

They should work but they will point to the same article under a different URL.

Offline

#287 2006-01-29 17:51:24

apo
Member
From: Germany
Registered: 2004-10-27
Posts: 53

Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time

thx for that great plugins :-) works like a charme

Offline

#288 2006-01-30 11:40:40

apo
Member
From: Germany
Registered: 2004-10-27
Posts: 53

Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time

uhm… any updates on rss compatibility?

Offline

Board footer

Powered by FluxBB