-
AuthorPosts
-
fiumeciane Friend
fiumeciane
- Join date:
- June 2009
- Posts:
- 208
- Downloads:
- 13
- Uploads:
- 57
- Thanks:
- 16
- Thanked:
- 6 times in 1 posts
August 4, 2011 at 10:01 am #167060I would like to eliminate the possibility of login. Basically I want everyone to enter comments, however, because it will be published only after my approval. Is it possible?
Stork11 FriendStork11
- Join date:
- March 2011
- Posts:
- 2273
- Downloads:
- 0
- Uploads:
- 142
- Thanks:
- 55
- Thanked:
- 431 times in 393 posts
August 5, 2011 at 5:07 am #404584<em>@fiumeciane 257521 wrote:</em><blockquote>I would like to eliminate the possibility of login. Basically I want everyone to enter comments, however, because it will be published only after my approval. Is it possible?
</blockquote>
Hello fiumeciane,
As your screenshot, everyone can post comment on your site as long as they input their name and e-mail. No need to log in.
Best regards.
fiumeciane Friendfiumeciane
- Join date:
- June 2009
- Posts:
- 208
- Downloads:
- 13
- Uploads:
- 57
- Thanks:
- 16
- Thanked:
- 6 times in 1 posts
August 5, 2011 at 6:27 am #404595Right, and that’s why I want to remove that phrase. If someone clicks on the link “Login”, the credentials are required (not necessary).
Stork11 FriendStork11
- Join date:
- March 2011
- Posts:
- 2273
- Downloads:
- 0
- Uploads:
- 142
- Thanks:
- 55
- Thanked:
- 431 times in 393 posts
August 10, 2011 at 7:11 am #405318<em>@fiumeciane 257695 wrote:</em><blockquote>Right, and that’s why I want to remove that phrase. If someone clicks on the link “Login”, the credentials are required (not necessary).</blockquote>
Hello fiumeciane,
Please make some following changes.
After (about line 79):
[PHP]
<?php if (!$currentUserInfo->guest) {?>
[/PHP]
Delete block:
[PHP]
<li class=”clearfix”>
<div id=”jac-text-user”>
<?php echo JText::_(‘POSTING_AS’).” “.$currentUserInfo->username;?>(<a href=”<?php echo JURI::base().’index.php?option=com_jacomment&view=users&task=logout_rpx’;?>”><?php echo JText::_(“LOGOUT”);?></a>)
</div>
</li>
[/PHP]After (about line 86):
[PHP]
<li class=”clearfix”>
[/PHP]
Delete block:
[PHP]
<label class=”description” id=”title1″><?php echo JText::_(“COMMENT_AS_A_GUEST_OR”);?> <strong><a href=”javascript:open_login(‘<?php echo JText::_(“LOGIN_NOW”);?>’, ‘<?php echo $ipBrowser; ?>’);”><?php echo JText::_(“LOGIN”);?></a></strong></label>
[/PHP]Best regards.
fiumeciane Friendfiumeciane
- Join date:
- June 2009
- Posts:
- 208
- Downloads:
- 13
- Uploads:
- 57
- Thanks:
- 16
- Thanked:
- 6 times in 1 posts
August 10, 2011 at 2:18 pm #405419Hi Nat,
I did the changes you suggested to the file components/com_jacomment/themes/default/html/comments/addnew.php (you forgot to specify it) and as you can see nothing happened. :((
Blaine FriendBlaine
- Join date:
- August 2007
- Posts:
- 1443
- Downloads:
- 0
- Uploads:
- 25
- Thanks:
- 98
- Thanked:
- 177 times in 154 posts
August 10, 2011 at 4:24 pm #405443Hi fiumecaine,
Have you been sure to clear your local machines cache?fiumeciane Friendfiumeciane
- Join date:
- June 2009
- Posts:
- 208
- Downloads:
- 13
- Uploads:
- 57
- Thanks:
- 16
- Thanked:
- 6 times in 1 posts
August 10, 2011 at 5:09 pm #405456Yes, I cleared local machine cache, Joomla cache and T3 cache.
You still see the phrase that I want to cancel?
Blaine FriendBlaine
- Join date:
- August 2007
- Posts:
- 1443
- Downloads:
- 0
- Uploads:
- 25
- Thanks:
- 98
- Thanked:
- 177 times in 154 posts
August 10, 2011 at 5:32 pm #405458Hi fiumecaine,
I am unaware of any phrase. Where is the phrase? The screen shot??
If it is on the web site I would greatly appreciate a link and that way I could better Investigate how to direct you to a solution that will work for you.
Thanks and awaiting your response.fiumeciane Friendfiumeciane
- Join date:
- June 2009
- Posts:
- 208
- Downloads:
- 13
- Uploads:
- 57
- Thanks:
- 16
- Thanked:
- 6 times in 1 posts
August 10, 2011 at 8:02 pm #405482Ok, return to starting point: I would remove this phrase
Translated into Italian from here:
I want to add something because I believe that you deserve: your products (Joomlart) are fantastic, your service is of high standard. Since I discovered the products Joomlart use them forever. Well done, I will remain one of your loyal customers.
Thanks from Italy
-
Blaine Friend
Blaine
- Join date:
- August 2007
- Posts:
- 1443
- Downloads:
- 0
- Uploads:
- 25
- Thanks:
- 98
- Thanked:
- 177 times in 154 posts
August 10, 2011 at 9:48 pm #405510Ok fiumeciane,
Here is what I will do if you can allow me the time.
I would like to install a test site on my local machine and see if I can get the code you need to remove to get rid of those items from appearing.
I will get right on top of this tonight hopefully and have an answer for you by tomorrow.
Are you also familiar with Firebug? It is a wonderful tool that can help you to locate where the code is coming from. The link to read about it and download it can be found here:
http://getfirebug.com/whatisfirebug
Thanks for your patience and remember, if you find me helpful, please click the “THANKS” button for me.1 user says Thank You to Blaine for this useful post
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
August 10, 2011 at 10:28 pm #405524So you still want the boxes below but just want to remove that line of text?
Let’s look at how to do this. We know where the code is translated in the language file but where is it generated in the code? I used the great wingrep tool (http://www.wingrep.com/) to search through the ja comment component folder for the string “COMMENT_AS_A_GUEST_OR” and within a few seconds the string was found in the componentscom_jacommentthemesdefaulthtmlcommentsaddnew.php file at line 87
<label class="description" id="title1"><?php echo JText::_("COMMENT_AS_A_GUEST_OR");?> <strong><a href="javascript:open_login('<?php echo JText::_("LOGIN_NOW");?>', '<?php echo $ipBrowser; ?>');"><?php echo JText::_("LOGIN");?></a></strong></label>
So I simply removed that line and voila, the string is gone.
That was also described by Nhat above but I think he forgot to say what file it was in.
fiumeciane Friendfiumeciane
- Join date:
- June 2009
- Posts:
- 208
- Downloads:
- 13
- Uploads:
- 57
- Thanks:
- 16
- Thanked:
- 6 times in 1 posts
August 10, 2011 at 11:15 pm #405528<em>@phill luckhurst 258838 wrote:</em><blockquote>So you still want the boxes below but just want to remove that line of text?
Let’s look at how to do this. We know where the code is translated in the language file but where is it generated in the code? I used the great wingrep tool (http://www.wingrep.com/) to search through the ja comment component folder for the string “COMMENT_AS_A_GUEST_OR” and within a few seconds the string was found in the componentscom_jacommentthemesdefaulthtmlcommentsaddnew.php file at line 87
<label class="description" id="title1"><?php echo JText::_("COMMENT_AS_A_GUEST_OR");?> <strong><a href="javascript:open_login('<?php echo JText::_("LOGIN_NOW");?>', '<?php echo $ipBrowser; ?>');"><?php echo JText::_("LOGIN");?></a></strong></label>
So I simply removed that line and voila, the string is gone.
That was also described by Nhat above but I think he forgot to say what file it was in.</blockquote>
Hi Phill,
Thanks for your advice. For searching files for text strings I use dview, and has been with this tool that I found the file addnew.php.
The line you ask me to remove is the same Nath wrote to me. But it does not work. My file addnew.php no longer has that line, and not even these
<li class="clearfix">
<div id="jac-text-user">
<?php echo JText::_('POSTING_AS')." ".$currentUserInfo->username;?>(<a href="<?php echo JURI::base().'index.php?option=com_jacomment&view=users&task=logout_rpx';?>"><?php echo JText::_("LOGOUT");?></a>)
</div>I gave Nhat FTP credentials, and can control himself. It ‘a mystery to me, It does not work :((
Blaine FriendBlaine
- Join date:
- August 2007
- Posts:
- 1443
- Downloads:
- 0
- Uploads:
- 25
- Thanks:
- 98
- Thanked:
- 177 times in 154 posts
August 10, 2011 at 11:24 pm #405529Hi fiumecaine,
Would you still like for me to set up a test site and see what I can do then?
Please advise.
thanksfiumeciane Friendfiumeciane
- Join date:
- June 2009
- Posts:
- 208
- Downloads:
- 13
- Uploads:
- 57
- Thanks:
- 16
- Thanked:
- 6 times in 1 posts
August 10, 2011 at 11:53 pm #405531I understand that you want to create a test site in your local machine to do a test, correct? Fine by me.
Now has become a personal issue for me 🙂
Blaine FriendBlaine
- Join date:
- August 2007
- Posts:
- 1443
- Downloads:
- 0
- Uploads:
- 25
- Thanks:
- 98
- Thanked:
- 177 times in 154 posts
August 11, 2011 at 12:50 am #405534Ok fiumecaine,
I want to do exactly what you did to recreate the situation as closely as possible.
Please tell me what template you used, the version of Joomla you started with, the version of Joomla being used now and the method you used to put on your site (cPanel, FTP, etc.).
I want to know if you started with a clean install or overwrote the existing files. Was it a full install package or the template and then the components and modules added in.
Also please advise the PHP version you are using as well.
If you have any additional components/modules installed please let me know those also.
If you wish to PM me the details, that is fine.
Thanks! We will get this figured out and over come it together. I am here for you!**EDIT***
Are you using the plug in by chance? I may know of a problem if so. -
AuthorPosts
This topic contains 21 replies, has 4 voices, and was last updated by fiumeciane 13 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum