Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#106 2006-07-04 18:07:20
- genosypheus
- New Member

- From: Singapore
- Registered: 2006-07-04
- Posts: 2
Re: Plugin Requests
[Request] IMDB Vote History Plugin for TXP
Hi all, this plugin which I’m requesting has actually been made for MT by this guy, Paul Downey, but it’s definitely not available for TXP or WP at this moment.
Function: Extracts my vote history from IMDB.com and presents them in a table on my site
Demo: click here
Working Plugin for MT: click here
What I want: A plugin that functions exactly in the same way as this Paul Downey’s, and works for TXP.
What I pledge: 10 USD
Thanks :)
Offline
#107 2006-07-04 18:26:57
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Plugin Requests
Added genosypheus’ request.
Offline
#108 2006-07-04 23:24:11
- guiguibonbon
- Member
- Registered: 2006-02-20
- Posts: 296
Re: Plugin Requests
Ooops, looks like I missed how this multi-lingual thing evolved. I would have loved to share some of the code I wrote but it’s a dirty mix of hacks and hacked plugins. And the site is still local.
It seems to me you have overlooked a few things. Only translating the articles often isn’t enough. You might want the title of your site, the menu or other “static” content to be translated. To acheive this, I made forms like en_header and fr_header and the language handler loaded them accordingly. That language handler checked each form being outputted, to see it its name began with fr_ (standard language), in which case it queryed the en_ form if language was set to en. But a marker could also be used to separate the forms. So, overall, any actual text would be put in forms, and none in pages.
You might also start thinking of how the language choice will be set. I used cookies and a custom get value. The code I added somewhere in the source checked if any cookie or get values were set for the language, if not it redirected to a php page I had put outside the folder where textpattern was installed, which asked for a language choice, then sent the user back to the previous page with the lang get value, which in turn triggered the cookie value to be set.
The problem that arose is that search engines (and some loosers) obviously don’t support cookies, so all the permlinks had to have the lang value if the cookie was not set, but the get value was : another hack made this possible.
For the articles, I hacked a pagination plugin, as told before.
The titles were the same for both languages, but maybe, with mod_rewrite, we could use id in the uri, plus the title, but which would stand there solely for decoration purpose, and would be translated.
If those two last things can certainly be done with a fresh plugin, I wonder if all the rest can. Maybe we could make a txp:lang_output_form and a txp:lang_permlink function, but the whole check for cookie before loading page… well, I’m curious. For as far as I got it greamer’s solution doesn’t use cookies, and the permlinks redirect to the unlocalised version. But maybe net-carver has already thought of a solution ?
Offline
#109 2006-07-05 05:02:21
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: Plugin Requests
Hello guiguibonbon,
thanks for your write up, this is just a short reply so we don’t bog this thread down with too much detail. You are right about not limiting things to articles and that a lot of other static content needs translating. Both Graeme’s plugin and the prototype I have here do handle these situations but it seems in different ways from your language handler.
I simply have a new sed_if_language tag that allows the conditional output of the contained block on a language match. That allows articles, pages and forms to have multiple translations inside them. Seems to work fine on my test site and it supports searching without the need to make changes to support it. Graeme’s plugin handles things a little differently by switching in alternate content from an sql table according to the language selected.
I would like to hear more about your experiences so far though. Please feel free to contact me via the forum email and I will be happy to talk in greater detail about your scheme and experience doing this.
As for the permlinks, I understand that Graeme has a scheme to handle that.
— Steve
Offline
#110 2006-07-07 05:25:24
Re: Plugin Requests
@Marios:
(and anyone else interested in the syntax highlighting plugin)
Offline
#111 2006-07-08 03:36:52
- marios
- Archived Plugin Author

- Registered: 2005-03-12
- Posts: 1,253
Re: Plugin Requests
@ako , already downloaded and started to play with it, the real testing will take some time, since I will be off for a couple of days,
I’m having trouble finding a paypal link.
regards, marios
Last edited by marios (2006-07-08 03:37:07)
⌃ ⇧ < ⎋ ⌃ ⇧ >
Offline
#112 2006-07-13 10:49:21
Re: Plugin Requests
Has anyone seen this?
http://www.alistapart.com/articles/magazinelayout
it allows for automatic resizing of a set of images within a defined area.
This would be very nice as a plugin.
Offline
#113 2006-07-13 11:24:04
Re: Plugin Requests
cnolle, I also thought about that when i read. That’s true.
Plugin Composer — admin plugin to write your own plugins
Offline
#114 2006-07-13 12:18:59
Re: Plugin Requests
Yep, even commenters to that article think so.
(People always write “Text<strong>P</strong>attern”. Must be the all-caps of the logo that confuses the mind. I had the same problem in the beginning.)
Offline
#115 2006-07-13 19:22:20
Re: Plugin Requests
cabanadigital wrote:
Hi. I’m developing a commercial web site by using Textpattern. The site needs an exclusive area for clients. This plugin ign_password_protect almost suits my needs; however, I need certain modifications that my few abilities in Php and My SQL don’t allow me to reach.
I would like to know if there is someone (with a Pay Pal account) that could do that and how much it would cost.
This is what I need: the ign_password_protect allows creating new users with their own login and password. I would need to add a drop down with the site’s sections in order to associate to each user one particular section of the site.
Thanks,
José
This request should be coupled with the Section permissions. Without that, there is no reason to bind a user to a section.
Offline
#116 2006-07-13 23:31:12
Offline
#117 2006-07-14 18:39:27
Re: Plugin Requests
I’ll take a stab at the IMDB plugin. Didn’t even know IMDB had such features.
Offline
#118 2006-07-15 09:06:18
Re: Plugin Requests
Just a thought. I’m assuming that once claimed plugins are released, then pledgers make PayPal donations to the author, yes? So, since PayPal makes it so darn easy to create “donate” buttons, what if author’s created button code and we inserted it here next to the claimers name in the first post? That would make things a lot more streamlined. Buttons can be removed when author indicates pledges have been received.
Along the same lines, I’ve been thinking of adding a field in the plugin archive tables for a PayPal button, that way author’s get another focused line of support and incentive to update the tables with viable plugins. Anyone have feelings about that or see any problems? Let me know here. Thanks. Already done.
Last edited by Destry (2006-07-17 13:58:47)
Offline
#119 2006-07-17 14:05:04
Re: Plugin Requests
I would like to see Jakob’s ideas for a plugin that helps to customize the appearance of the admin panels get added as a request. Seems to have quite some relevance too.
Offline