OS Property support center

Comments not visible for Public

  • ovi
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
12 years 2 months ago #24596 by ovi
Replied by ovi on topic Re: Comments not visible for Public
Hi Dam,

I am still having issues with Comments...
After more testing it seems like:
Public can see Comments, cannot add Comments
Agent can see comments, cannot add Comments to properties that owns, can add Comments to other properties

I would like Public to be able to add Comments that will be approved by agent.

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago #24599 by Mr. Dam
Replied by Mr. Dam on topic Re: Comments not visible for Public
Hi,
In Os Property, only registered can comment for the property, agent can't commet for their properties.
Please download version 4.0.2 to get the fixing of the issue you mentioned above
Thanks
Dam

Please Log in or Create an account to join the conversation.

  • ovi
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
12 years 2 months ago #24618 by ovi
Replied by ovi on topic Re: Comments not visible for Public
That's ok and makes sense for agents.
I have installed the new version and I am not able to add Comments as Public...

Please Log in or Create an account to join the conversation.

  • ovi
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
12 years 2 months ago #24814 by ovi
Replied by ovi on topic Re: Comments not visible for Public
Please let me know how can I get Public able to add Comments without to login...

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago #24839 by Mr. Dam
Replied by Mr. Dam on topic Re: Comments not visible for Public
Hi Ovi,
Non-registratered users can't add the comments. When we designed the OS Property struture, we decided only registered users can post the comments. So it's difficult and a lot work in case you want the non-registered users can post the comments.
Dam

Please Log in or Create an account to join the conversation.

  • ovi
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
12 years 2 months ago #24857 by ovi
Replied by ovi on topic Re: Comments not visible for Public
ok, i understand. What is the file that I can modify to have the Comments tab saying that only registered users can add comments?

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago #24859 by Mr. Dam
Replied by Mr. Dam on topic Re: Comments not visible for Public
Hi Ovi,
You can edit in file
components > com_osproperty > templates > default > details.html.tpl.php
and
components > com_osproperty > templates > default > small.details.html.tpl.php

You can add the text bellow this code

<h2><a href="javascript:void(null);" name="advtab"><?php echo JText::_(OS_COMMENTS)?></a></h2>
<?php
echo $row->comments;
?>

For example

<h2><a href="javascript:void(null);" name="advtab"><?php echo JText::_(OS_COMMENTS)?></a></h2>
<?php
echo $row->comments;
?>
You must login if you want to post your comment.


Good luck
Dam

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamNguyen Phu Quan