• » 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 lover
    1230 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
    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
    1230 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
    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
    1230 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, 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
    1230 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 user
    303 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
    1230 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 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 />
    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
    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 - 22:43 - 5 Replies
    » forum anzeige erweitern
    forum anzeige erweitern
    Last post: Swordfish3000
    Board: DE - Allgemeiner Support
    21.05.2013 - 22:43
    21.05.2013 - 20:12 - 3 Replies
    » When the update?
    When the update?
    Last post: Argu
    Board: EN - General
    21.05.2013 - 20:12
    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
    20.05.2013 - 11:47 - 5 Replies
    » Suche Designer GGL:Geld
    Suche Designer GGL:Geld
    Last post: Dynamic-Webmedia
    Board: DE - Suche
    20.05.2013 - 11:47
    20.05.2013 - 00:07 - 0 Replies
    » [S] Suche Programmierer
    [S] Suche Programmierer
    Last post: phoenix762
    Board: DE - Suche
    20.05.2013 - 00:07
    18.05.2013 - 19:58 - 36 Replies
    » Exklusiv Webseite zur Mie...
    Exklusiv Webseite zur Miete
    Last post: liQweb
    Board: DE - Biete
    18.05.2013 - 19:58
    18.05.2013 - 12:21 - 1 Replies
    » Query failed
    Query failed
    Last post: LoRd
    Board: DE - Allgemeiner Support
    18.05.2013 - 12:21
    18.05.2013 - 09:36 - 3 Replies
    » benötige hilfe bei paar k...
    benötige hilfe bei paar kleinigkeiten
    Last post: immostar
    Board: DE - Technischer Support
    18.05.2013 - 09:36
    18.05.2013 - 03:33 - 4 Replies
    » [SELL] Gaming Website
    [SELL] Gaming Website
    Last post: hornyst
    Board: EN - Offers
    18.05.2013 - 03:33
    18.05.2013 - 00:32 - 6 Replies
    » Hide BBCODE Echo
    Hide BBCODE Echo
    Last post: dado2106
    Board: EN - Technical support
    18.05.2013 - 00:32
    17.05.2013 - 21:42 - 0 Replies
    » website help
    website help
    Last post: envy0024
    Board: EN - Technical support
    17.05.2013 - 21:42
    17.05.2013 - 21:03 - 1 Replies
    » Need Coder!
    Need Coder!
    Last post: iG.ShAdOw
    Board: EN - Requests
    17.05.2013 - 21:03
    17.05.2013 - 20:44 - 9 Replies
    » Query failed!
    Query failed!
    Last post: LoRd
    Board: DE - Allgemeiner Support
    17.05.2013 - 20:44
    » Partners
    Bilderkiste.org Image Hosting
    k3rmit.org
    PascalMh.de


    » Blog
    28.03.2013 - derchris
    » Those damn spammers