Thank you so much!!! I will try it for sure! Thanks again!

On Fri, Jul 19, 2013 at 12:15 AM, Andre Terra <andrete...@gmail.com> wrote:

> It seems you are asking two completely unrelated questions:
> 1. to allow users to add some form of tags into their code for richer
> submissions.
> 2. to have a different css for each user
>
> One possible answer to #1 is BBCode, as I described. Question #2 is
> something altogether. Do you want each user message to appear differently?
> Is that supposed to be customizable to the degree of css? Are you just
> switching colors? How much are you going to let the user style their
> messages? BBcode should be anough to allow them to add bold, italics,
> links, pictures, etc. If you just want that, there's no need to have a
> separate css for each user. Instead, just follow my instructions below.
>
> I'm not sure how django-bbcode styles the rendered text, but my
> step-by-step investigation would be:
>
> 1. Install django-bbcode
> 2. Make sure you have a view somewhere with an input and go to that URL.
> This would possibly be a very simple view with a textarea where you'd type
> something in and see the rendered output.
> 3. Send the textarea back to the template in a variable (called, say,
> stuff) and render it with {% bbcode stuff %} in the template.
> 4. Use firebug, google chrome's inspector/developer tools to inspect the
> css that's applied to the rendered text
> 5. Make changes to yourcurrentcssfile.css to include styling for the
> BBCode.
> 6. GOTO 2
> 7. ???
> 8. Profit!!!
>
> I hope I understood your question well enough. Good luck!
>
> Cheers,
> AT
>
> On Thu, Jul 18, 2013 at 2:56 PM, Kakar Arunachal Service <
> kakararunachalserv...@gmail.com> wrote:
>
>> Thanks a lot! Was waiting for an answer. Just one more question though, I
>> didnt understood much in the link you gave me. Its that, suppose I included
>> it where users can post, will each post require another css, or something
>> else. Please explain.
>>  Liked "Impossible is nothing™"
>>
>>
>> On Thu, Jul 18, 2013 at 10:44 PM, Andre Terra <andrete...@gmail.com>wrote:
>>
>>> Impossible is nothing™, but I don't see the benefits of combining rich
>>> text with social networking. Things like BBCode[0] usually offer a better
>>> trade-off between flexibility/usability/maintenance. Based on a quick
>>> google search, it seems there are solutions tailored for use with Django
>>> [1][2]
>>>
>>> [0] http://en.wikipedia.org/wiki/BBCode
>>> [1] https://github.com/marcinn/django-bbcode full solution
>>> [2] http://djangosnippets.org/snippets/853/ old (0.96!), but should be
>>> a place to start in case you want to rollout your own.
>>>
>>>
>>>  Cheers,
>>> AT
>>>
>>> On Thu, Jul 18, 2013 at 7:24 AM, Kakar Arunachal Service <
>>> kakararunachalserv...@gmail.com> wrote:
>>>
>>>> Hello,
>>>> Just a thought, can a rich text editor be integrated to a social
>>>> networking site. Or should every user have a css each? Its just a thought,
>>>> was just wondering but would be glad if any of you could advice me how to
>>>> if its possible.
>>>> Thank you.
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Django users" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to django-users+unsubscr...@googlegroups.com.
>>>> To post to this group, send email to django-users@googlegroups.com.
>>>> Visit this group at http://groups.google.com/group/django-users.
>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>
>>>>
>>>>
>>>
>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to django-users+unsubscr...@googlegroups.com.
>>> To post to this group, send email to django-users@googlegroups.com.
>>> Visit this group at http://groups.google.com/group/django-users.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>>
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To post to this group, send email to django-users@googlegroups.com.
>> Visit this group at http://groups.google.com/group/django-users.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to