First time here? Check out the FAQ!

Toms's profile - activity

2023-06-13 19:33:41 -0500 received badge Notable Question (source)
2023-06-13 19:33:41 -0500 received badge Popular Question (source)
2022-03-15 02:00:09 -0500 received badge Famous Question (source)
2022-03-15 02:00:09 -0500 received badge Popular Question (source)
2020-06-12 06:14:28 -0500 received badge Famous Question (source)
2020-04-20 12:50:20 -0500 received badge Notable Question (source)
2020-02-18 19:28:44 -0500 received badge Famous Question (source)
2020-02-12 00:47:58 -0500 received badge Famous Question (source)
2019-07-21 03:31:27 -0500 received badge Famous Question (source)
2019-03-15 13:35:40 -0500 received badge Notable Question (source)
2019-03-15 13:35:40 -0500 received badge Popular Question (source)
2019-03-13 15:16:12 -0500 received badge Popular Question (source)
2019-03-13 15:16:12 -0500 received badge Famous Question (source)
2019-03-06 14:34:04 -0500 received badge Popular Question (source)
2019-03-06 14:34:04 -0500 received badge Notable Question (source)
2019-03-05 14:27:40 -0500 received badge Notable Question (source)
2019-03-05 14:27:40 -0500 received badge Popular Question (source)
2018-06-01 11:41:03 -0500 received badge Famous Question (source)
2018-01-31 22:29:18 -0500 received badge Famous Question (source)
2017-12-14 16:22:57 -0500 received badge Notable Question (source)
2017-12-14 16:22:42 -0500 received badge Popular Question (source)
2017-12-14 16:22:42 -0500 received badge Notable Question (source)
2017-12-06 11:10:59 -0500 received badge Famous Question (source)
2017-12-06 11:10:59 -0500 received badge Popular Question (source)
2017-08-09 05:14:22 -0500 received badge Popular Question (source)
2017-07-24 13:54:10 -0500 received badge Notable Question (source)
2017-04-26 09:59:06 -0500 received badge Popular Question (source)
2017-02-22 23:15:11 -0500 received badge Famous Question (source)
2017-02-21 20:23:42 -0500 received badge Popular Question (source)
2017-02-21 20:23:42 -0500 received badge Notable Question (source)
2017-01-22 08:35:15 -0500 received badge Popular Question (source)
2017-01-22 08:35:15 -0500 received badge Notable Question (source)
2017-01-12 18:59:48 -0500 received badge Famous Question (source)
2016-02-26 10:50:26 -0500 received badge Good Question (source)
2016-01-28 06:22:09 -0500 received badge Popular Question (source)
2016-01-28 06:22:09 -0500 received badge Notable Question (source)
2016-01-08 05:04:01 -0500 received badge Famous Question (source)
2015-10-14 10:16:35 -0500 received badge Famous Question (source)
2015-10-05 10:58:42 -0500 marked best answer How to paste custom javascript at one question only?

Is it somehow possible to paste some custom javascript on one specific question only?

2015-10-05 10:58:41 -0500 marked best answer How to hide the "View" counter?

How can I hide the "view" counter on the main page?

2015-10-05 10:58:40 -0500 marked best answer How are the Askbot passwords stored?

I'm interested in the security regarding the password storage.

Is it salted hash?

2015-10-05 10:58:38 -0500 marked best answer How to insert images into a numbered list with markdown?

If there is an image between numbered list items, then you get wrong numbers. Example:

  1. Number One

image description

  1. Number Two (but you see 1.)

image description

  1. Number Three (but you see 1.)

image description

2015-10-05 10:58:38 -0500 marked best answer How to add piwik code to askbot?

I want to implement the google analytics alternative piwik, but in the admin settings I can only put some custom javascript, which is then in the custom.js file. But to work correctly it should be implemented like analytics, the full code at the bottom of the page.

2015-10-05 10:58:38 -0500 marked best answer How to force tags to contain only small letters?

How to force tags to contain only small letters?

2015-10-05 10:58:38 -0500 marked best answer Migration askbot skins to templates

After the update I did:

manage.py migrate

Message:

Time to move skin files  from /mydjango/askbot/skins/default.
Now we have 'askbot/templates' and 'askbot/media'

What exactly should I do now? Some settings.py changes or some folder migrations?

2015-10-05 10:58:37 -0500 marked best answer Internal Server Error after Newest Update.

Hi,

I've updated askbot just now, and get the internal server error when I visit my site. The main page is somehow working, but everything else not. I think reason for working main page is probably caching.

With the same scheme I've updated last week and everything was fine.

I've Ubuntu with apache server.

Please help.

Commands I've used:

git fetch origin master:master-updated
git checkout master
git merge master-updated
git commit -m 'merged with the development repository'

then I've restarted apache.

How to get the previous (working) version?

here the full process:

# git fetch origin master:master-updated
remote: Counting objects: 162, done.
remote: Compressing objects: 100% (16/16), done.
remote: Total 96 (delta 80), reused 96 (delta 80)
Unpacking objects: 100% (96/96), done.
From git://github.com/ASKBOT/askbot-devel
   5e3f780..2aac331  master     -> master-updated
root@myserver:/home/mydjangoinstall# git checkout master
M       askbot/locale/en/LC_MESSAGES/django.mo
M       askbot/locale/en/LC_MESSAGES/django.po
M       askbot/locale/ru/LC_MESSAGES/django.mo
M       askbot/locale/ru/LC_MESSAGES/django.po
Already on 'master'
Your branch is ahead of 'origin/master' by 8 commits.
root@myserver:/home/mydjangoinstall# git merge master-updated
Updating 5e3f780..2aac331
Fast-forward
 askbot/doc/source/changelog.rst                    |    1 +
 askbot/doc/source/contributors.rst                 |    1 +
 askbot/forms.py                                    |   99 ++++++++++++++++----
 .../0126_add_field__auth_user__is_fake.py          |   19 ++++
 askbot/models/__init__.py                          |   20 ++++
 askbot/skins/common/media/js/post.js               |   27 ++++++
 askbot/skins/common/media/js/utils.js              |    1 +
 .../skins/common/templates/widgets/edit_post.html  |   41 +++++++-
 askbot/skins/default/media/style/style.css         |    4 +-
 askbot/skins/default/media/style/style.less        |   35 ++++++-
 askbot/skins/default/templates/answer_edit.html    |    2 +-
 askbot/skins/default/templates/macros.html         |    3 +-
 .../templates/question/new_answer_form.html        |    2 +-
 askbot/skins/default/templates/question_edit.html  |    3 +-
 .../skins/default/templates/widgets/ask_form.html  |    3 +-
 askbot/tests/form_tests.py                         |   27 ++++++
 askbot/urls.py                                     |    5 +
 askbot/views/commands.py                           |   23 +++++
 askbot/views/writers.py                            |   17 +++-
 19 files changed, 301 insertions(+), 32 deletions(-)
 create mode 100644 askbot/migrations/0126_add_field__auth_user__is_fake.py
root@myserver:/home/mydjangoinstall# git add <fixed files>
-bash: syntax error near unexpected token `newline'
root@myserver:/home/mydjangoinstall# git commit -m 'merged with the development repos                                                                                        itory'
# On branch master
# Your branch is ahead of 'origin/master' by 13 commits.
#
# Changes not staged for commit:
#   (use "git add <file>..." to update what will be committed)
#   (use "git checkout -- <file>..." to discard changes in working directory)
#
#       modified:   askbot/locale/en/LC_MESSAGES/django.mo
#       modified:   askbot/locale/en/LC_MESSAGES/django.po
#       modified:   askbot/locale/ru/LC_MESSAGES/django.mo
#       modified:   askbot/locale/ru/LC_MESSAGES/django.po
#
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#       askbot/locale/ru/LC_MESSAGES/django.po.BackUP.24.07.2012
#       askbot/locale/ru/LC_MESSAGES/django.po.BackUp.25.07.2012
no changes added to commit (use "git add" and/or "git commit -a")
root@myserver:/home/mydjangoinstall# service apache2 reload
 * Reloading web server config apache2                                   [ OK ]
root@myserver:/home/mydjangoinstall# service apache2 restart
 * Restarting web server apache2                                             [ OK]

Edit:

nothing changes after using:

python manage ...
(more)
2015-10-05 10:58:37 -0500 marked best answer How does "post anonymously" feature work?

If a question is asked by anonymous and someone, say MichaelJ, answers, then you see on the main page that the question was modified by anonymous, but it was MichaelJ.

2015-10-05 10:58:37 -0500 marked best answer Logout bug in Russian (and possibly other translations)

On my ru locale site, I see the error 404 page after logging out.

instead of something like " successful logout .."

After logging out I'm redirected to:

http://mysite.com/account/signin/?next=/polzovatel/vyhod/

Edit: With this in settings.py

ASKBOT_TRANSLATE_URL = False

I get this url: http://mysite.com/account/signin/?next=/account/vyhod/

with 404 error

2015-10-05 10:58:33 -0500 marked best answer How to paste code after an item?
  • An item

    this is code

2015-10-05 10:56:03 -0500 marked best answer Askbot stopped working after newest update

I have the update problem again. After update nothing works any more. When I visit my site I get the 500 internal error. I got this email to my Admin account from my askbot site:

Traceback (most recent call last):

....

NoReverseMatch: Reverse for 'mysitedjango.get_editor' with arguments '()' and keyword arguments '{}' not found.

...

How to make it working now?

The commands I've used to update:

git fetch origin master:master-updated
git checkout master
git merge master-updated

I use the ru locale and no customization, except some css and javascript I put in the build in fields of admin panel.

EDIT

When I ran python manage.py migrate

I get following message:

************************
*                      *
*   Askbot self-test   *
*                      *
************************
Error: No module named bs4
Please run: >pip install beautifulsoup4
To install all the dependencies at once, type:
pip install -r askbot_requirements.txt
Type ^C to quit.
If necessary, type ^C (Ctrl-C) to stop the program.