2 sam2kb Feb 14, 2012 07:44

If you want to upgrade the blog, you should wait a few more days till b2evo 4.1.3 comes out.
LOL! Just my luck! Thank you for your input and steering me in the right direction.
"Of course, you need to find time to update your 2.x skin to work in b2evo 4. Just compare it to the skin shipped with b2evolution."
In the online manual, I used the instructions for skin updates. At the time, I had assumed that everything was up-to-date with those instructions. I now know that the manual needs a serious overhaul.
You don't have to reinvent a wheel, your skin is based on evocamp, just compare the two skins with WinMerge or any other merge program ;)
Will do and thanks again. :)
Fixed in v5 and v4.1.3
Hi Sam2kb:
I finally had an oppty to change all the skins with code that you suggested. However, the problem still exists with:
User level 10 help info: [/home/dxxx/public_html/b2evolution/blogs/skins/evocamp_purple/_item_block.inc.php]
Sub template [_item_block.inc.php] not found.
What next?
One other question.....
The search feature has never worked very well for comments, only for blog posts. How can this be accomplished?
There's actually a better fix. Instead of adding the code I posted above, do this
Open /inc/_blog_main.inc.php and find similar code there
$disp_handlers = array(
'404' => '404_not_found.main.php',
'activateinfo' => 'activateinfo.main.php',
'arcdir' => 'arcdir.main.php',
'catdir' => 'catdir.main.php',
'comments' => 'comments.main.php',
'feedback-popup' => 'feedback_popup.main.php',
'login' => 'login.main.php',
'mediaidx' => 'mediaidx.main.php',
'msgform' => 'msgform.main.php',
'page' => 'page.main.php',
'postidx' => 'postidx.main.php',
'posts' => 'posts.main.php',
'profile' => 'profile.main.php',
'search' => 'search.main.php',
'single' => 'single.main.php',
'sitemap' => 'sitemap.main.php',
'subs' => 'subs.main.php',
'threads' => 'threads.main.php',
'messages' => 'messages.main.php',
'contacts' => 'contacts.main.php',
'user' => 'user.main.php',
'users' => 'users.main.php',
'edit' => 'edit.main.php',
// All others will default to index.main.php
);
Then add this code below
$disp_handlers = array(
'404' => '404_not_found.main.php',
'activateinfo' => 'activateinfo.main.php',
'arcdir' => 'arcdir.main.php',
'catdir' => 'catdir.main.php',
'comments' => 'comments.main.php',
'feedback-popup' => 'feedback_popup.main.php',
'login' => 'login.main.php',
'mediaidx' => 'mediaidx.main.php',
'msgform' => 'msgform.main.php',
'page' => 'page.main.php',
'postidx' => 'postidx.main.php',
'posts' => 'posts.main.php',
'profile' => 'profile.main.php',
'search' => 'search.main.php',
'single' => 'single.main.php',
'sitemap' => 'sitemap.main.php',
'subs' => 'subs.main.php',
'threads' => 'threads.main.php',
'messages' => 'messages.main.php',
'contacts' => 'contacts.main.php',
'user' => 'user.main.php',
'users' => 'users.main.php',
'edit' => 'edit.main.php',
// All others will default to index.main.php
);
if( $disp == 'search' && ! file_exists( $ads_current_skin_path.'_item_block.inc.php' ) )
{ // Skins from 2.x don't have '_item_block.inc.php' file, and there's no fallback file in /skins directory
// So we simply load the 'posts' disp handler
$disp = 'posts';
}
The search feature has never worked very well for comments, only for blog posts. How can this be accomplished?
The search was not intended for comments, it doesn't search comments at all.
There's no easy way around. You can probably run a second search on comments and then merge found posts together. This may be possible with a plugin in b2evo v5
The code for inc file worked flawlessly. Thanks.
Search for comments:
It would be nice if there were some kind of search feature that included comments in the future. Bloggers have asked about seeing a comment or they made one and it is lost in the abyss of posts, never to be found again. This feature is particularly helpful in private blogs where there are ongoing conversations and posts. As for public blog posts.... I can see why there wouldn't be much use for it or a need. I think others would agree that in private blogs this would be a good thing to have.
I agree with you, comment search is needed. Especially in b2evo v5 where you can setup a forum "blog" with posts as topics and comments as replies.
Another bug to your collection :)
It's pretty easy to fix it. Edit index.main.php file in your skin, at the very top replace this
with this
Of course, you need to find time to update your 2.x skin to work in b2evo 4. Just compare it to the skin shipped with b2evolution.
The upgrade feature is still experimental, I don't recommend running it on a live website.