Ben's profile - activity
2018-04-26 01:07:35 -0500 | received badge | Famous Question (source) |
2012-12-03 07:12:39 -0500 | received badge | Famous Question (source) |
2011-01-31 17:01:58 -0500 | received badge | Self-Learner ( source ) |
2011-01-31 17:01:58 -0500 | received badge | Teacher ( source ) |
2011-01-31 16:50:15 -0500 | marked best answer | Gravatar Hashes having an extra 's' Ben, I think that your gravatar change has not yet propagated through various caches, there is no problem with retrieving the images as you can see on this site. the extra "s" is a formatting character for a string substitution, it is necessary to recognize the "gravatar_hash" variable as string and insert the value into the url. Here are python docs on string formatting. edit actually you are right, the gravatars have an extra s that does not belong there, but apparently it has no effect. Looks like you've discovered a "gravatar law". In fact it does not change if you append more characters. The extra "s" comes from a template macro "gravatar" in file |
2011-01-31 16:50:15 -0500 | received badge | Scholar ( source ) |
2011-01-31 16:50:09 -0500 | received badge | Supporter ( source ) |
2011-01-31 16:50:01 -0500 | answered a question | Gravatar Hashes having an extra 's' Nice, your fix totally works! Have a nice evening :-) |
2011-01-31 16:31:23 -0500 | received badge | Editor ( source ) |
2011-01-31 16:30:44 -0500 | answered a question | Gravatar Hashes having an extra 's' Right on, Evgeny. There is indeed a cache issue here. Still, all pictures hashes end with the 's' character. Right on this question page, for instance, your gravatar picture URI is: whereas would work (better?) For instance, take a look at mine: http://www.gravatar.com/avatar/4d8dff2584ac29510f092808ea3afee5s?s=128&d=identicon&r=PG returns a different picture than http://www.gravatar.com/avatar/4d8dff2584ac29510f092808ea3afee5?s=128&d=identicon&r=PG Edit: I read Python docs, and while I completely agree with you and the documentation, I do not get why the results are what they are... this is disturbing. Anyway, as you mentionned, the gravatar images are getting updated so it's not very important. :-) Thanks for your time anyway! |
2011-01-31 16:13:57 -0500 | asked a question | Gravatar Hashes having an extra 's' Hi, I've noticed gravatar hashes get an extra 's' after the actual hash. It seems to be because of the code in in askbot-0.6.65-py2.6.egg\askbot\templatetags\extra_tags.py@L16 which should be: instead of As of now, it prevents me from getting my actual updated gravatar image. Is it a typo or is it normal? As a side note.. I've changed the aforementionned file code, removed all PYC files in askbot directory, restarted the web server and emptied my browser cache but, still, it does not fix it. What am I doing wrong? (Sorry, first time with Django!) Thanks for your time and consideration! Ben |
2011-01-31 16:05:27 -0500 | commented question | Prevent automatic subscription and registration Thanks for your quick answer again Evgeny! :-) |
2011-01-31 16:04:57 -0500 | commented question | Prevent non-logged users from seeing questions Thanks for your answer Evgeny :-) |
2011-01-31 13:47:28 -0500 | received badge | Student (source) |
2011-01-31 13:38:42 -0500 | asked a question | Prevent automatic subscription and registration Hi, Is there any way to prevent subscribing users from automatically getting access? Staff/Admins could then decide to accept or deny users memberships based on their own criteria. PS: As I could not find any way to enable such feature, I've marked this question with a 'feature-request' tag - please remove it if the feature actually exists. Thanks for your time and consideration. Ben |
2011-01-31 13:36:28 -0500 | asked a question | Prevent non-logged users from seeing questions Hi, It does not seem possible at the moment to restraint non-loggued users from viewing the Q&A site content (beside the signing-up feature). Can it be done ? Or could it be implemented in the near feature ? PS: As I could not find any way to enable such feature, I've marked this question with a 'feature-request' tag - please remove it if the feature actually exists. Thanks for your time and consideration. Ben |