TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,972
  • Latest: Lineo
Stats
  • Total Posts: 196,165
  • Total Topics: 21,346
  • Online today: 518
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 544
  • Total: 544

TP Blog Suggestion

Started by Xarcell, October 27, 2005, 09:07:14 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Xarcell

I know this one would be hard, and would take alot of time, but would be an outstanding feature if TP had it.

Each registered user gets a blog which would be like a childboard under a  "blog" catagory. The name of the child board would be teh name they selected has thier blog. Then thier posts could be setup like how the articles are in TP. Which basically be a topic in which viewers could reply/comment to within thier childboard/blogname.

You could setup userblogblock (center; top) that only appears when that user's childboard/blog is being viewed with information in it like name, avatar or thumbnailed image attachment, profile link, and any other links the user might want displayed with that block.

I'll see if I can make a quick sketch...

iowamf

Great suggestion -

You hammerred out the top part of a blog - great start - hope you'll finish it  ;)

One thing you'll encounter with SMF is that the sort is everything but blog (chronological) friendly.
Example, if a blogger posts three days in a row, it should be in the blog:

wed
tue
mon

and there should be no "bumping" of old topics with comments - and no matter how it gets sorted, "tue" is always in the middle of a 3 day blog.

I've been pounding the SMF boards and got a solution from a guru over there (id withheld so he doesn't get bombed with support requests - I'll let him decide if he wants to claim this fine work) which keeps a board in chronological order.

Sources/MessageIndex.php

Find

$context['sort_by'] = 'last_post';
$_REQUEST['sort'] = 't.ID_LAST_MSG';
$ascending = isset($_REQUEST['asc']);



Replace that with this:
// They didn't pick one, default to by last post descending.
if (!isset($_REQUEST['sort']) || !isset($sort_methods[$_REQUEST['sort']]))
{
if($board == '{blog_board_id}')
{
$context['sort_by'] = 'first_post';
$_REQUEST['sort'] = 't.ID_TOPIC';
$ascending = isset($_REQUEST['asc']);
}
else
{
$context['sort_by'] = 'last_post';
$_REQUEST['sort'] = 't.ID_LAST_MSG';
$ascending = isset($_REQUEST['asc']);
}

}


I've tested this ... and it works, but I think it will be a challenge to maintain as the source code needs to be hacked for each blogger with their "blog_board_id".  It would be better if this sort could apply to a certain "category" and then if all bloggers were put into that category - the code wouldn't have to be changed.

Xarcell

#2
Dudes, blogger.com let's you FTP your blog it to your own website at root or specfied folder so you can host it yourself without space restrictions. Your blog will still be listed at blogger.com, which can help direct more traffic your way.

So here's the awesome idea I got. Make permissions that let's certain user groups FTP thier blogger to your site if they have/make an account at blogger.com. This way it's hosted on your site.

Then have a blogger block (list of names) of those that FTPed thier blog to your site. You could a "latest Blogs" and "Last Blog Post" block. Also add the link to a user's blog in thier profiles or posts-profile, or whatever idea you come up with.

That can't be that hard right? All the hard work is already cut out by blogger.

Just so you know, blogger.com let's you make more than one blog per account. You'll just be FTPing the new blog created. You could do it yourself and call it "My TP Blog" (url: www.tinyportal.co.uk/blogs/bloc/), lol....



-Xarcell

iowamf

blogger.com is a great place for individuals to put up a blog.

However, I see a challenge trying to integrate it with SMF.  The major issue concerns multiple userids ... what if a SMF user wants to add a comment to the blog?  The SMF user will be really confused with multiple logins/password etc...

The only good bridge I've seen between SMF userids and a blogging package is through Mambo/Joomla - where Mambo/Joomla use SMF's userids ... I highly doubt if a site like blogger.com will be as flexible to use SMF's database.

I think your original post is much simpler and straightforward. However, I think it would be better to use the article system for blog entries versus the forum for blog entries (although using the forums could be used as a minimalist blogging hack with the chrono-sort change documented).

Quote from: Xarcell on November 02, 2005, 07:56:57 PM
Dudes, blogger.com let's you FTP your blog it to your own website at root or specfied folder so you can host it yourself without space restrictions. Your blog will still be listed at blogger.com, which can help direct more traffic your way.

So here's the awesome idea I got. Make permissions that let's certain user groups FTP thier blogger to your site if they have/make an account at blogger.com. This way it's hosted on your site.

Then have a blogger block (list of names) of those that FTPed thier blog to your site. You could a "latest Blogs" and "Last Blog Post" block. Also add the link to a user's blog in thier profiles or posts-profile, or whatever idea you come up with.

That can't be that hard right? All the hard work is already cut out by blogger.

Just so you know, blogger.com let's you make more than one blog per account. You'll just be FTPing the new blog created. You could do it yourself and call it "My TP Blog" (url: www.tinyportal.co.uk/blogs/bloc/), lol....



-Xarcell

Xarcell

Yeah, it would cause too many complications. First suggestion was better...

Xarcell

Bloc, after actually using TP for a few days now. I think it would "possiably" be easy to intergrade user blogs into TP. You've already done all the work.

So forget everything I've said before.

Start simple:

User Blogs would work just like the News/Annoucements system(forum topics with comments).

With each blog created, allow user theme selection for everyone else to see(override theme).

Create "Latest Blog Entiries" block.

Done.

-------------------
Advanced
-------------------

More advanced would be let users add articles to thier blog.

Allow user custom blocks, or which blocks to display when viewed.

Done.

Everything else is already there. I intend to use TP as my blogging system. I had no idea it was already so advanced. Only thing is, my user's can't create blogs.

bloc

:) I am not sure I follow all the way..but essentially its the forum that acts like blogs? And that the frontpage of TP acts like the frontend of blogs with comments number displayed and just first post sitting tight?

JayBachatero

I remember this being requested over at SMF site also.  I think someone is creating a mod.

sdl

OK, I have a kind of a naive question.  Sorry if it's been answered already.  I have SMF with TP installed. I also have a blog site (same domain, different location).  For some reason I thought it was going to be easy to simply frame in my blog site into a TP block. 

Can that even be done? 

G6Cad

You should be able to create a article and call the url with in a iframe.

This website is proudly hosted on Crocweb Cloud Website Hosting.