Hi Stephen,

in this way I see the recent comments of all users. Is possible to show 
only the comments that particular user made?

Cheers

On Sunday, December 30, 2012 at 1:00:14 AM UTC+1, Stephen McDonald wrote:
>
> You're welcome!
>
> On Sun, Dec 30, 2012 at 10:57 AM, Jeremy Martin <jer...@codigovision.com 
> <javascript:>> wrote:
>
>> Excellent, thank you so much Stephen! Mezzanine is a great contribution 
>> and your continued effort is really appreciated.
>>
>>
>> On 12/29/2012 05:38 PM, Stephen McDonald wrote:
>>
>> Check out the COMMENTS_ACCOUNT_REQUIRED setting: 
>>
>>
>> http://mezzanine.jupo.org/docs/configuration.html#comments-account-required
>>
>> That handles ensuring the user is logged in. You might need to override 
>> the comment form template to make some of the fields hidden. 
>>
>> Then regardless of this setting, if the user is logged, the comment will 
>> contain a reference to their user record:
>>
>>
>> https://github.com/stephenmcd/mezzanine/blob/master/mezzanine/generic/views.py#L75-L76
>>
>> With that in place you should be able to use the user for the comment to 
>> create the profile link (again overriding the comment template), and then 
>> display latest comments in the profile view by overriding the profile 
>> template.
>>
>> All the pieces are there.
>>
>> On Sun, Dec 30, 2012 at 10:28 AM, <jer...@codigovision.com <javascript:>> 
>> wrote:
>>
>>> Sorry to bump my own question. Does anyone have any ideas on this, or is 
>>> it just not possible? 
>>>
>>>
>>> On Thursday, December 20, 2012 2:33:31 PM UTC-6, jer...@codigovision.com 
>>> wrote: 
>>>>
>>>> We have an existing Django website with user accounts and we are 
>>>> integrating Mezzanine. How can we link the mezzanine comments system so 
>>>> that it automatically uses the username and account of the logged in user 
>>>> and gives a "must log in message" if they are not logged in. So once they 
>>>> log in they would not have to fill out their name and email but just post 
>>>> comments, and have the comments link to the user's profile, and be 
>>>> associated with the user account in the way that we would be able to show 
>>>> recent comments on their profile page. Thanks in advance.
>>>
>>>
>>
>>
>> -- 
>> Stephen McDonald
>> http://jupo.org 
>>
>>
>>
>> -- 
>> Jeremy Martin
>> Codigo Vision
>>
>> Costa Rica: 8730-2186
>> USA: (678) 800-1142
>>
>>
>
>
> -- 
> Stephen McDonald
> http://jupo.org 

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to