Search

Phrase

Display

 

Category

   

Order

 

Pagesize

Results

If the result list is too large, please consider these hints

  • Reduce the number of websites.
  • Add more keywords.
  • Use quotes for building terms from keywords. For example, the phrase banner image searches for all articles containing both words. However, "banner image" searches for the exact two-word phrase.
303 hits12345678910

161. Closing old comments

PubHacks, Tutorials, 8 KB, 431 words

Required: MySQL, PHP

If you have PHP enabled and a MySQL database, you can use this closecomments php file.

Keep in mind - this puppy is going to close the comments on your entire database - meaning every single blog that's on that installation using that database.

Step 1: As always, Unzip the shit.

Open the file in a text editor and change the bold printed stuff to your own information (leave the single quotes - just change the stuff inside them):

$database = 'your_database_name'; $dbuser = 'database_user'; $dbpass = 'database_password';

Then change this field:

$closedays = 10;

Right now it says, "I'll close all comments on any entry older than 10 days". You can change that...

continue reading ...

162. Cron Job For Scheduled Posting Is Not Working

Six Apart Knowledgebase, Manuals, 26 KB, 378 words

Question

I'm trying to set up a cron job for scheduled posting, but it's not working due to errors.

Answer

Error: Can't locate MT.pm

This means the cron job command is incorrect. It should be: cd /full/path/to/your/mt/install/; ./tools/run-periodic-tasks

For Windows servers, the run command should be the path and filename of your Perl interpreter, followed by the path to the tool. For example: C:Perlinperl.exe ools un-periodic-tasks

Be sure to set Start In to be the full path to your Movable Type directory. For example: C:Inetpubwwwrootmt...

continue reading ...

163. Why Are There $ In Some Tags And Not Others?

Six Apart Knowledgebase, Manuals, 26 KB, 423 words

Question

I see that in the examples in the documentation, some tags use $ and some don't. What is the difference?

Answer

Movable Type allows you to put $ in certain tags to distinguish them from other HTML tags if you wish. However, there are two basic types of Movable Type tags: variable tags and container tags.

A variable tag is a substitution tag. It is a placeholder for a dynamic piece of information. For example, the <$MTEntryTitle$> tag is replaced with the title of the entry.

A container tag contains what might be called a...

continue reading ...

164. Embedding smileys on your comments pop-ups

PubHacks, Tutorials, 7 KB, 341 words

Required: Java, Plugins

I did this so long ago and over so many migraines and fumbling around, I don't know exactly where I got it from. So I'm just going to wing it.

Put this in the <head> part of your comments template.

<!-- Script for clickable smilies --> <script language="javascript"> <!-- function writeImgTag(code) { var cache = document.comments_form.text.value; this.code = code; document.comments_form.text.value = cache + " :" + code + ":"; document.comments_form.text.focus(); } //--> </script>

You need the above code so that when someone clicks a smiley, the code pops up in the window they are typing in.

How I got them where they are is a bit...

continue reading ...

165. Can't Call Method

Six Apart Knowledgebase, Manuals, 26 KB, 367 words

Question

I get an error message that says Can't call method "[something]" on an undefined value.

Answer

Can't call method "maketext"

Make sure you uploaded the following files and folders, all in ASCII mode: • extlib/I18N/ (and everything inside) • extlib/Locale/ (and everything inside) • lib/MT/L10N.pm • lib/MT/L10N/en_us.pm

Can't call method "id" on an undefined value at lib/MT.pm line 770

Please upgrade to the latest version of Movable Type - there was a bug in previous versions where a Tag error in a Template would cause this error to appear, instead...

continue reading ...

166. No ability to create authors

Six Apart Knowledgebase, Manuals, 26 KB, 417 words

Question

I need to add a new author to the system, but I don't have an Authors shortcut and/or do not see a link to Create New Authors on the Authors Listing.

Answer

In version 3.2, only the System Administrator can create, edit and delete authors; Blog Administrators can only do the following with regard to authors: add an existing author to a weblog which they administer, and assign them permissions for that weblog

• modify the email address and permissions for an existing author who is assigned to a weblog which they administer

• remove an existing...

continue reading ...

167. HTML is Removed from MTPings

Six Apart Knowledgebase, Manuals, 26 KB, 328 words

Question

I'm using some custom HTML inside an MTPings container, but the code disappears when the page is published.

Answer

Note: This issue has been resolved in version 3.17 (released on June 2, 2005), so upgrading will eliminate the need for the workaround shown below.

This is a Known Issue with the version of the Nofollow plugin released with 3.16. To work around this problem, disable Sanitize: <MTPings sanitize="0">

continue reading ...

168. Narrow Entry Fields

Six Apart Knowledgebase, Manuals, 26 KB, 304 words

Question

Most of the text fields (such as for entry text or template code) are extremely narrow.

Answer

This is an indication that the styles for the interface are not being applied correctly.

Follow the instructions in Images, Styles, And Documentation Do Not Show Up to resolve this issue.

continue reading ...

169. Formatting Buttons Are Missing

Six Apart Knowledgebase, Manuals, 26 KB, 362 words

Question

When I create a new entry, sometimes I see buttons for bold, italic, underline, and links. I logged in today in a different browser and they are missing! What happened?

Answer

Formatting buttons appear only in browsers which are able to use them. The browser you are using may not support the functions at this time.

Currently, the browsers in which the buttons are available are: • Firefox • Mozilla 1.3+ • Netscape 7.1+ • Internet Explorer 5.5+ on Windows • Opera 8 on Windows • Camino for Mac

Safari does not properly support the Javascript for rich text...

continue reading ...

170. Install_driver failed

Six Apart Knowledgebase, Manuals, 26 KB, 394 words

Question

When running the script, I get an error message that says Got an error: install_driver(sql) failed:, where sql is either mysql, Pg or SQLite.

Answer

This error means you have configured mt-config.cgi to use a SQL database option, but the appropriate required module is either not installed, or is missing a component it needs.

If the error references mysql, then the DBD::mysql module is not properly installed.

If the error references Pg, then the DBD::Pg module is not properly installed.

If the error references SQLite, then the DBD::SQLite...

continue reading ...

171. Read/write/execute Equivalents Of UNIX Permissions

Six Apart Knowledgebase, Manuals, 26 KB, 295 words

Question

What are the read/write/execute equivalents for UNIX permissions 777 and 755?

Answer

• UNIX 777: • Owner: rwx • Group: rwx • Other: rwx • UNIX 755: • Owner: rwx • Group: r-x • Other: r-x

Key: r = readable w = writable x = executable - = no permission

continue reading ...

172. Allow HTML in Comments

Six Apart Knowledgebase, Manuals, 29 KB, 714 words

Question

I'd like my visitors to be able to use HTML when posting comments.

Answer

Enable option for weblog

• Navigate to Settings > Feedback : Comments1. • Locate the setting for Allow HTML2 and check the box to the left to turn the setting on. • Press the SAVE button to preserve the change.

Limit HTML Tags

The Sanitize feature protects your weblog from malicious code by permitting only certain HTML tags to be used in comments and TrackBack pings. The default set of allowed HTML tags and attributes is: a href, b, br, p, strong, em, ul, li,...

continue reading ...

173. 1.00 (2001.10.08)

Six Apart User Manual, Manuals, 21 KB, 358 words

1.00 (2001.10.08)

• First public release. • Improved diagnostics for some default-template-related, rebuild-related error messages. (Christina Wodtke) • Added ``Creating a new blog'' instructions to manual, and link to this section of the manual when creating a new blog. (Christina Wodtke) • Added MTEntryPrevious and MTEntryNext containers to refer to the previous and next entries, respectively. These tags should work in any entry context. (Christina Wodtke) • Tried to make install doc a little clearer by moving some Unix-specific stuff down into...

continue reading ...

174. Table 'mt_author' Already Exists

Six Apart Knowledgebase, Manuals, 26 KB, 381 words

Question

When attempting to install Movable Type, I get an error that says: Table 'mt_author' already exists.

Answer

This error means you are trying to use a MySQL database which has already been initialized with some or all of the Movable Type tables.

If you are trying to install for the first time, make sure the database you are using is new or has been cleared of any pre-existing Movable Type tables (i.e., if you are reinstalling from scratch and do not wish to preserve your old weblog data).

If you are trying to install again because...

continue reading ...

175. Rebuild Window Hangs And Never Finishes

Six Apart Knowledgebase, Manuals, 25 KB, 304 words

Question

When I try to rebuild my site, the window pops up that says "Rebuilding", but it never does anything.

Answer

Make sure you aren't running a product like ZoneAlarm or Norton Security. Firewall software and anything designed to interfere with popups can also interfere with the Movable Type application.

continue reading ...

176. Files Created With Zero Byte Size

Six Apart Knowledgebase, Manuals, 25 KB, 301 words

Question

After posting an entry or rebuilding, my files are empty (zero bytes).

Answer

This can be an indication that you have exceeded your space limit on your hosting account. You should correct the space problem immediately, as running out of space can cause corruption of your database.

continue reading ...

177. Show Display Name Instead Of Username On Weblog

Six Apart Knowledgebase, Manuals, 27 KB, 449 words

Question

How can I show the author's display name with entries instead of the username?

Answer

Version 3.2 And Higher

The appropriate tag for showing the display name in version 3.2 is <MTEntryAuthorDisplayName>, which is included in the latest default templates.

If you've upgraded from an earlier version and have not updated your templates to use this tag, look for the <MTEntryAuthor> tag in all of your templates, and replace it with <MTEntryAuthorDisplayName>; then rebuild your site to reflect the change.

Note that if an author does...

continue reading ...

178. Deleted Comment Overwrites Entry

Six Apart Knowledgebase, Manuals, 26 KB, 403 words

Question

I was deleting a comment from an entry, and when I saved the entry, its text was replaced with the comment I just deleted.

Answer

This is a documented bug with Safari.

If that's the browser you're using, here's what you need to do in order to delete a comment (until Safari fixes this bug):

When you delete a comment, you will be returned to the Edit Entry page for the entry the comment was posted on.

Do NOT save the entry at this point.

Instead, note which entry you're on, then leave the page by clicking on List & Edit Entries. Then find that entry in the list, click on its title, and you will be returned to the...

continue reading ...

179. Open_basedir Restriction In Effect

Six Apart Knowledgebase, Manuals, 26 KB, 394 words

Question

When viewing dynamic pages, I see the following error: Warning: main(): open_basedir restriction in effect. File(/full/path/to/cgi-bin/movabletype/php/mt.php) is not within the allowed path(s): (/full/path/to/tmp) in /full/path/to/blog/mtview.php on line 2

Answer

This error indicates that your host has enabled the PHP open_base_dir setting on your server. Your host needs to add your Movable Type installation folder to the allowed paths for this setting (i.e., add the file path referenced in the error as "not within the allowed...

continue reading ...

180. Upload File Too Large

Six Apart Knowledgebase, Manuals, 26 KB, 383 words

Question

When trying to upload a file, I received an error message saying it was too large. What is the size limit, and can it be changed?

Answer

The default setting for the size of uploaded files is 1MB, to prevent denial-of-service attacks. If you wish to increase this size limit, use the CGIMaxUpload setting in mt-config.cgi1.

For example, to increase the size limit to 1.5MB, use: CGIMaxUpload 1500000

Remember to uncomment the setting2 in mt-config.cgi. Save and transfer the configuration file back to your server in ASCII mode.

1 In versions prior to 3.2,...

continue reading ...

Comments

You want to post some comment? Please use the announcement post on the Movable Type Weblog.

If you want to give some feedback concerning a specific query, please use the feedback button that is shown after a search has completed.

mgs | September 27th 2005