The comments made on a journal always show up on the comments widget, is there a way to disable this?![]()
The comments made on a journal always show up on the comments widget, is there a way to disable this?![]()
Last edited by nothingman; 07-10-2010 at 03:58 AM. Reason: language
Not easily. Comments are comments regardless of where they are posted. It's the posts that are different, not the comments. So to do this, you'd need to get information about the post each comment is made on.
Ideally, you'd extend the plugin, overriding the getCommentsWidget function with an SQL query that joins the comments and posts tables together where post_id matches comment_post_ id and the post_type is "blog".
Search the Forums | Read the Documentation
Ive posted a Journal entry with embedded flash video and and the flash gets stripped out of the post. Ive included <embed><object><param> as allowable tags so im not sure whats happening
Which reminds me, I've encountered something similar to the above, having for example link tags enabled but being stripped out of Journal. (oddly I think it only got removed when editing posts)
mabujo
Themes : Yonda - Isis - My Hotaru sites : Arsenal News - Coming soon : More Hotaru sites and Hotaru Themes
Mine happened as soon as i posted it, i havent had problems with link tags on a previous journal post that i did
Not sure about the links. This is still a young plugin and doesn't get enough usage to uncover all the bugs, so thanks for the feedback.
I suspect some tags are getting stripped out by htmLawed. Technically, when you set allowed tags in Admin, you're adding them to the exclude list in PHP's strip_tags function. However, before that function is run, htmLawed runs its own filter.
So what to do? At the moment, it's most likely a core hack. Read through the whole of this thread for clues.
There is another problem I know of. When a post is too long it becomes impossible to editable, i.e. the Edit link doesn't respond.
Search the Forums | Read the Documentation
I had that problem with the edit link not appearing but after updating to 0/6 it started working again,il have a look at that thread to see what i can do.
It is a very nice idea but I would not want to open up journaling to all users. It would be nice to be able to limit journaling to a specific class of users. Thanks.
Rich
You can do that. Each user has a "Can Journal" permission. You can disable that for "member" users from Admin -> User Manager-> Edit Default Permissions. You could allow moderators only to have that permission, or create a custom user group for "journal"ists (haha), or just enable it for selected, individual users from their Profile -> Permissions page.
Search the Forums | Read the Documentation
Thanks again for your help Nick. I missed these permissions altogether. I will study them and understand them better. Thanks again.
Rich
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks