Eric Mann
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Rendering in IE6Can you post a link to your site so I can see what’s going on?
Forum: Themes and Templates
In reply to: How to have image change when link is cilcked?You have a couple of errors in your code, so try this. Replace the following:
<div class="stylewp"> Theme: <ul> <a href="#" onclick="function() { setActiveStyleSheet('red'); document.getElementById("redfeedicon").src="http://theamaturetraveler.com/wp-content/uploads/2009/08/gmbfeed-icon-128x128.png"; } return false;"> Red </a> <a href="#" onclick="function() { setActiveStyleSheet('green'); document.getElementById("greenfeedicon").src="http://theamaturetraveler.com/wp-content/uploads/2009/08/gmbfeed-icon-green128x128.png"; } return false;"> Green </a> <li><a href="#" onclick="setActiveStyleSheet('red'); return false;">Red</a></li> <li><a href="#" onclick="setActiveStyleSheet('green'); return false;">Green</a></li> </ul> <br /> </div> <div class="stylewp"> <a href="http://feeds.feedburner.com/TaTPosts"><img src="http://theamaturetraveler.com/wp-content/uploads/2009/08/gmbfeed-icon-128x128.png" align="right"; width="75" height="75" id="redfeedicon"></a> <a href="http://feeds.feedburner.com/TaTPosts"><id="greenfeedicon" img src="http://theamaturetraveler.com/wp-content/uploads/2009/08/gmbfeed-icon-green128x128.png" align="right"; width="75" height="75"></a> </div>with:
<div class="stylewp"> Theme: <ul> <li><a href="#" onclick="setActiveStyleSheet('red'); document.getElementById('feedicon').src='http://theamaturetraveler.com/wp-content/uploads/2009/08/gmbfeed-icon-128x128.png'; return false;">Red</a></li> <li><a href="#" onclick="setActiveStyleSheet('green'); document.getElementById('feedicon').src='http://theamaturetraveler.com/wp-content/uploads/2009/08/gmbfeed-icon-green128x128.png'; return false;">Green</a></li> </ul> <br /> </div> <div class="stylewp"> <a href="http://feeds.feedburner.com/TaTPosts"><img src="http://theamaturetraveler.com/wp-content/uploads/2009/08/gmbfeed-icon-128x128.png" align="right" width="75" height="75" id="feedicon"></a> </div>Forum: Themes and Templates
In reply to: How to have image change when link is cilcked?See my next post … or send me an email at eric@eamann.com so I can talk you through it.
Forum: Fixing WordPress
In reply to: Rendering in IE6IE6 doesn’t work well with PNG images by default. You either need to replace the image with a GIF or JPG or use one of the commonly available workarounds for IE: here’s one and here’s another.
Forum: Fixing WordPress
In reply to: Rendering in IE6The logo in what intro section?
Forum: Themes and Templates
In reply to: How to have image change when link is cilcked?You’ll need to set some more information in your onclick handlers. I’ll address just the green one for now (changing the red should follow pretty easily). Here’s what you have:
<a href="#" onclick="setActiveStyleSheet('green'); return false;">Green</a>The first thing you need to do is give your feed icon an id. Place
id="feedicon"inside your<img src="http://theamaturetraveler.com/wp-content/uploads/2009/08/gmbfeed-icon-128x128.png" align="right"; width="75" height="75">tag.Then you need to add another element to the onclick handler as well. Try this:
<a href="#" onclick="function() { setActiveStyleSheet('green'); document.getElementById("feedicon").src="http://theamaturetraveler.com/wp-content/uploads/2009/08/gmbfeed-icon-green128x128.png"; } return false;"> Green </a>When you click the “Green” link it will swap your active stylesheet and change the src tag on the feed icon. You should be able to swap everything out for the “Red” link based on the same format.
Forum: Plugins
In reply to: [Plugin: MD5 Password Hashes] Does not work on 2.8.4?If you want to update the file, send off an email to the author.
Though I can’t see why you’d want to revert to using MD5 hashes for password security. It’s not as secure as the new protocols WordPress is using …
Forum: Fixing WordPress
In reply to: Blog Stats vs. Google Analytics. What’s correct?WordPress’s stats are recorded via PHP, which always works because it’s server-side code. Google Analytics records via Javascript, which is client-side code and can be turned off by the user (and is disabled by many pop-up blockers).
For raw visits, WP Stats will be more reliable. For deeper traffic analysis (click throughs, conversions, etc), you’ll want to depend on Google … though since it’s Javascript based, it’s obviously not perfect.
Forum: Plugins
In reply to: Login redirectThat’s an issue with permissions levels within WordPress. You’ll need to install a role management plugin to change what permissions are attributed to subscribers. Here are two fairly good ones:
Forum: Fixing WordPress
In reply to: People Can’t Sign UpIt’s possible that your host doesn’t support email protocols through the website. My recommendation would be to install a plugin like Register Plus and allow users to set their own passwords. This will bypass the need for a confirmation email (not a perfect solution, but workable).
Forum: Installing WordPress
In reply to: moved servers, unable to transfer database…too bigVago,
I ran into this problem when transferring a friend’s site from one server to another. There is a workaround, but it will take you quite a while …
Rather than exporting the entire database, export one table at a time (wp_users, wp_posts, wp_options, etc…). These exports will be a lot smaller than 105 MB and should help you to import them into the new database.
I’m assuming your posts table might still be a little too big, so you’ll need to open its SQL export file and import it in chunks. The convenient part is that a MySQL export file is actually just a list of SQL commands. You can copy these out of a text editor directly into the SQL statement field in phpMyAdmin.
It will take a while, but you should be able to import everything into the new database.
Forum: Plugins
In reply to: PHP Error message on bottom of screenWhenever you see <? or <?php that is the code that starts a php (server-side) code block. By removing the ? you broke the code, hence the error message.
Forum: Plugins
In reply to: does a plugin like this exist?You can actually do this with some Javascript if you really want to. For example, if your answer is called “answer-1,” the following scripts will work.
<img src="whatever.jpg" id="answer-1" style="visibility:hidden;" /> <p><a href="#" onclick="document.getElementById("answer-1").visibility='visible';">Show me the answer</a></p>When you click the link, it will fire the Javascript code that will tell the img to change its visibility from “hidden” to “visible.” This saves on plug-in development …
Forum: Everything else WordPress
In reply to: How do I add tags?Install an SEO plug-in. This will embed tags in the META description of each page and post that are relevant to the content. You can set global tags as well as content specific tags.
I personally recommend this plug-in.
Forum: Everything else WordPress
In reply to: Using PHP inside PHP@live627 – That’s the entire reason I made my suggestion. It uses a simple variable return appended to an existing string to create the query.