2 edb Feb 20, 2007 21:30

dear edb,
still the same problem :(
so long
joachim
Can I see where this is happening?
@Edb
The example link is in his first post.
Look forward to your fix for it :)
oh durrrr....
So make the same change in _lastcomments.php and it should work. I did it to _feedback.php on my test installation and fixed it on a permalink page, but didn't look at the disp=lastcomments page.
EDIT: I don't have a _lastcomments.php file in my 1.9.2 versions. Hmmm...
I'll be back!
Okay that wasn't so bad. The 1.8.* version of that skin has a _lastcomments.php file, so crack it open and find this:
echo '<ol class="bCommentList">';
while( $Comment = & $CommentList->get_next() ) { // Loop through comments:
$Comment->get_Item(); // Load comment's Item object
Now make it be this:
echo '<ol class="bCommentList">';
$oddcomment = '';
while( $Comment = & $CommentList->get_next() ) { // Loop through comments:
$Comment->get_Item(); // Load comment's Item object
What's happening, I think, is it's getting all upset because the code is asking about the variable's value when it's not set to anything yet. Used to be not existing was functionally the same as being set to ''. Obviously that's not the case anymore :(
Gonna hafta figure out why I don't have that file in the 1.9.2 versions of that skin. Doesn't make any sense to not have it so I guess I better get on that detail too.
alright EdB ... thanxx a lot I works !
So long
Joachim
Cool. Hey check it out. You could also make it be $oddcomment = 'GrayBox'; if, artistically speaking, it looks better with the first comment showing up with a gray instead of white background.
@Edb
I'm going to give this alternating styles for comments a go on other 1.9.2 skins.
Apart from the _feedback.php and the obvious CSS styling, are there any other files involved ?
I found another error. If you click on the permalink, example http://www.snigles.de/index.php/2007/02/17/panasonic_flachbild you got this error:
Notice: Undefined property: allowpingbacks in /var/www/arwen137/html/sniglesde/inc/MODEL/dataobjects/_dataobject.class.php on line 461
any news about this error?
There is a fix floating around somewhere, or just grab the skin for 1.9.* and be happy. http://forums.b2evolution.net/viewtopic.php?t=10959 is currently the only source but we're working on a skins site for that generation.
alright EdB. I loaded the_feedback.php to my server an the error is fixed now. Worked pretty well now! thanxx
Look for
in _feedback.php and change it to this:
Thanks for reporting. Assuming this works I'll add the same corrective action to the 3 flavors of kubrick I'm making play nice with 192.