<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Visual Phone Book Public]]></title><description><![CDATA[<p dir="auto">Does anyone know of a way to turn off the public option for visual phone book make the phone book private only?</p>
]]></description><link>http://localhost:4567/topic/1418/visual-phone-book-public</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 10:18:07 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/1418.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 05 Apr 2013 18:12:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Visual Phone Book Public on Tue, 09 Apr 2013 19:24:55 GMT]]></title><description><![CDATA[<p dir="auto">With your help, this is what I did and it works perfect.</p>
<p dir="auto">Changed;<br />
$grid-&gt;set_condition("context='$context' AND (owner='$extension' OR (owner&lt;&gt;'$extension' AND private='yes'))");<br />
To;<br />
$grid-&gt;set_condition("context='$context' AND (owner='$extension')");</p>
<p dir="auto">Then it make no difference if they choose private or public.  No one can see anything but their own extension phone book.</p>
<p dir="auto">This works as well so that all records will be "yes" by default<br />
$grid-&gt;set_default_values("private",'yes');</p>
<p dir="auto">A future feature would be great so that each user can decide which extensions can see their visual phone book.</p>
<p dir="auto">Thanks for the help!!!</p>
]]></description><link>http://localhost:4567/post/6214</link><guid isPermaLink="true">http://localhost:4567/post/6214</guid><dc:creator><![CDATA[raptor84]]></dc:creator><pubDate>Tue, 09 Apr 2013 19:24:55 GMT</pubDate></item><item><title><![CDATA[Reply to Visual Phone Book Public on Tue, 09 Apr 2013 02:59:19 GMT]]></title><description><![CDATA[<p dir="auto">Well, not sure about the complete changes, but you have to modify phonebook.php, look for this line:</p>
<p dir="auto">$grid-&gt;set_condition("context='$context' AND (owner='$extension' OR (owner&lt;&gt;'$extension' AND private='no'))");</p>
<p dir="auto">You want to change it to private='yes' so only private records are shown. Then you have to force the private field to be "yes", perhaps with</p>
<p dir="auto">$grid-&gt;set_default_values("private",'yes');</p>
<p dir="auto">I have not tried this, but it might work.</p>
]]></description><link>http://localhost:4567/post/6213</link><guid isPermaLink="true">http://localhost:4567/post/6213</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Tue, 09 Apr 2013 02:59:19 GMT</pubDate></item></channel></rss>