Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#301 2008-01-14 18:50:17
Re: gbp_permanent_links
I may have found a bug with this plugin. here is a short thread that explains what my problem is:
maybe someone can help me with thisthanks alot
I sometimes destructively reverse engineer my own work and the only help is this forum.
visit me at visiongraphix
Offline
#302 2008-01-15 01:04:42
Re: gbp_permanent_links
markusfalk wrote:
I may have found a bug with this plugin. here is a short thread that explains what my problem is:
I think the issue is because your default “Permanent link mode” style is set to /section/id/title
– changing it to something else should fix it for now. I will look to fixing my plugin as changing the default mode isn’t always ideal.
Last edited by graeme (2008-01-15 01:07:56)
Offline
#303 2008-01-15 01:14:39
Re: gbp_permanent_links
guiguibonbon wrote:
Greame, one last feature idea : set debug mode (plugin and txp debug) for each permlink. I use this plugin for ajax amongst other things, and it’s often useful to have debugging on for certain pages but not for ajax responses.
If time permits, I’ll start working on that one myself. And on the article status thing.
Feel free to have ago. More than happy to accept patches. And just so you know I have made a note of all your feature requests and shall work on them. I have also included you bug fixes which I’m very graceful for.
And thank so much for being active on this thread answering people’s questions. :) Life saver.
Offline
#304 2008-01-15 01:18:37
Re: gbp_permanent_links
edemay wrote:
Hey guys, I’m running into a problem. I’m getting this error at the top of the pages as soon as I turn the plugin on:
…
So… what gives? Should we try another version of the compressed plugin? Or the compressed of another plugin version?
The compressed version may still be too large. Can you get into the plugins’ edit screen and see if it ends like:
function gbp_disable_permlinks ($atts, $thing = '') {
global $gbp_pl;
return $gbp_pl->toggle_permlink_mode('parse', $thing);
}
}
Cheers
Offline
#305 2008-01-15 14:41:09
Re: gbp_permanent_links
The compressed version may still be too large. Can you get into the plugins’ edit screen and see if it ends like:
Graeme, I looked and yeah, it does finish with that. :S
What now? What is conflicting between txplib_misc.php and gbp_permanent_links?
I should have also mentionned that I have this problem on 2 different servers.
Offline
#306 2008-01-15 18:04:04
Re: gbp_permanent_links
i’ve been trying to find out how you handle file downloads since they have their own url too … mine won’t work because they are only pointing back to the current section
thanks for your help
I sometimes destructively reverse engineer my own work and the only help is this forum.
visit me at visiongraphix
Offline
#307 2008-01-16 04:29:47
- daxdiri
- New Member
- Registered: 2008-01-01
- Posts: 1
Re: gbp_permanent_links
I am building domian.com/m and using a custom article list to generate a list of all recent articles. However, when someone clicks on one of the articles when you are on /m, I want it to point to domain.com/m/article and not domain.com/article. I already have one permanent rule setup which says “section/category/title/”. I created another one that said “m/section/category/title/”. For some reason, either the entire site will use /m or none of them will. I tried messing with the precedence and that didn’t help much either.
Help?
Offline
#308 2008-01-17 00:18:24
Re: gbp_permanent_links
edemay wrote:
Graeme, I looked and yeah, it does finish with that. :S
What now? What is conflicting between txplib_misc.php and gbp_permanent_links?I should have also mentionned that I have this problem on 2 different servers.
Worked it out. There was a problem with the compressed version Steve posted:
Here are the latest version:
Both plugins are required.
Last edited by graeme (2008-01-17 19:12:35)
Offline
#309 2008-01-17 00:19:34
Re: gbp_permanent_links
markusfalk wrote:
i’ve been trying to find out how you handle file downloads since they have their own url too … mine won’t work because they are only pointing back to the current section
Markus, I’m note sure what you mean. Can you send me the debugging output and I should be able to determine what is happening. Thanks.
Offline
#310 2008-01-17 00:30:09
Re: gbp_permanent_links
Worked it out. There was a problem with the compressed version Steve posted:
Graeme! Alleluia! Now it’s safe to say: It works perfectly! Thanks a bunch!
Offline
#311 2008-01-17 00:30:22
Re: gbp_permanent_links
daxdiri wrote:
I am building domian.com/m and using a custom article list to generate a list of all recent articles. However, when someone clicks on one of the articles when you are on /m, I want it to point to domain.com/m/article and not domain.com/article. I already have one permanent rule setup which says “section/category/title/”. I created another one that said “m/section/category/title/”. For some reason, either the entire site will use /m or none of them will. I tried messing with the precedence and that didn’t help much either.
daxdiri, I’m not exactly sure what you are trying to do. Are you trying to have different rules for different sections? Say /m/section/category/title
for your articles section and /section/category/title
for all other sections? Have you looked at the conditions options?
Let me know if I’m mistaken your problem.
Offline
#312 2008-01-17 00:31:01
Re: gbp_permanent_links
edemay wrote:
Graeme! Alleluia! Now it’s safe to say: It works perfectly! Thanks a bunch!
Brilliant!
Offline