yvComment - Comments extension for Joomla! 1.5

This forum is for general questions about extensions for Joomla! version 1.5.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
User avatar
yvolk
Joomla! Guru
Joomla! Guru
Posts: 979
Joined: Thu Jun 01, 2006 1:52 pm
Location: Moscow, Russia
Contact:

Re: yvComment - Smileys in Comments only

Post by yvolk » Thu Feb 26, 2009 6:25 am

xerix32 wrote:With your suggested configuration ("Enable Smiley replacements for the text of Articles" + "Execute content plugins") smiles are displayed even in my articles. I do not want this to happen! I want smiles only in comments beacuse in my articles there are situations involving in wrong "smile replacement".
This means that you have special requirement that is not covered by yvSmiley/yvComment configuration options.
If you're satisfied with your hack (or we may call it a "custom template") - use it :)

As a general and nicer solution I'm still looking for a way to set plugin/component/module parameters for individual articles. Joomla! doesn't have such feature yet...

User avatar
yvolk
Joomla! Guru
Joomla! Guru
Posts: 979
Joined: Thu Jun 01, 2006 1:52 pm
Location: Moscow, Russia
Contact:

yvComment-Redirects to Frontpage upon certain POST or REPLIE

Post by yvolk » Thu Feb 26, 2009 6:42 am

jester7820 wrote:1.20 did improve the issue I was seing. When posting a NEW comment, it no longer goes to the front page. However, an action like Owners reply still was going to the front page. I am still very new to Joomla and standards, but this change seems to work well for me. You or someone else may find a better way, but this seems to work for now. After logging in and clicking reply, it stays on the current page (same URL). I tested with and without SEF so it appears to be safe from my perspective. The change is to the form action using this function: JURI::getInstance()->toString();

com_yvcomment/views/listofcomments/tmpl/default.php

Code: Select all

      <?php	if ($ShowReplyButton) :	?>
         <td>
           <form action='<?php echo JURI::getInstance()->toString();?>' target="_top" method='post'>
Here is a link with some information: http://docs.joomla.org/JURI/getInstance

I hope this helps, but I'm still learning. YMMV.

Let me know what you think, I'm will to try again or something else if this won't work.
I tried something like you proposed: inserted full URL of current page to the form 'action' attribute.
I had to abandon this method because full URL ( e.g. JURI::getInstance()->toString() ) has parameters that may be in conflict with parameters needed for the following page. In fact, developer can't even control values of that parameters... I would call this situation "a Joomla! router problem"...
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html

CDWM
Joomla! Apprentice
Joomla! Apprentice
Posts: 38
Joined: Thu Nov 13, 2008 3:23 am
Location: Colorado
Contact:

Re: yvComment - Does '"Administrator's reply only" work?

Post by CDWM » Thu Feb 26, 2009 5:18 pm

yvolk wrote:I've just tested this on my installation: it works!
Link to your site doesn't help me to figure out the problem, because it doesn't show me 'Reply' button ;)
...Maybe you have some wrong custom template?
I've played around with the plugin settings to see what would happen, and I think it's just a matter of the Administrator's Reply Only for Allow Comment on Comments setting not working as I expected. What I thought should happen is this:
Email notification sent to user listed in plugin settings
That user opens List of Comments in Admin, sees "Reply" button, clicks it, types a reply, or rebuttal if you like, posts and then that reply is seen in the List of Comments (admin side) as well as under the comment it replied to. Like this:

(title of original comment) this door
(calendar icon) 1 Sunday, 22 February 2009 13:52 (author icon) roscoe the puppy dog
(original comment) Please make me one for my doghouse. thank you. they are great.

Admin Reply: They are too big for your doghouse!
--------------------------------------------------------------------
NEXT COMMENT

As you can see, I'd like to have the ability to reply ONLY in the admin list of comments, and then display that reply in the list of comments as well as on the article page.

Currently, I see a reply button only in the Admin list of comments, click it, reply, then the reply ONLY shows up in the Article Manager in the proper category/section.

IF this can be customized to perform like I wish, could you tell me which file to start playing with?

If it would help to see the Admin side of this, email me at webmaster at cdwebmaker dot com.
Website Design and Development: http://WebMakerInc.com
Facebook: http://www.facebook.com/webmakerinc

User avatar
yvolk
Joomla! Guru
Joomla! Guru
Posts: 979
Joined: Thu Jun 01, 2006 1:52 pm
Location: Moscow, Russia
Contact:

Re: yvComment - Does '"Administrator's reply only" work?

Post by yvolk » Thu Feb 26, 2009 6:38 pm

Hi! As I understood you, you can reply to comment, but you can't see that "comment on comment" in the list of comments.
So, I think that maybe you have problem with template(s). My advice is to start without any customized templates (delete them from the site temporarily), and only after everything works, add customized template(s).
Default template that shows owners reply/administrators reply:
'components\com_yvcomment\views\listofcomments\tmpl\default_owners_reply.php'.
CDWM wrote:
yvolk wrote:I've just tested this on my installation: it works!
Link to your site doesn't help me to figure out the problem, because it doesn't show me 'Reply' button ;)
...Maybe you have some wrong custom template?
I've played around with the plugin settings to see what would happen, and I think it's just a matter of the Administrator's Reply Only for Allow Comment on Comments setting not working as I expected. What I thought should happen is this:
Email notification sent to user listed in plugin settings
That user opens List of Comments in Admin, sees "Reply" button, clicks it, types a reply, or rebuttal if you like, posts and then that reply is seen in the List of Comments (admin side) as well as under the comment it replied to. Like this:

(title of original comment) this door
(calendar icon) 1 Sunday, 22 February 2009 13:52 (author icon) roscoe the puppy dog
(original comment) Please make me one for my doghouse. thank you. they are great.

Admin Reply: They are too big for your doghouse!
--------------------------------------------------------------------
NEXT COMMENT

As you can see, I'd like to have the ability to reply ONLY in the admin list of comments, and then display that reply in the list of comments as well as on the article page.

Currently, I see a reply button only in the Admin list of comments, click it, reply, then the reply ONLY shows up in the Article Manager in the proper category/section.

IF this can be customized to perform like I wish, could you tell me which file to start playing with?

If it would help to see the Admin side of this, email me at webmaster at cdwebmaker dot com.
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html

CDWM
Joomla! Apprentice
Joomla! Apprentice
Posts: 38
Joined: Thu Nov 13, 2008 3:23 am
Location: Colorado
Contact:

Re: yvComment - Comments extension for Joomla! 1.5

Post by CDWM » Thu Feb 26, 2009 7:00 pm

Hi and thanks so much for putting up with me! I'll do some testing/playing in the next couple days and let you know how it goes.
Website Design and Development: http://WebMakerInc.com
Facebook: http://www.facebook.com/webmakerinc

palminas
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Mon Feb 09, 2009 6:48 pm

Re: yvComment - Comments extension for Joomla! 1.5

Post by palminas » Fri Feb 27, 2009 9:38 pm

So, I got this to work on my site, and overall, I am happy with it.

One thing that bothers me is that when someone posts a comment, it looks like:

(Alli) said:
or
(Mitch) said:

Is there a way to remove the parentheses? They don't make much sense.

Thanks.

CDWM
Joomla! Apprentice
Joomla! Apprentice
Posts: 38
Joined: Thu Nov 13, 2008 3:23 am
Location: Colorado
Contact:

Re: yvComment - Comments extension for Joomla! 1.5

Post by CDWM » Fri Feb 27, 2009 10:03 pm

CDWM wrote:Hi and thanks so much for putting up with me! I'll do some testing/playing in the next couple days and let you know how it goes.
I've found a way to make it work mostly like I want and the customer is ok with it, so I'm done with the brain damage for now. Maybe someday I'll look into it a little harder.

The only remaining issue is the link in the email notification. It should be http://MYDOMAIN.COM/new/link-to-article but comes in the email as http://MYDOMAIN.COM/new/new/link-to-article

I'm sure there some setting wrong, but I can't for the life of me find it. When we go live with this Joomla site, it will be moved to the root, replacing existing site and I want to be sure those links all work.

Thanks again!
-C
Website Design and Development: http://WebMakerInc.com
Facebook: http://www.facebook.com/webmakerinc

User avatar
yvolk
Joomla! Guru
Joomla! Guru
Posts: 979
Joined: Thu Jun 01, 2006 1:52 pm
Location: Moscow, Russia
Contact:

yvComment - Is there a way to remove parentheses?

Post by yvolk » Sat Feb 28, 2009 5:46 am

You need to create your custom template for such changes. Read about "template override" in this topic (Search this topic) and on the yvComment's Homepage.
palminas wrote:So, I got this to work on my site, and overall, I am happy with it.

One thing that bothers me is that when someone posts a comment, it looks like:

(Alli) said:
or
(Mitch) said:

Is there a way to remove the parentheses? They don't make much sense.

Thanks.

User avatar
yvolk
Joomla! Guru
Joomla! Guru
Posts: 979
Joined: Thu Jun 01, 2006 1:52 pm
Location: Moscow, Russia
Contact:

Re: yvComment - Comments extension for Joomla! 1.5

Post by yvolk » Sat Feb 28, 2009 5:48 am

CDWM wrote:The only remaining issue is the link in the email notification. It should be http://MYDOMAIN.COM/new/link-to-article but comes in the email as http://MYDOMAIN.COM/new/new/link-to-article
This is bug and it will be fixed in the next release of yvComment:
---
# Content link bug, if Joomla was installed not in the root of the site
---
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html

rugubara
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sat Feb 28, 2009 6:13 am

Re: yvComment - Comments extension for Joomla! 1.5

Post by rugubara » Sat Feb 28, 2009 6:41 am

Hello.

Could you kindly help to mate your yvComment with Events? have a look here: http://www.clubcross.ru/index.php?optio ... 7&Itemid=4

In the very bottom of the page the error is displayed. When I disable yvComment plugin the error goes away.

The opportunity to allow comments there would be marvelous. A hack to get rid of the error -just acceptable.

Regards, Anton Gubarkov

User avatar
yvolk
Joomla! Guru
Joomla! Guru
Posts: 979
Joined: Thu Jun 01, 2006 1:52 pm
Location: Moscow, Russia
Contact:

yvComment and com_events

Post by yvolk » Sat Feb 28, 2009 10:43 am

Hello, Anton! yvComment may work with ANY component as long as it stores its content in Joomla! content table (e.g. 'jos_content').
As I can see in the SQL dump, com_events doesn't use content table even for part of information about the "Event", so "Event" it is not Content from Joomla! point of view (i.e. Joomla! core doesn't know what it is).
This is why yvComment can not comment on such "Events".
I may only suggest to rewrite com_events so that it would EXTEND content table rather that duplicate it in custom table...

What's about the warning message - you have to debug it: I can't tell which extension is 'wrong' even if disabling yvComment removes the warning...
rugubara wrote:Hello.

Could you kindly help to mate your yvComment with Events? have a look here: http://www.clubcross.ru/index.php?optio ... 7&Itemid=4

In the very bottom of the page the error is displayed. When I disable yvComment plugin the error goes away.

The opportunity to allow comments there would be marvelous. A hack to get rid of the error -just acceptable.

Regards, Anton Gubarkov
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html

gmfpanda
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Tue Dec 05, 2006 8:06 pm
Contact:

Re: yvComment - Comments extension for Joomla! 1.5

Post by gmfpanda » Sat Feb 28, 2009 7:59 pm

Thank you for this wonderful component. I use it but have a question.

Is there a way where guests who post and leave their email get sent notifications of replies to their comment and/or new comments?

Often a user will leave a comment that is like "How do I do XYZ?"

So I then reply to them in the comment system but they never get an email to know I responded?

Please let me know, thank you.

Glenn

lopnorth
Joomla! Apprentice
Joomla! Apprentice
Posts: 15
Joined: Tue Sep 23, 2008 7:19 pm

Re: yvComment - Comments extension for Joomla! 1.5

Post by lopnorth » Sat Feb 28, 2009 10:57 pm

I'm wondering if you could tell me where I could locate the code so the Preview Button would not be displayed? I'm using CSS style 003 (Gradient), if that makes any difference. Again, thank you for all your help!

CDWM
Joomla! Apprentice
Joomla! Apprentice
Posts: 38
Joined: Thu Nov 13, 2008 3:23 am
Location: Colorado
Contact:

Re: yvComment - Comments extension for Joomla! 1.5

Post by CDWM » Sat Feb 28, 2009 11:25 pm

yvolk wrote:
CDWM wrote:The only remaining issue is the link in the email notification. It should be http://MYDOMAIN.COM/new/link-to-article but comes in the email as http://MYDOMAIN.COM/new/new/link-to-article
This is bug and it will be fixed in the next release of yvComment:
---
# Content link bug, if Joomla was installed not in the root of the site
---
Will it work properly when we move the finished site to the root?
Thanks!
Website Design and Development: http://WebMakerInc.com
Facebook: http://www.facebook.com/webmakerinc

User avatar
yvolk
Joomla! Guru
Joomla! Guru
Posts: 979
Joined: Thu Jun 01, 2006 1:52 pm
Location: Moscow, Russia
Contact:

Re: yvComment - Where is Preview button code?

Post by yvolk » Sun Mar 01, 2009 6:53 am

The code is in the file: "components/com_yvcomment/views/comment/tmpl/default.php"

Code: Select all

<button type="button" onclick="submitbutton<?php echo $yvCommentFormName;?>('preview')" class='button' >
	<?php echo JText::_("PREVIEW"); ?>
</button>
You can safely delete it.
lopnorth wrote:I'm wondering if you could tell me where I could locate the code so the Preview Button would not be displayed? I'm using CSS style 003 (Gradient), if that makes any difference. Again, thank you for all your help!
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html

Trotsky
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Sun Mar 01, 2009 6:57 am
Location: Russian Federation
Contact:

Re: yvComment - Comments extension for Joomla! 1.5

Post by Trotsky » Sun Mar 01, 2009 7:23 am

Zdravia jelaiu, Yuri. ;)

Totally mindblowing plugin, Joomla devs should award you a medal for providing much-needed feature which they failed to implement. I ran into several troubles while configuring it for my site, though.

I'm using customized dynamic page title hack so browsers would display page title as, for example, "Super Site - Awesome Article". I've set yvComment to show comment posting interface on a separate page and the problem is - the title of such pages is kinda bit weird: "Super Site - Super Site". I've tried screwing around with a code a bit, but any changes I make to the line that supposedly does that makes the entire page unviewable. My programming skills are lacking, to say the least of it, hence this plea for help.

Any way I could make comment page's title to be something like "Super Site - Post a comment" or better yet, "Super Site - Awesome Article - Post a comment"?

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19133
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: yvComment - Comments extension for Joomla! 1.5

Post by infograf768 » Sun Mar 01, 2009 9:53 am

Trotsky wrote: Joomla devs should award you a medal for providing much-needed feature which they failed to implement.
Hmmm...
It's a pity you use such an historical alias to make such statements. I doubt that Leon Davidovitch would have ever done the same...

Joomla! is not supposed to provide all what a specific user needs to make a site. The extension architecture is present to open it to almost anything needed, among them YComments (Hi! Yvolk. ;) )

FYI, Joomla Extension Directory serves 4 505 extensions as of today. It's not too difficult to imagine what would be the size of a Joomla! package to which would be added even a dozains of these, not speaking of the maintenance.

Just found out Photoshop was totally unable to correctly cook my snails. Hmm... should write a ticket about it to Adobe... That's IMO a total failure. :laugh:
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

Trotsky
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Sun Mar 01, 2009 6:57 am
Location: Russian Federation
Contact:

Re: yvComment - Comments extension for Joomla! 1.5

Post by Trotsky » Sun Mar 01, 2009 10:51 am

infograf768 wrote: Joomla! is not supposed to provide all what a specific user needs to make a site.
Yeah, you're totally right, except that commenting feature is nowadays one of the most base ones in products of such kind. Anyways, that wasn't the point of my post at all, just a prelude of sorts. Congrats with succesful trolling of this topic. Way to go, dude.

User avatar
yvolk
Joomla! Guru
Joomla! Guru
Posts: 979
Joined: Thu Jun 01, 2006 1:52 pm
Location: Moscow, Russia
Contact:

Setting page title for yvComment

Post by yvolk » Sun Mar 01, 2009 4:06 pm

Salute, comrade Trotsky :)
I didn't think about setting any page title on yvComment page yet... so I had to spend some time to figure it out... and this is solution for you.
To the template 'components/com_yvcomment/views/comment/tmpl/default.php' (or Your custom template), after these lines:

Code: Select all

  default :
    $title = '?? task_next="'. $this->task_next . '"<br />';
}
add these block of code:

Code: Select all

	if ( $yvComment->ParentOption() == 'com_yvcomment') {
		//We need to set page title here
		$document	=& JFactory::getDocument();
		$page_title = "";
		$article = $this->get('Article');
  	if ($article) {
			$page_title = $article->title . " - ";
  	}
		$page_title = $page_title . $title;
		$document->setTitle($page_title);
	}
It does exactly as you asked: ''ArticleTitle - ActionWithComment".

Good luck!
Trotsky wrote:Zdravia jelaiu, Yuri. ;)

Totally mindblowing plugin, Joomla devs should award you a medal for providing much-needed feature which they failed to implement. I ran into several troubles while configuring it for my site, though.

I'm using customized dynamic page title hack so browsers would display page title as, for example, "Super Site - Awesome Article". I've set yvComment to show comment posting interface on a separate page and the problem is - the title of such pages is kinda bit weird: "Super Site - Super Site". I've tried screwing around with a code a bit, but any changes I make to the line that supposedly does that makes the entire page unviewable. My programming skills are lacking, to say the least of it, hence this plea for help.

Any way I could make comment page's title to be something like "Super Site - Post a comment" or better yet, "Super Site - Awesome Article - Post a comment"?
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html

Trotsky
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Sun Mar 01, 2009 6:57 am
Location: Russian Federation
Contact:

Re: yvComment - Comments extension for Joomla! 1.5

Post by Trotsky » Sun Mar 01, 2009 7:11 pm

Works like a charm, thank you very much. :D

Another issue I got is when author of comment leaves the homepage field empty, it screws his displayed name pretty badly, as shown on this picture. What's peculiar is that when the comment is previewed, it's displayed correctly - author's name is link to his e-mail. When the comment is posted, though... Not quite pretty.

I've tried switching templates, reinstalled plugin, but the glitch remains. Also, not sure if this information is revelant or not, but just in case: there's no user registration on my site, all the comment posters are guests.

tony486
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Sun Mar 01, 2009 10:47 pm

Re: yvComment - Comments extension for Joomla! 1.5

Post by tony486 » Sun Mar 01, 2009 11:10 pm

Hello!
I use Joomla 1.5., sh404SEF and your component yvcomment 1.20. Now I have a problem with the pagination.

For using the pager I'm using the following Code snippet:

Code: Select all

echo $this->pagination->getListFooter();
1. For using SEO urls I activated the chekbox on sh404SEF. With this preferences it doesn't work.

Code: Select all

Pages  <span class="pagenav">1</span> <a title="2" href="/projekte/neue-strandkoerbe.html" class="pagenav">2</a>
2. The following code shows working version without activated SEO:

Code: Select all

Pages  <span class="pagenav">1</span> <a title="2" href="/index.php?option=com_content&view=article&id=134%3Aneue-strandkoerbe&catid=27%3Aprojekte&Itemid=76&limitstart=3" class="pagenav">2</a>
Question:
How can I pass the param (on version 1)?

zaini
I've been banned!
Posts: 88
Joined: Sat Feb 28, 2009 10:39 pm

Re: yvComment - Comments extension for Joomla! 1.5

Post by zaini » Mon Mar 02, 2009 2:43 am

hi,

How do I remove the footer from my website.?

it says yvcomment version* it is linked.

thanks

User avatar
yvolk
Joomla! Guru
Joomla! Guru
Posts: 979
Joined: Thu Jun 01, 2006 1:52 pm
Location: Moscow, Russia
Contact:

yvComment - link to the email is broken

Post by yvolk » Mon Mar 02, 2009 6:59 am

This is known bug of the "Email Cloak" Joomla! plugin, see e.g. "Upgrade to 1.5.9 Emailcloak not working"
Trotsky wrote:Another issue I got is when author of comment leaves the homepage field empty, it screws his displayed name pretty badly, as shown on this picture. What's peculiar is that when the comment is previewed, it's displayed correctly - author's name is link to his e-mail. When the comment is posted, though... Not quite pretty.

I've tried switching templates, reinstalled plugin, but the glitch remains. Also, not sure if this information is revelant or not, but just in case: there's no user registration on my site, all the comment posters are guests.
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html

User avatar
yvolk
Joomla! Guru
Joomla! Guru
Posts: 979
Joined: Thu Jun 01, 2006 1:52 pm
Location: Moscow, Russia
Contact:

Re: How do I remove yvComment link from my website

Post by yvolk » Mon Mar 02, 2009 7:04 am

Hi. Please donate to the project, following instructions on this page: Donate.
zaini wrote:hi,
How do I remove the footer from my website.?
it says yvcomment version* it is linked.

thanks

Trotsky
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Sun Mar 01, 2009 6:57 am
Location: Russian Federation
Contact:

Re: yvComment - link to the email is broken

Post by Trotsky » Mon Mar 02, 2009 7:08 am

yvolk wrote:This is known bug of the "Email Cloak" Joomla! plugin, see e.g. "Upgrade to 1.5.9 Emailcloak not working"
I see, thanks again for clearing that up.

User avatar
yvolk
Joomla! Guru
Joomla! Guru
Posts: 979
Joined: Thu Jun 01, 2006 1:52 pm
Location: Moscow, Russia
Contact:

Pagination in yvComment

Post by yvolk » Mon Mar 02, 2009 8:57 am

Hi, yvComment uses slightly modified version of Joomla! core pagination features,
see

Code: Select all

class yvCommentJPagination extends JPagination { ... }
in the file 'components/com_yvcomment/helpers.php'

So you may debug/test this with sh404SEF. - I didn't use sh404SEF yet...
Please provide feedback here.
tony486 wrote:Hello!
I use Joomla 1.5., sh404SEF and your component yvcomment 1.20. Now I have a problem with the pagination.

For using the pager I'm using the following Code snippet:

Code: Select all

echo $this->pagination->getListFooter();
1. For using SEO urls I activated the chekbox on sh404SEF. With this preferences it doesn't work.

Code: Select all

Pages  <span class="pagenav">1</span> <a title="2" href="/projekte/neue-strandkoerbe.html" class="pagenav">2</a>
2. The following code shows working version without activated SEO:

Code: Select all

Pages  <span class="pagenav">1</span> <a title="2" href="/index.php?option=com_content&view=article&id=134%3Aneue-strandkoerbe&catid=27%3Aprojekte&Itemid=76&limitstart=3" class="pagenav">2</a>
Question:
How can I pass the param (on version 1)?
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html

syndrael
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Sun Feb 08, 2009 10:14 am

Different author name regardings to User rights

Post by syndrael » Mon Mar 02, 2009 4:05 pm

Hello,
I don't know if i'll correctly describe my problem:
First of all, in my case any submitted comment have to be validated by an administrator.
1st case: Comments author is considered as Registered (in front-end) once logged. He submits a comment, the administrator publishes it and.. its name is Administrator in the list of comments.
2nd case: Comments author is considered as Author (in front-end) once logged.He submits a comment, the administrator publishes it and.. its name is his Real Name (that's what i want) in the list of comments.
My question is: Is it possible to get the Real Name for only Registered people instead of the string 'Administrator'.

When i investigate in the database i can see a difference in the created_by property in the jos_users table. May be a clue ?

Can you replicate this behaviour on your own ?
Thanks for your answer.
Best regards
S.

lopnorth
Joomla! Apprentice
Joomla! Apprentice
Posts: 15
Joined: Tue Sep 23, 2008 7:19 pm

Re: yvComment - Comments extension for Joomla! 1.5

Post by lopnorth » Wed Mar 04, 2009 3:44 pm

Thanks for the help with hiding the preview button. It works great!
One other problem. I'm using YVcomment plugin below my articles. When I use the standard print icon to print my article and comments, it prints fine in Mozilla Firefox. When using Internet Explorer 7, my print preview window shows the article and comments but prints only the article itself, the title Comments with the number of comments in parantheses, then leaves a large blank space and prints Display #20 and yvcomment 1.20.0 at the bottom. Can you give me a clue what might be wrong? Again, many thanks!

tony486
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Sun Mar 01, 2009 10:47 pm

Re: yvComment - comments and form on one site

Post by tony486 » Wed Mar 04, 2009 4:03 pm

Hello!
I have a quenstion once again.
I know how I can configure the site, to show comments and form on one page. But how can I make it that BOTH will be shown on a SEPARATE page? On the first site I want to have a link ("please comment") an on a separate one, I want to list the comments and the form.

Thank you for help.

Tony

User avatar
yvolk
Joomla! Guru
Joomla! Guru
Posts: 979
Joined: Thu Jun 01, 2006 1:52 pm
Location: Moscow, Russia
Contact:

yvComment - Print preview with MSIE7

Post by yvolk » Thu Mar 05, 2009 7:30 am

I think this is some problem with your template (its incompatibility with MSIE). "Large blank space" is obviously list of comments, that is not shown by MSIE7.
Fixing the template is not directly related to yvComment...
lopnorth wrote:...One other problem. I'm using YVcomment plugin below my articles. When I use the standard print icon to print my article and comments, it prints fine in Mozilla Firefox. When using Internet Explorer 7, my print preview window shows the article and comments but prints only the article itself, the title Comments with the number of comments in parantheses, then leaves a large blank space and prints Display #20 and yvcomment 1.20.0 at the bottom. Can you give me a clue what might be wrong? Again, many thanks!
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html


Locked

Return to “Extensions for Joomla! 1.5”