How to add a blog feature to my website

suresh suresh Posted in General Discussion 8 years ago

Hi,

I have checked the forum/community but couldn't find a satisfying answer. Please guide me on how to add a blog to my website where users can write blogs. Also, add images to the blog.

Replies
Catalan Ken McGonigal Replied 8 years ago

Hi All,

I just forked a blog project started by Arslan. If anyone wants to contribute to it feel free. It doesn't work yet. I think it would be great for all of us to have this component for our various websites. Here is the link:

https://github.com/gentoolink/Blog.git

I think the blog should be publicly viewable while sending a notification to the wall announcing the new post.

us G Kroschel Replied 8 years ago

theres possibly another (or many) other ways, but this has worked for me.
this way like i also have a Guestbook located under the users profile.
works very well.

Good luck

us G Kroschel Replied 8 years ago

Start by looking at: components/OssnProfile/plugins/default/profile/pages/profile.php

I edited this with this at the beginning of the page:
$coverupdate = filegetcontents ('http://yourdomain/blog');

at then at the end a added this:
<?php
if (comisactive('OssnWall')) {

            echo file_get_contents ('http://yourdomain/blog');

I commented out these lines with "//"
// ossnsiteurl('wordpress/');
// $params['user'] = $user;
// echo ossnpluginview('wall/user/wall', $params);
// echo ossnsiteurl('wordpress/');

and kept these:
}
?>

You may have to make a simple HTML page for it. but i have it as this and it works well.
hope it helps..
Have a good new year!