Hope the new updates please. I've updated the description for the extension too.
Although I have created the ability to view only a particular users blog posts, there is no obvious link to these anywhere. I was waiting for suggestions on how you would like this - perhaps a link in users profiles? Or change it so that on the main blog page when you click a user it takes you to their blog, rather than their profile?
Either way, for those who do want it, for the moment you can add a new Tab using Page Manager with the correct URL.
I've also removed the portion of code that ammends database.conf as I think this causes more problems than it solves. This should mean for cleaner installs all around.
Hi Fery - I've unwhispered this, as I felt other people could benefit from it.
hey spode, just before i start with your awesome extension a quick...
multiple blogs ... does that mena that im able to assign a group and they're able to have their own unique blog? posting media ... is it compatible with jqmedia? (so can it display media on the "blog"-frontpage)
thanks mang
Anyone who has been given the "permission" to blog/unblog, will, at this stage be able to blog/unblog ANY posts. So there is a bit of an assumption that anyone with this power is trustworthy and isn't going to abuse it. I guess this should be changed, so we have two permissions "can blog/unblog OWN posts" and "can blog/unblog ALL posts". I'll add this into the next revision - that is, if people want it?
But that aside, yes, you can filter the blog to just a single user by adding &BlogUser=userid to the URL.
Posting Media is a tricky one. Most extensions aren't designed to be active on pages that are extension.php. So most likely - no. But by all means give it a go. It certainly doesn't work with the attachment plugin, which I've outlined above.
There is one way I've been thinking about that *would* make it compatible. And that would be to actually make some sort of virtual discussion, so that viewing the blog is the same as viewing a discussion, with virtual posts being pulled in from different discussions. I'd have to give that some thought :)
hey spode, first of all there is an unwritten law if you publish someones whispers = "don't forget to check his spelling" :D
ok all jesting aside ...
posting media is very very important, that makes the difference between a blog and a plain text based news system in my oppinion. how about dynamic iframes to embed media or such ?
at least i'm only a frontend designer and not a backend coder, so that would be anyhow a complete mystery to me to solve such a tricky problem with php.
I'll check his spelling, if you check your capitalization ;)
Media is important, but it's just a case of the way all the current systems have been designed.
I could either try and do it the way I suggested, by simulating a discussion - which may end up with database duplication? Or, I would have to code all the integration myself, as a secondary system.
I'm not 100% sure with JQMedia, but most extensiobns can be made to work on extension.php pages by adding that into them. I'll look into it, as it may be a simple change.
One of the problems, is Blog, and by extension BlogThis uses ID Tags for the block elements, so a number of styles and some Javascript can get screwed up. If people let me know the exact extensions they want tested, I can give it a go.
1) after enabling the blog this extension i get this here on "settings.php?PostBackAction=Blog".
Warning: BlogForm::include() [blogform.include]: Unable to access /srv/www/web719/html/forum/extensions/BlogThis/theme/Theme.BlogForm.php in /srv/www/web719/html/forum/extensions/BlogThis-2008-08-04/library/PostBackControl.BlogForm.php on line 54
Warning: BlogForm::include(/srv/www/web719/html/forum/extensions/BlogThis/theme/Theme.BlogForm.php) [blogform.include]: failed to open stream: No such file or directory in /srv/www/web719/html/forum/extensions/BlogThis-2008-08-04/library/PostBackControl.BlogForm.php on line 54
Warning: BlogForm::include() [function.include]: Failed opening '/srv/www/web719/html/forum/extensions/BlogThis/theme/Theme.BlogForm.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /srv/www/web719/html/forum/extensions/BlogThis-2008-08-04/library/PostBackControl.BlogForm.php on line 54
Why is it in a folder called BlogThis-2008-08-04 instead of just "BlogThis". Is it supposed to cope with differing folder names? Perhaps I have something explicit in there...
That's a general setting for the forum - they are for all intents and purposes, standard posts. If you check in your global settings, you'll find the character limit for posts.
I was thinking about that. You could add that feature
This function will not cut words up, like substr normally does function cutText($string, $length) { while ($string{$length} != " ") { $length--; } return substr($string, 0, $length); }
Some thing like that would work, then it can be set in a setting what length and to call it echo cutText($what ever the content variable is , $The length set in the admin
Simon - I've added the "read more" facility to the latest version, plus the permissions for only blogging your own posts.
Manda - currently, no. I imagine you could modify the SQL for the discussion list to exclude any with blogged posts in, but it would require a join with the comments field, so might be a little on the taxing side.
Comments
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Hope the new updates please. I've updated the description for the extension too.
Although I have created the ability to view only a particular users blog posts, there is no obvious link to these anywhere. I was waiting for suggestions on how you would like this - perhaps a link in users profiles? Or change it so that on the main blog page when you click a user it takes you to their blog, rather than their profile?
Either way, for those who do want it, for the moment you can add a new Tab using Page Manager with the correct URL.
I've also removed the portion of code that ammends database.conf as I think this causes more problems than it solves. This should mean for cleaner installs all around.
Be good to get any feedback.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •But that aside, yes, you can filter the blog to just a single user by adding &BlogUser=userid to the URL.
Posting Media is a tricky one. Most extensions aren't designed to be active on pages that are extension.php. So most likely - no. But by all means give it a go. It certainly doesn't work with the attachment plugin, which I've outlined above.
There is one way I've been thinking about that *would* make it compatible. And that would be to actually make some sort of virtual discussion, so that viewing the blog is the same as viewing a discussion, with virtual posts being pulled in from different discussions. I'd have to give that some thought :)
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •ok all jesting aside ...
posting media is very very important, that makes the difference between a blog and a plain text based news system in my oppinion.
how about dynamic iframes to embed media or such ?
at least i'm only a frontend designer and not a backend coder, so that would be anyhow a complete mystery to me to solve such a tricky problem with php.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Media is important, but it's just a case of the way all the current systems have been designed.
I could either try and do it the way I suggested, by simulating a discussion - which may end up with database duplication? Or, I would have to code all the integration myself, as a secondary system.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •:D
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •One of the problems, is Blog, and by extension BlogThis uses ID Tags for the block elements, so a number of styles and some Javascript can get screwed up. If people let me know the exact extensions they want tested, I can give it a go.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •1) after enabling the blog this extension i get this here on "settings.php?PostBackAction=Blog".
Warning: BlogForm::include() [blogform.include]: Unable to access /srv/www/web719/html/forum/extensions/BlogThis/theme/Theme.BlogForm.php in /srv/www/web719/html/forum/extensions/BlogThis-2008-08-04/library/PostBackControl.BlogForm.php on line 54
Warning: BlogForm::include(/srv/www/web719/html/forum/extensions/BlogThis/theme/Theme.BlogForm.php) [blogform.include]: failed to open stream: No such file or directory in /srv/www/web719/html/forum/extensions/BlogThis-2008-08-04/library/PostBackControl.BlogForm.php on line 54
Warning: BlogForm::include() [function.include]: Failed opening '/srv/www/web719/html/forum/extensions/BlogThis/theme/Theme.BlogForm.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /srv/www/web719/html/forum/extensions/BlogThis-2008-08-04/library/PostBackControl.BlogForm.php on line 54
any ideas?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •the devil is in the details :/
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •is there a way or setting that members/users are only able to tag their "own" topics ? (so no comments or such only their very very own topics)
thx
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •This function will not cut words up, like substr normally does
function cutText($string, $length) {while ($string{$length} != " ") {
$length--;
}
return substr($string, 0, $length);
}
Some thing like that would work, then it can be set in a setting what length and to call it
echo cutText($what ever the content variable is , $The length set in the admin- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Manda - currently, no. I imagine you could modify the SQL for the discussion list to exclude any with blogged posts in, but it would require a join with the comments field, so might be a little on the taxing side.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •2) Did you replace the whole folder with the new code? I know you said you modified your own.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •