RSS Icon Twitter Icon Linked In Icon

Web Threads » Development

Wordpress Plugin Exec-PHP Hack – Disable For Post

If you’re running the Exec-PHP plugin in Wordpress and struggling with posting your php code blocks without it being executed, I’ve made a quick hack to disable this plugin per post by adding a custom field. You just have to remember not to upgrade automatically or you’ll lose the changes. With a few lines of code and a Custom field in on your post entry page, you can disable Exec-PHP and it will skip this content. Note it will still run on other elements, just not the content.

Read entire Article »

1 person likes this post.

Filed under: Development

Assign Guest Posts to New Member in SMF

Or as I like to call it, “Query to assign guest posts to user who threw a tantrum and deleted their account and then wanted it back again.” We get these at least twice a year, usually around the holidays.
Read entire Article »

Filed under: Development

Remove Spam Private Message Content in SMF

A useful MySQL query to delete a spam PM content on Simple Machines Forum.

Read entire Article »

Filed under: Development

Drupal: mq4 File Attachments Open As Plain Text

A quick fix this morning for a client with a Drupal issue, links to mq4 files were opening as plain text in the browser window instead of presenting a download file prompt.

This is due to the server configuration, apache mime-types. It is usually easily fixed in an .htaccess file.
Read entire Article »

Filed under: Development

A Quick Note on Just Host

This week I migrated a site for a client, from Heart Internet over to Just Host. In the process I found a few tidbits missing from the Just Host knowledge base, about server FTP and SSL details.

Read entire Article »

Filed under: Development, Website Management