• » webSPELL.org - Free Content Management System
  • Language switch: English German
  • login



    » lost password?   » register now
  • About webSPELL

    webSPELL is a free Content Management System which was especially developed for the needs of esport related communities. Since a short while we are also offering an optimized and enhanced webSPELL version for the special requirements of non-profit organisations. The purpose of both systems is to offer a professional and free opportunity to create and administrate your own website in an easy and optimized way.

    » Learn more about webSPELL     » Download webSPELL now!
  • Advertisement

    Follow us

  • Sort:      1 2  » printview
    Author
    Message
    webSPELL friend
    674 Posts
    28.11.2009, 16:06 email offline quote 

    About:
    More stylish login. When logging instead of redirecting to checklogin.php you get a nice little message if it was successful or not.
    Tutorial from bitrepository.com
    Uses javascript framework MooTools

    Version:
    4.2.1 - Currently tested on latest clan version.

    Known bugs:
    None yet

    ToDo:
    Language switch

    Download:
    Download from weSEO.de (After it gets checked by admin)

    Screens:
    http://weseo.de/images/files-screens/27.jpg

    Still working on it. But I don't know how do I add language switch in javascript.

    www.kode-designs.com
    How much wood would a woodchuck chuck if a woodchuck could chuck wood?
    webSPELL user
    379 Posts
    28.11.2009, 16:14 email offline quote 

    Pretty simple, just generate the output message with php instead of with javascript, then you can use language switch within the php file, and since you are requesting a file with your javascript anyway, it is a simple task.

    Code:
    1.
    2.
    3.
    4.
    5.
    6.
    7.
    8.
    9.
    10.
    11.
    12.
    <?php

    //this is the requested file

    //do login check session etc.


    if(login is successful) echo 'green text you are logged in';

    else echo 'red text (or w/e) you failed epicly';

    ?>


    like that zwinkern
    webSPELL lover
    1214 Posts
    28.11.2009, 16:49 email offline quote 

    many other addons are using jquery. why do u use mootools ( because of the conflict between jquery and mootools ) ?
    webSPELL god
    Member of webSPELL e.V.
    7824 Posts
    28.11.2009, 17:00 email offline quote 

    kayyy wrote:

    many other addons are using jquery. why do u use mootools ( because of the conflict between jquery and mootools ) ?

    the better question would be why to use any external js framework at all ;-) webspell includes all necessary ajax function for such a simple purpose.

    eggzy wrote:

    ...But I don't know how do I add language switch in javascript.

    have a look how it is done at the existing webspell language features within the bbcode.js (for example the bbcode-checker).
    webSPELL hero
    1783 Posts
    28.11.2009, 17:25 offline quote 

    kayyy wrote:

    many other addons are using jquery. why do u use mootools ( because of the conflict between jquery and mootools ) ?

    perhaps because of the tut ?! zunge raus
    webSPELL friend
    674 Posts
    28.11.2009, 17:44 email offline quote 

    I suck at javascript and ajax so I was just trying some things amüsiert

    -MooTools is because of tutorial amüsiert

    k3rmit wrote:

    the better question would be why to use any external js framework at all ;-) webspell includes all necessary ajax function for such a simple purpose.

    didn't know that, but as I said I'm new to JS

    www.kode-designs.com
    How much wood would a woodchuck chuck if a woodchuck could chuck wood?
    webSPELL hero
    1783 Posts
    28.11.2009, 17:49 offline quote 

    if you can write php scripts it´s easy to learn js zunge raus
    webSPELL user
    379 Posts
    28.11.2009, 23:44 email offline quote 

    k3rmit wrote:


    have a look how it is done at the existing webspell language features within the bbcode.js (for example the bbcode-checker).


    i would let php do the work for me, but i see webspell calls the language switch anyway so you could just as well use that. depending on what you want most of, php or js, I wonder what is the best solution generally, not only webspell related?
    webSPELL god
    Member of webSPELL e.V.
    7824 Posts
    29.11.2009, 00:45 email offline quote 

    F1skr wrote:

    ...i would let php do the work for me...

    you really should have a look at the code i mentioned zwinkern bbcode.js is not parsed by webspell, cause it is no template file, therefor no language variables in there like in the template filess. that's why there is used a combination of php and js for outputting language strings in javascript. php generates a javascript language array, js functions are using this array for the translations.
    webSPELL user
    379 Posts
    29.11.2009, 02:52 email offline quote 

    k3rmit wrote:

    F1skr wrote:

    ...i would let php do the work for me...

    you really should have a look at the code i mentioned zwinkern bbcode.js is not parsed by webspell, cause it is no template file, therefor no language variables in there like in the template filess. that's why there is used a combination of php and js for outputting language strings in javascript. php generates a javascript language array, js functions are using this array for the translations.


    I totally understand what the bbcode.js does, you don't get what i ment, and i don't blame you zwinkern


    can't figure out how to explain it right now tho :X









    Sort:      1 2  » printview


    To start or to reply to a topic you have to be registered and logged in!

    register now
    login
  • » Support

    » Topics
    23.05.2013 - 06:07 - 3 Replies
    » I cannot upload template ...
    I cannot upload template to my cms .
    Last post: Osamakillz
    Board: EN - General
    23.05.2013 - 06:07
    23.05.2013 - 02:08 - 10 Replies
    » forum anzeige erweitern
    forum anzeige erweitern
    Last post: LoRd
    Board: DE - Allgemeiner Support
    23.05.2013 - 02:08
    22.05.2013 - 23:06 - 9 Replies
    » When the update?
    When the update?
    Last post: kola60
    Board: EN - General
    22.05.2013 - 23:06
    22.05.2013 - 22:21 - 2 Replies
    » Website For SALE! CODED
    Website For SALE! CODED
    Last post: Osamakillz
    Board: EN - General
    22.05.2013 - 22:21
    22.05.2013 - 21:43 - 3 Replies
    » Slider Links Bitte um Hil...
    Slider Links Bitte um Hilfe
    Last post: bazic
    Board: DE - Allgemein
    22.05.2013 - 21:43
    22.05.2013 - 21:28 - 464 Replies
    » Wettscript 2.1 for 4.2.3a...
    Wettscript 2.1 for 4.2.3a - Betscript
    Last post: Amokossi
    Board: DE - Fertige Skripte
    22.05.2013 - 21:28
    22.05.2013 - 17:46 - 3 Replies
    » Admin login
    Admin login
    Last post: blackmoonstah
    Board: DE - Allgemeiner Support
    22.05.2013 - 17:46
    22.05.2013 - 17:28 - 1 Replies
    » Design Ausverkauf - alles...
    Design Ausverkauf - alles unter 70€
    Last post: Freestyler92
    Board: DE - Biete
    22.05.2013 - 17:28
    22.05.2013 - 14:54 - 2 Replies
    » adminlogin auf allypage f...
    adminlogin auf allypage funktioniert nicht mehr. bitte um hilfe
    Last post: blackmoonstah
    Board: DE - Technischer Support
    22.05.2013 - 14:54
    22.05.2013 - 14:41 - 4 Replies
    » Content laden
    Content laden
    Last post: bazic
    Board: DE - Anfragen
    22.05.2013 - 14:41
    22.05.2013 - 09:57 - 0 Replies
    » [4SALE] eSport Design/Tem...
    [4SALE] eSport Design/Template
    Last post: LeG3nDz
    Board: EN - Offers
    22.05.2013 - 09:57
    22.05.2013 - 09:24 - 1 Replies
    » Updatefunktion?
    Updatefunktion?
    Last post: Sysix
    Board: DE - Vorschläge
    22.05.2013 - 09:24
    22.05.2013 - 00:47 - 5 Replies
    » msql datenbank transfer
    msql datenbank transfer
    Last post: pgene
    Board: DE - Technischer Support
    22.05.2013 - 00:47
    22.05.2013 - 00:03 - 9 Replies
    » Mein Forum
    Mein Forum
    Last post: Lordy4007
    Board: DE - Fragen zur Seite
    22.05.2013 - 00:03
    21.05.2013 - 19:43 - 9 Replies
    » login startseite
    login startseite
    Last post: Argu
    Board: DE - Technischer Support
    21.05.2013 - 19:43
    21.05.2013 - 13:18 - 7 Replies
    » [Biete] Template Designs
    [Biete] Template Designs
    Last post: Marceld
    Board: DE - Biete
    21.05.2013 - 13:18
    21.05.2013 - 05:15 - 0 Replies
    » Need Designer for Logo/Te...
    Need Designer for Logo/Template
    Last post: Kody
    Board: EN - General
    21.05.2013 - 05:15
    21.05.2013 - 05:13 - 0 Replies
    » Looking for Designers/Cod...
    Looking for Designers/Coders (paid)
    Last post: Kody
    Board: EN - Requests
    21.05.2013 - 05:13
    20.05.2013 - 21:11 - 12 Replies
    » High Quality Website
    High Quality Website
    Last post: Dansjostedt
    Board: EN - Offers
    20.05.2013 - 21:11
    20.05.2013 - 18:27 - 4 Replies
    » [S] Tester für neuen Foru...
    [S] Tester für neuen ForumMod
    Last post: Argu
    Board: DE - Anfragen
    20.05.2013 - 18:27
    » Partners
    Bilderkiste.org Image Hosting
    k3rmit.org
    PascalMh.de


    » Blog
    28.03.2013 - derchris
    » Those damn spammers