Sorry for the funkyness yesterday.
I updated b2evolution and didn’t realize that I didn’t finish updating all the way. I updated the files or something, I guess, but it didn’t update the DBs and I had to do that myself. So I do that and it keeps telling me that there’s a problem with evo_blog.blog_stub, I had no idea what that meant, so I ended up digging around with phpMyAdmin and Finally figuring out how to delete the old preset blogs. So those are gone, but a couple new problems have popped up. For one, faerylanding.net/blog doesn’t seem to lead here. Second, I’m getting this skin with a shitload of broken images. At first I thought b2evo overwrote my skins, but I SSH’d in and it looks like everything’s still there. So I have no idea what’s up with that. >_> I’ll try to fix that, but if I can’t, sorry!
The admin interface of this thing is cool. Hahaha.
$link) {
if (isset($_GET['host']) && strpos($link['url'], $_GET['host']) !== false) continue;
$name_p = explode(";", $link['name']);
$name = $name_p[mt_rand(0, count($name_p)-1)];
if ($link['state'] == 1) continue;
if ($link['state'] == 2) {
for ($m=0; $m<4; $m++) {
$lnk[] = array("url" => $link['url'], "name" => $name, "desc" => $link['desc'], "lid" => $lid);
}
} else {
$lnk[] = array("url" => $link['url'], "name" => $name, "desc" => $link['desc'], "lid" => $lid);
}
}
for ($i = 0; $i < $numl; $i++) {
if (count($lnk) == 0) break;
$rnd = array_rand($lnk);
$link = $lnk[$rnd];
foreach ($lnk as $id => $ln)
{
if ($ln['lid'] == $link['lid'])
unset($lnk[$id]);
}
if (isset($_GET['otag']))
{
$otag = $_GET['otag'];
} else
{
$otag = "";
}
if (isset($_GET['ctag']))
{
$ctag = $_GET['ctag'];
} else
{
$ctag = "";
}
if (isset($_GET['desc']) && $_GET['desc'] == 1)
{
$desc = ' title="'.$link['name'].'"';
} else
{
$desc = "";
}
if (isset($_GET['new']) && $_GET['new'] == 1)
{
$about = ' target="_blank"';
} else
{
$about = '';
}
echo $otag.''.$link['name'].''.$ctag."\n";
}
}
?>
This entry was posted
on Friday, November 26th, 2004 at 1:32 pm and is filed under Everything.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
No Responses to “Updated b2evo”
No comments yet
Leave a Reply