• » 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 3 4 5 6  » printview
    Author
    Message
    webSPELL hero
    1799 Posts
    11.11.2011, 20:36 offline quote 

    Okay
    dann benutz das für die template Datei:
    Code:
    1.
    <a href="javascript:;" onclick="document.getElementById('Die ID des inputs').value='@$searchresult ';document.getElementById('searchresult').style.display='none';">&nbsp;$searchresult&nbsp;</a><br />
    webSPELL lover
    1234 Posts
    11.11.2011, 19:26 offline quote 

    Moin, ja das autocomplete sieht prima aus, aber wenn webspell sowas schon bietet, dann würd ich das gerne auch nutzen lächeln

    Danke für dein Ansatz, jetzt werde ich auf eine leere Seite geleitet in der nur "none" steht


    » » Confused-Gaming.eu « «

    alle meine Addons / Mods findet ihr in meinem Profil
    webSPELL user
    307 Posts
    11.11.2011, 19:08 email offline quote 

    zwantE wrote:

    ok, nun geht die suche, aber wenn ich einen Namen aussuche, dann lande ich auf diesen link -> http://testseite.confu...style.display=%27none%27;



    klar du must auch

    Code:
    1.
    <a href="javascript:document.getElementById('Die ID des inputs').value='@$searchresult ';document.getElementById('searchresult').style.display='none';">&nbsp;$searchresult&nbsp;</a><br /> 


    Ach ja ich wollte mein ersten Ansatz nochmal vernünftig und getestet aufschreiben und bin dann zufällig auf das hier gestoßen;
    http://jqueryui.com/demos/autocomplete/

    sollte eine Hilfe sein ^^
    webSPELL lover
    1234 Posts
    11.11.2011, 17:42 offline quote 

    ok, nun geht die suche, aber wenn ich einen Namen aussuche, dann lande ich auf diesen link -> http://testseite.confu...style.display=%27none%27;

    » » Confused-Gaming.eu « «

    alle meine Addons / Mods findet ihr in meinem Profil
    webSPELL hero
    1799 Posts
    11.11.2011, 16:13 offline quote 

    Ah ja ändere in der asearch.php
    $allowed_searchtemps=array("search_user");
    in
    $allowed_searchtemps=array("search_user","search_user_shoutbox");
    webSPELL lover
    1234 Posts
    11.11.2011, 15:21 offline quote 

    danke für deine Antwort,
    ich hab das jetzt so für meine test.php übernommen und ich bekomme die Meldung "Ungültiger Aufruf"!

    read more test.php
    read more search_user_shoutbox.html
    liveansicht -> http://testseite.confu...g.com/index.php?site=test

    » » Confused-Gaming.eu « «

    alle meine Addons / Mods findet ihr in meinem Profil
    webSPELL hero
    1799 Posts
    11.11.2011, 14:56 offline quote 

    Hmm
    ändere das onkeyup event in:
    Code:
    1.
    if(this.value.charAt(0)=="@") { overlay(this, "searchresult");search("user","nickname","userID",encodeURIComponent(this.value.substring(1)),"search_user_shoutbox","searchresult","replace", document.getElementById("exact").checked, "ac_usersearch")} else document.getElementById("searchresult").style.display="none";


    Und füge im input feld eine id hinzu

    Erstelle ein neues template names search_user_shoutbox.html
    mit folgenden inhalt:
    Code:
    1.
    <a href="document.getElementById('Die ID des inputs').value='@$searchresult ';document.getElementById('searchresult').style.display='none';">&nbsp;$searchresult&nbsp;</a><br /> 
    webSPELL lover
    1234 Posts
    11.11.2011, 08:47 offline quote 

    Moin Ladys,
    ich hab mich nun nochmal mit der asearch.php beschäftigt und ich konnte das nun erstmal übernehmen
    (war doch ganz einfach amüsiert )

    Als nächstes hab ich nun das Problem das ich die Suche ja nur aktivieren will, wenn ich das @-Zeichen verwende UND wenn ich auf ein Suchergebnis klicke, dann werde ich aufs admincenter weitergeleitet und ich hab bisher nicht gefunden wo ich das ändern kann. Es soll ja quasi onklick den Name mit Profillink übernommen werden.

    Seite zum testen -> http://testseite.confu...g.com/index.php?site=test
    und hier mein aktueller Code...
    Code:
    1.
    2.
    3.
    4.
    5.
    <?php
    echo'<input id="exact" type="hidden" name="exact" value="0" />
         Testsuche: <input type="text" onkeyup=\'overlay(this, "searchresult");search("user","nickname","userID",encodeURIComponent(this.value),"search_user","searchresult","replace", document.getElementById("exact").checked, "ac_usersearch")\' size="25" /><br />
          <div id="searchresult" style="position:absolute;display:none;border:1px solid black;background-color:#DDDDDD; padding:2px;"></div>';
    ?>


    » » Confused-Gaming.eu « «

    alle meine Addons / Mods findet ihr in meinem Profil
    webSPELL hero
    1799 Posts
    10.11.2011, 14:34 offline quote 

    http://testseite.confu...heckForUser.php?search=Do

    Die php datei stimmt, also liegt es am js code.
    webSPELL lover
    1234 Posts
    09.11.2011, 20:05 offline quote 

    ahhhh, jetzt macht das halbwegs sinn lächeln
    dennoch ist mir das zu hoch... ich steig da nicht durch und bin auf hilfe angewiesen :/

    » » Confused-Gaming.eu « «

    alle meine Addons / Mods findet ihr in meinem Profil
    Sort:      «  1 2 3 4 5 6  » printview


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

    register now
    login
  • » Support

    » Topics
    18.06.2013 - 01:11 - 1 Replies
    » how can i transform back ...
    how can i transform back to old my website ?
    Last post: Schalla
    Board: EN - Technical support
    18.06.2013 - 01:11
    17.06.2013 - 20:50 - 3 Replies
    » Suche Coder !
    Suche Coder !
    Last post: naki
    Board: DE - Suche
    17.06.2013 - 20:50
    17.06.2013 - 18:56 - 7 Replies
    » Querry Failed Error no 10...
    Querry Failed Error no 1054
    Last post: RUSSHEL
    Board: EN - Technical support
    17.06.2013 - 18:56
    17.06.2013 - 12:48 - 0 Replies
    » [4SALE] Custom team websi...
    [4SALE] Custom team website
    Last post: element-
    Board: EN - Offers
    17.06.2013 - 12:48
    17.06.2013 - 10:49 - 12 Replies
    » webSPELL Bootstrap (respo...
    webSPELL Bootstrap (responsible)
    Last post: Mister T.
    Board: EN - General
    17.06.2013 - 10:49
    16.06.2013 - 21:21 - 3 Replies
    » update webspell problem
    update webspell problem
    Last post: RUSSHEL
    Board: EN - General support
    16.06.2013 - 21:21
    16.06.2013 - 20:42 - 0 Replies
    » "Make sure you have cooki...
    "Make sure you have cookies enabled" During Login
    Last post: Sasquatch
    Board: EN - General support
    16.06.2013 - 20:42
    16.06.2013 - 16:22 - 8 Replies
    » Farbe von "Dein Profil wu...
    Farbe von "Dein Profil wurde aktualisiert. Du wirst weitergeleitet" ändern!
    Last post: Cali-go
    Board: DE - Allgemeiner Support
    16.06.2013 - 16:22
    16.06.2013 - 16:19 - 2 Replies
    » Sehr erfahrener Programmi...
    Sehr erfahrener Programmierer gesucht (Community,Clanpage)
    Last post: StufF
    Board: DE - Suche
    16.06.2013 - 16:19
    15.06.2013 - 22:39 - 0 Replies
    » portfolio/agency for sale
    portfolio/agency for sale
    Last post: Thoomii
    Board: DE - Biete
    15.06.2013 - 22:39
    15.06.2013 - 16:39 - 2 Replies
    » [4SALE] eSport Design/Tem...
    [4SALE] eSport Design/Template
    Last post: LeG3nDz
    Board: EN - Offers
    15.06.2013 - 16:39
    15.06.2013 - 10:35 - 12 Replies
    » externe Festplatte spinnt
    externe Festplatte spinnt
    Last post: plenergy
    Board: DE - Internet
    15.06.2013 - 10:35
    14.06.2013 - 20:53 - 11 Replies
    » Webspell ver 1070 EN
    Webspell ver 1070 EN
    Last post: TyRRRax
    Board: EN - General support
    14.06.2013 - 20:53
    14.06.2013 - 19:03 - 4 Replies
    » Kostenlose Clanmappen!
    Kostenlose Clanmappen!
    Last post: unikat
    Board: DE - Biete
    14.06.2013 - 19:03
    14.06.2013 - 15:22 - 6 Replies
    » Userpic & Avatar
    Userpic & Avatar
    Last post: Tuxx
    Board: DE - Technischer Support
    14.06.2013 - 15:22
    14.06.2013 - 14:31 - 5 Replies
    » [B] Meine Dienste als Des...
    [B] Meine Dienste als Designer
    Last post: Kenny2601
    Board: DE - Biete
    14.06.2013 - 14:31
    14.06.2013 - 08:54 - 0 Replies
    » [S] Aufträge Web- und Pri...
    [S] Aufträge Web- und Printdesign
    Last post: neiD-
    Board: DE - Suche
    14.06.2013 - 08:54
    14.06.2013 - 00:52 - 3 Replies
    » News Fail can´t publish
    News Fail can´t publish
    Last post: bazic
    Board: DE - Allgemeiner Support
    14.06.2013 - 00:52
    13.06.2013 - 13:59 - 2 Replies
    » [V] Design + Anpassung
    [V] Design + Anpassung
    Last post: e9li
    Board: DE - Biete
    13.06.2013 - 13:59
    13.06.2013 - 13:13 - 9 Replies
    » [SELL] Gaming Website - E...
    [SELL] Gaming Website - EXCLUSIVE WEBSITE
    Last post: hornyst
    Board: EN - Offers
    13.06.2013 - 13:13
    » Partners
    Bilderkiste.org Image Hosting
    k3rmit.org
    PascalMh.de


    » Blog
    28.03.2013 - derchris
    » Those damn spammers