I found this useful blogs script in russian forum .... This is still not perfect, but it can be used to install a system blogs on your forum.



How to Install?
Follow the blogs installation steps below carefully !!
The First Step
1. Create a special category with entitled @Blogs
2. Create a New Forum with entitled ex: Bloggers and find the ID number of the [Bloggers] forum. ex: yourmybbsite/viewforum.php?id=2.
The Second Step
Add this code to your Adminstrator panel --> Options --> HTML Header
NOTE: BLOG.fID =2 -> change the id number into a number of the new Forum ID that you have created
<!-- Created by © Alex_63 HTML header -->
<script type="text/javascript">var BLOG = {};
// Settings//
BLOG.view = [1,2,4] ; // Groups allowed to view blogs; 0 - all groups
BLOG.groups = [1,2,4] ; // Groups allowed to create blogs, 0 - all groups (except Guest)
BLOG.comment =0; // Groups allowed to comment on entries; 0 - all groups (except Guest)
BLOG.fID =2; // ID Forum established to blogs
</script>
<style type="text/css">.category.BlogCat { display: none !important; }</style>
<link rel="stylesheet" type="text/css" href="https://forumstatic.ru/files/0016/f0/0a/72354.css" />
<script type="text/javascript" src="https://forumstatic.ru/files/0018/02/f4/93587.js"></script>
<!-- End js translated by http://bit.ly/TwitterName -->Add this code to your Adminstrator panel --> Options --> HTML Footer
<!-- The system of blogs on the forum in HTML footer © Alex_63-->
<script type="text/javascript">
if(BLOG.view == 0 || $.inArray(GroupID,BLOG.view)!=-1){BLOG.setup();}
else if(BLOG.view!=0){(function() {
if(document.URL.indexOf('blogs.php')!=-1){$('#pun-main .info .container').html(BLOG.txterror);}
if($('#pun-index').length){$('.category h2>span:contains("@Blogs")').parents('.category').remove();}
if($('#pun-searchtopics').length){$('.tcl a:contains("·")').parents('tr').remove();}
if($('#pun-searchposts').length){$('.post h3>span>strong+a [href$="viewforum.php?id='+BLOG.fID+'"]').parents('.post').remove();}
}())}</script>
then SAVE.
If you have done all the steps correctly, then the blogs system already installed on your mybb forum site that can be accessed through the: /blogs.php....
Visit the Example Forum With Blog: http://bit.do/blogid
The Third Step
Trials with creating a new blogposts. New entry will take a few minutes / hours to be indexed or displayed on the main page
NOTE:
This blog script needs to be developed. Still has many shortcomings, among them are:
->Messages in blog not are displayed in the results search on Forum. Respectively find that either under large numbers posts will be difficult.
->Blogposts can be set to be read by the public (You, forum member, and other people can read)...PROBLEM: I tried to share it via google plus but google+ can not read the address: /blogs.php?act=show&blog=ID. it can be caused by not using fancy url or for other reasons such as abnormal redirect system.
Visit the Example Forum With Blog: http://bit.do/blogid
Last edited by kami (2017-04-26 22:19:06)