Closed (fixed)
Project:
Blog Information
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
28 Sep 2006 at 07:53 UTC
Updated:
11 May 2007 at 12:19 UTC
Jump to comment: Most recent
Comments
Comment #1
rkn-dupe commentedYou can already do both of those things - ok it doesnt put ur avatar in auto, but u can do it by hand...
Comment #2
Christefano-oldaccount commentedThat's good to hear! Unfortunately, it doesn't work for me. I tried Blog Info with two different themes (one xTemplate and one phpTemplate) and each time the HTML was printed as text.
I'm using the CVS version (dated 2006-21-9) with Drupal 4.7.3.
Comment #3
lennart commentedI am also getting the HTML printed as text
Comment #4
mfer commentedRight now the text is designed to be displayed as text. Good feature thought.
For speed and simpleness I designed it to just do text rather than using the filters system or just allowing html. If there are a number of people interested I can change this. Please let me know what you think. I take it the 3 of you want the html.
- Matt
Comment #5
Christefano-oldaccount commentedSure do!
I really like how bloginfo lets users administer their own blog, but I just wish it would grab the users' pictures (if there is one). HTML capability would be really nice, too.
Comment #6
lennart commentedditto here...
Comment #7
Christefano-oldaccount commentedAnyone else interested in this feature? I am :)
Comment #8
wuf31 commentedThis would be a nice addition for drupal blog functionality.. Please do add this :)
Comment #9
marcoBauli commented+1 for users picture! ...HTML could turn out to be messy and intimidate non-HTML people maybe....just a thought..
Comment #10
mfer commentedI think both are good ideas and if done properly would work out well for people. But, this is not something I need at the moment and have quite a few other things going on leaving me without the time to write this. Someone want to submit a patch?
Comment #11
eliotc commentedIf you use TinyMCE, you can add formatting and images easily (no coding for the user).
Just take out the check_plain on lines 57 and 58, so it looks like:
Comment #12
mfer commented@eliotc - I would not recommend your suggestion in #11. This doesn't have user input text being filtered before displaying. This would leave the install vulnerable to XSS attacks. Maybe work check_markup in there in place of check_plain with a selection box for the filter.
Comment #13
fluxrider commentedJust on this , I think it would be excellent if this block 'saw' input filters . I only allow the use of BBCode , so I'm wondering where to start looking in order to invoke the BBCode module so my users can use bbcode to fashion their title and description. I have it on my todo list to start looking into this ( while learning how things work ) but if there are any tips to where to start looking , would be good.
Thanks
oh yeh. I've also posted an issue with the block appearing at the bottom. Not very 'blooger' like .
Cheers
Comment #14
mfer commentedThis is on my list of things to do but not immediately. I have to learn how to make the filters work here first.
Comment #15
Jboo commentedThis is just what i'm looking for. I'd love to be able to allow users to add html into the description. If I was any good at coding I'd give this a go but unfortunately i'm not :-(. If anyone gets any further with this that would be great.
Comment #16
abqaria commentedhope anyone can solve using tinymice in this with input filters
Comment #17
mfer commentedRight now this module filters out the html code. It would need to use input filters to support bold, italics, and other stuff in TinyMCE. At the moment I don't have time to do the coding to make this happen. If someone wants to submit a patch I'll put it in place. Any takers?
Comment #18
Anonymous (not verified) commented+1 for owner's picture support ;)
Comment #19
Anonymous (not verified) commentedActually, is there any possibility to easily modify the core to display the avatar with the description ?
Comment #20
mfer commentedThis is a feature request since it requires modifying the module to add something that isn't there.
Comment #21
jarea commented+1 for support of input filters. Would really improve the functionality.
Comment #22
jarea commentedFor those who might be able to do something about it, it looks like check_markup() is the function that deals with the input formats.
Comment #23
jarea commentedMy apologies to christefano because this is a really inelegant hack, but I don't know much of anything about programming modules and this hack allows me to use his Blog Information module to inject the contents of a blogger's NodeProfile CCK node into the Blog Information block. I did the following things:
First I activated the NodeProfile and associated modules including NodeFamily. This allows me to create a CCK content type, limit it to one node per user and display (but not edit) its contents in the default User Account page.
I created a NodeProfile CCK node called blog_information that has all of the information fields about the blog that I want to track. In my case they were Blog Name, Blogger's Name, About This Blogger, About This Blog and Website URL. Of course these are all standard CCK fields, so they can be configured to anything that you want.
I hacked the bloginfo module to basically hijack the contents of the bloginfo block that is displayed along with the blog.
In the function bloginfo_block, I made the following changes:
Basically what this does is that it nulls out the bloginfo title and replaces the $block['content'] with whatever is in the blogger's blog_information CCK node.
I also wanted to turn off the BlogInfo fields inside of the User's Account Settings page so I commented out everything inside of the outside braces { } of bloginfo_form_bloginfo.
Finally, I went to the block configuration page for bloginfo (Blog Information) and put in the Title field to turn off its display.
One downside is that the blogger will have to use a special path to edit the contents of their blog_information CCK node. Set up a menu item for nodefamily/blog_information and that will take them to their Blog Information data.
I can't attest to anything relating to the quality or security of what I have done, but it does work nicely for me.
Good luck.
Comment #24
mfer commentedthere is now a beta version of the 2.x line of bloginfo with filters and you can override the theming with phptemplate_bloginfo_block to add user pictures and things like that. You can see the beta release at http://drupal.org/node/133005. Please, let me know if there are any issues.
Comment #25
mfer commentedFilters are added into the drupal-5 2.x line of this module.
As for user pictures you can now theme the content section via the phptemplate_bloginfo_block function in your template.php file. This will work for other customizations.
Comment #26
marcoBauli commentedhi,
just wandering if this will ever be ported to 4.7
thx
Comment #27
mfer commentedIf you want the feature back ported please open up a feature request for that. I may be able to get to that in the next month or so.
Or, you could upgrade to 5 :-D
Oh, and if anyone wants to craft a patch that does this I wouldn't mind.
Comment #28
marcoBauli commentedhum, shall we turn this into the feature itself? if this is not ideal please just restore this post and i'll open a wrong one ;)
Comment #29
marcoBauli commentedhum, shall we turn this into the feature itself? if this is not ideal please just restore this post and i'll open a new one ;)
Comment #30
mfer commentedThis should be it's own task
Comment #31
killes@www.drop.org commented