Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-11-21 20:22:05

whaleen
Member
From: Portland
Registered: 2006-05-11
Posts: 373
Website

What does your fresh install look like?

Wondering if others want to share what their default install of TXP looks like/does. The question arises each time I do one myself. I find myself spending much time stripping away that which I do not need and then adding things I do need like the several essential plugins.

Perhaps someone out there has done work on making the database-population-stage different from the default. One might want their own set of page templates, forms, etc… to come ‘out of the box’. I know it has crossed my mind.

It’s really not a huge time drain to load in all MY defaults, but it seems likely that someone here in the TXP community who know more about PHP MySql than me has some ideas.

So to generalize answers: Please mention what you do differently when installing. Things that require mods to the default package.


txtstrap (Textpattern + Twitter Bootstrap + etc…)

Offline

#2 2008-11-21 21:43:29

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: What does your fresh install look like?

If you want a simpler way of installing plugins, run the following from a shell:

# add a space and the table name after "txp_plugin" to dump another table
mysqldump -u dbUser -p dbName txp_plugin > defaultPlugins.sql

Or you could check the “txp_plugin” table in phpMyAdmin and export that. Either way, once you have your SQL file, import that into your new TXP db.

Last edited by jm (2008-11-21 21:45:22)

Offline

#3 2008-11-21 22:14:28

whaleen
Member
From: Portland
Registered: 2006-05-11
Posts: 373
Website

Re: What does your fresh install look like?

Or you could check the “txp_plugin” table in phpMyAdmin and export that. Either way, once you have your SQL file, import that into your new TXP db.

That’s a great idea! In the future I will just use a previously maintained txp db with all my defaults to put in place of a fresh txp db.

Do other do this? I wonder if folks would be willing to post a complete dump of their db. Given that sensitive info is omitted of course. I would certainly post mine once I’m confident it’s is stripped of private details. We’ll see once I’m all set.

How do folks feel about the prospect of a txp templates style site which store people’s default dbs rather that temples. One could post theirs as being suitable for different applications such as ‘magazine’ ‘blog’, etc… Same model as txp garden or another.

You’d have a checklist of the various things to alter per your server environment and db connection scenario. Of the top of me head I can’t think of other details one would need to alter in a ‘txp db template’.

This interests me however I’m sure there are negative implications though they surely could be addressed. Perhaps we could address those here? Just a thought.


txtstrap (Textpattern + Twitter Bootstrap + etc…)

Offline

#4 2008-11-21 22:26:52

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: What does your fresh install look like?

The downside of a db dump is it’s not really easy to read, so the author would need to post specific details of the setup. Also, you could stuff some malicious code in the dump, but I guess the end-user could do a quick search for script, php, and img tags.

Offline

#5 2008-11-21 22:39:14

whaleen
Member
From: Portland
Registered: 2006-05-11
Posts: 373
Website

Re: What does your fresh install look like?

Also, you could stuff some malicious code in the dump, but I guess the end-user could do a quick search for script, php, and img tags.

Certainly an ‘at your own risk’ sort of thing. If there were a repository for such dumps it would only list dumps from trusted sources. :)


txtstrap (Textpattern + Twitter Bootstrap + etc…)

Offline

#6 2008-11-21 22:53:21

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: What does your fresh install look like?

For myself i wrote php-file which looks for *.plg files in some dir. Each file contains plugin code – usual for all of us base64 code. After general setup i just run this file and all plugins i need are installed and activated :)


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#7 2008-11-22 08:22:05

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: What does your fresh install look like?

whaleen, I usually just install a clean copy of TXP and then add what I want, but sometimes I follow this method if I need to have plugins/forms/pages already installed.

Offline

#8 2008-11-24 22:33:28

whaleen
Member
From: Portland
Registered: 2006-05-11
Posts: 373
Website

Re: What does your fresh install look like?

whaleen, I usually just install a clean copy of TXP and then add what I want, but sometimes I follow this method if I need to have plugins/forms/pages already installed.

That’s a great write-up. Thanks. I like that new site too. I’ve been gone for a few months and haven’t seen it yet.


txtstrap (Textpattern + Twitter Bootstrap + etc…)

Offline

Board footer

Powered by FluxBB