titstewan / tirea-material-lesson-blog Goto Github PK
View Code? Open in Web Editor NEWA re-written version of https://github.com/tirea/tirea-learnnavi-org
License: GNU General Public License v3.0
A re-written version of https://github.com/tirea/tirea-learnnavi-org
License: GNU General Public License v3.0
?p=lessons with no &l throws warning message: Missing argument 1 for navi_lesson()
. We should fix that because the page should render withouth the &l argument.
I'll try this evening to lurk to add some code to make this blog international by integrating some kind of text strings.
automated rss feed, i think.
Clicking on a link that contain l=01g-german for example loads only stuff that was stored in the cookie like english or any other language.
A possible fix ould be to let update the cookie lang value also by requesting a specific language lesson.
I want to find an elegant way to let include the lessons...
By reorganizing the html code of the Sound page, I apparently broke a javascript code. Not enterly sure what happened...
Steps to reproduce:
To fix the 500, until cookie value and URL var are validated:
I recommend the following to fix this bug:
Force the setting of only acceptable values to the cookie. This way, the value can never be invalid no matter how hard user tries. Also, because of this, we would not need to check validity of the var in every single file of function where it's used.
Well, it's not really broken, but if one try to choose custom variable, it won't work, everything else works fine.
Now that the RSS is automatic, Feed Validator seems to hate the new atom self-link.
For some reason our feed is invalid.
Adding / not adding?
https://github.com/Titstewan/DictionaryGenerator
if we can automate the cookie verification AND the lang menu, one only need to add a new lesson and stuff will do the work without editing the php files.
This bug exists on both Firefox and Chrome.
Steps to reproduce:
lang english .tirea.learnnavi.org 11 B / <expire date>
notice the dot before $domain (HOW TF does that get there?)
lang esperanto tirea.learnnavi.org 11 B / <expire date>
lang english .tirea.learnnavi.org 11 B / <expire date>
lang german tirea.learnnavi.org 11 B / <expire date>
lang english .tirea.learnnavi.org 11 B / <expire date>
Result: Language Switcher does not work. Stays in English the entire time.
Hack-fix:
lang esperanto .tirea.learnnavi.org 11 B / <expire date>
lang german tirea.learnnavi.org 11 B / <expire date>
index.php?lang=dutch
z.B.lang dutch .tirea.learnnavi.org 11 B / <expire date>
lang german tirea.learnnavi.org 11 B / <expire date>
Interesting indeed. What on Pandora is causing this? the Flux Vortex? This wasn't happening before...
I have checked and All functions in our PHP that calls setcookie() use $domain var from settings.php which on the server is set $domain = 'tirea.learnnavi.org';
(with no dot at beginning)
I have no idea how this is happening or how to fix this. O__o
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.