Forum Replies Created

Viewing 15 replies - 1 through 15 (of 16 total)
  • You could put a redirect in the .htaccess for files that contain /pspnews/ and redirect it to a php file.

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /pspnews/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /wordpress/redirect.php [L]
    </IfModule>

    (I’m guessing the above from the standard .htaccess for WordPress, but you will need to check). This site had some useful .htaccess tips.

    or try:
    RewriteEngine on
    RewriteRule ^pspnews/(.+) /wordpress/redirect.php?original_url=$1 [nc]

    The redirect.php file would then read the database and find the year/month/date values for the article. It could then either do a header redirect

    header ("Location: $year/$month/$day/$original_url" ) ;

    or just set $_SERVER["QUERY_STRING"] = $original_url and then include the /wordpress/index.php

    Changing the margin in your css line:

    #contentwide{border-left:1px solid #f0f0f0;line-height:1.6em;margin:0 0 5px 150px;padding:0 0 0 10px;}

    to 100px for the left margin, allows the image to move back to the top, but puts the margin for the comments into your side navigation.

    Thus it seems that Firefox is ignoring this left margin directive, but IE is interpreting it strictly.

    I’m not sure what the actual solution is. Your “leftside” has a “float:left”, but you probably shouldn’t be using the “margin-left” on “content” since it means that your divs are on top of each other.

    To test out changes on your local computer (rather than live website), get the page source on one photo page and save it as temp.htm, then get the two CSS files and save as temp1.css, temp2.css (to get CSS, just copy the full URL for the file into Firefox and it displays as text). Edit the temp.htm to use your two temp CSS files. Viewing temp.htm in IE allows you to edit it or the CSS files to experiment.

    You have some nice photos – I especially liked the three meerkats (if that’s what they are). I could only find chipmonks around moraine lake

    Hope this helps

    Forum: Installing WordPress
    In reply to: Upgrade failed

    There are 1032 lines in functions-post.php (version 1.07/1.06), 31031 bytes. I suggest you check that it has correctly uploaded.

    My first action when I see a blank white page is to enable php errors to be visible by changing the .htaccess file

    Just include the line:

    php_flag display_errors on

    If this shows the problem, and you solve it, don’t forget to remove this line or comment it out.

    This might only work if your PHP is running as an Apache module

    Forum: Installing WordPress
    In reply to: offline editor

    Have you tried w.bloggar? I believe it works with WordPress.

    Oops. I’m too sleepy – it only allows you to write posts offline, not preview new themes.

    Hi Lollymom

    You have a duplication of the code <div style="text-align: center"> on the post of “October 31st, 2006”. This means that all text beyond that point is centered.

    To solve the problem, edit the entry for “October 31st, 2006” and click on the “HTML” button. (Be VERY careful what you do here – as a mistake can mess up your site even more.) You need to delete the duplicate code <div style="text-align: center">, which I think is at the start of the post.

    When finished click on “Update”, and hopefully, the problem should disappear.

    I suspect that this is caused by a bug in the WYSIWYG editor (TinyMCE) which doesn’t always balance its tags.

    For the benefit of others trying to solve similar problems, the technique I used is quite easy:
    1. Copy the source to a text editor (in Firefox: “View” -> “Page Source”, then select all (Ctrl-A) and copy (Ctrl-C).
    2. Save as a local html file
    3. View the local file in Firefox/IE. (click on the file in Explorer).
    4. If the CSS or JavaScript files haven’t loaded, check that they have the full URL in the source file and amend as necessary
    5. Search for the problem in the source and amend it – viewing in Firefox etc to see if it has been resolved.

    I have noticed that TinyMCE sometimes puts in spurious extra <strong> tags or even a <strong /> tag, which will cause the rest of the blog to appear in bold.

    Anyway, I hope this helps.

    In response to demand, I’ve put the PHP code on a diary page: https://www.reggie.net/diary/2006/08/31/downloadphp-code-for-forcing-download-of-mp3s-jpegs/

    This solution requires the user know what to do.

    I have a program download.php which I use to force downloads for any type of file including .jpeg .mp3

    There is an example on my Chinese blog https://www.reggie.net/chinese/?p=16

    If there is demand, I could remove the personal bits and make the program public.

    Forum: Fixing WordPress
    In reply to: m3u won’t play!

    Sorry. I should qualify that. It works for IE6 and Firefox, according to O’Reilly Dynamic HTML – The Definitive Reference, 2nd Edition.

    Forum: Fixing WordPress
    In reply to: m3u won’t play!

    I find that one solution is to add type="audio/x-mpegurl" to the a href="https://www.yourdomain.com/your_audio.m3u" code. You have to do this with HTML edit.

    For an example, see https://www.robbaker.org/take-my-hands-cd/

    This works for IE and Firefox.

    This is a problem in IE, not WordPress.

    IE doesn’t fit the Italics correctly across two lines.

    Solutions:

    1. Remove the italics
    2. Split the italics so that each segment is less than a line width.
    3. Change to another theme and see if the problem still exists
    4. If you find a theme that works, try to figure out how to modify the CSS of you current theme to make it work, then report back here.

    I discovered this problem a while back and chose route (2) as the easy way out.

    Here’s a link to the bug in IE (and possible solutions):
    https://www.positioniseverything.net/explorer/sidepages/IE_fdi.html

    Reggie98

    (@reggie98)

    Turn off the Italics in the post “Multi-Connector Cable from Cat5”

    Your sidebar in IE will magically jump back to the correct position!

    Here’s a link to the bug in IE (and possible solutions):
    https://www.positioniseverything.net/explorer/sidepages/IE_fdi.html

    Reggie98

    (@reggie98)

    Here’s a link to a page that shows the problem:

    https://www.positioniseverything.net/explorer/italicbug-ie.html

    Reggie98

    (@reggie98)

    There is a bug in Internet Explorer. If you put some text into Italics, and it spans two lines, the formatting of the page is messed up. This is an IE problem, not a WordPress problem, but it will undoubtably appear many more times in this forum. It will affect some themes, but maybe not all.

    A solution (ugly, but it works) is to put the italics on parts of the sentences that will be small enough to appear on a single line, missing out the spaces.

    This reveals that there is a small bug in WP or the post entry JavaScript – it isn’t possible to change the last few words of the post to Italics. I had to go to the HTML box for this.

    I have put the first sentence of this post in Italics. If you are reading in IE, it might be messed up.

    Reggie98

    (@reggie98)

    Hi andreavascellari

    It looks like part of your problem is with IE not correctly dealing with a <span lang=”EN-GB” style=”font-family: Wingdings” /> Hence, in IE you have lots of text in a strange font, but it is quite legible in Firefox.

    I suspect you are copying text from Word and placing it into the Post. When you use the copy in Word, it also includes lots of formating – useful for putting in other documents, but not onto the web. I suggest you save as a .txt file and then use Notepad or a text editor to select and copy your text.

    Haven’t discovered the problem with the sidebar.

    Cheers, Reggie
    https://www.reggie.net/

Viewing 15 replies - 1 through 15 (of 16 total)