TH
Forum Replies Created
-
Forum: Plugins
In reply to: Gravatars 2 and adminAha! That is one mystery cleared up at least. Thank you very much!
I have now edited every single old comment I have made and updated the url and e-mail. However, after deleting and refreshing the Gravatar cache, nothing has changed. Still no gravatars for poor mr. Admin. Maybe it takes a day or so for them to appear for a new user?
It still doesn’t explain why the weblog admin cannot have a local gravatar with an url link pointing to that weblog. Now with the slower new Gravatar system I would rather have my own gravatars stored locally instead of having to send out for one for each post.
Forum: Plugins
In reply to: referer on sidebar?“There are lots of administrator-side plugins to track access to your site”
Please feel free to recommend something if you feel that it is close to what we are looking for. I would very much want to bother with a list of incoming links in the sidebar, since I think it’s a cool feature and a kind of temporary reward for people who link to you.
Never seen any spam on the incoming links list in the contol panel. Then again hardly anybody has ever linked to me. 🙂 That’s a good point about abuse really. I can always remove it if it leads to problems.
Maybe recent comments will be a better idea. Those could also be abused of course.
I guess I just want to add something that looks impressive and automatic. As an old html and notepad man, all of these things are magic to me. Still, I don’t want to add irrelevant stuff like weather reports. Looking for clever fresh ideas and incoming links seems like one. Maybe.
Forum: Plugins
In reply to: referer on sidebar?I use one called Incoming links which simply lets you place the incoming links from the Dashboard on your sidebar. http://www.greatnexus.com/blog/105.html
There are no filter functions tho, so you may get multiple listings from one referrer.Also it hasn’t been updated since 2005. Currently looking for a more advanced alternative.
Forum: Fixing WordPress
In reply to: I would like only a part of the post text as a search resultThanks Otto. Everything is starting to make more sense now.
I got it to work just fine so now I’m happy.
Thanks again everyone!
Forum: Fixing WordPress
In reply to: I would like only a part of the post text as a search resultThis explains why I couldn’t find any code for it. I don’t actually have a
search.phpfile! Guess I’ll have to steal one from the default theme and see how that works. (I wonder where it went though. I’m sure there was one before)Thanks a lot guys!
Forum: Installing WordPress
In reply to: Can’t get bullets on sidebar categoriesOk… well. I can’t leave the page up in a broken state like this anymore so I have deactivated the Widget plugin and given up on it altogether. My theme is probably un-widgetable so that is that.
Would have deleted my support question if it had been possible.
Forum: Fixing WordPress
In reply to: Search busted. A WP 2.0 htaccess bug?The Search Everything-plugin didn’t do anything on my site, but the Search Pages-plugin works. Now I just have to figure out why there is no page saying “not found” when you search for something which isn’t there. Hmmm.
Forum: Fixing WordPress
In reply to: Search busted. A WP 2.0 htaccess bug?Wow. How surreal. I never knew this. I’ve been using WordPress since… forever. I guess there are pages on my other site that cannot be searched as well then.
Time to plug in. Thanks!Forum: Fixing WordPress
In reply to: Search busted. A WP 2.0 htaccess bug?I think search doesn’t work because there is a search field in the sidebar and upon entering something in it, say a word that is located on one of the pages, and clicking the button, I get nowhere.
Forum: Fixing WordPress
In reply to: XML Parsing Error: mismatched tag???Ok. Thank you Otto! I have turned off the rich editor. Hopefully that will help. Found a few suspiciously missing
</p>tags which seem to have caused the latest errors. Hopefully WP won’t autoformat quite so creatively without the rich editor. Thank you again!Forum: Fixing WordPress
In reply to: Adding streaming video to a postA little later: Jarret dropped me a line asking to know what I meant by saying that I figured it out. So here is what I did in case anyone else finds this thread and wants to have a try:
I should point out right at the beginning that this solution gives me a couple of validation errors. But it works perfectly.
First I made a custom page by copying index.php in my theme-directory and adding the lines:
<?php
/*
Template Name: Video
*/
?>At the very beginning, thereby making it a new page template.
At the very end of the same page I added:
<html>
<head>
</head>
<body>
<SCRIPT TYPE="text/javascript"><!--
function popup(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
href=mylink;
else
href=mylink.href;
window.open(href, windowname, 'width=384,height=304,scrollbars=no');
return false;
} // -->
</SCRIPT>
</body>
</html>Which is the javascript that pops up windows. As you can see there is a set size in it. This includes 16 pixels of player controls needed for a quicktime movie.
I haven’t tried this without the html-and body tags. Perhaps that would be more correct. I don’t know.
I saved the the template as video.php and uploaded it to my theme directory.
WordPress: Manage/Pages/Create New Page.
Choose “Video” in the Page Template dropdown box instead of Default Template. Create the page.
Under manage pages, the page Video should now be listed. Edit it.
In the Page Content-window, I wrote:
<code><a href="http://www.blabla.com/wp-content/video/video1.htm" onClick="return popup(this, 'video1');if(this.blur)this.blur()" onFocus="if(this.blur)this.blur()"><img src=" http://www.blabla.com/wp-content/video/video1.jpg"/></a></code>The
may be completely misused here. I don't know if it's really intended to use when inputing code. It works at least.This code pops up the html-document "video1.htm" from the thumbnail "video1.jpg"
To my video-directory http://www.blabla.com/wp-content/video/
I have uploaded the video file named video1.mp4 (encoded as streaming quicktime mov-video with an mp4 compression, or else mp4 won't work).
I have also uploaded the thumbnail video1.jpg and the html-document video1.htm, which consists of the following code:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Video title</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head><body bgcolor="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="384" height="304">
<param name="autoplay" value="true">
<param name="controller" value="true">
<param name="pluginspage" value="http://www.apple.com/quicktime/download/">
<param name="bgcolor" value="000000">
<embed src="video1.mp4" width="384" height="304" autoplay="true" controller="true" pluginspage="http://www.apple.com/quicktime/download/" bgcolor="000000"></embed>
</object>
</body>
</html>This should start autoplaying the movie with visible controllers on a black background. You don’t really need to specify a background color both in the body bgcolor-tag and the parameter. But I see that this is what I have in my page so I’m sending it on as it is in case some edit I do now without checking breaks anything. If people cannot see the movie, this embed code should offer them a link to where the codec can be found. Don’t know if that works in reality. For other video formats, you would need different code with a different object classid and codebase.
There are more QuickTime embed-parameters here if you need them:
http://www.apple.com/quicktime/tutorials/embed.htmlVoila!
This all looks kind of time consuming, but once you have done it all, making a copy of the html-document with slight changes to suit your next movie, isn’t very troublesome really. And by using a popup page instead of just popping up a video file in itself, you can make the window bigger (in the page template javascript) and add information text or whatever next to it.
Forum: Plugins
In reply to: Lazy-Gallery subfolders possible?Yeah jwurster, but you don’t have the folder icons, just the names of the folders. I want the nice folder icons. 🙂
NetMapel, isn’t the lazy-gallery folder supposed to be precisely there, -in the plugins directory? Seems odd that you should have to change any paths for that? Hmmm.
Forum: Plugins
In reply to: Lazy-Gallery subfolders possible?Good to hear that you made it all work. That test photo with the cat is sickeningly cute. hehe.
I still haven’t been able to solve my subfolder blues. Oh well… maybe it’s time to install something else. A flicker gallery perhaps.
Forum: Plugins
In reply to: Lazy-Gallery subfolders possible?I can’t even get the page to show, NetMapel. The gallery page, that is. The front page and everything on it’s menu seems to be present.
Anyway… did you create a folder “thumbs” inside your photo folder(s) and change it’s permissions so that Lazy-Gallery can write to it? You need to chmod it to 777. And make sure you have checked the option to have the gallery generate thumbnails for you (if that is what you want) – “Use Cacheing System: yes”.
Forum: Plugins
In reply to: Lazy-Gallery subfolders possible?Unfortunately, when I tried the changed file, it didn’t work. So it seems that this is still an unresolved post. Hopefully there will be an updated version of Lazy-Gallery soon.