Eric Mann
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Custom Fields auto-deleteI checked the database and everything looks intact. However I did find a bug in the theme which was preventing some of the values from parsing correctly. Oddly enough, this bug wasn’t present when I first delivered the theme, so I’m not sure what changed.
Thanks for the DB tip, apljdi!
Forum: Plugins
In reply to: How to make __() and _e() work in any PHP file?Not entirely necessary, it’s just setting a constant that’s used elsewhere in WordPress.
Forum: Themes and Templates
In reply to: Help: my logo doesn’t show upI checked your site in Firefox, IE7, and IE8 and the logo displays correctly in each without any issues. Which browser are you using that displays the gray box?
Also, you logo is a PNG image, not a JPEG …
Forum: Fixing WordPress
In reply to: How can i move my sidebar from the right to the left?You need to edit your CSS definitions to position one sidebar on the left and one on the right. If you don’t know how to do this on your own, find a developer to do it for you (Check http://jobs.wordpress.net).
Forum: Plugins
In reply to: How to make __() and _e() work in any PHP file?When you call an external php file this way, it’s not passing through WordPress and won’t have any of the typical WordPress functionality. To re-enable __() and _e() you have to include the WP initialization files.
So add this code to the top of your sample.js.php file:
<?php define('WP_USE_THEMES', false); require('./wp-blog-header.php'); ?>That should do it.
Forum: Everything else WordPress
In reply to: Any programs to blast one post to multiple WP sites?The first thing you can do is import an RSS feed into WordPress. This way you can post to one site and have RSS do the rest. Here’s a plug-in that will do just that:
http://wordpress.org/extend/plugins/rss-import/An alternative is to set up an email address to post to your blogs. Set up a dummy email address (i.e. iamnotarealperson2009@domain.com) and tell each of your blogs to import posts from that account (Settings >> Writing >> Post via email). Set this up once on each blog and each site will then log in to this account and import posts from it. All you do is email your content.
A third alternative is to use a program like Windows Live Writer that uses WordPress’ built-in XMLRPC features. You write the post in Live Writer and then hit “Publish” for each blog. It’ll take a little longer than sending an email, but you don’t have to worry about someone else finding your email address and spamming your network.
Let me know if you have any questions.
Forum: Everything else WordPress
In reply to: Any programs to blast one post to multiple WP sites?There are ways to do this, but I don’t recommend any of them. Blasting your posts to multiple sites is a devious tactic used by many spammers to artificially raise their Google score and web traffic. It’s frowned upon in nearly every blogging circle, and actually prohibited in most.
But … if you’re dead-set on doing this, respond back and I can give you some pointers …
Forum: Plugins
In reply to: Preventing ‘first post’ abuseUse Akismet. It’s free and bundled already with WordPress. It will compare comments and commenters against a database of spam and mark spammy comments as such. There’s also an option to have spam messages automatically delete after 1 month (this gives you the chance to double check and see if it’s working correctly).
Forum: Everything else WordPress
In reply to: Pull data from an asp.net databaseYou _could_ do this with an iframe, but I wouldn’t recommend it. That’s sloppy and some browsers will just kick it out (particularly if people are using ad blocking software).
If your client needs to access information from a MS SQL database, you can do this directly within PHP. Just make sure you are using the right version! But use the mssql_connect() function to connect to the database, then you can pass queries natively in PHP and use the data elsewhere in WordPress.
There’s more detail about mssql_connect() here: http://us2.php.net/function.mssql-connect
Forum: Fixing WordPress
In reply to: Posts 2,3 and 4 horizontally below post 1For that, you’ll need to set up a custom loop in your theme. It will need to generate your first post with one set of CSS classes and then loop through the next 3 with a different set of classes.
Read this for more detail: http://codex.wordpress.org/The_Loop#Multiple_Loops
Forum: Fixing WordPress
In reply to: Link with parametersUse a filter: http://codex.wordpress.org/Plugin_API/Filter_Reference
You can hook a filter on to the blogroll and have it append the GA click handler to each link in the list.
Forum: Fixing WordPress
In reply to: WordPress Powered Site with Blog on Different URLMy recommendation would be to have the site on http://www.domain.com/ and the blog on http://www.domain.com/blog/.
Then, you can set up your rewrite rules (in htaccess or with a Rewriter plug-in) to do the heavy lifting. Basically, point http://blog.domain.com/* to http://www.domain.com/blog/*
Realistically, people would be able to use either the subdomain or the subfolder to see the same content.
Forum: Themes and Templates
In reply to: iNove Jquery and MooTools – Featured Content GalleryYes, there is. Mootools and jquery don’t really like each other if you try to call them at the same time. Read this article on my site: http://mindshare.eamann.com/talk-it-out/
I ran into this problem when I was using a e-commerce plug-in, too. This solution worked for me and so far everyone else who’s tried it. Give it a whirl and let me know if you have any questions.
Forum: Requests and Feedback
In reply to: Plugin Repository Problem (Bug?)I’m not sure what’s going on, but I can see the “lite” version on the “other versions” download page here: http://wordpress.org/extend/plugins/section-widget/download/
I had this problem a while ago with one of my plug-in submissions. In my case, the server thought I had already uploaded some files and refused to accept my check-in. It kept kicking out error messages (the direct download of the new version would work, but nothing changed on the download page).
I fixed this by comparing my local version with subversion (svn diff) and deleting whatever files it said weren’t up-to-date (svn delete xxx.php). I had back-ups elsewhere on my hard drive, so after ensuring I was up-to-date, I threw them in the folder and checked everything back in. It seemed to work for me.
I can’t say for sure this is the problem you’re having, but it’s one possibility.
Forum: Plugins
In reply to: [Plugin: JS Banner Rotate] Updatejimm4444 – Any chance you can give us a link to your site so we can see what’s going on? I might be able to recommend a few specific CSS changes to fix this …