Lyften Bloggie - no login need for comment - Forums

Items per page:

Showing 1-10 of 10 items

Hello, i am new on joomla and working on my first project. my website is not too big due to this i am not giving login system in my website. i don't want the user of my websitte to sign up for giving a comment, captcha code is enough. Any Solution?

 

Thank You

I agree it would be nice to have the option for non-registered users to leave comments.

coments without reg. - i also think its a great idea!

I think this is more then just a good idea. Is a must.

Being at the start with my site I have to gather as much users as possible. So we need guests users to be able to leave a comment. Later on, when i have a bigger community of users I can permanently use authentication to post comments.

So I thing this could be a very handy option to be added in the next release.


+1 !!!

This is a great component, but without the ability for website visitors to leave comments without creating a user account, I'm going to have to look for an alternative solution... :-(

Any idea if this feature is possible/planned?

 

Thanks again for a great component !

Great extension but i hope the developer adds this feature.. allowing anyone to comment is an absolute must for this extension going forward, especially if the developer wants it to be the absolute best blogging extension for Joomla..

 

hi all,

i'd like to show you a posibillity to allow "adding comments" without a login before.

first i have to say: i don't know whether this will work on your system too as well as i don't know whether this might causes somewhere else some issues. but at least i can tell you it worked fine at all times i tried it on my system.

ok, just to be sure nothing bad will happen to your joomla or lyftenbloggie installation, backup the following files:

Joomla\components\com_lyftenbloggie\models\comments.php

Joomla\components\com_lyftenbloggie\helpers\helper.php

this are the files we're going to change.

 

open Joomla\components\com_lyftenbloggie\models\comments.php in some editor (e.g. notepad)

go down to row ~ 245. where you should be seeing:

if($user->guest){
       JError::raiseNotice('SOME_ERROR_CODE', JText::_('YOU NEED TO BE LOGGED IN TO COMMENT'));
        $error = true;
}

 

change this into:

//    if($user->guest){
//        JError::raiseNotice('SOME_ERROR_CODE', JText::_('YOU NEED TO BE LOGGED IN TO COMMENT'));
//        $error = true;
//    }

or delete  it. but i think it's the better way just to set it as comment...

now save the file!

 

ok. now we're going to the next file. open Joomla\components\com_lyftenbloggie\helpers\helper.php in an editor (e.g. notepad) and go to row ~ 617. there you sould be looking at:

    }
}else{
if(!$user->guest) {
?>
<div class="post-comment"><a href="#" onclick="showHiddenDiv('entryComment');return false;" id="entryComment"><?php echo JText::_('LEAVE A COMMENT'); ?></a></div>

 

we need to change    if(!$user->guest) {   into:

if($user->guest) {

or just deleted the ! .

now save this file and try your comments. from now on your guests should be able to leave comments without a registration or login before.

this was all i've done on my system and it worked fine so far. if something went wrong on your's just delete the files we've changed and replace them with the backup's you hopfully made before we've changed them.

 

i hope this post was helpful and it'll work on all of your systems.

 

Sven @ www.abblen.de

 One addition to the above comment. You can alos change

    if(!$user->guest) {  

to:

    if($user->guest || !$user->guest) {

 

 This will allow registered and non registered users to post.

And anyone, who does not want to get their hands down on the code, can just install Jcomments for commenting on lyftenblogs.  http://www.joomlatune.com/jcomments.html

Just remember to choose Jcomments from lyftenblog settings for commenting.

There's a solution without any 'hacks' or php wizarding. Read my post:

http://www.lyften.com/support/forums/lyften-bloggie/allow-comments-for-guests.html

Items per page:

Showing 1-10 of 10 items