News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

SMFBlog

Started by SMFHacks.com Team, May 11, 2007, 08:02:48 AM

Previous topic - Next topic

HistoryHunter

Quote from: mohoganybrwn on May 14, 2007, 11:21:57 PM
Is there a demo for this mod? I already have a blog mod installed on my SMF and it is attached to member's profile and also at the bottom of my index you'll see ..."Recent Blog Entries" .... is this mod simular? I can't really get the feel from the screen shots...it would be nice to see this mod in action, because I delete my other blog mod.

thanx in advance.
Well, you can look at my installation, where I have set it up to suit my own purpose.
Main page: http://historyhuntersinternational.org/index.php
The blogs: http://historyhuntersinternational.org/index.php?action=forum;f=14
My own blog: http://historyhuntersinternational.org/index.php?board=69.0
A post: http://historyhuntersinternational.org/index.php?topic=2001.0

I set it up this way because (as I explained above) I had to set permissions manually and I also use my own main menu.

wjhdiz


  • Are there some demo for us to see?
  • Is there a way that we can make a nice blog template for SMFBlog?

Thanks.
Jimmy
Freedom of speech? It is freer if not speaking out.
Believing in God? Yes, talk with God every day through God creations.
Coding is poem and a way of keeping away from the troubled world.


3nd3r

I was looking for a Blog Mod. I've got TP installed.

Does this Mod works well with TinyPortal 0.9.x ?

Thanks in advance for your time

babjusi

This is a cool mod, thanks daniel15

L.G.S

I've got it sorted now, I turned off pretty urls for the mod (altho I would have preferred them :()
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


sharks

Quote from: shadow82x on May 13, 2007, 01:10:07 PM
QuoteNo I do not use pretty urls

Me too. But just turn it off in the "Blog Settings". It makes the Blog operational :)

Daniel15

#47
OK, due that the problems that people were encountering, Pretty URLs are now turned off by default. Once you've implemented the .htaccess rules, you may turn the pretty URLs back on ;).
For anyone having trouble with the pretty URLs, please pay attention to this part of the .htaccess file:
Quote
# If you're having trouble with the pretty URLs (they aren't working), try
# uncommenting the following RewriteBase line (remove the # from it), and change
# /forum/ to your forum's correct URI.
#RewriteBase /forum/
If you're getting File not Found errors, uncomment the RewriteBase line, and change its URL to the correct one. For example, if your forum was at http://smfblog.dev.dansoftaustralia.net/smf/, you'd have "RewriteBase /smf/".

QuoteMaybe you could modify the htacces file so that it makes friendly urls for the comment pages too --> 1 [2] 
I thought I did that, but I guess I forgot to.

QuoteNow it is installed, I see that those installing this fore the first time may need more guidance than is offered in the readme. Here are some of my own experiences and if I am in error somewhere, then no doubt others here will correct me.
Note that this mod is still in beta. The readme is quite unfinished ;)
Thanks for your comments though, I'll take them into consideration :D.   

Quote1. There is no means for a member to start their own blog. A new blog is a new board and - at least in my forum - a new board can be started only by Admin.
Yes, that's how it's designed to work :). I should place more emphasis on this in the readme, though...

Quote2. A board and sub-boards
As each member gets their own blog, I found it useful to make these sub-boards. Otherwise, the main forum list of boards could have too many boards listed.

My forum already has quite a long list of boards. If I got another 20 for member blogs, this would, in my view, be far too long.

I therefore set up a board for blogs, then made each member blog a sub-board of that.
I designed this for sites with only a few blogs, and I didn't have large blogs in mind...
However, a future version will have an option to hide blog boards from the board index :).

Quote3. Permissions
To work, the blogging system demands that only the member blogger can start new topics in their blog. Otherwise, it would not be a blog, but just another board.

Admin must therefore set up permissions for each board: deny to all except the member blogger the right to start a topic, and so on.
Yeah, that's what gives it a huge amount of flexibility. You could have one membergroup that's allowed to post a new topic into a specific blog board, and then add this group as a secondary usergroup for certain members. These allows you to fine-tune who can start new topics in the blog, and who can't.


QuoteHow's the fixing of my mod going?
Sorry, I have not had any time to look at why it's conflicting.
Have you tried installing it manually? See http://modparser.dev.dansoftaustralia.net/ for my Modification parser. Upload the package, and follow the steps.

QuoteIs there a demo for this mod?
Sure, the development board: http://smfblog.dev.dansoftaustralia.net/smf/blog/ :)

QuoteGerman translation: http://www.smfportal.de/index.php/topic,1165.html
Thanks for that, I'll add it to the package soon :).

QuoteDoes this Mod works well with TinyPortal 0.9.x ?
Haven't tested it, but it should work fine...

Daniel15, former Customisation team member, resigned due to lack of time. I still love everyone here :D.
Go to smfshop.com for SMFshop support, do NOT email or PM me!

Lemming

Is it possible to fix the comment preview so you don't land in the original topic? :)

Daniel15

Quote from: Lemming on May 19, 2007, 05:09:42 PM
Is it possible to fix the comment preview so you don't land in the original topic? :)
That's something I still need to work on...
Try this: Themes/default/Post.template.php, find:

<input type="hidden" name="seqnum" value="', $context['form_sequence_number'], '" />

Replace with:

<input type="hidden" name="seqnum" value="', $context['form_sequence_number'], '" />', (!empty($_POST['blog_post']) ? '
<input type="hidden" name="blog_post" value="' . $_POST['blog_post'] . '" />' : ''), (!empty($_POST['blog_name']) ? '
<input type="hidden" name="blog_name" value="' . htmlentities($_POST['blog_name']) . '" />' : ''), '

(kinda messy, will be worked on in a future version :))
Daniel15, former Customisation team member, resigned due to lack of time. I still love everyone here :D.
Go to smfshop.com for SMFshop support, do NOT email or PM me!

niravdave

everything went well. mod has been installed.

In the blog when you go here
http://www.gmasti.com/forums/index.php?action=blog;sa=view_blog;name=books

if u click on any of the title it gives an error

Fatal error: Call to undefined function: ssi_topic() in /home/content/n/i/r/niravdave123/html/forums/Sources/Blog.php on line 241

any suggestions?

dave

shadow82x

Still any reasons why I get?

The requested URL /blog/ was not found on this server.
Colin B
Former Spammer, Customize, & Support Team Member

niravdave

everything went well. mod has been installed.

In the blog when you go here
http://www.gmasti.com/forums/index.php?action=blog;sa=view_blog;name=books

if u click on any of the title it gives an error

Fatal error: Call to undefined function: ssi_topic() in /home/content/n/i/r/niravdave123/html/forums/Sources/Blog.php on line 241

any suggestions?

dave

spottedhog

the ssi_topic error may be because you do not have the ssi_topic mod installed.....

pucola001

http://euroblic.info [nofollow]
http://amknitro.com [nofollow]
http://vip-host.org [nofollow]
http://upoznajme.net [nofollow]
http:IIvipcro.net

niravdave

daniel are u around?

everything went well. mod has been installed.

In the blog when you go here
http://www.gmasti.com/forums/index.php?action=blog;sa=view_blog;name=books

if u click on any of the title it gives an error

Fatal error: Call to undefined function: ssi_topic() in /home/content/n/i/r/niravdave123/html/forums/Sources/Blog.php on line 241

any suggestions?

dave

spottedhog

niravdave,

Look in your SSI.php file.  Do you have a funtion ssi_topic() ?  If not, you may need to install the ssi_topic mod.

Daemonist

#57
I'm confused.  I can see the option to set a board as a blog, and I can see the blog settings area in the admin section.   When I create a topic in the blog board, it appears in the regular forum view.

When I click on the "BLOG" button at the top, it takes me to a list of the boards (only one shows up, which is right).  When I click on that existing board, it shows as empty with no topics in it.  There were three topics in there before installing the mod, and I've tried to create a new topic in case it is flagged during the initial creation.

I get no errors in the log.

I have the following:

SMF 1.1.2
Tiny Portal 9.8.3
Group Moderators 1.4
Repeating Calendar Events 1.2.6
SSI Topic and Replies 0.1
SMFBlog  0.1 Beta
Who Voted What 1.1.2

I don't use votes anymore, so have tried with the last mod removed too.


EDIT:   I have since figured out that this was because my board was using group permissions to limit access-- the blog was supposed to be semi-private.  The system works fine if "Guest" access is enabled, which is exactly as it was advertised to work. 

Is there a chance that someone might be able to provide instructions on how to get it to work with group permissions?  That would be...   excellent!  ;)

Thanks.

spottedhog

Daniel.....

Can you think of any "$context" that can be used to not display the BLOG navigational button if the Blog mod is not enabled?   .....  or something else?

thanks.............

Daniel15

niravdave, please stop spamming your request. I can't check back here every day, and posting only once is enough.
Did you install the "SSI Topic and Replies" mod?

QuoteIs there a chance that someone might be able to provide instructions on how to get it to work with group permissions?
Haven't looked at this yet.

Quote
Still any reasons why I get?

The requested URL /blog/ was not found on this server.
and
QuoteMy blog not ready  help plis
Did you implement the needed .htaccess lines? Try uncommenting the "RewriteBase" line, and adjust it to suit your site (eg. if your forum is at /forum/, change the line to RewriteBase /forum/.

If you can not do this, turn off "Pretty URLs" in the blog configuration.

QuoteCan you think of any "$context" that can be used to not display the BLOG navigational button if the Blog mod is not enabled?
Sure... In index.template.php, find (may be different depending on your theme):
// The Blogs!
echo ($current_action == 'blog' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'blog' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=blog">' , $txt['blog'] , '</a>
</td>' , $current_action == 'blog' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


Replace with:

// The Blogs!
if (!empty($modSettings['blog_enable']))
echo ($current_action == 'blog' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'blog' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=blog">' , $txt['blog'] , '</a>
</td>' , $current_action == 'blog' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';
Daniel15, former Customisation team member, resigned due to lack of time. I still love everyone here :D.
Go to smfshop.com for SMFshop support, do NOT email or PM me!

Advertisement: