Anyone has a code we can use in a php block to get recent blog entries from the 'Simple Blog' mod?
Mod is here: http://www.smfhacks.com/hacks/Simple-Blog.html (http://www.smfhacks.com/hacks/Simple-Blog.html)
Thanks
That is something you should probably ask the mod maker for. They know there mod and what it is capable of far more than any of us.
I don't think it can be that hard? A few guys worked out a code in no time for the Simple Gallery though ;D
Have a look here:http://www.tinyportal.net/smf/index.php?topic=8741.0 (http://www.tinyportal.net/smf/index.php?topic=8741.0)
and in this thread someone almost made it:
Quoteecho '<div class="blogtitlebg">' . $txt['recent_blog'] . '</div>
';
foreach ($context['blog'] AS $blogs)
{
if ($blogs['hide_entry'] == '1' || $blogs['hide_entry'] == '2' && $u == $ID_MEMBER)
{
echo '<div class="smalltext">
<a href="', $scripturl, '?action=viewblog;u=' . $blogs['ID_MEMBER'] . ';id=' . $blogs['ID_BLOG'] . '" >' . $blogs['subject'] . '</a> by <a href="', $scripturl ,'?action=profile;u=', $blogs['ID_MEMBER'] ,'">' . $blogs['realName'] .'</a></div>';
echo '<div class="smalltext">' .$blogs['date'] .'</div>
';
}
}
I found the above in this thread but it seems there ain't too much support:
http://www.smfhacks.com/index.php/topic,97.msg1671/topicseen.html#new (http://www.smfhacks.com/index.php/topic,97.msg1671/topicseen.html#new)
It may not be that hard, but unless someone has already installed that mod, they have no experience with it and would have to install it and study it at least for a bit before knowing how it works.
If someone has it installed already, they will likely come by to help out. Most folks here who use blogs, though, use FelBlog, as far as I can tell.
Thanks JP... hope someone will come up with an idea...
Quote from: JPDeni on November 10, 2006, 09:49:56 PM
It may not be that hard, but unless someone has already installed that mod, they have no experience with it and would have to install it and study it at least for a bit before knowing how it works.
If someone has it installed already, they will likely come by to help out. Most folks here who use blogs, though, use FelBlog, as far as I can tell.
btw JP... where can I find this FelBlog? I did a search but can't find it!
There's info about it here (http://www.tinyportal.net/smf/index.php?topic=8597.msg70255#msg70255) and lots of other places on this forum.
Try http://www.xyfrauen.com/index.php?action=tpmod;dl=item62
Thanks! Weird, if I search FelBlog it only brings up your previous post in this thread... that's it! lol
That's because you used the quick search while in the topic. If you want to search the whole forum, you need to exit from the board you're in.
This would be nice to have support on this as Im getting redundancy blogs, as someone writes one, it multiplies by 3! (Only installed it once) and it would be nice to see a block for the blogs, does the above work?