• » 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 7 8 ...  » printview
    Author
    Message
    webSPELL friend
    713 Posts
    05.02.2011, 21:50 email offline quote 

    It wouldn't match lächeln

    Because mine is using <div> tags and a custom stylesheet for that template only.
    But you can anyway, you need to download the template called Consolefrag from clantemplates.com

    You can get any of my templates from URL:

    e.g.

    http://team-x1.co.uk/l...plates/sc_cupmatches.html
    http://team-x1.co.uk/l...s/sc_cupmatches_head.html

    GL!
    webSPELL user
    186 Posts
    06.02.2011, 01:28 email offline quote 

    Yes I have downloaded that template and tried to use it and edit it...but the only problem was not getting the COLORS to show up....I did add the stylesheet and figured it would work lol.

    This is a cosmetic change, nothing to seriously look into as I am sure you are busier with other things. But if you get board, you have my details & would be willing to pay for it.


    Actual Question: Did version 4 of the this addon use the Clans "TAGS" or Bracket Names for the "Sc_Include" - I either got some really long team names on my site...or it was switched to team names and not bracket names...

    And if this did happen....can I change it back?
    webSPELL friend
    713 Posts
    06.02.2011, 02:00 email offline quote 

    Yeah it is not bracket names.

    Go to /src/func/cup.php, find the getname function and change getclanname2 to getclanname.

    If you want the colours also, you can use this simple code:

    Code:
    1.
    2.
    3.
    4.
    5.
    6.
    7.
    8.
    9.
    10.
            if($ds['score1'] > $ds['score2']) {
               $score1 = '<font color="#03ff21">'.$ds['score1'].'</font>';
               $score2 = '<font color="#fd0101">'.$ds['score2'].'</font>';
            }elseif($ds['score1'] < $ds['score2']) {
               $score1 = '<font color="#fd0101">'.$ds['score1'].'</font>';
               $score2 = '<font color="#03ff21">'.$ds['score2'].'</font>';
            }else{
               $score1 = '<font color="#FF6600">'.$ds['score1'].'</font>';
               $score2 = '<font color="#FF6600">'.$ds['score2'].'</font>';
            } 


    then in your template, replace $ds[score1] and $ds[score2] with $score1 and $score2
    webSPELL user
    186 Posts
    06.02.2011, 06:01 email offline quote 

    I went in there and changed the following
    Code:
    1.
    2.
    3.
    4.
    5.
    6.
    7.
    function getclanname2($clanID,$userID) {

         $ds = mysql_fetch_array(safe_query("SELECT name FROM ".PREFIX."cup_all_clans WHERE ID = '".$clanID."'"));

         return $ds['name'];

    }


    I changed the getclanname2 to "getclanname" and my website would no longer load. I tried this in serveral places in this php file with all the same results.

    Also, does this IF Statement go in my Sc_include template or? I appreciate you trying to assist me with this.

    Then my SC_Cupmatches template looks like this:
    Code:
    1.
    2.
    3.
    4.
    5.
    6.
    7.
    8.
    9.
    10.
    11.
    12.
      <table width="100%">

        <tr>

          <td width="3%" height="36" align="center" valign="middle"><img src="../../images/games/$logo[game].gif" width="18" height="18" border="0">

             <td align="left" style="font-size:12px; padding-left:5px;"><strong>$clan1 <a href="../../$details_link">vs</a> $clan2</strong>
    </td>
             <td align="right" style="font-size:12px; padding-left:5px;">($score1) - ($score2)<a href="../../$details_link">$type</a></td>
       </tr>

      </table>
    webSPELL friend
    713 Posts
    06.02.2011, 13:37 email offline quote 

    You must look for the

    function getname1(..) {

    ...
    return getclanname2
    }

    change to getclanname
    webSPELL newbie
    28 Posts
    06.02.2011, 14:01 email offline quote 

    Nice post repy lmfao 13:37
    webSPELL user
    186 Posts
    06.02.2011, 14:59 email offline quote 

    Ok I have gotten that to work with the clan names thank you. Both now when I add the following:

    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.
    function getname1($clan,$ID,$ac,$var) {

            if($var=="cup" && is1on1($ID)) 

               return '<a href="'.$type.'?site=profile&id='.$clan.'"><b>'.getnickname($clan).'</b></a>';

            elseif($var="ladder" && ladderis1on1($ID))

               return '<a href="'.$type.'?site=profile&id='.$clan.'"><b>'.getnickname($clan).'</b></a>';

            else

               return '<a href="'.$type.'?site=clans&action=show&clanID='.$clan.'"><b>'.getclanname($clan).'</b></a>';

    }
            if($ds['score1'] > $ds['score2']) {
               $score1 = '<font color="#03ff21">'.$ds['score1'].'</font>';
               $score2 = '<font color="#fd0101">'.$ds['score2'].'</font>';
            }elseif($ds['score1'] < $ds['score2']) {
               $score1 = '<font color="#fd0101">'.$ds['score1'].'</font>';
               $score2 = '<font color="#03ff21">'.$ds['score2'].'</font>';
            }else{
               $score1 = '<font color="#FF6600">'.$ds['score1'].'</font>';
               $score2 = '<font color="#FF6600">'.$ds['score2'].'</font>';
            } 




    //ladder hall of fame


    It does not do anything. When I go into my sc_cupmatches.html and change the $ds[score1] & $ds[score2] to $score1 & $score2, none of my scores show up on site.

    Sc_Cupmatches Code:

    Code:
    1.
    2.
    3.
    4.
    5.
    6.
    7.
    8.
    9.
    10.
    11.
    12.
      <table width="100%">

        <tr>

          <td width="3%" height="36" align="center" valign="middle"><img src="../../images/games/$logo[game].gif" width="18" height="18" border="0">

             <td align="left" style="font-size:12px; padding-left:5px;"><strong>$clan1 <a href="../../$details_link">vs</a> $clan2</strong>
    </td>
             <td align="right" style="font-size:12px; padding-left:5px;">$score1 - $score2<a href="../../$details_link">$type</a></td>
       </tr>

      </table>
    webSPELL newbie
    28 Posts
    06.02.2011, 15:11 email offline quote 

    Need help i have found my self a cup template for 4.2.0d version but i cant get the admin center to work . please pm me if u have xf or anything thanks
    Xfire:curtis321
    webSPELL friend
    713 Posts
    06.02.2011, 16:41 email offline quote 

    @ Snjustin:

    Code:
    1.
    2.
    3.
    4.
    5.
    6.
    7.
    8.
    9.
    10.
    11.
            if($ds['score1'] > $ds['score2']) {
               $score1 = '<font color="#03ff21">'.$ds['score1'].'</font>';
               $score2 = '<font color="#fd0101">'.$ds['score2'].'</font>';
            }elseif($ds['score1'] < $ds['score2']) {
               $score1 = '<font color="#fd0101">'.$ds['score1'].'</font>';
               $score2 = '<font color="#03ff21">'.$ds['score2'].'</font>';
            }else{
               $score1 = '<font color="#FF6600">'.$ds['score1'].'</font>';
               $score2 = '<font color="#FF6600">'.$ds['score2'].'</font>';
            } 



    is at sc_cupmatches.php just above gettemplate.
    If you still have problems, I can work on it. 5 min job.
    webSPELL newbie
    48 Posts
    06.02.2011, 17:18 email offline quote 

    karimali...why i can't change timezone in admincenter cup settings?
    Sort:      «  1 2 3 4 5 6 7 8 ...  » printview


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

    register now
    login
  • » Support

    » Topics
    25.05.2013 - 19:01 - 1 Replies
    » Error 1146
    Error 1146
    Last post: Argu
    Board: EN - Technical support
    25.05.2013 - 19:01
    25.05.2013 - 17:51 - 0 Replies
    » Gewinnspiel
    Gewinnspiel
    Last post: Dynamic-Webmedia
    Board: DE - Aus aller Welt
    25.05.2013 - 17:51
    25.05.2013 - 13:19 - 465 Replies
    » Wettscript 2.1 for 4.2.3a...
    Wettscript 2.1 for 4.2.3a - Betscript
    Last post: eXor
    Board: DE - Fertige Skripte
    25.05.2013 - 13:19
    25.05.2013 - 12:35 - 1 Replies
    » Need coder for a design!
    Need coder for a design!
    Last post: wantedJK-
    Board: EN - General
    25.05.2013 - 12:35
    25.05.2013 - 03:18 - 0 Replies
    » ScooterFreakz.com - Motor...
    ScooterFreakz.com - Motorroller Community
    Last post: Tuner77
    Board: DE - Showroom
    25.05.2013 - 03:18
    25.05.2013 - 00:46 - 8 Replies
    » Ändern der Größe php
    Ändern der Größe php
    Last post: andy5116
    Board: DE - Allgemeiner Support
    25.05.2013 - 00:46
    24.05.2013 - 23:39 - 33 Replies
    » [B]Userrank Addon
    [B]Userrank Addon
    Last post: Swordfish3000
    Board: DE - Erweiterungen
    24.05.2013 - 23:39
    24.05.2013 - 15:12 - 19 Replies
    » forum anzeige erweitern
    forum anzeige erweitern
    Last post: Swordfish3000
    Board: DE - Allgemeiner Support
    24.05.2013 - 15:12
    24.05.2013 - 12:03 - 1 Replies
    » Verkaufe prof. Clandesign
    Verkaufe prof. Clandesign
    Last post: Vith3r
    Board: DE - Biete
    24.05.2013 - 12:03
    24.05.2013 - 12:02 - 6 Replies
    » [S] Team/Clan Logos (Upda...
    [S] Team/Clan Logos (Update: 2 new Logos)
    Last post: a--w
    Board: EN - Offers
    24.05.2013 - 12:02
    24.05.2013 - 02:41 - 17 Replies
    » High Quality Website
    High Quality Website
    Last post: Dansjostedt
    Board: EN - Offers
    24.05.2013 - 02:41
    24.05.2013 - 02:24 - 5 Replies
    » [SELL] Gaming Website
    [SELL] Gaming Website
    Last post: hornyst
    Board: EN - Offers
    24.05.2013 - 02:24
    23.05.2013 - 22:37 - 2 Replies
    » Bilder Breite im Forum an...
    Bilder Breite im Forum anpassen
    Last post: nappel.ger
    Board: DE - Vorschläge
    23.05.2013 - 22:37
    23.05.2013 - 15:35 - 6 Replies
    » I cannot upload template ...
    I cannot upload template to my cms .
    Last post: bazic
    Board: EN - General
    23.05.2013 - 15:35
    23.05.2013 - 14:50 - 3 Replies
    » Kalendar-Box
    Kalendar-Box
    Last post: kassor
    Board: DE - Anfragen
    23.05.2013 - 14:50
    23.05.2013 - 10:14 - 12 Replies
    » Mein Forum
    Mein Forum
    Last post: Lordy4007
    Board: DE - Fragen zur Seite
    23.05.2013 - 10:14
    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 - 17:46 - 3 Replies
    » Admin login
    Admin login
    Last post: blackmoonstah
    Board: DE - Allgemeiner Support
    22.05.2013 - 17:46
    » Partners
    Bilderkiste.org Image Hosting
    k3rmit.org
    PascalMh.de


    » Blog
    28.03.2013 - derchris
    » Those damn spammers