First time here? Check out the FAQ!

Nikhil's profile - activity

2022-03-24 22:57:20 -0500 received badge Famous Question (source)
2022-03-24 22:57:20 -0500 received badge Popular Question (source)
2020-01-29 03:35:09 -0500 received badge Notable Question (source)
2019-03-05 16:41:02 -0500 received badge Notable Question (source)
2018-06-10 23:51:41 -0500 received badge Popular Question (source)
2018-06-05 11:27:17 -0500 received badge Famous Question (source)
2018-06-05 11:27:07 -0500 received badge Famous Question (source)
2018-06-05 11:27:07 -0500 received badge Popular Question (source)
2016-06-02 13:03:27 -0500 received badge Famous Question (source)
2016-01-28 06:28:15 -0500 received badge Popular Question (source)
2015-10-05 10:58:41 -0500 marked best answer How to keep the Askbot database and it's contents in sync using GIT

I have setup a git repository and cloned askbot code from github to start development. I committed the codebase in our repository. I now have customized askbot using live settings and added few users and posts.

I want to commit this change as well so that my teammate can check out and we have same settings and database throughout.

I want to sync our databases so that not only the schema but its contents is same throughout. How do I do this?

Thanks

2015-10-05 10:58:41 -0500 marked best answer Is it possible to get a theme like answers.ros.org

I really like the ros.org theme. How difficult it is to get a theme like that. Is there already settings for that? Is it also possible to reduce the size of the font in main page like how they have done?

What does it take to customize the "look and feel" of the entire askbot driven site

2014-08-14 15:27:28 -0500 received badge Popular Question (source)
2014-06-23 17:39:25 -0500 received badge Famous Question (source)
2014-05-20 05:38:24 -0500 received badge Famous Question (source)
2014-04-01 12:46:12 -0500 received badge Famous Question (source)
2014-03-31 08:55:27 -0500 received badge Notable Question (source)
2014-03-31 08:55:27 -0500 received badge Popular Question (source)
2014-02-05 11:19:49 -0500 received badge Famous Question (source)
2014-01-07 22:06:01 -0500 received badge Famous Question (source)
2013-12-20 20:27:24 -0500 received badge Famous Question (source)
2013-12-16 02:57:36 -0500 marked best answer How do I start understanding how Askbot works?

I have downloaded and set-up Askbot project in Ubuntu. I am using Sublime Text as my editor. I want to understand the flow of how things work. How do I do that?

Where is the MVC model in the code? Where can I find Views and Templates and Model?

I started looking for some familiar patters but I couldn't find it. For example, I was looking for "Hi there!" string to see the template.

Is there a way to see which portion of the code is getting executed in the browser? i.e without adding checkpoints

2013-12-14 12:07:08 -0500 asked a question How to extract email after google login?

I tried the official google API website but most of the work is already done. I know after user grants permission, we send a request and get their contact. Where is this present in the code?

I would like to auto fill the email address. Any clue as to where I should be looking in the code? I tried looking in deps/django_authopenid/util.py and deps/django_authopenid/forms.py.

It would be great if I could get pointers for facebook as well.

2013-12-14 12:04:17 -0500 asked a question How to extract email after google login?

I tried the official google API website but most of the work is already done. I know after user grants permission, we send a request and get their contact. Where is this present in the code?

I would like to auto fill the email address. Any clue as to where I should be looking?

It would be great if I could get pointers facebook as well.

2013-12-12 07:45:28 -0500 commented answer How do I update Askbot if I have changed the Git origin?

Hi Fitoria, I just followed the steps mentioned above and was able to upgrade to the latest. But when I did git status, it showed only the changes I had done. I want to upload the newer version of askbot to my local repo. How do I do this? Thanks

2013-12-11 14:30:47 -0500 commented question Search bar does not work correctly

Yes. I want to try to improve it. Where do I start? The end result should be more like Quora where rapidly provides results as you start typing (It even drops down for a single character) Also, another question I had is what is need for Haystack or other such programs over current implemention of Askbot's search? Why would one want to use that when Askbot already provides a solution?

2013-12-11 14:23:26 -0500 commented question Search bar does not work correctly

Great, thanks! Just curious though, how come it doesn't start searching until 4 characters are entered ? Is this configurable? By searching I mean, we see the loading symbol and a drop down appears

2013-12-11 13:41:21 -0500 commented question Search bar does not work correctly

Is this feature implemented?

2013-12-11 11:55:22 -0500 commented answer admin logout throw exception

I tried it and its working fine..

2013-12-10 12:43:57 -0500 asked a question Question regarding skin customization document

I want a deeper customization for my website using Askbot and according to the document,

Deeper customization by editing default skin

Since the default skin still will change (a major redesign is expected), the best method for deeper customization is via use git revision control on a clone of the askbot master repository. It does require some knowledge of git system.

Some questions:

  1. Is it okay modifying 3rd party app even though it is just the templates and skin?
  2. Is it better to modify only templates but create a separate skin directory which consists only of media folder but not templates?
  3. If am doing this way, is it better to use Zurb foundation instead of Bootstrap since Askbot is going to be moved to Zurb anyway?
2013-12-10 11:54:26 -0500 asked a question testing 124
  1. Interview
  2. jkwjk
  3. hjehj
2013-12-10 02:01:41 -0500 commented question changing email of user via admin interface throws exception
2013-12-09 13:48:38 -0500 commented answer error on uploading photos

I am unable to upload here. It is working in my local workspace!

2013-12-09 13:01:59 -0500 asked a question Unable to add a user as a moderator using the admin portal

Using my superuser account, I am unable to add users to moderation group or infact do any sort of changes.

Following is the error I am seeing:

IntegrityError at /admin/auth/user/2/
update or delete on table "auth_user_groups" violates foreign key constraint "authusergroups_ptr_id_refs_id_e728db87" on table "askbot_groupmembership"
DETAIL:  Key (id)=(3) is still referenced from table "askbot_groupmembership".
Request Method: POST
Request URL:    http://172.19.32.112:8001/admin/auth/user/2/
Django Version: 1.5
Exception Type: IntegrityError
Exception Value:    
update or delete on table "auth_user_groups" violates foreign key constraint "authusergroups_ptr_id_refs_id_e728db87" on table "askbot_groupmembership"
DETAIL:  Key (id)=(3) is still referenced from table "askbot_groupmembership".
Exception Location: /usr/local/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py in _commit, line 240
Python Executable:  /usr/bin/python
Python Version: 2.7.3
Python Path:    
['/home/nikhil/mysiter',
 '/usr/local/lib/python2.7/dist-packages/South-0.8.4-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/Coffin-0.3.8-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/lamson-1.3.4-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/django_keyedcache-1.4_6-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/django_celery-3.0.11-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/oauth2-1.5.211-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/Unidecode-0.04.14-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/markdown2-2.1.0-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/django_threaded_multihost-1.4_1-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/Jinja2-2.7.1-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/pytz-2013b-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/django_compressor-1.2-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/django_robots-0.9.2-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/django_picklefield-0.3.0-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/python_openid-2.2.5-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/akismet-0.2.0-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/django_countries-1.0.5-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/django_kombu-0.9.4-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/django_tinymce-1.5.1b2-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/django_followit-0.0.3-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/html5lib-0.90-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/django_recaptcha_works-0.3.4-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/longerusername-0.4-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/sanction-0.3.1-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/pystache-0.3.1-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/beautifulsoup4-4.3.2-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/python_modargs-1.7-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/python_daemon-1.6-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/nose-1.3.0-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/mock-1.0.1-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/celery-3.1.4-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/django_appconf-0.6-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/six-1.4.1-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/lockfile-0.9.1-py2 ...
(more)
2013-12-09 07:49:21 -0500 commented answer How to rename Karma to something else using django-rosetta?

I wanted to rename Tags as Topics, Questions as Posts, followed to favorites etc..

2013-12-09 03:30:19 -0500 commented answer How to rename Karma to something else using django-rosetta?

Sure, I'll take a look. What if we need to rename other stuff? How should we proceed then?

2013-12-08 09:39:38 -0500 asked a question Unable to run askbot test suites

I am getting error when I run,

python manage.py test askbot

Following is what I am seeing, I am using Django-1.5 and PostgreSql

Creating test database for alias 'default'... AssertionError: PostgreSQL does not support collation setting at database creation time.

2013-12-06 01:34:29 -0500 asked a question How to rename Karma to something else using django-rosetta?

I have installed rosetta and I am able to view its portal. I want to translate Karma to something else. Does anyone know how I can do this?

2013-12-05 23:42:42 -0500 received badge Notable Question (source)
2013-12-05 12:48:16 -0500 asked a question error on uploading photos

I wanted to upload photos to ask a question, but I am getting 'error uploading file, please contact site admin'. I thought I had enough karma..what is the issue?

2013-12-05 11:10:05 -0500 marked best answer How do I update Askbot if I have changed the Git origin?

I have cloned Askbot from Github, set it up in development mode. I have removed the origin and added my local repo as its origin and committed it to my repository so that my teammates can checkout.

If I need to update/upgrade Askbot, how do I do it?

This is what I have done:

In my virtual env,

  1. git clone git://github.com/ASKBOT/askbot-devel.git my_site;
  2. cd my_site;
  3. python setup.py develop;
  4. askbot-setup;
2013-12-05 11:00:10 -0500 asked a question Unable to comment on the answer which I accepted

I wanted to comment on this question which I had asked and accepted.

However, I unable to comment on it.

2013-12-05 02:19:15 -0500 asked a question Template Error when trying to close a question
TemplateSyntaxError at /question/1/testing-123/
Encountered unknown tag 'else'.
Request Method: GET
Request URL:    http://172.19.32.112:8001/question/1/testing-123/
Django Version: 1.5
Exception Type: TemplateSyntaxError
Exception Value:    
Encountered unknown tag 'else'.
Exception Location: /home/nikhil/mysite/askbot/templates/question/closed_question_info.html in template, line 4
Python Executable:  /usr/bin/python
Python Version: 2.7.3
Python Path:    
['/home/nikhil/interviewcluster',
 '/usr/local/lib/python2.7/dist-packages/South-0.8.4-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/Coffin-0.3.8-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/lamson-1.3.4-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/django_keyedcache-1.4_6-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/django_celery-3.0.11-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/oauth2-1.5.211-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/Unidecode-0.04.14-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/markdown2-2.1.0-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/django_threaded_multihost-1.4_1-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/Jinja2-2.7.1-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/pytz-2013b-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/django_compressor-1.2-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/django_robots-0.9.2-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/django_picklefield-0.3.0-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/python_openid-2.2.5-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/akismet-0.2.0-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/django_countries-1.0.5-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/django_kombu-0.9.4-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/django_tinymce-1.5.1b2-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/django_followit-0.0.3-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/html5lib-0.90-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/django_recaptcha_works-0.3.4-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/longerusername-0.4-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/sanction-0.3.1-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/pystache-0.3.1-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/beautifulsoup4-4.3.2-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/python_modargs-1.7-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/python_daemon-1.6-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/nose-1.3.0-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/mock-1.0.1-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/celery-3.1.4-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/django_appconf-0.6-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/six-1.4.1-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/lockfile-0.9.1-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/kombu-3.0.5-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/billiard-3.3.0.7-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/amqp-1.3.3-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/anyjson-0.3.3-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/distribute-0.7.3-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/setuptools-1.4-py2.7.egg',
 '/usr/local/lib/python2.7 ...
(more)