1 tek1024 Feb 28, 2005 10:59
3 tek1024 Feb 28, 2005 11:51
This has to be linked with BBClone somehow.... I put the hit marker on the bottom of the index.php file and the comment fields are no longer showing up unwarranted, but the linkblog is still as it was. Nothing in b2evocore/_main.php or skins/_linkblog.php (or skins/custom/_linkblog.php) look suspicious. It's like it doesn't recognize it as a linkblog/blogroll at all.
Anyway, thanks for your time.
4 tek1024 Feb 28, 2005 12:13
That one line:
$Item->content( 1, 0, T_('more'), '[', ']' ); // Description + more link
in skins/_linkblog.php seemed to be the culprit. This may be a crude hack or a bandage over a bigger problem, but hopefully this solves the issues i was having before. So this whole thread has been thinking out loud, but I hope it helps someone.
I have GOT to stop drinking so much coffee in the evenings. 8|
5 edb Feb 28, 2005 14:32
That's normal behaviour for the linkblog. It's a blog so if you put something into the post it shows it. http://skins.b2evolution.net/a.php?skin=custom - second linkblog entry says as much. The line you identified is the correct line to remove if you don't want content there. See http://b2evolution.net/man/2004/06/24/remove_linkblog_content_howto if you also want more linkblog entries shown.
6 tek1024 Mar 01, 2005 04:29
Thanks for the tip. For some reason the linkblog never did that on the other install I had, maybe it was broken from the start.
Meanwhile, the latest installation of BBClone seems to be giving me fits ... if I leave the BBClone code in place, the index shows all comment blocks for each post. Can you see from this code why that would be? (I'm removing the code from the pages in the meantime.)
For every page that BBClone is to track, the user must add to the beginning of the file the following lines:
<?php
define("_BBCLONE_DIR", "bbclone/");
define("COUNTER", _BBCLONE_DIR."mark_page.php");
if (is_readable(COUNTER)) include_once(COUNTER);
?>
Now, I know that's the right directory and that page is in fact readable. In fact, if I make mark_page.php unreadable on the server, the comment problem goes away. Perhaps this is just some fluke in mark_page.php. I know it's a sin to post an entire file here, so if you want to look at the contents of mark_page.php, I'll put it up at my server in text format:
http://thinkblog.org/media/mark_page_dot_php.txt
Thanks for your help, Ed (and everyone who cares to).
7 tek1024 Mar 20, 2005 07:09
[url=http://bbclone.de/]BBClone has been updated[/url]; it was apparently causing invalid CSS.
Just noticed, too, that my linkblog is spewing its contents into the sidebar. I'm sure this is something stupid I'm missing but man it's frustrating.