sphyr
Forum Replies Created
-
Forum: Everything else WordPress
In reply to: Odd ReferrersDang it, and I almost posted my question there, too… :/
Forum: Themes and Templates
In reply to: Bullets = NoneThe Blogtricks link was the hint I was missing. I got rid of the bullet; I haven’t quite gotten the formatting right…
… but I’ll probably abandon Blogtricks. I like the CG-Referer better. ??Forum: Themes and Templates
In reply to: Bullets = NoneI changed the #Blogtricks to #blogtricks
I added this to my CSS:
#blogtricks ul {
list-style-type: none;
margin: 0;
padding: 0;
}
I bracketed the code in my index.php with ul tags.
Out of ideas. Might be hardcoded by the javascript?Forum: Themes and Templates
In reply to: Bullets = NoneI tried putting a ul (and then an li) in the index but still couldn’t get the bullet to go away.
Why would the capital B make a difference? I’ll try that when I get home.
The blogtricks site has unintelligible instructions for changing the output. :/
Is there a better tool for showing “last referrers”?Forum: Themes and Templates
In reply to: Bullets = NoneEr… I thought I explained in my post that didn’t work. :/
I think it has something to do with the javascript outputting a table format somehow.Forum: Plugins
In reply to: Alex’s Style SwitcherI had forgotten what I did, it’s been too many months. I should have documented it, but I didn’t think I’d be sharing it since I’m not the author. ??
Forum: Fixing WordPress
In reply to: Importing CommentsI asked months ago. App has never been written, apparently.
Forum: Plugins
In reply to: Alex’s Style SwitcherI took a comment from Beel several months ago and now I use this for my style switcher plugin. Basically it involved changing “home” to “siteurl” in several places. I’m posting the whole thing in case somebody sees an error, but it’s been working fine for me on WordPress 1.2 for several months now.
<?php
// WP Style Switcher
// version 1.2, 2004-03-03
//
// copyright 2004 Alex King
// https://www.alexking.org/software/wordpress/
/*
Plugin Name: WP Style Switcher
Plugin URI: https://www.alexking.org/software/wordpress/
Description: A CSS Style Switcher for WordPress.
Author: Alex King
Author URI: https://www.alexking.org/
*/// change this to the name of default style you want to use
$wp_style_default = 'Blue Swirly';
function wp_style_cookie($default = "") {
global $wp_style_default;
if (empty($default)) {
$default = $wp_style_default;
}
$expire = time() + 30000000;
$urlinfo = parse_url(get_settings('home'));
$path = $urlinfo['path'];
$domain = $urlinfo['host'];
if (!empty($_GET["wpstyle"])) {
setcookie("wpstyle"
,stripslashes($_GET["wpstyle"])
,$expire
,$path
,$domain
);
header("Location: ".get_settings('home'));
}
else if (empty($_COOKIE["wpstyle"])) {
setcookie("wpstyle"
,$default
,$expire
,$path
,$domain
);
}
}
function wp_stylesheet($default = "") {
global $wp_style_default;
if (empty($default)) {
$default = $wp_style_default;
}
if (!empty($_COOKIE["wpstyle"]) && file_exists('wordpress/wp-style/'.$_COOKIE["wpstyle"].'/style.css')) {
$style = $_COOKIE["wpstyle"];
}
else {
$style = $default;
}
echo get_settings('siteurl').'/wp-style/'.$style.'/style.css';
}
function wp_style_switcher($in_list = 1, $type = "text", $preview = 0) {
$styles = array();
$path = "wordpress/wp-style/";
if ($handle = opendir($path)) {
while (false !== ($file = readdir($handle))) {
if (is_dir($path.$file) && file_exists($path.$file.'/style.css') && substr($file, 0, 1) != '.') {
$styles[] = $file;
}
}
}
closedir($handle);
if (count($styles) > 0) {
asort($styles);
reset($styles);
$ss = '<ul id="styleswitcher">'."\n";
foreach ($styles as $style) {
switch ($type) {
case "sample":
if (file_exists('wp-style/'.$style.'/sample.gif')) {
$sample = get_settings('siteurl').'/wp-style/'.$style.'/sample.gif';
}
else {
$sample = get_settings('siteurl').'/wp-style/sample.gif';
}
$display = '<img src="'.$sample.'" alt="'
.htmlspecialchars($style).'" title="Use this Style" />';
break;
default:
$display = htmlspecialchars($style);
break;
}
if ($preview != 0) {
if (file_exists('wp-style/'.$style.'/screenshot.gif')) {
$display .= '
.'/wp-style/'.$style.'/screenshot.gif">Screenshot';
}
}
if (!empty($_COOKIE["wpstyle"]) && $_COOKIE["wpstyle"] == $style) {
$ss .= 'Forum: Fixing WordPress
In reply to: Podz… will you help me???She’s such a flirt. ??
Forum: Fixing WordPress
In reply to: WordPress for pinging Blog Aggregators?Ok. *I* have a problem with pinging and trackbacks, and I’m using WordPress 1.2. ??
Forum: Installing WordPress
In reply to: Specifying categories?It’s a bug in 1.2. If you’re in full-screen mode, you can’t see the categories for some reason.
Hit the middle button on the top right hand corner of your browser and make your screen, say 3/4 size. You should be able to see the categories then.Forum: Fixing WordPress
In reply to: WordPress for pinging Blog Aggregators?If you’re using 1.2, it has a problem with pinging and trackbacks.
Forum: Fixing WordPress
In reply to: Odd Login / Losing Style SheetThanks for all the help, Podz. The 1.2 install seems stable, at least for 1.5 hours which is a record for me. I imagine it’s some obscure conflict between 1.3, my sql dump, my php version, my godaddy host… who knows. It’s not exhibiting the same problem on your install.
I’m just relieved I have a working blog again, so I’m just going to stay with 1.2.Forum: Fixing WordPress
In reply to: Odd Login / Losing Style SheetThank, podz. Zip file is on the way.
I’m going to try to convert back to 1.2 and see what happens. I didn’t know I could do that before.Forum: Fixing WordPress
In reply to: Odd Login / Losing Style SheetI did an SQL dump, deleted the database. Created a new database with a different name and password. It’s even on a difference sql server at godaddy. Uploaded my SQL dump; *bam* wp-smilies redirects again. Took 10 seconds for the site to scramble itself.
Before I go switching hosts as my next attempt, would it be of any benefit to send my SQL dump to you and let you install it? If it instantly munges up on your host, then it’s not my host. The zip file is only 335k.