tristan's profile - activity

5 years ago received badge Notable Question (source)
10 years ago received badge Popular Question (source)
10 years ago received badge Popular Question (source)
11 years ago received badge Famous Question (source)
12 years ago received badge Nice Answer ( source )
12 years ago received badge Famous Question (source)
12 years ago 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 ?

12 years ago received badge Famous Question (source)
13 years ago 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.

13 years ago 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...

13 years ago commented question Empty tag ?

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

13 years ago 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.

13 years ago received badge Scholar ( source )
13 years ago received badge Self-Learner ( source )
13 years ago received badge Student (source)
13 years ago received badge Organizer (source)
13 years ago 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.

13 years ago commented question Customizing skin

ASKBOT_DEFAULT_SKIN ?

13 years ago 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 ?

13 years ago received badge Self-Learner ( source )
13 years ago 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.

13 years ago received badge Necromancer ( source )
13 years ago 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

13 years ago received badge Commentator
13 years ago commented answer Static files (css, js and images) not served

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

13 years ago commented answer Static files (css, js and images) not served

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

13 years ago 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

13 years ago 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).

13 years ago commented answer Static files (css, js and images) not served

in /etc/apache2/sites-available/

13 years ago commented answer Static files (css, js and images) not served

And the virtualhost ?

13 years ago commented answer Static files (css, js and images) not served

Yes that right... oops...

13 years ago commented answer Unable to activate RSS Feeds

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

13 years ago commented answer Unable to activate RSS Feeds

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

13 years ago received badge Teacher ( source )
13 years ago received badge Editor ( source )
13 years ago 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

13 years ago 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...

13 years ago 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...

13 years ago 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 ?