The Thinkery

Not finding what you're looking for? Don't hesitate to contact us!

Before Posting...

Before posting questions in the forums, please be sure to read the FAQs by clicking on the FAQs link in the sidebar product menu. You must be logged in and have a valid subscription to access the SUPPORT FORUMS.
×
Support Policy Notice

As outlined in our Rules section (though never closely followed by our staff!), effective immediately we will no longer be taking time to provide customizations of our products.

× PLEASE DO NOT POST SUPPORT QUESTIONS HERE!

Hide contact information until user is logged in

  • rexpetersen
  • rexpetersen's Avatar Topic Author
  • Offline
  • Puzzler
  • Puzzler
More
12 years 2 weeks ago #4836 by rexpetersen
rexpetersen created the topic: Hide contact information until user is logged in
Is there a way to hide contact information until the user is logged in? I want to do a for sale by owner site, but I don't want to give out the phone# or email of the owner until the user is logged in. Is this possible?

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

More
12 years 1 week ago #4906 by vinny
vinny replied the topic: Re: Hide contact information until user is logged in
Hi - there is not a built-in option to display the form to logged in users only, so it would take a slight tweak to the code in the 'com_iproperty/views/property/tmpl/default.php' file. Before the form tab is created you can add 'if($this->user->id){' and end the if statement after the form tab is created with '}'. Hope this helps.

Vinny - The Thinkery
Good reviews on the JED make us work harder :) | IProperty | Work Force | Report Card

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

Time to create page: 0.224 seconds