Gossamer Forum
Home : Products : Others : Gossamer Community :

i had coding a MTAuthor.pm for MovableType 2.6 +

Quote Reply
i had coding a MTAuthor.pm for MovableType 2.6 +
in order to combine MovableType blog system user and Gforum user, just use GT Community to manage the two applicaion, i had coding a module named MTAuthor.pm ( Community::Apps::Local::MTAuthor; ), to create and manage account of MovableType blog system ( inside MT, account call author )

and, is work fine.

someone interest this, get me some idea?

my MSN: perlchina_at_hotmail.com
Quote Reply
Re: [tsingson] i had coding a MTAuthor.pm for MovableType 2.6 + In reply to
Excellent! I'm very interested in this.

Last edited by:

gotze: Jan 25, 2004, 1:49 AM
Quote Reply
Re: [tsingson] i had coding a MTAuthor.pm for MovableType 2.6 + In reply to
Great!! We need mod like that!
I'll hope to test that...
Thanks!
Max
The one with Mac OS X Server 10.4 :)
Quote Reply
Re: [maxpico] i had coding a MTAuthor.pm for MovableType 2.6 + In reply to
should be test next week, and more manage function will be add to control MovableType author and blog, one author will autocreate one blog and own full control the blog.


if you had any idea for MovableType or
link between community and MT, gforum,
please tell me , maybe PM is good.

: )

happy chinese new year everyone!!!!

my MSN: perlchina_at_hotmail.com
Quote Reply
Re: [tsingson] i had coding a MTAuthor.pm for MovableType 2.6 + In reply to
Looks very nice! Let me know if you need any help or have any questions.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [tsingson] i had coding a MTAuthor.pm for MovableType 2.6 + In reply to
Hi

I have just set-up Movable Type and 2.661 and I would be very interested in something to link the two SQL databases. I'd be happy to test if that can help, sorry I'm not savvy enough in programming to be of any other assistance.

Thanks, John
Significant Media
Quote Reply
Re: [Alex] i had coding a MTAuthor.pm for MovableType 2.6 + In reply to
In Reply To:
Looks very nice! Let me know if you need any help or have any questions.

Cheers,

Alex

thanks alex.
do you have a sample of community plugins?
i want to program a plugins for manage MovableType author / blog / content.

and combine the blog with gforum, so the same members post a new infomation can publish at his blog and gforum,

my MSN: perlchina_at_hotmail.com

Last edited by:

tsingson: Jan 26, 2004, 11:06 PM
Quote Reply
Re: [tsingson] i had coding a MTAuthor.pm for MovableType 2.6 + In reply to
OK, now you can download a MovableType link to Community copy test by yourself.


The main new features are:

MTAuthor help you autocreate author of MovableType.
MTBlog help you autocreate Blog of MovableType and set full permission to author if exists;
support more than one MovableType install copy of you local server.

to do:
add MovableType author and blog Import script just like Import from Gforum.

requirement:
GT Community 1.0 / 0.9
MovableType 2.661 / 2.5+
perl + mysql

install:
1. download MTAuthor.pm / MTBLog.pm and upload to you Community path /cgi-bin/community/private/lib/Community/Apps/Local/
2. set correct permission of the two files

3. edit your MovableType config file for this:

3.1 edit mt.cfg
add 2 line below:
Code:
MemberPath e:/intranet/www/blog/
MemberURL http://localhost/blog/
MemberPath point to you MT new blog path
MemberURL set WWW access to you new blog path

3.2 edit ConfigMgr.pm file add 2 line below inside sub init {}
Code:
## add for mutiuser blog manager , link to GT community
$mgr->define('MemberURL');
$mgr->define('MemberPath');

4. remember set 0777 to path MemberPath

5. OK, just use MTBLog / MT Author in you community.
Good Luck! :)


Test OK:

1. RedHat Enterprise Linux 3.0 + mysql 4.0 + perl 5.8 + apache 1.3 + php 4
2. Microsoft Windows 2000 + mysql 4 + activeperl 5.82 + apache 2.0 + php 4

Know bug:

1. Community with MTAuthor/MTBLog will no work fine at mod_perl 1.29


sample site: http://www.blogunion.com

need my demo test? please PM me or send a mail to tsingson@perlchina.org

my MSN: perlchina_at_hotmail.com
Quote Reply
Re: [tsingson] i had coding a MTAuthor.pm for MovableType 2.6 + In reply to
OK, I've installed it, added MTAuthor as application. Now, when setting a user, I get COL_DISPLAY_AUTHOR_ID -- what's that for now?
This is very exciting :-)
John
Quote Reply
Re: [gotze] i had coding a MTAuthor.pm for MovableType 2.6 + In reply to
COL_DISPLAY_AUTHOR_ID is of course the MT ID number.

Leave empty when creating a user from Community (set to Enabled), and a user is created and given an ID number in MT.

When looking at existing users, ones you have created in Community, since your MT-hookup, COL_DISPLAY_AUTHOR_ID will show the MT ID number.

Now on to finding cool ways of integrating MT and LSQL. It fits well with my LSQL trackback work:
http://www.gossamer-threads.com/perl/gforum/gforum.cgi?post=259285
Quote Reply
Re: [gotze] i had coding a MTAuthor.pm for MovableType 2.6 + In reply to
COL_DISPLAY_AUTHOR_ID is a language display item,
it's the MovableType author ID,
you can add to your community language list to show as you like.

my MSN: perlchina_at_hotmail.com
Quote Reply
Re: [gotze] i had coding a MTAuthor.pm for MovableType 2.6 + In reply to
John: can you tell us, how well MovableType scales? Let's imagie a Community site where every user has their own blog. Any idea if this would work for 100, 1000, 10000 users?

Tsingson: does your module/code handle the MT logins for the authors? I.e. do they still have to log into MT, or does Community now handle all the authorization?

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] i had coding a MTAuthor.pm for MovableType 2.6 + In reply to
Community handle the MovableType authorization is test now.........................

my MSN: perlchina_at_hotmail.com
Quote Reply
MovableType scalability In reply to
MTs scalability? I don't know. I think it mainly depends on the hardware. But MT is mainly a personal publishing system, and "out-of-the-box" not scalable at all - for example, the first page an administrator gets is a list of all the blogs he/she administers. The superadmins startpage would take a long time to load with anything over 25 or so blogs. That can of course be dealt with, but I think a lot of work needs be done to take it to a large scale. SixApart spent a lot of time and resources developing TypePad, a hosted MT-service.

Come to think of it, I can't quite figure out how licensing would work if you're doing commercial business.

John
Quote Reply
Re: [tsingson] i had coding a MTAuthor.pm for MovableType 2.6 + In reply to
Oh my. GCommunity creates MT users alright, but the passwords doesn't work. (I have added the user as an author to an existing blog)

John
Quote Reply
Re: [gotze] i had coding a MTAuthor.pm for MovableType 2.6 + In reply to
you miss a Community configuration

please modify /cgi-bin/community/private/community.conf

set 'system_store_clear_pass' => '1',

because the MT use crypt() not same as community crypt(), so , send clear password to MT

my MSN: perlchina_at_hotmail.com
Quote Reply
Re: [tsingson] i had coding a MTAuthor.pm for MovableType 2.6 + In reply to
add a new feature to MTBlog.pm , just make a default page at the new blog directory.

my MSN: perlchina_at_hotmail.com
Quote Reply
Re: [tsingson] i had coding a MTAuthor.pm for MovableType 2.6 + In reply to
Hi tsingson any news or updates?
It would be possible for you to create a new .tar package or something like that? It would be nice if this plugin allows an administrator of a site to offer users the creation of personal blogs using MT as part of the Community features.
Max
The one with Mac OS X Server 10.4 :)
Quote Reply
Re: [maxpico] i had coding a MTAuthor.pm for MovableType 2.6 + In reply to
now i try to program some patch to make MovableType / Gforum / LinkSQL2 work as one community base GComm.

someone blog new post will share between gforum and linksql2, the gforum reply post will return to blog, and all searchable at linksql2

one week later will be test open.

my MSN: perlchina_at_hotmail.com
Quote Reply
Re: [tsingson] i had coding a MTAuthor.pm for MovableType 2.6 + In reply to
Any news for the latest MT 3.11 plugin architecture?
Max
The one with Mac OS X Server 10.4 :)
Quote Reply
Re: [maxpico] i had coding a MTAuthor.pm for MovableType 2.6 + In reply to
Will this integration work with the newest version of Movable Type?