Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 24

Thread: Journal 0.6

  1. #11
    Senior Member
    Join Date
    Sep 2009
    Posts
    446
    Thanks
    168
    Thanked 56 Times in 43 Posts

    Default

    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

  2. #12
    Former lead dev Nick's Avatar
    Join Date
    Jun 2009
    Location
    Kakamigahara, Japan
    Posts
    2,862
    Blog Entries
    88
    Thanks
    485
    Thanked 809 Times in 528 Posts

    Default

    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".

  3. #13
    Senior Member baadier's Avatar
    Join Date
    Jan 2010
    Location
    Cape Town, South Africa
    Posts
    263
    Thanks
    80
    Thanked 14 Times in 10 Posts

    Default

    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

  4. #14
    Designer mabujo's Avatar
    Join Date
    Mar 2010
    Location
    France
    Posts
    296
    Thanks
    45
    Thanked 156 Times in 101 Posts

    Default

    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

  5. #15
    Senior Member baadier's Avatar
    Join Date
    Jan 2010
    Location
    Cape Town, South Africa
    Posts
    263
    Thanks
    80
    Thanked 14 Times in 10 Posts

    Default

    Mine happened as soon as i posted it, i havent had problems with link tags on a previous journal post that i did

  6. #16
    Former lead dev Nick's Avatar
    Join Date
    Jun 2009
    Location
    Kakamigahara, Japan
    Posts
    2,862
    Blog Entries
    88
    Thanks
    485
    Thanked 809 Times in 528 Posts

    Default

    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.

  7. #17
    Senior Member baadier's Avatar
    Join Date
    Jan 2010
    Location
    Cape Town, South Africa
    Posts
    263
    Thanks
    80
    Thanked 14 Times in 10 Posts

    Default

    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.

  8. #18
    Senior Member
    Join Date
    Aug 2010
    Posts
    199
    Thanks
    41
    Thanked 8 Times in 8 Posts

    Default

    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

  9. #19
    Former lead dev Nick's Avatar
    Join Date
    Jun 2009
    Location
    Kakamigahara, Japan
    Posts
    2,862
    Blog Entries
    88
    Thanks
    485
    Thanked 809 Times in 528 Posts

    Default

    Quote Originally Posted by richrf View Post
    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.
    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.

  10. Thanked by:


  11. #20
    Senior Member
    Join Date
    Aug 2010
    Posts
    199
    Thanks
    41
    Thanked 8 Times in 8 Posts

    Default

    Thanks again for your help Nick. I missed these permissions altogether. I will study them and understand them better. Thanks again.

    Rich

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •