<?xml version="1.0" encoding="utf-8" ?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">

    <title type="text">Solspace Support Forums</title>
    <link rel="alternate" type="text/html" href="http://www.solspace.com/forums/" />
    <link rel="self" type="application/atom+xml" href="http://www.solspace.com/forums/atom/" />
    <updated>2010-08-31T00:35:39Z</updated>
    <rights>Copyright (c) 2010</rights>
    <generator uri="http://www.pmachine.com/" version="1.6.8">ExpressionEngine</generator>
    <id>tag:solspace.com,2010:09:01</id>


    <entry>
      <title>3.0.0 Control Panel Error</title>
      <link rel="alternate" type="text/html" href="http://www.solspace.com/forums/viewthread/5468/" />      
      <id>tag:solspace.com,2010:forums/viewthread/.5468</id>
      <published>2010-08-31T00:33:29Z</published>
      <updated>2010-08-31T00:35:39Z</updated>
      <author><name>toddajackson</name></author>
      <content type="html">
      <![CDATA[
        <p>I just upgraded to 3.0 and am getting an error on the Control Panel&#8217;s Entries page, specifically:</p>

<blockquote><p>A PHP Error was encountered</p>

<p>Severity: Notice</p>

<p>Message: Undefined variable: member_id</p>

<p>Filename: favorites/mcp.favorites.base.php</p>

<p>Line Number: 640</p></blockquote>

<p>I&#8217;m currently using 1.6.9 of EE still.</p>

<p>I also cannot page through the entries on the bottom because &#8220;No member id was provided. Please go back and try again.&#8221;
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>Problem with extra segments in remove favorite</title>
      <link rel="alternate" type="text/html" href="http://www.solspace.com/forums/viewthread/5477/" />      
      <id>tag:solspace.com,2010:forums/viewthread/.5477</id>
      <published>2010-09-01T07:15:25Z</published>
      <updated>2010-09-01T07:17:51Z</updated>
      <author><name>Lee Aston</name></author>
      <content type="html">
      <![CDATA[
        <p>To remove a favorite the docs give this example, note the template-group/template url:<br />
&lt; a href=&#8221;&#123;path=&#8216;site/favorite_add&#8217;&#125;&#123;entry_id&#125;/delete/&#8221;&gt;Remove from my Favorites&lt;/a &gt;</p>

<p>If I use this it dosen&#8217;t work. I want to use seg3 and seg4 to switch conditionals in the template:<br />
&lt; a href=&#8221;&#123;path=&#8216;site/favorite_add/seg3/seg4&#8217;&#125;&#123;entry_id&#125;/delete/&#8221;&gt;Remove from my Favorites&lt;/a &gt;</p>

<p>To be exact my url is:<br />
http://www.mysite.com/index.php/accounts/my-account/favorites/91/delete<br />
In the template I have:<br />
&#123;if segment_5 == &#8220;delete&#8221;&#125;<br />
&#123;exp:favorites:save&#125;<br />
&#123;/if&#125;</p>

<p>Should it work, or am I doing something wrong?</p>

<p>Thanks<br />
Lee
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>exp:favorites:entries lists EVERY entry of channel</title>
      <link rel="alternate" type="text/html" href="http://www.solspace.com/forums/viewthread/5150/" />      
      <id>tag:solspace.com,2010:forums/viewthread/.5150</id>
      <published>2010-07-22T06:08:59Z</published>
      <updated></updated>
      <author><name>Stefan Rechsteiner</name></author>
      <content type="html">
      <![CDATA[
        <p>Version: Favorites 3.0.0<br />
EE: 2.1 b20100720</p>

<p>In the CP, the Module-Statistics says: «Total Favorites: <b>3</b> … Total entries saved: <b>3</b>»</p>

<p>… but if i use exp:favorites:entries in a public template, &#123;favorites_count&#125; shows me the count «9» (the channel contains of 9 entries) … and if i list all fav-entries with exp:favorites:entries, all channel-entries will be displayed … but only three have the «Fav!»-Tag, all other have the link to «fav this entry» … should exp:favorites:entries not only display the faved entries by the CURRENT_USER!? … even if i hardcode the favorites_member_id or the favorites_username, the &#123;favorites_count&#125; remains @ 9 … instead of 3!</p>

<p>Bug in Favorites 3.0.0!?
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>Ability to add Favorite Members&#63;</title>
      <link rel="alternate" type="text/html" href="http://www.solspace.com/forums/viewthread/5427/" />      
      <id>tag:solspace.com,2010:forums/viewthread/.5427</id>
      <published>2010-08-25T11:27:32Z</published>
      <updated>2010-08-25T11:58:32Z</updated>
      <author><name>MediaSauce1</name></author>
      <content type="html">
      <![CDATA[
        <p>Hello,</p>

<p>I looked through the documentation a bit and Favorites didn&#8217;t seem to have this functionality built in from what I could gather. Anyway, I just thought I would ask before searching elsewhere and possibly ending up building a simplified version. </p>

<p>in EE: 2.1<br />
Would the Favorites Module have the ability to allow Members (reg users) to keep a collection of Channels (&#8220;Products&#8221;) <b>AND</b> other visible Members (belonging to another group &#8220;special users&#8221;) as favorites? These &#8220;special users&#8221; being Contractors. The Favorites Module was looking very promising until they wanted to be able to add Contractors as favorites. Now I am unsure what route to go. </p>

<p>Is this module able to do this ( possibly I overlooked something )?&nbsp; Or how much difficulty would it be to build this into it?</p>

<p>Appreciate any help / advice.</p>

<p>Thanks,
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>Upgrade Error from 2.5.6 to 3.0.0</title>
      <link rel="alternate" type="text/html" href="http://www.solspace.com/forums/viewthread/5372/" />      
      <id>tag:solspace.com,2010:forums/viewthread/.5372</id>
      <published>2010-08-19T07:38:46Z</published>
      <updated></updated>
      <author><name>Eric Nance</name></author>
      <content type="html">
      <![CDATA[
        <p>When upgrading Favorites, I followed all instructions then went into Modules &gt; Favorites and clicked the button to upgrade, but then receive this error:</p>

<p>Fatal error: Call to undefined method Favorites_updater_base::install_module_sql() in /home/indie/www/www/arsenal/modules/favorites/upd.favorites.base.php on line 27</p>

<p>Anyone else experience this?
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>refinance loan</title>
      <link rel="alternate" type="text/html" href="http://www.solspace.com/forums/viewthread/5370/" />      
      <id>tag:solspace.com,2010:forums/viewthread/.5370</id>
      <published>2010-08-19T05:21:06Z</published>
      <updated></updated>
      <author><name>mortgage calculator</name></author>
      <content type="html">
      <![CDATA[
        <p>Hi, this is Ben from United States. I am going to discuss about the nationwide bi-weekly plans. Pay off your mortgage loan 6-10 years early and save THOUSANDS in interest with our proven Interest Minimizer <a href="http://www.nbabiweekly.com">bi-weekly mortgage</a> payment plan from <a href="http://www.experiencenationwidebiweeklynow.com">Nationwide Biweekly Administration</a>. Use our biweekly mortgage calculator to evaluate your potential savings.<br />
<a href="http://www.experiencenationwidebiweeklynow.com">bi-weekly mortgage</a>
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>PHP Count Error</title>
      <link rel="alternate" type="text/html" href="http://www.solspace.com/forums/viewthread/5320/" />      
      <id>tag:solspace.com,2010:forums/viewthread/.5320</id>
      <published>2010-08-12T06:35:56Z</published>
      <updated></updated>
      <author><name>mediapimp</name></author>
      <content type="html">
      <![CDATA[
        <p>I am using the following code to show the number of saved favorites st the top of my site:</p>

<div class="codeblock"><code><span style="color: #000000">
<span style="color: #0000BB">&#123;exp</span><span style="color: #007700">:</span><span style="color: #0000BB">favorites</span><span style="color: #007700">:</span><span style="color: #0000BB">entries&#125;<br />&lt;?php&nbsp;</span><span style="color: #007700">var&nbsp;</span><span style="color: #0000BB">$totalresults&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">&#123;total_results&#125;</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">?&gt;<br />&#123;</span><span style="color: #007700">/</span><span style="color: #0000BB">exp</span><span style="color: #007700">:</span><span style="color: #0000BB">favorites</span><span style="color: #007700">:</span><span style="color: #0000BB">entries&#125;<br />&lt;?php&nbsp;</span><span style="color: #007700">echo&nbsp;</span><span style="color: #0000BB">$totalresults</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">?&gt;&nbsp;</span>
</span>
</code></div>

<p>It works great except for when there are no saved favorites. Instead of displaying 0, I get a PHP error.</p>

<p>Any insight into this would be great.</p>

<p>Thanks!
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>EE2 AJAX</title>
      <link rel="alternate" type="text/html" href="http://www.solspace.com/forums/viewthread/5332/" />      
      <id>tag:solspace.com,2010:forums/viewthread/.5332</id>
      <published>2010-08-13T07:34:54Z</published>
      <updated></updated>
      <author><name>Lee Aston</name></author>
      <content type="html">
      <![CDATA[
        <p>Hi, in the docs it says &#8220;We often use the Favorites module in combination with AJAX based functions&#8221;</p>

<p>Any chance of sharing how? In particular I&#8217;d like to add/delete favorites without having to link to as different template.</p>

<p>Berst wishes<br />
Lee
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>Favorites Extension &#45; Pagination Extension &#45; When two worlds collide.</title>
      <link rel="alternate" type="text/html" href="http://www.solspace.com/forums/viewthread/5299/" />      
      <id>tag:solspace.com,2010:forums/viewthread/.5299</id>
      <published>2010-08-09T13:24:22Z</published>
      <updated>2010-08-09T14:19:24Z</updated>
      <author><name>LogiqDesign</name></author>
      <content type="html">
      <![CDATA[
        <p>Hey there Solspace,</p>

<p>I have been an avid user of several pieces of your software for some time now. I am currently developing an addon of my own, simple in nature, that allows a user to style pagination. The addon is an extension, and works by using CI&#8217;s pagination class to provide a CP area where users can style the look and structure of pagination.</p>

<p>In initial testing, this addon works flawlessly. My problem however occurs on pages where </p><div class="codeblock"><code><span style="color: #000000">
<span style="color: #0000BB">&#123;exp</span><span style="color: #007700">:</span><span style="color: #0000BB">favorites</span><span style="color: #007700">:</span><span style="color: #0000BB">rank&#125;&nbsp;</span>
</span>
</code></div><p> is used. On any page using this tag, to sort entries by the number of favorites, when viewing the page is completely broken, in that all I see is a standard message template with a box saying &#8220;Error&#8221;, &#8220;The query you submitted is not valid.&#8221;</p>

<p>I know you probably don&#8217;t often provide support other third party developers, but I&#8217;m trying to make my extension as flexible as possible, and on a current project I do need it to work with the favorites module.</p>

<p>After looking through the favorites code, or at least as much of I can understand, I found some interesting things (well many of if you count developer comments hehe =) in mod.favorites.php concerning the altering of pagination.</p>

<p>I have a feeling my extension breaks favorites, or vice versa, due to code dealing with the following, around the lines of 1593-1695 inside mod.favorites.php.</p>

<p>I have limited knowledge of the structure and codebase involved in favorites, however I do think that my extension breaks because it is either a) not picking up on the altered pagination (pager_sql) or b) is picking up and is having trouble executing the statement.</p>

<p>Is there some way I can fix my extension to ensure is is used after your module adds custom pagination data &#123;exp:favorites:rank&#125; ?</p>

<p>I have tried setting priority to 10, and would use $this-&gt;extensions-&gt;last_call, if it would help, but the documentation on it is scarce and I have no idea how it functions.</p>

<p>Sorry if this is in the wrong category, or if you don&#8217;t offer support for third parties. I was just hoping there might be something simple or easy I&#8217;m missing.</p>

<p>If you need to me to post my code, am more than willing. It&#8217;s noncommercial and I&#8217;m really only creating it out of necessity.</p>

<p>Additional info:<br />
EE2.1<br />
Favorites: 3.0</p>

<p>Thanks in advance,<br />
Alex
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>Problem deleting favorites</title>
      <link rel="alternate" type="text/html" href="http://www.solspace.com/forums/viewthread/5172/" />      
      <id>tag:solspace.com,2010:forums/viewthread/.5172</id>
      <published>2010-07-25T07:53:02Z</published>
      <updated></updated>
      <author><name>mediapimp</name></author>
      <content type="html">
      <![CDATA[
        <p>I am unable to delete favorites, but adding works fine.</p>

<p>I have checked the other posts in the forum that have had similar issues where clicking to delete a favorite displays the confirmation message that it was deleted but still appears in the &#8220;view favorites&#8221; list.</p>

<p>I have tried all of the suggestions I could find but none have solved my issue.</p>

<p>I am not using MSM, I have SQL Query Caching disabled &amp; I have tried the delete link with &amp; without the trailing forward slash.</p>

<p>Here is my code for adding &amp; removing favorites:
</p><div class="codeblock"><code><span style="color: #000000">
<span style="color: #0000BB">&#123;exp</span><span style="color: #007700">:</span><span style="color: #0000BB">channel</span><span style="color: #007700">:</span><span style="color: #0000BB">entries&nbsp;channel</span><span style="color: #007700">=</span><span style="color: #DD0000">"products"&nbsp;</span><span style="color: #0000BB">disable</span><span style="color: #007700">=</span><span style="color: #DD0000">"pagination"</span><span style="color: #0000BB">&#125;<br /><br />&#123;productImage&#125;<br />&#123;title&#125;<br /><br />&#123;exp</span><span style="color: #007700">:</span><span style="color: #0000BB">favorites</span><span style="color: #007700">:</span><span style="color: #0000BB">saved&nbsp;entry_id</span><span style="color: #007700">=</span><span style="color: #DD0000">"&#123;entry_id&#125;"</span><span style="color: #0000BB">&#125;&nbsp;<br />&nbsp;&nbsp;<br />&#123;if&nbsp;saved&#125;&nbsp;<br /></span><span style="color: #007700">&lt;</span><span style="color: #0000BB">p</span><span style="color: #007700">&gt;&lt;</span><span style="color: #0000BB">a&nbsp;href</span><span style="color: #007700">=</span><span style="color: #DD0000">"&#123;path='site/add-favorite'&#125;/&#123;entry_id&#125;/delete/"</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Remove&nbsp;from&nbsp;my&nbsp;favorites</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">a</span><span style="color: #007700">&gt;&lt;/</span><span style="color: #0000BB">p</span><span style="color: #007700">&gt;&nbsp;<br /></span><span style="color: #0000BB">&#123;</span><span style="color: #007700">/</span><span style="color: #0000BB">if&#125;&nbsp;<br /><br />&#123;if&nbsp;not_saved&#125;&nbsp;<br /></span><span style="color: #007700">&lt;</span><span style="color: #0000BB">p</span><span style="color: #007700">&gt;&lt;</span><span style="color: #0000BB">a&nbsp;href</span><span style="color: #007700">=</span><span style="color: #DD0000">"&#123;path='site/add-favorite'&#125;/&#123;entry_id&#125;"</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Add&nbsp;this&nbsp;entry&nbsp;to&nbsp;my&nbsp;favorites</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">a</span><span style="color: #007700">&gt;&lt;/</span><span style="color: #0000BB">p</span><span style="color: #007700">&gt;&nbsp;<br /></span><span style="color: #0000BB">&#123;</span><span style="color: #007700">/</span><span style="color: #0000BB">if&#125;&nbsp;<br /><br />&#123;</span><span style="color: #007700">/</span><span style="color: #0000BB">exp</span><span style="color: #007700">:</span><span style="color: #0000BB">favorites</span><span style="color: #007700">:</span><span style="color: #0000BB">saved&#125;&nbsp;<br /><br />&#123;</span><span style="color: #007700">/</span><span style="color: #0000BB">exp</span><span style="color: #007700">:</span><span style="color: #0000BB">channel</span><span style="color: #007700">:</span><span style="color: #0000BB">entries&#125;&nbsp;</span>
</span>
</code></div>

<p>The correct remove or add links appear based on what I have added or removed but the list of what is saved never reflects that.</p>

<p>My &#8220;view favorites&#8221; template looks like this:
</p><div class="codeblock"><code><span style="color: #000000">
<span style="color: #0000BB">&#123;exp</span><span style="color: #007700">:</span><span style="color: #0000BB">favorites</span><span style="color: #007700">:</span><span style="color: #0000BB">entries&nbsp;weblog</span><span style="color: #007700">=</span><span style="color: #DD0000">"products"&nbsp;</span><span style="color: #0000BB">favorites_count</span><span style="color: #007700">=</span><span style="color: #DD0000">"yes"</span><span style="color: #0000BB">&#125;<br /></span><span style="color: #007700">&lt;</span><span style="color: #0000BB">h3</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">You&nbsp;have&nbsp;a&nbsp;total&nbsp;of&nbsp;&#123;favorites_count&#125;&nbsp;Entries&nbsp;saved&nbsp;to&nbsp;your&nbsp;Favorites</span><span style="color: #007700">!&lt;/</span><span style="color: #0000BB">h3</span><span style="color: #007700">&gt;<br /></span><span style="color: #0000BB">&#123;</span><span style="color: #007700">/</span><span style="color: #0000BB">exp</span><span style="color: #007700">:</span><span style="color: #0000BB">favorites</span><span style="color: #007700">:</span><span style="color: #0000BB">entries&#125;<br /><br /></span><span style="color: #007700">&lt;</span><span style="color: #0000BB">ul</span><span style="color: #007700">&gt;<br /></span><span style="color: #0000BB">&#123;exp</span><span style="color: #007700">:</span><span style="color: #0000BB">favorites</span><span style="color: #007700">:</span><span style="color: #0000BB">entries&nbsp;weblog</span><span style="color: #007700">=</span><span style="color: #DD0000">"products"&nbsp;</span><span style="color: #0000BB">orderby</span><span style="color: #007700">=</span><span style="color: #DD0000">"favorites_count"&nbsp;</span><span style="color: #0000BB">sort</span><span style="color: #007700">=</span><span style="color: #DD0000">"asc"</span><span style="color: #0000BB">&#125;<br />&#123;if&nbsp;no_favorites_results&#125;You&nbsp;</span><span style="color: #007700">do&nbsp;</span><span style="color: #0000BB">not&nbsp;have&nbsp;any&nbsp;favorites&#123;</span><span style="color: #007700">/</span><span style="color: #0000BB">if&#125;<br /></span><span style="color: #007700">&lt;</span><span style="color: #0000BB">li</span><span style="color: #007700">&gt;&lt;</span><span style="color: #0000BB">a&nbsp;href</span><span style="color: #007700">=</span><span style="color: #DD0000">"&#123;title_permalink='site/template'&#125;"</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">&#123;title&#125;</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">a</span><span style="color: #007700">&gt;&nbsp;(</span><span style="color: #0000BB">Saved&nbsp;on&nbsp;&#123;favorites_date&nbsp;format</span><span style="color: #007700">=</span><span style="color: #DD0000">"%l,&nbsp;%F&nbsp;%j,&nbsp;%Y&nbsp;at&nbsp;%g:%i&nbsp;%a"</span><span style="color: #0000BB">&#125;</span><span style="color: #007700">)&lt;/</span><span style="color: #0000BB">li</span><span style="color: #007700">&gt;<br /></span><span style="color: #0000BB">&#123;</span><span style="color: #007700">/</span><span style="color: #0000BB">exp</span><span style="color: #007700">:</span><span style="color: #0000BB">favorites</span><span style="color: #007700">:</span><span style="color: #0000BB">entries&#125;<br /></span><span style="color: #007700">&lt;</span><span style="color: #0000BB">ul</span><span style="color: #007700">&gt;&nbsp;</span>
</span>
</code></div>

<p>I am running EE 2.1 and the latest version of Favorites.</p>

<p>Thanks for any help.
</p>
      ]]>
      </content>
    </entry>


</feed>