 |
boardom b2 message board
|
View previous topic :: View next topic |
Author |
Message |
boneless
Joined: 05 Sep 2004 Posts: 29 Location: Netherlands
|
Posted: Sat Sep 11, 2004 8:15 am Post subject: Problem with Internet Explorer |
|
|
Hi all,
how come IE6 often don't show the entire blog, or doesn't show the entire commetnspage? In mozilla there is no problem, but I'd like to have IE show the entire blog as well. Refreshing a few times helps, but I don't think many visitors will try that, they'll be gone before hitting ctrl+f5.
Any solution?
Boneless
www.boneless.nl |
|
Back to top |
|
 |
Sigg3
Joined: 03 Jul 2003 Posts: 626 Location: Oslo, Norway
|
|
Back to top |
|
 |
boneless
Joined: 05 Sep 2004 Posts: 29 Location: Netherlands
|
Posted: Mon Sep 13, 2004 3:45 pm Post subject: |
|
|
Checked it, but that is not the problem.
If I put those lines into blog.header.php the problem is still there. You have to hit refresh 3 or 4 times before explorer shows all posts / all comments including the submit comment part.
www.boneless.nl
this is the blog.header.php code:
<?php
$use_cache = 1;
$use_gzipcompression = 1;
/* Including config and functions files */
require_once (dirname(__FILE__).'/b2config.php');
$b2blah = dirname(__FILE__).'/';
if ( (substr($b2inc,0,1)=='/') || (substr($b2inc,1,1)==':') ) {
$b2blah='./';
}
require_once ($b2blah.$b2inc.'/b2template.functions.php');
require_once ($b2blah.$b2inc.'/b2vars.php');
require_once ($b2blah.$b2inc.'/b2functions.php');
require_once ($b2blah.$b2inc.'/xmlrpc.inc');
require_once ($b2blah.$b2inc.'/xmlrpcs.inc');
$b2varstoreset = array('m','p','posts','w','c', 'cat','withcomments','s','search','exact', 'sentence','poststart','postend','preview','debug', 'calendar','page','paged','more','tb', 'pb','author','order','orderby');
for ($i=0; $i<count($b2varstoreset); $i += 1) {
$b2var = $b2varstoreset[$i];
if (!isset($$b2var)) {
if (empty($HTTP_POST_VARS[$b2var])) {
if (empty($HTTP_GET_VARS[$b2var])) {
$$b2var = '';
} else {
$$b2var = $HTTP_GET_VARS[$b2var];
}
} else {
$$b2var = $HTTP_POST_VARS[$b2var];
}
}
}
/* Connecting to the db */
dbconnect();
/* Sending HTTP headers */
if (!$is_winIE) {
@header ("Last-Modified: $last_modified_header");
@header ('ETag: "'.md5($last_modified_header.$pagenow).'"');
}
@header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
@header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1
@header("Cache-Control: post-check=0, pre-check=0", false);
@header("Pragma: no-cache"); // HTTP/1.0
@header ("X-Pingback: $pathserver/xmlrpc.php");
/* Getting settings from db */
$posts_per_page = get_settings('posts_per_page');
$what_to_show = get_settings('what_to_show');
$archive_mode = get_settings('archive_mode');
$dateformat = stripslashes(get_settings('date_format'));
$timeformat = stripslashes(get_settings('time_format'));
$autobr = get_settings('AutoBR');
$time_difference = get_settings('time_difference');
/* First let's clear some variables */
$whichcat = '';
$whichauthor = '';
$result = '';
$where = '';
$limits = '';
$distinct = '';
if ($pagenow != 'b2edit.php') { timer_start(); }
if ($posts) {
$posts = (int)$posts;
$posts_per_page=$posts;
}
// if a month is specified in the querystring, load that month
if ($m != '') {
$m = ''.intval($m);
$where .= ' AND YEAR(post_date)='.substr($m,0,4);
if (strlen($m)>5)
$where .= ' AND MONTH(post_date)='.substr($m,4,2);
if (strlen($m)>7)
$where .= ' AND DAYOFMONTH(post_date)='.substr($m,6,2);
if (strlen($m)>9)
$where .= ' AND HOUR(post_date)='.substr($m,8,2);
if (strlen($m)>11)
$where .= ' AND MINUTE(post_date)='.substr($m,10,2);
if (strlen($m)>13)
$where .= ' AND SECOND(post_date)='.substr($m,12,2);
}
if ($w != '') {
$w = ''.intval($w);
$where .= ' AND WEEK(post_date,1)='.$w;
}
// if a post number is specified, load that post
if (($p != '') && ($p != 'all')) {
$p = intval($p);
$where = ' AND ID = '.$p;
}
// if a search pattern is specified, load the posts that match
if (!empty($s)) {
$s = addslashes_gpc($s);
$search = ' AND (';
// puts spaces instead of commas
$s = preg_replace('/, +/', '', $s);
$s = str_replace(',', ' ', $s);
$s = str_replace('"', ' ', $s);
$s = trim($s);
if ($exact) {
$n = '';
} else {
$n = '%';
}
if (!$sentence) {
$s_array = explode(' ',$s);
$search .= '(post_title LIKE \''.$n.$s_array[0].$n.'\') OR (post_content LIKE \''.$s_array[0].'\')';
for ( $i = 1; $i < count($s_array); $i = $i + 1) {
$search .= ' OR (post_title LIKE \''.$n.$s_array[$i].$n.'\') OR (post_content LIKE \''.$n.$s_array[$i].$n.'\')';
}
$search .= ' OR (post_title LIKE \''.$n.$s.$n.'\') OR (post_content LIKE \''.$n.$s.$n.'\')';
$search .= ')';
} else {
$search = ' AND ((post_title LIKE \''.$n.$s.$n.'\') OR (post_content LIKE \''.$n.$s.$n.'\'))';
}
}
// category stuff
if ((empty($cat)) || ($cat == 'all') || ($cat == '0')) {
$whichcat='';
} else {
$cat = ''.urldecode($cat).'';
$cat = addslashes_gpc($cat);
if (stristr($cat,'-')) {
$eq = '!=';
$andor = 'AND';
$cat = explode('-',$cat);
$cat = intval($cat[1]);
} else {
$eq = '=';
$andor = 'OR';
}
$cat_array = explode(' ',$cat);
$whichcat .= ' AND (post_category '.$eq.' '.intval($cat_array[0]);
for ($i = 1; $i < (count($cat_array)); $i = $i + 1) {
$whichcat .= ' '.$andor.' post_category '.$eq.' '.intval($cat_array[$i]);
}
$whichcat .= ')';
}
// author stuff
if ((empty($author)) || ($author == 'all') || ($author == '0')) {
$whichauthor='';
} else {
$author = ''.urldecode($author).'';
$author = addslashes_gpc($author);
if (stristr($author, '-')) {
$eq = '!=';
$andor = 'AND';
$author = explode('-', $author);
$author = ''.intval($author[1]);
} else {
$eq = '=';
$andor = 'OR';
}
$author_array = explode(' ', $author);
$whichauthor .= ' AND (post_author '.$eq.' '.intval($author_array[0]);
for ($i = 1; $i < (count($author_array)); $i = $i + 1) {
$whichauthor .= ' '.$andor.' post_author '.$eq.' '.intval($author_array[$i]);
}
$whichauthor .= ')';
}
$where .= $search.$whichcat.$whichauthor;
if ((empty($order)) || ((strtoupper($order) != 'ASC') && (strtoupper($order) != 'DESC'))) {
$order='DESC';
}
// order by stuff
if (empty($orderby)) {
$orderby='date '.$order;
} else {
// used to filter values
$allowed_keys = array('author','date','category','title');
$orderby = urldecode($orderby);
$orderby = addslashes_gpc($orderby);
$orderby_array = explode(' ',$orderby);
if (!in_array($orderby_array[0],$allowed_keys)) {
$orderby_array[0] = 'date';
}
$orderby = $orderby_array[0].' '.$order;
if (count($orderby_array)>1) {
for ($i = 1; $i < (count($orderby_array)); $i = $i + 1) {
// Only allow certain values for safety
if (in_array($orderby_array[$i],$allowed_keys)) {
$orderby .= ',post_'.$orderby_array[$i].' '.$order;
}
}
}
}
if ((!$whichcat) && (!$m) && (!$p) && (!$w) && (!$s) && empty($poststart) && empty($postend)) {
if ($what_to_show == 'posts') {
$limits = ' LIMIT '.$posts_per_page;
} elseif ($what_to_show == 'days') {
$lastpostdate = get_lastpostdate();
$lastpostdate = mysql2date('Y-m-d 00:00:00',$lastpostdate);
$lastpostdate = mysql2date('U',$lastpostdate);
$otherdate = date('Y-m-d H:i:s', ($lastpostdate - (($posts_per_page-1) * 86400)));
$where .= ' AND post_date > \''.$otherdate.'\'';
}
}
if ( !empty($postend) && ($postend > $poststart) && (!$m) &&(!$w) && (!$whichcat) && (!$s) && (!$p)) {
if ($what_to_show == 'posts' || ($what_to_show == 'paged' && (!$paged))) {
$poststart = intval($poststart);
$postend = intval($postend);
$posts = $postend - $poststart;
$limits = ' LIMIT '.$poststart.','.$posts;
} elseif ($what_to_show == 'days') {
$poststart = intval($poststart);
$postend = intval($postend);
$posts = $postend - $poststart;
$lastpostdate = get_lastpostdate();
$lastpostdate = mysql2date('Y-m-d 00:00:00',$lastpostdate);
$lastpostdate = mysql2date('U',$lastpostdate);
$startdate = date('Y-m-d H:i:s', ($lastpostdate - (($poststart -1) * 86400)));
$otherdate = date('Y-m-d H:i:s', ($lastpostdate - (($postend -1) * 86400)));
$where .= ' AND post_date > \''.$otherdate.'\' AND post_date < \''.$startdate.'\'';
}
} else {
if (($what_to_show == 'paged') && (!$p) && (!$more)) {
if ($pagenow != 'b2edit.php') {
$pgstrt = '';
if ($paged) {
$pgstrt = (intval($paged) -1) * $posts_per_page . ', ';
}
$limits = 'LIMIT '.$pgstrt.$posts_per_page;
} else {
if (($m) || ($p) || ($w) || ($s) || ($whichcat)) {
$limits = '';
} else {
$pgstrt = '';
if ($paged) {
$pgstrt = (intval($paged) -1) * $posts_per_page . ', ';
}
$limits = 'LIMIT '.$pgstrt.$posts_per_page;
}
}
}
elseif (($m) || ($p) || ($w) || ($s) || ($whichcat) || ($author)) {
$limits = '';
}
}
if ($p == 'all') {
$where = '';
}
$now = date('Y-m-d H:i:s',(time() + ($time_difference * 3600)));
if ($pagenow != 'b2edit.php') {
if ((empty($poststart)) || (empty($postend)) || !($postend > $poststart)) {
$where .= ' AND post_date <= \''.$now.'\'';
}
$where .= ' AND post_category > 0';
$distinct = 'DISTINCT';
if ($use_gzipcompression) {
// gzipping the output of the script
gzip_compression();
}
}
$request = " SELECT $distinct * FROM $tableposts WHERE 1=1".$where." ORDER BY post_$orderby $limits";
if ($preview) {
$request = 'SELECT 1-1'; // dummy mysql query for the preview
// little funky fix for IEwin, rawk on that code
$is_winIE = ((preg_match('/MSIE/',$HTTP_USER_AGENT)) && (preg_match('/Win/',$HTTP_USER_AGENT)));
if (($is_winIE) && (!isset($IEWin_bookmarklet_fix))) {
$preview_content = preg_replace('/\%u([0-9A-F]{4,4})/e', "''.base_convert('\\1',16,10).';'", $preview_content);
}
}
//echo $request;
$result = mysql_query($request);
?> |
|
Back to top |
|
 |
Sigg3
Joined: 03 Jul 2003 Posts: 626 Location: Oslo, Norway
|
|
Back to top |
|
 |
boneless
Joined: 05 Sep 2004 Posts: 29 Location: Netherlands
|
Posted: Mon Sep 13, 2004 3:52 pm Post subject: |
|
|
Yes i did, even tried it with a restart and a 'Window Washer'.
The problem isnt that IE don't show the latest posts, it just doens't show all posts. The page ends halfway in IE. |
|
Back to top |
|
 |
Sigg3
Joined: 03 Jul 2003 Posts: 626 Location: Oslo, Norway
|
|
Back to top |
|
 |
boneless
Joined: 05 Sep 2004 Posts: 29 Location: Netherlands
|
Posted: Mon Sep 13, 2004 4:07 pm Post subject: |
|
|
Correct, problem is that if you saw that at first visit, you we're probably just lucky!
I had the same luck just now, but when you click on refresh or home, or just revisit, it ends at 'vreemde tekens'.
Maybe I just have to wish future visitors all the luck, so they can see all posts  |
|
Back to top |
|
 |
Sigg3
Joined: 03 Jul 2003 Posts: 626 Location: Oslo, Norway
|
Posted: Tue Sep 14, 2004 8:42 am Post subject: |
|
|
You're right! I refreshed and only 1 post showed. How strange.
Your Options are set to monthly, I presume. Have you looked for anything that could be relevant in your b2config.php?
The refresh thing @ / refreshes correctly... Hmm.. _________________ Sigg3 dot net - because you're worth it! | b2 Cafelog Resource Center |
|
Back to top |
|
 |
boneless
Joined: 05 Sep 2004 Posts: 29 Location: Netherlands
|
Posted: Tue Sep 14, 2004 5:21 pm Post subject: |
|
|
I ca't find anything that might cause the problem, but then, what do I know about code. Maybe you can see anything weird in it, so here is my b2config.php (except for some accessdetails to my database and stuff):
<?php
/* *
* b2's config file *
* */
# Reminder: everything that starts with #, /* or // is a comment
/* Start editing */
# $siteurl is your blog's URL: for example, 'http://mydomain.com' (no trailing slash !)
# $blogfilename is the name of the default file for your blog
# $blogname is the name of your blog
$siteurl = 'http://www.boneless.nl/blog';
$blogfilename = 'index.php';
$blogname = "De wondere wereld van boneless.nl";
$blogdescription = "Beschouwingen, meningen, anekdotes en andere nietszeggende teksten van de altijd vriendelijke en goedgemutste boneless";
# fill these only if you have a Cafelog ID,
# this enables your blog to be in the Recently Updated b2 blogs list.
# to obtain this ID, e-mail [email protected] with these details:
# name of the weblog, weblog's URL, your e-mail address, and a password
# in the future, the password will allow you to change these details online
$cafelogID = '';
$use_cafelogping = 0; # set this to 1 if you do have a Cafelog ID
# $pathserver is where you have uploaded b2: for example, 'http://mydomain.com' (no ending slash !)
# by default b2 is set to run in the folder your blog resides, same as $siteurl
$pathserver = 'http://www.boneless.nl/blog';
# your email (obvious uh ?)
$admin_email = '[email protected]';
# set this to 0 or 1, whether you want new users to be able to post entries once they registered
$new_users_can_blog = 1;
# set this to 0 or 1, whether you want to allow users to register on your blog.
$users_can_register = 0;
# day at the start of the week: 0 for Sunday, 1 for Monday, 2 for Tuesday, etc
$start_of_week = 1;
// ** MySQL settings **
# fill with your database details
$dbname = 'boneless_nl_-_'; // the name of the database
$dbhost = 'localhost'; // 99% chances you won't need to change this value
$dbusername = ''; // your MySQL username
$dbpassword = '; // ...and password
# database tables' names (change them if you want to have multiple b2's in a single database)
$tableposts = 'b2posts';
$tableusers = 'b2users';
$tablesettings = 'b2settings';
$tablecategories = 'b2categories';
$tablecomments = 'b2comments';
// ** Post preview function **
# set this to 1 if you want to use the 'preview' function
$use_preview = 1;
// ** Spell Checker functions **
# set this to 0 to disable the spell checker, or 1 to enable it
$use_spellchecker = 1;
// ** Text formatting options **
# these options can help you format your text without using too much html
$use_bbcode = 0; // use BBCode, like bold
$use_gmcode = 0; // use GreyMatter-styles: **bold** \italic\ __underline__
$use_quicktags = 1; // buttons for HTML tags (they won't work on IE Mac yet)
# IMPORTANT! set this to 0 if you are using Chinese, Japanese, Korean,
# or other double-bytes languages
$use_htmltrans = 1;
# this could help balance your HTML code. if it gives bad results, set it to 0
$use_balanceTags = 1;
# this would convert quotes into smart/curly quotes, set it to 1 to enable it
$use_smartquotes = 0;
// ** Image upload **
# set this to 0 to disable file upload, or 1 to enable it
$use_fileupload = 1;
# enter the real path of the directory where you'll upload the pictures
# if you're unsure about what your real path is, please ask your host's support staff
# note that the directory must be writable by the webserver (ChMod 766)
# note for windows-servers users: use forwardslashes instead of backslashes
#$fileupload_realpath = '/home/your/site/b2/images';
$fileupload_realpath = '/home/virtual/site27/fst/var/www/html/files';
# enter the URL of that directory (it's used to generate the links to the pictures)
$fileupload_url = 'http://www.boneless.nl/files';
# accepted file types, you can add to that list if you want
# note: add a space before and after each file type
# example: $fileupload_allowedtypes = ' jpg gif png ';
$fileupload_allowedtypes = ' jpg jpeg mp3 gif png ';
# by default, most servers limit the size of uploads to 2048 KB
# if you want to set it to a lower value, here it is (you cannot set a higher value)
$fileupload_maxk = '2048';
# you may not want all users to upload pictures/files, so you can set a minimum level for this
$fileupload_minlevel = '1';
# ...or you may authorize only some users. enter their logins here, separated by spaces
# if you leave that variable blank, all users who have the minimum level are authorized to upload
# note: add a space before and after each login name
# example: $fileupload_allowedusers = ' barbara anne ';
$fileupload_allowedusers = '';
// ** RSS syndication options **
# these options are used by b2rdf.php (1.0), b2rss.php (0.92), and b2rss2.php (2.0)
# note: if you don't want to syndicate your news, you can delete these files
# number of last posts to syndicate
$posts_per_rss = 10;
# the language of your blog ( see this: http://backend.userland.com/stories/storyReader$16 )
$rss_language = 'nl';
# for b2rss.php: allow encoded HTML in <description> tag? 1=yes, 0=no
$rss_encoded_html = 0;
# length (in words) of excerpts in the RSS feed? 0=unlimited
# note: in b2rss.php, this will be set to 0 if you use encoded HTML
$rss_excerpt_length = 50;
// ** Weblogs.com ping **
# set this to 1 if you want your site to be listed on http://weblogs.com when you add a new post
$use_weblogsping = 1;
// ** Blo.gs ping **
# set this to 1 if you want your site to be listed on http://blo.gs when you add a new post
$use_blodotgsping = 1;
# if you ping blo.gs, this is the URL that will be sent to it (enter your blog's URL):
$blodotgsping_url = 'http://www.boneless.nl';
// ** Trackback / PingBack **
# set this to 0 or 1, whether you want to allow your posts to be trackback'able or not
# note: setting it to zero would also disable sending trackbacks
$use_trackback = 0;
# set this to 0 or 1, whether you want to allow your posts to be pingback'able or not
# note: setting it to zero would also disable sending pingbacks
$use_pingback = 0;
// ** Comments options **
# set this to 1 to require e-mail and name, or 0 to allow comments without e-mail/name
$require_name_email = 1;
# here is a list of the tags that are allowed in the comments.
# you can add tags to the list, just add them in the string,
# add only the opening tag: for example, only '<a>' instead of '<a href=""></a>'
$comment_allowed_tags = '<b><i><u><strong><em><code><blockquote><p><br><strike><a>';
# set this to 1 to let every author be notified about comments on their posts
$comments_notify = 1;
// ** Smilies options **
# set this to 1 to enable smiley conversion in posts
# (note: this makes smiley conversion in ALL posts)
$use_smilies = 1;
# the directory where your smilies are (no trailing slash)
$smilies_directory = 'http://www.boneless.nl/blog/b2-img/smilies';
# here's the conversion table, you can modify it if you know what you're doing
$b2smiliestrans = array(
' ' => 'icon_smile.gif',
' ' => 'icon_biggrin.gif',
' ' => 'icon_biggrin.gif',
' ' => 'icon_biggrin.gif',
' ' => 'icon_smile.gif',
' ' => 'icon_smile.gif',
' ' => 'icon_smile.gif',
' ' => 'icon_sad.gif',
' ' => 'icon_sad.gif',
' ' => 'icon_sad.gif',
'' => 'icon_surprised.gif',
'' => 'icon_surprised.gif',
'' => 'icon_surprised.gif',
'' => 'icon_eek.gif',
'' => 'icon_eek.gif',
'' => 'icon_eek.gif',
'' => 'icon_confused.gif',
'' => 'icon_confused.gif',
'' => 'icon_confused.gif',
' ' => 'icon_cool.gif',
' ' => 'icon_cool.gif',
' ' => 'icon_cool.gif',
'' => 'icon_lol.gif',
'' => 'icon_mad.gif',
'' => 'icon_mad.gif',
'' => 'icon_mad.gif',
' ' => 'icon_razz.gif',
' ' => 'icon_razz.gif',
' ' => 'icon_razz.gif',
'' => 'icon_redface.gif',
'' => 'icon_cry.gif',
'' => 'icon_evil.gif',
'' => 'icon_twisted.gif',
'' => 'icon_rolleyes.gif',
'' => 'icon_wink.gif',
'' => 'icon_wink.gif',
'' => 'icon_wink.gif',
'' => 'icon_exclaim.gif',
' ' => 'icon_question.gif',
' ' => 'icon_idea.gif',
'' => 'icon_arrow.gif',
' ' => 'icon_neutral.gif',
' ' => 'icon_neutral.gif',
' ' => 'icon_neutral.gif',
' ' => 'icon_mrgreen.gif',
);
# the weekdays and the months.. translate them if necessary
$weekday[0]='Zondag';
$weekday[1]='Maandag';
$weekday[2]='Dinsdag';
$weekday[3]='Woensdag';
$weekday[4]='Donderdag';
$weekday[5]='Vrijdag';
$weekday[6]='Zaterdag';
# the months, translate them if necessary - note: this isn't active everywhere yet
$month['01']='Januari';
$month['02']='Februari';
$month['03']='Maart';
$month['04']='April';
$month['05']='Mei';
$month['06']='Juni';
$month['07']='Juli';
$month['08']='Augustus';
$month['09']='September';
$month['10']='Oktober';
$month['11']='November';
$month['12']='December';
# $b2inc is where the included b2 files are: that's generally the directory b2-include,
# so you shouldn't have to change that setting
$b2inc = './b2-include';
// ** Querystring Configuration ** (don't change if you don't know what you're doing)
$querystring_start = '?';
$querystring_equal = '=';
$querystring_separator = '&';
// ** Configuration for b2mail.php ** (skip this if you don't intend to blog via email)
# mailserver settings
$mailserver_url = 'mail.example.com';
$mailserver_login = '[email protected]';
$mailserver_pass = 'password';
$mailserver_port = 110;
# by default posts will have this category
$default_category = 1;
# subject prefix
$subjectprefix = 'blog:';
# body terminator string (starting from this string, everything will be ignored, including this string)
$bodyterminator = "___";
# set this to 1 to run in test mode
$thisisforfunonly = 0;
### Special Configuration for some phone email services
# some mobile phone email services will send identical subject & content on the same line
# if you use such a service, set $use_phoneemail to 1, and indicate a separator string
# when you compose your message, you'll type your subject then the separator string
# then you type your login:password, then the separator, then content
$use_phoneemail = 0;
$phoneemail_separator = ':::';
/* Stop editing */
$HTTP_HOST=getenv('HTTP_HOST'); /* domain name */
$REMOTE_ADDR=getenv('REMOTE_ADDR'); /* visitor's IP */
$HTTP_USER_AGENT=getenv('HTTP_USER_AGENT'); /* visitor's browser */
$server = $dbhost;
$loginsql = $dbusername;
$passsql = $dbpassword;
$path = $pathserver;
$base = $dbname;
?> |
|
Back to top |
|
 |
Sigg3
Joined: 03 Jul 2003 Posts: 626 Location: Oslo, Norway
|
|
Back to top |
|
 |
boneless
Joined: 05 Sep 2004 Posts: 29 Location: Netherlands
|
Posted: Wed Sep 15, 2004 9:58 am Post subject: |
|
|
Here it is, feel free to comment on everything that's wrong with it.
<?php /* Don't remove this line, it calls the b2 function files ! */ $blog=1; include ("blog.header.php"); ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- layout credits goto http://bluerobot.com/web/layouts/layout2.html -->
<head>
<title>De wondere wereld van Boneless.nl</title>
<style type="text/css">
<!--
body{margin:0px;padding:0px;background:#f6f6f6;color:#000000;font-family:"Trebuchet MS",Trebuchet,Verdana,Sans-Serif;}
a{color:#DE7008;text-decoration:none;}
a:hover{color:#E0AD12;text-decoration:none;}
#logo{padding:0px;margin:0px;}
div#mainClm{float:right;width:72%;padding:30px 7% 10px 3%;border-left:dotted 1px #E0AD12;}
div#sideBar{margin:20px 0px 0px 1em;padding:0px;text-align:left;}
#header{padding:0px 0px 0px 0px;margin:0px 0px 0px 0px;border-top:1px solid #eeeeee;border-bottom:dotted 1px #E0AD12;background:#F5E39E;color:white;}
h1,h2,h3,h4,h5,h6{padding:0px;margin:0px;}
h1{padding:25px 0px 10px 5%;border-top:double 3px #BF5C00;border-bottom:solid 1px #E89E47;color:#F5DEB3;background:#000033;font:bold 250% Verdana,Sans-Serif;letter-spacing:-2px;}
h2{color:#9E5205;font-weight:bold;font-family:Verdana,Sans-Serif;letter-spacing:-1px;}
h3{margin:10px 0px 0px 0px;color:#777777;font-size:120%;}
h4{color:#aa0033;}
h6{color:#B8A80D;font-size:140%;}
#sideBar ul{margin:0px 0px 33px 0px;padding:0px 0px 0px 0px;list-style-type:none;font-size:85%;}
#sideBar li{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;list-style-type:none;font-size:85%;}
#description{padding:0px;margin:7px 12% 7px 5%;color:#000033;background:transparent;font:bold 65% Verdana,Sans-Serif;}
.blogPost{margin:0px 0px 30px 0px;font-size:100%;}
.blogPost strong{color:#000000;font-weight:bold;}
#sideBar ul a{padding:2px;margin:1px;width:100%;border:none;color:#000033;text-decoration:none;}
#sideBar ul a:link{color:#000033;}
#sideBar ul a:visited{color:#000033;}
#sideBar ul a:active{color:#ff0000;}
#sideBar ul a:hover{color:#DE7008;text-decoration:none;}
pre,code{color:#999999;}
strike{color:#999999;}
.bug{padding:5px;border:0px;}
.byline{padding:0px;margin:0px;color:#444444;font-size:70%;}
.byline a{border:none;color:#968A0A;text-decoration:none;}
.byline a:hover{text-decoration:none;}
-->
</style>
<link rel="stylesheet" type="text/css" media="print" href="http://www.boneless.nl/blog/print.css" />
<link rel="alternate" type="application/rdf+xml" title="RDF" href="<?php bloginfo('rdf_url'); ?>" />
<link rel="alternate" type="application/rss+xml" title="RSS" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<!-- Meta Information -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="MSSmartTagsPreventParsing" content="true" />
</head>
<body>
<div id="header">
<h1>De wondere wereld van Boneless<a href="b2login.php">.</a>nl</h1>
<p id="description">Beschouwingen, meningen, anekdotes en andere nietszeggende teksten van de altijd vriendelijke en goedgemutste boneless.</p>
</div>
<!-- Main Column -->
<div id="mainClm">
<!-- // b2 loop start -->
<?php while($row = mysql_fetch_object($result)) { start_b2(); ?>
<?php the_date("","<h3>","</h3>"); ?>
<?php permalink_anchor(); ?>
<h3>
<div class="storyTitle"><?php the_title(); ?>
</div>
</h3>
<div class="storyContent">
<?php the_content(); ?>
<br>
<div class="byline"><span class="storyAuthor">Geschreven door <?php the_author() ?>, om </span> <?php the_time() ?> uur.
<?php link_pages("<br />Pagina's: ","<br />","number") ?>
<a href="<?php comments_link() ?>"><?php comments_number("Er heeft nog niemand gereageerd, ben jij de eerste?", "Reageer op dit bericht of lees de enige reactie tot nu toe ", "Reageer op dit bericht of bekijk alle % reacties ") ?></a> </div><br>
<?php trackback_rdf() ?>
<!-- this includes the comments and a form to add a new comment -->
<?php include ("b2comments.php"); ?>
<!-- this includes the trackbacks -->
<?php include ("b2trackback.php"); ?>
<!-- this includes the pingbacks -->
<?php include ("b2pingbacks.php"); ?>
</div>
<!-- // this is just the end of the motor - don't touch that line either -->
<?php } ?>
</div>
</div>
</div>
<div id="sideBar">
<ul>
<a href="http://www.boneless.nl">Home</a><br><br>
<a href="http://www.boneless.nl/popquiz/orig.html">Algemene popquiz</a><br>
<a href="http://www.boneless.nl/popquiz/fragment.html">Fragmentenquiz</a><br>
<a href="http://www.boneless.nl/popquiz/uitleg.html">Uitleg quiz</a><br>
<a href="http://pub.alxnet.com/guestbook?id=2144232" target="_new">Gastenboek</a><br>
<a href="http://www.boneless.nl/champions/index.html"><b>Champions Pool 2005</b></a><br>
<a href="http://www.boneless.nl/fotohoekje/" target="_new">Boneless' fotohoekje</a><br>
<a href="http://www.boneless.nl/webradio-2.html">Webradio</a><br>
<a href="http://www.boneless.nl/links.html">Externe Links</a><br>
<a href="http://www.boneless.nl/contact.html">Contact</a><br>
<a href="http://www.boneless.nl/wiebenik/indexwie.html">Wie ben ik?</a><br>
<a href="http://www.boneless.nl/temp/videobanden.html" target="_new">Te Koop: Videofilms</a><br>
</ul>
<ul>
Zoek in het archief<br>
<form name="searchform" method="get" action="<?php echo $PHP_SELF; /*$siteurl."/".$blogfilename*/ ?>"><input type="text" name="s" size="12"><br>
<input type="submit" name="submit" value="zoek!">
</form>
</ul>
<h4>
Het grote archief</h4>
<ul>
<?php include("b2archives.php"); ?></ul>
<br>
<a href="b2rss.php"><img src="b2-img/xml.gif" alt="view this weblog as RSS !" width="36" height="14" border="0" /></a><p>
<ul>
<a href="disclaimer.php">disclaimer</a></ul</div>
<p>
</li>
</ul>
</div>
<ul>
<!--ONESTAT SCRIPTCODE START-->
<!--
// Modification of this code is not allowed and will permanently disable your account!
// Account ID: 179496
// Site URL : http://www.boneless.nl
// Copyright (C) 2002,2003 OneStat.com All Rights Reserved
-->
<div id="OneStatTag"><table border='0' cellpadding='0' cellspacing='0'><tr><td align='center'>
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--
function OneStat_Pageview()
{
var d=document;
var sid="179496";
var CONTENTSECTION="";
var CUSTOMDATA="";
var osp_URL=d.URL;
var osp_Title=d.title;
var t=new Date();
var p="http"+(document.URL.indexOf('https:')==0?'s':'')+"://stat.onestat.com/stat.aspx?tagver=2&sid="+sid;
p+="&url="+escape(osp_URL);
p+="&ti="+escape(osp_Title);
p+="§ion="+escape(CONTENTSECTION);
p+="&custom="+escape(CUSTOMDATA);
p+="&rf="+escape(parent==self?window.document.referrer:top.document.referrer);
p+="&tz="+escape(t.getTimezoneOffset());
p+="&ch="+escape(t.getHours());
p+="&js=1";
p+="&ul="+escape(navigator.appName=="Netscape"?navigator.language:navigator.userLanguage);
if(typeof(screen)=="object"){
p+="&sr="+screen.width+"x"+screen.height;p+="&cd="+screen.colorDepth;
p+="&jo="+(navigator.javaEnabled()?"Yes":"No");
}
d.write('<A HREF="http://www.onestat.com/asp/login.asp?sid='+sid+'" target=_blank><IMG ID="ONESTAT_TAG" BORDER="0" SRC="'+p+'" ALT="This Site Tracked by OneStat.com"></A>');
}
OneStat_Pageview();
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="http://www.onestat.com/asp/login.asp?sid=179496" target=_blank><IMG BORDER="0" SRC="http://stat.onestat.com/stat.aspx?tagver=2&sid=179496&js=No&" ALT="This Site Tracked by OneStat.com" ></A>
</NOSCRIPT>
</td></tr><tr><td align='center'><div style="DISPLAY: inline; FONT-WEIGHT: bold; FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Times New Roman'; HEIGHT: 15px"><a href="http://www.onestat.com" style="text-decoration:none; COLOR: black;" target=_blank>OneStat</a></div></td></tr></table></div>
<!--ONESTAT SCRIPTCODE END-->
</ul>
</body>
</html> |
|
Back to top |
|
 |
Sigg3
Joined: 03 Jul 2003 Posts: 626 Location: Oslo, Norway
|
|
Back to top |
|
 |
boneless
Joined: 05 Sep 2004 Posts: 29 Location: Netherlands
|
Posted: Wed Sep 15, 2004 10:17 am Post subject: |
|
|
I removed it and indeed, problem seems to be solved.
Any idea what is wrong with that code?
And do you know of any stats that do work with B2?, cause I do want stats.
Thanks for helping out! |
|
Back to top |
|
 |
Sigg3
Joined: 03 Jul 2003 Posts: 626 Location: Oslo, Norway
|
Posted: Wed Sep 15, 2004 10:42 am Post subject: |
|
|
To me I feel there's something incompatible between the script and b2 at:
parent==self?window.document.referrer:top.document.referrer
Well, not incompatible.. When refreshed it opens _parent @ self, while self being undefined in the world of b2.. Seems logical:)
Anywho, I've used Shinystat for some of my websites, but there are alot of great text and image based script that doesn't require any advirtesment at all over @ http://php.resourceindex.com
Most of them are free and most of them support mySQL which opens for great statistical opportunities. _________________ Sigg3 dot net - because you're worth it! | b2 Cafelog Resource Center |
|
Back to top |
|
 |
boneless
Joined: 05 Sep 2004 Posts: 29 Location: Netherlands
|
Posted: Wed Sep 15, 2004 1:53 pm Post subject: |
|
|
I tried to enter a Shinystat counter, but then the same problem occurs. So at least it's obvious that inserting a counter creates the problem. Now the remaining question is: how to solve this?
Thanks anyway for helping out!
Boneless |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB 2 © 2001, 2002 phpBB Group
|