• » 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:     printview




    Author
    Message
    webSPELL newbie
    11 Posts
    14.11.2008, 19:50 email offline  

    hi,

    I want to separate the members section (ihave only 1 squad) in 2: active / inactive members

    fopr example, first block active and second block inactives

    how can i do it?

    thx very much!
    webSPELL user
    369 Posts
    14.11.2008, 19:57 email offline  

    NuNim wrote:
    hi,

    I want to separate the members section (ihave only 1 squad) in 2: active / inactive members

    fopr example, first block active and second block inactives

    how can i do it?

    thx very much!

    Sounds great. I want to try this also so i will bump a reply here so i can find it l8r lächeln

    [img]http://img38.imageshack.us/img38/7752/bfadesigws.jpg[/img]
    webSPELL newbie
    11 Posts
    15.11.2008, 00:32 email offline  

    Well, its easy, i create new squads...for example: MYTEAM Inactive, MYTEAM Active in the admincenter/squads

    this addon help me with some options: http://webspell-design...hp?site=files&file=84

    despite, i have a new problem now, its because i have a scrool with my squad in the manin page (team roster):

    http://www.clan-lrm.net/site/

    its the file: sc_randomsquad.php

    now i want that this file show me only 1 squad (the active roster), but i dont know what i have to change here:

    Code:
    1.
    2.
    3.
    4.
    5.
    6.
    7.
    8.
    9.
    10.
    11.
    12.
    13.
    14.
    15.
    16.
    17.
    18.
    19.
    20.
    21.
    22.
    23.
    24.
    25.
    26.
    27.
    28.
    29.
    30.
    31.
    32.
    33.
    34.
    35.
    36.
    37.
    38.
    39.
    40.
    41.
    42.
    43.
    44.
    45.
    46.
    47.
    48.
    49.
    50.
    51.
    52.
    53.
    54.
    55.
    56.
    57.
    58.
    59.
    60.
    61.
    62.
    63.
    64.
    65.
    66.
    67.
    68.
    69.
    70.
    71.
    72.
    73.
    74.
    75.
    76.
    77.
    78.
    79.
    80.
    81.
    82.
    83.
    84.
    85.
    86.
    87.
    88.
    89.
    90.
    91.
    92.
    93.
    94.
    95.
    96.
    97.
    98.
    99.
    100.
    101.
    <?php
    $ergebnis=safe_query(\"SELECT * FROM \".PREFIX.\"squads\");

    srand(microtime()*1000000);
    $squadl = rand(1,mysql_num_rows($ergebnis));




    $ergebnist=safe_query(\"SELECT * FROM \".PREFIX.\"squads \");

     for($count = 1; $count <= $squadl; $count++)
        {
              
         $dst=mysql_fetch_array($ergebnist);     
         $namet=$dst[name];
         $squadIDt=$dst[squadID];
         
         
              }



     $cc=\"0\";
     $bild=\"\";
     $membert=safe_query(\"SELECT * FROM \".PREFIX.\"squads_members s, \".PREFIX.\"user u WHERE s.squadID=\'$squadIDt\' AND s.userID = u.userID ORDER BY sort\");
      $hmu = mysql_num_rows($membert);
         

         while($dmm=mysql_fetch_array($membert)) {

    if($dmm[userpic]) $picle=\'images/userpics/\'.$dmm[userpic];
      else $picle=\'images/userpics/nouserpic.gif\';
         
         
         $bld.=\" leftrightslide[\".$cc.\"]=\'<a href=index.php?site=profile&id=\".$dmm[userID].\"><img border=0 height=99 src=\".$picle.\" border=0></a>\'\\n \";
      $bild.=\"<a href=\'index.php?site=profile&id=\".$dmm[userID].\"\'><img border=\'0\' height=\'99\' src=\'\".$picle.\"\'></a> \";
         
         
              $cc++;
         

      
         //if($cc==\"3\"){$brstring=\"<br>\";$cc=\"0\";}else{$brstring=\"\";}
          
     }
     
    if($cc>=4){
    $spd=\"2\";
    }else{
    echo $bild;
    echo \"<br>\";
    }

              
    if($cc>=4){
         

              
              ?>
              
              




              
              
              <script type=\"text/javascript\">

    /***********************************************
    * Conveyor belt slideshow script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
    ***********************************************/


    //Specify the slider\'s width (in pixels)
    var sliderwidth=\"187px\"
    //Specify the slider\'s height
    var sliderheight=\"100px\"
    //Specify the slider\'s slide speed (larger is faster 1-10)
    var slidespeed=<?php echo $spd; ?>
    //configure background color:
    slidebgcolor=\"#EAEAEA\"

    //Specify the slider\'s images
    var leftrightslide=new Array()
    var finalslide=\'\'

         <?php echo $bld; ?>


    //Specify gap between each image (use HTML):
    var imagegap=\" \"

    //Specify pixels gap between each slideshow rotation (use integer):
    var slideshowgap=5


    ////NO NEED TO EDIT BELOW THIS LINE////////////


    thx
    Sort:     printview
  • » Support

    » Topics
    23.05.2013 - 08:18 - 4 Replies
    » I cannot upload template ...
    I cannot upload template to my cms .
    Last post: Osamakillz
    Board: EN - General
    23.05.2013 - 08:18
    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