default message for guests

0
Hi,

On your demo page, a default message is shown on the comment section to a guest informing them that only a registered user can write a comment.

However, on my site no such a message shows up on the comment section. Please help me add the message for guests.

thanks,
Responses (10)
  • Accepted Answer

    Sunday, January 31 2010, 04:42 PM - #Permalink
    0
    we are using JomComment. to get this message you must be running JomComment :)
    The reply is currently minimized Show
  • Accepted Answer

    Monday, February 01 2010, 12:48 AM - #Permalink
    0
    there is an option to choose the Music Collection built-in comment engine. So, I don't understand why I should be using JomComment to have the message show up. Are you trying to upsell Jomcomment?

    It wouldn't be hard to have the message showed up with the built-in comment engine.

    Please help.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, February 02 2010, 04:02 PM - #Permalink
    0
    what? of course not! Im not trying to upsell anything!!!

    I just said that this message does not appear on deafult built in comment system.

    if you want to add is, I can guide you, its not much difficult, doing just some small addings on templates
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, February 04 2010, 07:52 PM - #Permalink
    0
    Thanks for your clarification and apology for my misunderstanding.

    I would greatly appreciate it if you could guide me.

    Thanks,
    The reply is currently minimized Show
  • Accepted Answer

    Friday, February 05 2010, 03:33 PM - #Permalink
    0
    open /components/com_muscol/views/album/ympl/default.php

    try to search for this piece of code:

    switch($this->params->get('commentsystem')){


    some line below, you'll find this:

    if($user->id){


    well, what yo have to do is to add an "else" sentence after this IF is closed (do you know some PHP?). so, find the "}" closing bracket, and add this:

    else{echo "Register to post comments";}


    or any code you like

    do you understand?
    The reply is currently minimized Show
  • Accepted Answer

    Friday, February 05 2010, 07:56 PM - #Permalink
    0
    Thanks for your guidance. I was able to make it just like what I wanted thanks to you.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, February 05 2010, 07:57 PM - #Permalink
    0
    BTW, are you going to implement this to upcoming version 2?
    The reply is currently minimized Show
  • Accepted Answer

    Siasb
    Siasb
    Offline
    Saturday, March 13 2010, 07:16 AM - #Permalink
    0
    Just some additional info:

    To make it show that there are no messages yet and look like this on empty set:

    Comments (0)
    ----------------------------------------------------------------------------------------

    Write Comments
    ----------------------------------------------------------------------------------------
    You must be logged in to post a comment. Please register if you
    do not have an account yet.

    change the code for the else part to something like this:

    From:


    To:



    And for the section above it to show there are 0 comments so far, you need to change the code few lines above, just below the default switch from:


    To:

    default:

    The following inner foreach loop structure would still be fine with this change.


    The code enclosure directive does not seem to escape the character well. Germi, I'll Email you the code segments if you could please delete this post and repost it with the update that include the codes. Thanks.
    The reply is currently minimized Show
  • Accepted Answer

    Tony Lloyd
    Tony Lloyd
    Offline
    Monday, November 22 2010, 01:50 AM - #Permalink
    0
    Hey all, I can't seem to find JomComment, and don't want to make the code changes to each of the possible views (artist/album/song). Is this ever going to be updated, or can somebody point me to where I can get JomComment?

    Thanks!

    Tony
    The reply is currently minimized Show
  • Accepted Answer

    Monday, November 22 2010, 05:13 PM - #Permalink
    0
    jomcomment is an extenral component, made by www.azrul.com
    The reply is currently minimized Show
Your Reply