First time here? Check out the FAQ!

tristan's profile - activity

2020-06-15 04:17:35 -0500 received badge Notable Question (source)
2014-10-20 13:35:44 -0500 received badge Popular Question (source)
2014-09-22 02:06:52 -0500 received badge Popular Question (source)
2014-02-28 11:24:12 -0500 received badge Famous Question (source)
2013-06-03 18:32:51 -0500 received badge Nice Answer ( source )
2013-04-04 15:18:31 -0500 received badge Famous Question (source)
2013-02-28 14:41:29 -0500 asked a question Internal Server Error : encoding change in POST with euro symbol

Hi,

I have a functional installation of askbot but, when sending data, Apache is weird :

  • data without euro symbol : charset : utf-8 (OK)
  • data with euro symbol : charset : iso-8859-1 (????) and Internal Server Error

I try to add AddDefaultCharset utf-8 in apache config but this is not working...

Any suggestion please ?

2012-08-14 14:05:44 -0500 received badge Famous Question (source)
2012-05-11 02:24:31 -0500 answered a question ASKBOT_EXTRA_SKINS_DIR settings stalls model validation

Create the directory indicated by ASKBOT_EXTRA_SKINS_DIR (for example: skin/my_askbot). This directory must have the same structure as static/common or static/default (ie: countains the directories media and templates). The files in your skin directory will override the files of common and default.

In settings.py add STATICFILES_DIRS = (os.path.join(ASKBOT_ROOT, 'skins'), ASKBOT_EXTRA_SKINS_DIR)

Finally, in your site, log you as root user and in settings->Logos and HTML <head> parts choose the name of your skin.

2012-05-07 02:05:37 -0500 asked a question Modifying jinja2 extra filters

I try to change the display of the "vote" boxes (vote, response, and view). The file is in askbot/templetags/extra_filters_jinja.py line 277 (function humanize_counter). The locale is not working on this value and modifying the code to return a custom string has no impact...

2012-05-04 17:00:18 -0500 commented question Empty tag ?

Here you have activate a "required" control on the tags field

2012-05-04 16:57:49 -0500 asked a question Empty tag ?

When asking a question, if we add a tag and then we remove this tag an empty tag appears in the list of tags.

2012-05-01 01:58:34 -0500 received badge Scholar ( source )
2012-04-30 20:34:17 -0500 received badge Self-Learner ( source )
2012-04-30 20:34:13 -0500 received badge Student (source)
2012-04-30 15:23:27 -0500 received badge Organizer (source)
2012-04-30 15:21:48 -0500 answered a question Customizing skin

The doc must be updated! Follow the steps then connect you in askbot as root and go in settings -> Logos and HTML head parts then choose your skin and save. That's all!
The ASKBOT_DEFAULT_SKIN parameter doesn't work in settings.py.

2012-04-30 15:08:13 -0500 commented question Customizing skin

ASKBOT_DEFAULT_SKIN ?

2012-04-30 14:12:13 -0500 asked a question Customizing skin

According to the doc http://askbot.org/doc/customizing-skin-in-askbot.html, I try to customize my askbot. I will have 4 askbots on the same server so I decided to create the skin in a new directory.
My process:
- create a new directory 'myskin' in my askbot installation and copy of 'askbot/skin/default' from the sources
- modify the base.html title to see if it's working - modify settings.py with:
ASKBOT_EXTRA_SKIN_DIRS='myskin'
STATICFILES_DIR = (..., ASKBOT_EXTRA_SKIN_DIRS)
- run python manage.py collectstatic
The skin used is allways the 'default' skin... something is wrong ?

2012-04-30 08:40:56 -0500 received badge Self-Learner ( source )
2012-04-30 08:36:14 -0500 answered a question Unable to activate RSS Feeds

Ok, finally no problem : the site is under construction and protected by htaccess (the feed is unreachable).
To detect the error I used : http://feedvalidator.org which indicates clearly the nature of the error.

2012-04-29 16:54:50 -0500 received badge Necromancer ( source )
2012-04-29 16:25:54 -0500 commented answer Static files (css, js and images) not served

in /etc/apache2/sites-available/your-file, you must have the line : Alias /static/ /path_to_your_project/static/. See the sample in http://askbot.org/doc/deployment.html

2012-04-29 16:07:47 -0500 received badge Commentator
2012-04-29 16:07:47 -0500 commented answer Static files (css, js and images) not served

in /etc/apache2/apache2.conf, last line, add :<br />

2012-04-29 16:07:46 -0500 commented answer Static files (css, js and images) not served

in /etc/apache2/apache2.conf, last line, add : NameVirtualHost your_ip:80

2012-04-29 16:01:52 -0500 answered a question edit profile view outdated

Same error on 0.7.42.

Perhaps am I not working with the last version ?
git clone git://github.com/ASKBOT/askbot-devel.git askbot

2012-04-29 15:47:45 -0500 commented answer Unable to activate RSS Feeds

I don't know if the two problems are linked but in the profile user's page, "change picture" is pointing on "faq/#gravatar" (in my askbot "from scratch" too).

2012-04-29 15:26:06 -0500 commented answer Static files (css, js and images) not served

in /etc/apache2/sites-available/

2012-04-29 15:04:26 -0500 commented answer Static files (css, js and images) not served

And the virtualhost ?

2012-04-29 14:55:35 -0500 commented answer Static files (css, js and images) not served

Yes that right... oops...

2012-04-29 14:53:52 -0500 commented answer Unable to activate RSS Feeds

I try to migrate another time but : <code>Nothing to migrate</code>

2012-04-29 14:51:49 -0500 commented answer Unable to activate RSS Feeds

Same problem with a local test from scratch... I use the git version askbot-devel.

2012-04-29 14:49:20 -0500 received badge Teacher ( source )
2012-04-29 14:44:22 -0500 received badge Editor ( source )
2012-04-29 14:41:24 -0500 answered a question Static files (css, js and images) not served

If you are using Apache, in the settings.py file, modify STATIC_URL with '/static/' and run python manage.py collectstatic.
Then follow http://askbot.org/doc/deployment.html

2012-04-29 14:34:25 -0500 commented answer Unable to activate RSS Feeds

I followed the doc for the deployment and i made the <code>manage.py migrate askbot</code> and <code>manage.py migrate django_authopenid</code>. What is the name of teh app for INSTALLED_APPS? I see nothing named *feed and my INSTALLED_APPS has the same value as the original...

2012-04-29 13:49:02 -0500 commented answer Unable to activate RSS Feeds

The only changes I made are those described in the question... I go back to the original file but the feeds are not activated...

2012-04-29 13:18:29 -0500 asked a question Unable to activate RSS Feeds

I missed probably one step to activate the RSS Feeds and no doc about this part of the configuration.

Hi,

In urls.py I add:
1) According to feed.py :
from askbot.feed import RssLastestQuestionsFeed, RssIndividualQuestionFeed

2) The feeds dictionnary :
feeds = {
'rss': RssLastestQuestionsFeed,
'question':RssIndividualQuestionFeed
}

3) The pattern :
url(
r'^feeds/(?P<url>.*)/$',
'django.contrib.syndication.views.feed',
{'feed_dict': feeds},
name='feeds'
),

After restarting apache, the RSS link is always /feeds/rss/? and the feeds are inactives.

Any idea ?